Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
BBcodes
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2, 3  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
BBcodes
PostPosted: 04/01/2007 3:58 PM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
greatbrE.gif
Hiya,

Just wondering if you can add new bbcodes to quick reply? Not to worry if that isn't possible!!

Thanks

Karen.
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: BBcodes
PostPosted: 04/01/2007 11:01 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:27 PM
Location: St Pete, FL
peace.gif
Welcome to RCF, Karen!!!   Applause

Yes, I'm sure you can add BBCode buttons to your Quick Reply panel.  In the Super Quick Reply MOD folder, you should find a directory named contrib which would contain several add-on MODs.  You would want to install the Multiple BBCode MOD with SQR MOD (mbbc_sqr.mod) so that you can add the buttons to the SQR BBCode panel the same way you do with the Posting BBCode Panel...

I don't see an add-on for the BBCode Organizer, so I will have to try to figure out an add-on MOD for it too for you.  I doubt that it will be that difficult...


Laughing
Laughing Laughing
Laughing Laughing Laughing Laughing Laughing
Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing

Welcome to RCF ~^Karen^~!!!

Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing
Laughing Laughing Laughing Laughing Laughing
Laughing Laughing
Laughing


headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: BBcodes
PostPosted: 04/02/2007 12:59 PM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
greatbrE.gif
Thanks for the nice welcome  Dancing

Ah i see, it shouldnt be too difficult!!

Quote:
I don't see an add-on for the BBCode Organizer, so I will have to try to figure out an add-on MOD for it too for you.  I doubt that it will be that difficult...


That would be great if you could come up with summat!!

Thanks again
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: BBcodes
PostPosted: 04/02/2007 11:37 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:27 PM
Location: St Pete, FL
peace.gif
Ok, I just installed this on our Test board and it seems to be working correctly.  You will have to adjust the first REPLACE WITH in this MOD by replacing the bbtags code with the bbtags code from your posting_body.tpl file.  The code in this MOD ONLY matches the BBCode panel buttons here in RCF, so you want to modify it to match your own code...

Before you can install this, you must install the Multi BBCode Mod v1.4.0 and the mbbc_sqr.mod included in the SQR contrib folder...

Code:
########################################################
## MOD Title:    BBCode Buttons Organizer for SQR
## MOD Author:   Nightrider < > (n/a) http://4fxearth.net/phpBB2
## MOD Description:  Allows for neater display of additional quick BBCode buttons in SQR panel.
## MOD Version:  1.0.0
##
## Installation Level:  EASY
## Installation Time:   1 minute
##                      templates/subSilver/posting_body.tpl
## Included Files:      n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
########################################################
## Author Notes:
##     + requires Multi BBCode MOD 1.4.0 or later
########################################################
## MOD History:
##    2007-04-3 - Version 1.0.0
##         + initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
# IMPORTANT: you MUST first install the Multi BBCode Mod v1.4.0
##          and the mbbc_sqr.mod included in the SQR contrib folder
#            available at http://www.phpbb.com/mods/
#
#
#-----[ OPEN ]---------------------------------
#
templates/subSilver/viewtopic_quickreply.tpl
#
#-----[ FIND ]------------------------------------------
#
bbtags = new Array(
#
#-----[ REPLACE WITH ]---------------------------------
# You will need to modify this to match the bbtags from your posting_body.tpl file
#
bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[co de]','[/code]','[list][*]','[/list]','[list=1][*]','[/list]','[img]',' [/img]','[url=]','[/url]','[s]','[/s]','[sup]','[/sup]','[sub]','[/sub ]','[h1]','[/h1]','[h2]','[/h2]','[h3]','[/h3]','[table]','[/table]',' [serif]','[/serif]','[reverse]','[/reverse]','[hr]','[hr]','[hide]','[ /hide]','[mono]','[/mono]','[h4]','[/h4]','[h5]','[/h5]','[h6]','[/h6] ','[row]','[row]','[sans]','[/sans]','[rainbow]','[/rainbow]','[ref=di ctionary]','[/ref]','[ref=thesaurus]','[/ref]','[ref=translator]','[/r ef]','[you]','[you]','<center>','</center>','','','[col]','[col]','[fl ash]','[/flash]','[google]','[/google]','[quick]','[/quick]','[video]'  ,'[/video]','[wiki]','[/wiki]','<blockquote>','</blockquote>');

#
#-----[ FIND ]---------------------------------
#
        <!-- BEGIN switch_advanced_qr -->


        </tr>
#
#-----[ REPLACE WITH ]---------------------------------
#
         <!-- BEGIN XBBcode -->
         <tr align="center" valign="middle">
           <!-- BEGIN BB -->
           <td><span class="genmed">
           <input type="button" class="button" accesskey="{XBBcode.BB.KEY}" name="{XBBcode.BB.NAME}" value="{XBBcode.BB.VALUE}" style="width: {XBBcode.BB.WIDTH}px" onClick="{XBBcode.BB.STYLE}" onMouseOver="helpline('{XBBcode.BB.VALUE}')" />
           </span></td>
           <!-- END BB -->
         </tr>
         <!-- END XBBcode -->
        </tr>
        <!-- BEGIN switch_advanced_qr -->
#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------
#
# EoM

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: BBcodes
PostPosted: 04/03/2007 5:43 AM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
greatbrE.gif
Ok, il av a go at it a bit later, il let you know how i get on!!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: BBcodes
PostPosted: 04/03/2007 5:50 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:27 PM
Location: St Pete, FL
peace.gif
Just don't forget to replace that first REPLACE WITH command with the text from your bbtags array from your posting_body.tpl file before you isntall it or your buttons won't work correctly.  That part only works for RCF...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: BBcodes
PostPosted: 04/03/2007 6:18 AM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
greatbrE.gif
yea i wont forget that bit, i just hope i dont mess any of it up as im good at that lol luckily iv got my test forum so it shudnt be a problem, i backed up all my sites the weekend on to disk so least iv got back ups
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: BBcodes
PostPosted: 04/03/2007 6:26 AM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
greatbrE.gif
wow omg that was easy iv installed the multi bbcode with mbbc_sqr.mod installed fine! Il do the other part later on tonight tho, iv got a bit of a headache now!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: BBcodes
PostPosted: 04/03/2007 6:38 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:27 PM
Location: St Pete, FL
peace.gif
Unfortunately, the MOD I wrote doesn't seem to work correctly in the RCF Live community even though it worked perfectly in the Test board.  I don't see why at the moment though.  Hopefully your luck will be better...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: BBcodes
PostPosted: 04/03/2007 6:46 AM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
greatbrE.gif
il give it ago a bit later anyway, let me know if you resolve it!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

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 cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2, 3  Next
Page 1 of 3


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0756s (PHP: 66% - SQL: 34%) - SQL queries: 58 - GZIP disabled - Debug on