Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 - 0 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: how to disable the xoops linebreak option in mytube module
by nmshah on 2009/1/9 18:55:09

Thanks a lot
Re: how to disable the xoops linebreak option in mytube module
by McDonald on 2009/1/9 12:58:24

Sorry, forgot something...

Also open the file singlevideo.php and find this line:
le="color: #000000"><?php $video['description2'] = $xtubemyts -> displayTarea( $video_arr['description'], 1, 1, 1, 1, 1 );


And replace it with this line:
le="color: #000000"><?php $video['description2'] = $xtubemyts -> displayTarea( $video_arr['description'], 1, 1, 1, 1, 0 );
Re: how to disable the xoops linebreak option in mytube module
by McDonald on 2009/1/9 12:51:27

Open the file include/videoloadinfo.php and find this line:
le="color: #000000"><?php $description = $xtubemyts -> displayTarea( $video_arr['description'], 1, 1, 1, 1, 1 );

And replace it with this one:
le="color: #000000"><?php $description = $xtubemyts -> displayTarea( $video_arr['description'], 1, 1, 1, 1, 0 );


Explanation:
le="color: #000000"><?php displayTarea( $text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1)

So when you apply the 2nd line from above you have:
- HTML enabled,
- Smiley enabled,
- XOOPS code enabled,
- images enabled and
- linebreaks disabled.
how to disable the xoops linebreak option in mytube module
by nmshah on 2009/1/9 12:42:50

I am using the mytube module with fckeditor as the default editor for the complete site. Every time i add a description in the mytube module for any video clip i line break is automatically added. Since i am using fckeditor i'll like to disable the auto linebreak option. Can some one tell me how to do this?

Who's Online

128 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 128


more...

Donat-O-Meter

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

Latest GitHub Commits