PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
testy1
Involved
Involved


Joined: Apr 06, 2008
Posts: 483

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

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: 267

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

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
Involved
Involved


Joined: Apr 06, 2008
Posts: 483

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

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.
View user's profile Send private message
eldorado
Involved
Involved


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

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

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: 1536
Location: North Carolina

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

the fck editor already has a bbcode plugin with it. look in includes\fckeditor\editor\plugins\bbcode.
View user's profile Send private message Send e-mail Visit poster's website
testy1
Involved
Involved


Joined: Apr 06, 2008
Posts: 483

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

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.
View user's profile Send private message
eldorado
Involved
Involved


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

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

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 .
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum