 | [Solved] Moderators Tag MOD |  |
Posted: 04/27/2007 5:15 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Hello NightRider,
I just installed Moderators Tag MOD and when posting a message if i click MOD bbcode button it makes
, if i click GVideo it makes
tag. I have just forgot in which i can adjust this. I think i need to change somewhere addbbcode numbers which starts from 18, 20, 22 and so on. So if you can tell me, i will do it.
For temporary i have restored the backups. If you want to see in detail what error actually it is, you may install and see it
Btw, may i know what is this MOD called which you have installed Rainbow bbcode  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Moderators Tag MOD |  |
Posted: 04/27/2007 10:28 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
This MOD poses a new problem on your board. Once you install this MOD, you will have to make sure to add bbcode tags in the middle of the bbtags array in your posting_body.tpl file instead of at the end. So you will have to remember to adjust EVERY bbcode MOD that you install from now on, or they will not work correctly when installed...
Ok, try this:
OPEN
moderator_tags_130.txt
FIND
| Code:
|
#
#-----[ IN-LINE FIND ]---------------------------------
#
'[url]','[/url]'
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'[mod="{EDITOR_NAME}"]','[/mod]'
|
REPLACE WITH
| Code:
|
#
#-----[ IN-LINE FIND ]---------------------------------
#
)
#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
,'[mod="{EDITOR_NAME}"]','[/mod]'
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderators Tag MOD |  |
Posted: 04/27/2007 11:14 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Oh, I see. Okay.
It works
Magic
Thanks brother
And at last may i know what is this MOD called which you have installed Rainbow bbcode  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Moderators Tag MOD |  |
Posted: 04/27/2007 11:45 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
The Rainbow BBCode comes bundled in the Simple BBCodes MOD. The Simple BBCodes MOD includes the following BBCodes:
| Code:
|
|
[br], [hr], [h1] - [h6], [rainbow], [sub], [sup], [serif], [sans], [mono], [md5] and [reverse]
|
Simple BBCodes
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderators Tag MOD |  |
Posted: 04/28/2007 3:34 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
After installation of Simple BBCode, no BBcode tags came while making a new topic
There was no error while or before installation of this MOD too than also not showing! |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderators Tag MOD |  |
Posted: 04/28/2007 2:37 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
No, the Simple BBCode MOD doesn't add any bbcode buttons to the bbcode panel but it does allow the functionality. If you want the BBCode buttons, you have to add them in the includes/bbcode.php and posting_body.tpl files. This is how I have it organized here in RCF:
includes/bbcode.php
| Code:
|
$EMBB_widths = array('','40','40','40','40', '40','40', '40','55','65','40','40','40','40','40','40','40','55','65','40','40', '40','40','40','40','40','55','65','40','40','40','40') ;
$EMBB_values = array('','S','Sup','Sub','H1','H2','H3','Table','Serif','Reverse','HR' ,'Hide','Mono','H4','H5','H6','Row','Sans','Rainbow','RefD','RefT','R efR','You','Cntr','Color','Col','Flash','Google','QT','WMP','Wiki','Bl ock') ;
|
posting_body.tpl
| Code:
|
|
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>');
|
Of course you may not have all of these bbcodes installed on your board, so you would want to adjust the code and tailor these arrays for your board...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderators Tag MOD |  |
Posted: 04/28/2007 4:23 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Cool. It works. I was able to add just rainbow in half hour It's really difficult. But i will try to add some more which includes in simple bbcodes by tonight only
Thanks a lot  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderators Tag MOD |  |
Posted: 04/28/2007 7:54 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
You might want to adjust the width of the quote button so that the buttons in all the columns match...
The width of your Rainbow button is 60:
includes/bbcode.php
So you can adjust the width of the quote button in the posting_body.tpl file to match it...
OPEN
templates/subSilver/posting_body.tpl
FIND
| Code:
|
|
value="Quote" style="width: 50px"
|
REPLACE WITH
| Code:
|
|
value="Quote" style="width: 60px"
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderators Tag MOD |  |
Posted: 04/29/2007 4:45 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Wowww. Right you are. I will fix it now  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderators Tag MOD |  |
Posted: 04/29/2007 1:34 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, sounds good to me...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|