21
Skype-Fr
Re: 255 chars max
  • 2009/10/27 22:44

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


oups !

TINYTEXT limited 255 chars, I didn't know !

So, I set "Text" and now it's right !

Thank very much.



22
Skype-Fr
Re: 255 chars max
  • 2009/10/27 18:33

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


Hi Ghia,

I already tried this but there is always the same problem !

What do I do else ?



23
Skype-Fr
255 chars max
  • 2009/10/27 15:24

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


Hi all,

About XOOPS v 2.3.3 & Profile mod.

In profile, I can't put a description more than 255 chars.

Yet, there is no restriction in the database (field 'bio' is tinytxt).

How do I change this limit?

Thank,
Gilles




24
Skype-Fr
install 2.3.2b fr
  • 2009/2/12 14:48

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


Hi all,

I'm trying to setup XOOPS 2.3.2.b,
During process setup, all is right ... at the end, there is an error message:

Quote:
This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Class XoopsGrouppermHandler does not exist
Handler Name: groupperm


Whate do I do ?
Thanks



25
Skype-Fr
Re: video in koivi toolbar
  • 2007/6/21 15:31

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


UP !

Anybody can help me ?



26
Skype-Fr
video in koivi toolbar
  • 2007/6/13 14:30

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


Hi all,

I'am hacking koivi because I would like to add video.

Now, there is an icon into tools bar. If you click on this icon, then you open a dialog box where you can write an url of video. That is right! After publishing, the video is realy visible and you can play it ! BUT, there is a problem because I can't see the video player when I am making the article.. If you prefer, this is not wysiwyg ! If I return into textarea by editing, I can see the video player !

I think so that is a problem when iframe/js is refreshing.


This is my code hacked :
(rouge = hack)

/wysiwyg/include/js/editor.js
case "insertimage":
            
XK_InsertImage(id);
            break;
[
color=DD0000]
        case 
"insertvideo":
            
XK_InsertVideo(id);
            break;
[/
color]        
        case 
"fontsize":
        case 
"fontname":
        case 
"formatblock":
            
XK_fontFormat(command,option,id);
            break;


[color=DD0000]function XK_InsertVideo(id,src)
{
    
document.getElementById("iframe"+id).contentWindow.focus();
    if (
src==null
    {
        var 
video prompt("Video source.",'http://');
    }
    else var 
video src;

    if (
video!='http://' && video!=null)
    
XK_insertHTML("<embed src="+video+"  type="application/x-shockwave-flash" wmode="transparent" width="425" height="350">",id);

    return;
};[/
color]



/wysiwyg/formwysiwygtextarea.php

Of course, it must create an image: insertvideo.gif into /skins/ .
case "insertimage":
                    
$form .= '<img alt="' _XK_INSERTIMAGE '" title="' _XK_INSERTIMAGE '" src="' $skinUrl '/insertimage.gif" onmousedown="XK_doTextFormat('insertimage','','' . $this->getName() . '')"/>';
                    break;
[
color=DD0000]
                case 
"insertvideo":
                    
$form .= '<img alt="' _XK_INSERTVIDEO '" title="' _XK_INSERTVIDEO '" src="' $skinUrl '/insertvideo.gif" onmousedown="XK_doTextFormat('insertvideo','','' . $this->getName() . '')"/>';
                    break;
[/
color]
                case 
"insertorderedlist":
                    
$form .= '<img alt="' _XK_INSERTORDEREDLIST '" title="' _XK_INSERTORDEREDLIST '" src="' $skinUrl '/' $tool '.gif" onmousedown="XK_doTextFormat('insertorderedlist','','' . $this->getName() . '')"/>';
                    break;


/wysiwyg/language/english/lang.php
[color=DD0000]define('_XK_INSERTVIDEO','Insert video url');[/color]



Please,
What do you think about this bug?
Who is help me ?



Gerard



27
Skype-Fr
Re: Koivi and WeBlog
  • 2006/4/27 16:22

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


Oh cool ! Thanks very much...



28
Skype-Fr
Koivi and WeBlog
  • 2006/4/27 14:57

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


Hi all,

I'm trying to install Koivi for WeBlog Module.

I'm hacking the file modules/weblog/post.php :

// Generate our form promatically
   
include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";
[
color=0000CC]   include_once XOOPS_ROOT_PATH."/class/formwysiwygtextarea.php";[/color]
  include_once(
sprintf('%s/modules/%s/include/myformdatetime.php'XOOPS_ROOT_PATH$xoopsModule->dirname())) ;
  include_once(
sprintf('%s/modules/%s/include/myformtextdateselect.php'XOOPS_ROOT_PATH$xoopsModule->dirname())) ;
  
$blog_form = new XoopsThemeForm(_BL_POST'blogform'"post.php");
  
$blog_form->addElement(new XoopsFormHidden('user_id',$entry->getVar('user_id')));
  
$blog_form->addElement(new XoopsFormHidden('blog_id',$entry->getVar('blog_id')));
  
$blog_form->addElement($xoopsGTicket->getTicketXoopsForm__LINE__ ));
  
$blog_form->addElement(new XoopsFormLabel('',sprintf(_BL_POST_TIMEOUT$xoopsModuleConfig['GTicket_timeout'])));
  if (
$xoopsModuleConfig['minentrysize'] > 0) {
    
$blog_form->addElement(new XoopsFormLabel('',sprintf(_BL_POST_MUST_BE,
                                                         
$xoopsModuleConfig['minentrysize'])));
  }
  if( 
$xoopsModuleConfig['disable_html'] ){
    
$blog_form->addElement(new XoopsFormLabel(_BL_CAUTION_NOHTML_BL_FORBIDDEN_HTML_TAGS));
  }
  
$blog_form->addElement(new XoopsFormText(_BL_TITLE,'title',
                                           
$xoopsModuleConfig['editorwidth'],
                                           
80$entry->getVar('title''e')), true);
  
//$selbox_tray = new XoopsFromElementTray('_BL_CATEGORY', '');
  
$blog_form->addElement(new XoopsFormLabel(_BL_CATEGORY$selbox));

//$blog_form->addElement(new XoopsFormDhtmlTextArea(_BL_CONTENTS,'contents',
//                                                   $entry->getVar('contents', 'e'),
//                                                   $xoopsModuleConfig['editorheight'],
//                                                   $xoopsModuleConfig['editorwidth']), true);

[color=009900$blog_form->addElement(new XoopsFormWysiwygTextArea(_BL_CONTENTS,'contents',
                                                    
$entry->getVar('contents''e'),
                                                    
$xoopsModuleConfig['editorheight'],
                                                    
$xoopsModuleConfig['editorwidth']), true);[/color]


green is the line 404 , blue is 378

But this message error is shown :

Fatal errorCannot instantiate non-existent class: xoopsformwysiwygtextarea in 
e
:easyphpwwwblogmodulesweblogpost.php on line 404

Warning 
[PHP]: main(e:/easyphp/www/blog/class/formwysiwygtextarea.php): failed 
to open stream
No such file or directory in file 
e
:easyphpwwwblogmodulesweblogpost.php line 378

Warning 
[PHP]: main(): Failed opening 
'e:/easyphp/www/blog/class/formwysiwygtextarea.php' for inclusion (include_path=
'.;E:/EasyPHPphppear'in file e:easyphpwwwblogmodulesweblogpost.php line 378



Could you help me?




TopTop
« 1 2 (3)



Login

Who's Online

205 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 205


more...

Donat-O-Meter

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

Latest GitHub Commits