141
McDonald
Re: Show us the $$$!!!
  • 2008/3/5 11:12

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:
Do you think it's fair to request Herko's Fundation to refund
xoops users or to give donations and adds funds to Apache,
Sourceforge, and other trusted projects in which we all relay
to run XOOPS smoothly?


The money was donated by users to benefit XOOPS and money should be used for this of course.
I don't know how much money is 'left', only know that some was used for dedicated XOOPS servers but as far as I know XOOPS moved to other servers some how...
The name XOOPS was registered (for legally reasons like trademark, logo copyright etc) in the Netherlands by Herko. In my opinion this registration should move to another name and the money should go (and probably still is) back to some kind of Foundation. A Foundation is needed for XOOPS for legally reasons I guess and for the money (control of it). Without a foundation there will be a money issue for a long long time. Because the money should be transfered to some kind of organisation instead of to a person.

But at this moment I don't think the money is the biggest issue for Xoops. XOOPS needs first to be (re)organised and when that's done money issues will be solved easily. If not, XOOPS will be a hobby-project instead of a seriously to be taken CMS.



142
McDonald
Re: Show us the $$$!!!
  • 2008/3/5 9:38

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:
For sure, i read that Herko plan to use XOOPS users donations on impress cms project.


I haven't read that anywhere.

Quote:
It seems to me that's the project you have joining, no?


I am not part of any project nor did I join one. In the past I've been asked a couple of times to do so, for xoops, xoops.nl, impresscms, etc. but so far I've refused this.



143
McDonald
Re: Show us the $$$!!!
  • 2008/3/5 8:48

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:
The topic "Show us the $$$" was deleted by Herko


Can you proof that this topic was removed by Herko and not by yourself?

It's more likely it was done by Damaster, because he's well known for hacking other posts, accounts, etc.



144
McDonald
Re: koivi editor doesn't pass content
  • 2008/3/2 22:39

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Why don't you copy/paste some code from another module?
A lot of modules have a config array in xoops_version.php for adding an option to the Preferences so a webmaster can choose which editor to use.

Also a function needs to be created in /include/functions.php for all the editors.

Then in the submit form you can call this function.

If you download WF-Links you can see how this is done. WF-Links uses two config options in Preferences so the editor can be set for admins differently from that for users.



145
McDonald
Re: Embedding Youtube
  • 2008/2/27 20:17

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


When you submit a video you have to enter a code. Under the box where you have to enter this is a list of urls. The parts of those urls marked red have to be entered.
So in your case you have to enter: zBkAKXigXRQ

When you submit a new video it sets the publishing date + time. The time is in steps of 10 minutes. If you submit a video at xx:18 the time is set is most likely xx:20. So the video goes live at xx:20.
In cases you want the video to be published immediately set the time in the submit form 10 minutes back.



146
McDonald
Re: Embedding Youtube
  • 2008/2/27 19:38

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


What version of XoopsTube do you use?

If installation of the module was successful what did you enter as video id-code?

Latest version is XoopsTube 1.03.



147
McDonald
Re: WYSIWYG SmartSection hack or alternative?
  • 2008/2/18 22:59

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Try the following.

In the file smartsection/xoops_version.php find the following:
$i++;
$modversion['config'][$i]['name'] = 'use_wysiwyg';
$modversion['config'][$i]['title'] = '_MI_SSECTION_WYSIWYG';
$modversion['config'][$i]['description'] = '_MI_SSECTION_WYSIWYGDSC';
$modversion['config'][$i]['formtype'] = 'select';
$modversion['config'][$i]['valuetype'] = 'text';
$modversion['config'][$i]['options'] = array('XoopsEditor'  => 'default',
                                           
'Koivi Editor'   => 'koivi',
                                           
'TinyEditor' => 'tiny',
                                           
'FCKEditor' => 'fckeditor',
                                           
'InBetween' => 'inbetween',
                                           
'HTMLArea' => 'htmlarea',
                                           
'Spaw Editor' => 'spaw');
$modversion['config'][$i]['default'] ='default';


