Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Remove Bbcode Tags In Posting Body 
 
Hi

A question is it all possible with version 2.0 to remove the bbcode tags from within the text field in posting body?

Also to make the text appear exactly as it would if you were using a wysiwyg editor.

I love bbcode but I hate seeing all the tags in my post and having to repeatedly click preview to see how it all looks...

If it is too much of a headache or if not at all possible please let me know..

Thanks

Mike

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Remove Bbcode Tags In Posting Body 
 
You have at least three ready to use functions in bbcode.php

Code: [Download] [Hide] [Select]
    /*
    * This function will strip common BBCodes tags, but some of them will be left there (such as CODE or QUOTE)
    */
    function bbcode_killer($text, $id = false)

    /*
    * This function will strip from a message some BBCodes, all BBCodes $uid, and some other formattings.
    * The result will be suitable for email sendings.
    */
    function plain_message($text, $id = false)

    /*
    * This function will strip all specified BBCodes tags or all BBCodes tags
    */
    function bbcode_clean($text, &$tags)



I think you know how to use them...
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove Bbcode Tags In Posting Body 
 
@ Both of you - I modified this for some other software some time ago and it works a treat. Might be worth a look at.

Quote:
It works like any web-based WYSIWYG editor, but it inputs and outputs BBCode instead of HTML.


http://wysiwygbbcode.codeplex.com/
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove Bbcode Tags In Posting Body 
 
Thanks for the tips but sadly bbcode confuses the hell out of me to even install or edit...

Thanks for the link Mort thats exactly what I would like using IP bbcode but I would not even know where to start...

 
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove Bbcode Tags In Posting Body 
 
This zip is the "Latest" from their github.

Have a look at the demo.htm and it should give you some idea of how the textarea is treated to accommodate the javascript.

You could create a New phpBB Page in the root of IP and a .tpl etc to just play with the html and javascript.



Here's a picture of what I ended up doing with it and integrating it into a php file for some arcade script. And I can't see why the JS could not be modified more to add other things although it does already cover a lot of html functions.

 untitled

wysiwygbbcode-f167e044e11b.zip
Description:  
Download
Filename: wysiwygbbcode-f167e044e11b.zip
Filesize: 12.67 KB
Downloaded: 75 Time(s)

 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove Bbcode Tags In Posting Body 
 
Thanks

I will check this out..

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove Bbcode Tags In Posting Body 
 
It's probably your only hope because there is not much out there that comes close to it.

Not even this is of any use?

http://code.google.com/p/almsamim-wysiwyg-phpbb3/
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove Bbcode Tags In Posting Body 
 
Thanks again

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events