 | BBcodes |  |
Posted: 04/01/2007 3:58 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
|

|
|
|
|
 |
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 |
|
|
 | Re: BBcodes |  |
Posted: 04/01/2007 11:01 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:27 PM
Location: St Pete, FL
|

|
|
|
|
 |
Welcome to RCF, Karen!!!
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...
Welcome to RCF ~^Karen^~!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: BBcodes |  |
Posted: 04/02/2007 12:59 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
|

|
|
|
|
 |
Thanks for the nice welcome
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 |
|
|
 | Re: BBcodes |  |
Posted: 04/02/2007 11:37 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:27 PM
Location: St Pete, FL
|

|
|
|
|
 |
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
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: BBcodes |  |
Posted: 04/03/2007 5:43 AM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
|

|
|
|
|
 |
| Ok, il av a go at it a bit later, il let you know how i get on!! |
|
|
 |
 |
| Back to Top |
|
|
 | Re: BBcodes |  |
Posted: 04/03/2007 5:50 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:27 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: BBcodes |  |
Posted: 04/03/2007 6:18 AM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
|

|
|
|
|
 |
| 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 |
|
|
 | Re: BBcodes |  |
Posted: 04/03/2007 6:26 AM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
|

|
|
|
|
 |
| 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 |
|
|
 | Re: BBcodes |  |
Posted: 04/03/2007 6:38 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:27 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: BBcodes |  |
Posted: 04/03/2007 6:46 AM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 7:27 PM
Location: west midlands:uk
|

|
|
|
|
 |
| il give it ago a bit later anyway, let me know if you resolve it! |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|