and replace by this:
$i++;
$modversion['config'][$i]['name'] = 'use_wysiwyg';
$modversion['config'][$i]['title'] = '_MI_SSECTION_WYSIWYG';
$modversion['config'][$i]['description'] = '_MI_SSECTION_WYSIWYGDSC';
$modversion['config'][$i]['formtype'] = 'select';
$modversion['config'][$i]['valuetype'] = 'text';
$modversion['config'][$i]['options'] = array('XoopsEditor'  => 'default',
                                           
'Koivi Editor'   => 'koivi',
                                           
'TinyEditor' => 'tiny',
                                           
'FCKEditor' => 'fckeditor',
                                           
'InBetween' => 'inbetween',
                                           
'HTMLArea' => 'htmlarea',
                                           
'Spaw Editor' => 'spaw',
                                                 
'TinyMCE' => 'tinymce'  );
$modversion['config'][$i]['default'] ='default';


After saving and uploading, do an update of SmartSection from the Module Administration.
The above will add TinyMCE to the list from editors you can choose from in Preferences. Choose TinyMCE.

The hack to include/function.php should be
function smartsection_getEditor($caption$name$value$dhtml true)
{
    
$smartConfig =& smartsection_getModuleConfig();

    global 
$xoops22;
    if (!isset(
$xoops22)) {
        
$xoops22 smartsection_isXoops22();
    }

      
$editor_configs=array();
    
$editor_configs["name"] = $name;
    
$editor_configs["value"] = $value;
    
$editor_configs['caption'] = $caption;
    
$editor_configs["rows"] = 35;
    
$editor_configs["cols"] = 60;
    
$editor_configs["width"] = "100%";
    
$editor_configs["height"] = "400px";

    switch (
$smartConfig['use_wysiwyg']) {
        case 
'tinymce' :
        if (!
$xoops22) {

            if ( 
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/tinymce/formtinymce.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/tinymce/formtinymce.php");
                
$editor = new XoopsFormTinymce(array('caption'=>$caption'name'=>$name'value'=>$value'width'=>'100%''height'=>'400px'));
            } else {
                if (
$dhtml) {
                    
$editor = new XoopsFormDhtmlTextArea($caption$name$value2060);
                } else {
                    
$editor = new XoopsFormTextArea($caption$name$value760);
                }
            }
        } else {
            
$editor = new XoopsFormEditor($caption"tinymce"$editor_configs);
        }
        break;

        case 
'tiny' :
        if (!
$xoops22) {

            if ( 
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php");
                
$editor = new XoopsFormTinyeditorTextArea(array('caption'=>$caption'name'=>$name'value'=>$value'width'=>'100%''height'=>'400px'));
            } else {
                if (
$dhtml) {
                    
$editor = new XoopsFormDhtmlTextArea($caption$name$value2060);
                } else {
                    
$editor = new XoopsFormTextArea($caption$name$value760);
                }
            }
        } else {
            
$editor = new XoopsFormEditor($caption"tinyeditor"$editor_configs);
        }
        break;

        case 
'inbetween' :
        if (!
$xoops22) {
            if ( 
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/inbetween/forminbetweentextarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/inbetween/forminbetweentextarea.php");
                
$editor = new XoopsFormInbetweenTextArea(array('caption'=> $caption'name'=>$name'value'=>$value'width'=>'100%''height'=>'300px'),true);
            } else {
                if (
$dhtml) {
                    
$editor = new XoopsFormDhtmlTextArea($caption$name$value2060);
                } else {
                    
$editor = new XoopsFormTextArea($caption$name$value760);
                }
            }
        } else {
            
$editor = new XoopsFormEditor($caption"inbetween"$editor_configs);
        }
        break;

        case 
'fckeditor' :
        if (!
$xoops22) {
            if ( 
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/fckeditor/formfckeditor.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/fckeditor/formfckeditor.php");
                
$editor = new XoopsFormFckeditor($editor_configs,true);
            } else {
                if (
$dhtml) {
                    
$editor = new XoopsFormDhtmlTextArea($caption$name$value2060);
                } else {
                    
$editor = new XoopsFormTextArea($caption$name$value760);
                }
            }
        } else {
            
$editor = new XoopsFormEditor($caption"fckeditor"$editor_configs);
        }
        break;

        case 
'koivi' :
        if (!
$xoops22) {
            if ( 
is_readable(XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php");
                
$editor = new XoopsFormWysiwygTextArea($caption$name$value'100%''400px');
            } else {
                if (
$dhtml) {
                    
$editor = new XoopsFormDhtmlTextArea($caption$name$value2060);
                } else {
                    
$editor = new XoopsFormTextArea($caption$name$value760);
                }
            }
        } else {
            
$editor = new XoopsFormEditor($caption"koivi"$editor_configs);
        }
        break;

        case 
"spaw":
        if(!
$xoops22) {
            if (
is_readable(XOOPS_ROOT_PATH "/class/spaw/formspaw.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/spaw/formspaw.php");
                
$editor = new XoopsFormSpaw($caption$name$value);
            } else {
                if (
$dhtml) {
                    
$editor = new XoopsFormDhtmlTextArea($caption$name$value2060);
                } else {
                    
$editor = new XoopsFormTextArea($caption$name$value760);
                }
            }

        } else {
            
$editor = new XoopsFormEditor($caption"spaw"$editor_configs);
        }
        break;

        case 
"htmlarea":
        if(!
$xoops22) {
            if ( 
is_readable(XOOPS_ROOT_PATH "/class/htmlarea/formhtmlarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/htmlarea/formhtmlarea.php");
                
$editor = new XoopsFormHtmlarea($caption$name$value);
            } else {
                if (
$dhtml) {
                    
$editor = new XoopsFormDhtmlTextArea($caption$name$value2060);
                } else {
                    
$editor = new XoopsFormTextArea($caption$name$value760);
                }
            }
        } else {
            
$editor = new XoopsFormEditor($caption"htmlarea"$editor_configs);
        }
        break;

        default :
        if (
$dhtml) {
            
$editor = new XoopsFormDhtmlTextArea($caption$name$value2060);
        } else {
            
$editor = new XoopsFormTextArea($caption$name$value760);
        }

        break;
    }

    return 
$editor;
}


Instead of TinyMCE from the xoopseditor package you could also use TinyEditor. This is TinyMCE adapted for XOOPS and has the XOOPS ImageManager also. TinyEditor can be easily configured from the Preferences and toolbars can be setup per user group.
You can download TinyEditor complete with plugins here:http://members.lycos.nl/mcdonaldsstore/ (download link #13)
Don't forget to read the manual because this tells you how to install TinyEditor and more.



148
McDonald
Re: WYSIWYG SmartSection hack or alternative?
  • 2008/2/18 22:12

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


What did you hack?



149
McDonald
Turkey attacks websites again
  • 2008/2/18 11:24

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Just to inform you all.

Today I found the entries as shown in the pictures below in my 'log' (Php-Stats).
I've blocked all 3 IP's but will probably block the whole IP-ranges from Turkey soon. Note that 1 IP belong to Amazone...
I am glad I got Protector installed.
For sure that more XOOPS websites are under attack at the moment.

Resized Image

Resized Image

Resized Image



150
McDonald
Re: text editors not working
  • 2008/2/17 11:10

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


I have never used FCKEditor, so I don't know.
My prefered WYSIWYG editor for XOOPS is TinyEditor. It's TinyMCE adapted for XOOPS. Comes with loads of plugins etc.
You can download it here (point 13):http://members.lycos.nl/mcdonaldsstore/




TopTop
« 1 ... 12 13 14 (15) 16 17 18 ... 87 »



Login

Who's Online

122 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 122


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits