Ave to type out item item all the time.anyone know how to do this?Thanks in advance as always! phildcan Registered User Posts: 21Joined: Fri Dec 16, 2005 8:54 pm Website Top by mikeablah on Wed Dec 21, 2005 8:24 am Im trying to get something done like this as well.Im guessing you need it as well for WoW itemstats. Anyways, I went throught the BBcode faq. Downloaded and installed the 2 mods. Now Im trying to add a simple item code but I just cant get it to work for 2.0.18 mikeablah Registered User Posts: 24Joined: Sun Sep 11, 2005 10:36 pm Top by phildcan on Wed Dec 21, 2005 4:18 pm yuppers, WoW itemstats, its one of the coolest mods i think. But I hate typing out the item code. Anyone out there know how to add a BBcode button to the list...you know to look like: B I U QOUTE CODE LIST LIST= IMG URL ITEM ITEM being the new one of course.the code that is used for the mod is item ItemName item Thanks. phildcan Registered User Posts: 21Joined: Fri Dec 16, 2005 8:54 pm Website Top by Blanket
adding bbcode Can be done by modifying one line once the plugin is installed. The change is done in application_helper.rb: def format_text(text) - white_list(RedCloth.new(auto_link(text.to_s)).to_html) + white_list(Redcloth.new(auto_link(bbcodeize(text.to_s))).to_html) end Adding BBCode documentation to the views if and where desired is left as an exercise to the developer (or interface designer). If anyone wants this hyperfast adding bbcode, post below and I& 8217;ll see about getting it up somewhere temporarily. Oct 6 adding bbcode, 2006 11:33am ludo 2 post(s) This is something that is still on my ToDo list adding bbcode, so I am really interested to see your implementation. Oct 6 adding bbcode, 2006 1:43pm rick Administrator 451 post(s) I& 8217;m not interested in using bbcode. What I& 8217;ll do is make that easy to monkey patch adding bbcode, so installing the plugin will add bbcode. How about something like this? beast def format_text(text) white_list(process_text(text)) end def process_text(text) RedCloth.new(auto_link(text.to_s)).to_html end then your plugin d adding bbcode.
adding bbcode Or Member Registered: 2005-04-01 Posts: 345 Website Re: adding bbcode If <del> is a strikethrough adding bbcode, you may want to use <strike> instead? Offline 52 2005-06-16 02:30:27 shinko_metsuo Senior Member From: Bedford adding bbcode, VA adding bbcode, USA Registered: 2005-02-04 Posts: 253 Website Re: adding bbcode <strike> is not valid <del> is validthats why I use <em> instead of <i> and stuff like that. Offline 53 2005-06-18 20:14:44 scottywz Senior Member Registered: 2005-04-01 Posts: 345 Website Re: adding bbcode Well adding bbcode, whatever adding bbcode, I am now working on a mod to add the needed (and then some MORE (yay!) ) BBCodes. Offline 54 2005-06-18 20:22:09 Connorhd PunBB Developer From: Leeds adding bbcode, UK Registered: 2004-06-13 Posts: 4149 Website Re: adding bbcode maybe you should just make a mod that gets the bbcode regexes from the database MyPunBB.com - Free forum hosting. Offline 55 2005-06-18 22:17:34 scottywz Senior Member Registered: 2005-04-01 Posts: 345 Website Re: adding bbcode Here's the mod: htt.
adding bbcode E les deux langue translation thank you metsuo if you ever need translation write me here in Québec alot of people speak both language'align text' => 'Ce texte est a droit' adding bbcode, oh and one more thing i know it may sound like anoying but about the html <table> code would it be possible to or do you feel like saying "lol want a cofee with this!" Last edited by Ataxy (2005-04-20 01:26:53) Offline 14 2005-04-20 22:08:17 shinko_metsuo Senior Member From: Bedford adding bbcode, VA adding bbcode, USA Registered: 2005-02-04 Posts: 253 Website Re: adding bbcode I'm not sure about tables plus tables are very sloppy and sloppyer when you have a pure CSS setup. You may have to edit your CSS to do it then have your own bbcode like th tr td to work with the CSS Offline 15 2005-04-20 22:13:33 Paul PunBB Developer From: Wales adding bbcode, UK. Registered: 2003-08-13 Posts: 2791 Re: adding bbcode Just a suggestion. The best way of finding out if some bit of bbcode is likely to screw the layout is to save a page as a static html .
adding bbcode | | | | | |
Joined: 30 Jun 2001 Posts: 5737 Location: The American Colonies Posted: Thu May 31, 2007 2:14 pm Post subject: Re: adding bbcode Rahhstah wrote: can you add new bbcode tags? Like embedding youtube type videos into posts, the strike through font, and.. that's the only two I could think of Ohhh.. a mission I'm on it _________________LWD web-cams: http: lwdcam.codecoma.com ?lwdcam Have you read your SETI-News today? Make sure you me with your complete (mm dd yy) birthdate to get onto the LWD confidential birthday list!!! ---- 9:08pm 09 16 2005 «+ flip » college...what is that 9:08pm 09 16 2005 «+ Aff » apparently a place where you find rum --- My Amazon Wishlist Rahhstah Veteran Dog Joined: 24 Apr 2002 Posts: 7101 Location: Ground Penguin meat Burgers Rule! Posted: Fri Jun 01, 2007 5:59 pm Post subject: Thanks for adding my suggestions! and the others you did _________________IKrbsjm! Colorado Real Estate The Viking Kittens Are Alive!.... EdisonRex Guide Dog Joined: 06 May 2002 Posts: 917