Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Modules
Author Message
testy1
Involved
Involved



Joined: Apr 06, 2008
Posts: 484

PostPosted: Thu Mar 19, 2009 6:23 pm Reply with quote

I am creating a module and would like to adapt the bbcode editor in the forums.

Can anyone explain how the bbcode.php file works?

Or has this been done somewhere already.
 
View user's profile Send private message
duck
Involved
Involved



Joined: Jul 03, 2006
Posts: 273

PostPosted: Thu Mar 19, 2009 7:40 pm Reply with quote

While including the bbcode mod into another module can be done I am not sure why you wouldn't just use the FCKeditor? It has more features and is easier to include edit than bbcode mod. The bbcode mod is a somewhat finicky complex beast you may find more headache than just using the FCKeditor.
 
View user's profile Send private message
testy1







PostPosted: Thu Mar 19, 2009 8:07 pm Reply with quote

I thought about it but only wanted bbcode type functionality.And I also wanted to be able to display code.Possibly even via a geshi class or chili plugin.Maybe i could create a custom fck style.
 
eldorado
Involved
Involved



Joined: Sep 10, 2008
Posts: 424
Location: France,Translator

PostPosted: Sat Mar 21, 2009 6:23 am Reply with quote

Why not use fck editor for your module?
 
View user's profile Send private message Visit poster's website MSN Messenger
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sat Mar 21, 2009 7:04 am Reply with quote

the fck editor already has a bbcode plugin with it. look in includes\fckeditor\editor\plugins\bbcode.

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
testy1







PostPosted: Sat Mar 21, 2009 5:33 pm Reply with quote

eldorado wrote:
Why not use fck editor for your module?


As i said above, I only want bbcode functionality.But Im currently re-thinking that idea.If we spent all day coming up with code that has already been developed I guess we would never get anything done.
 
eldorado







PostPosted: Sat Mar 21, 2009 8:14 pm Reply with quote

fck editor is really easy to embed in a textarea. Not much to do actually than add 2 lines of code for each interresting areas.

But i'm betting with myself that the textareas are for members and not admins .
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©