Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Moderators Tag MOD
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Moderators Tag MOD
PostPosted: 04/27/2007 5:15 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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 Smile

Btw, may i know what is this MOD called which you have installed Rainbow bbcode Wink
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Moderators Tag MOD
PostPosted: 04/27/2007 10:28 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: 6:51 PM
Location: St Pete, FL
peace.gif
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...

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: [Solved] Moderators Tag MOD
PostPosted: 04/27/2007 11:14 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Oh, I see. Okay.

It works  Dancing  Dancing  Dancing
Magic Wink

Thanks brother  blob8  blob8

And at last may i know what is this MOD called which you have installed Rainbow bbcode  Boo hoo!
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Moderators Tag MOD
PostPosted: 04/27/2007 11:45 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: 6:51 PM
Location: St Pete, FL
peace.gif
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

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: [Solved] Moderators Tag MOD
PostPosted: 04/28/2007 3:34 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
After installation of Simple BBCode, no BBcode tags came while making a new topic Very Happy
There was no error while or before installation of this MOD too than also not showing!
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: [Solved] Moderators Tag MOD
PostPosted: 04/28/2007 2: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: 6:51 PM
Location: St Pete, FL
peace.gif
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...

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: [Solved] Moderators Tag MOD
PostPosted: 04/28/2007 4:23 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Cool. It works. I was able to add just rainbow in half hour Very Happy It's really difficult. But i will try to add some more which includes in simple bbcodes by tonight only Wink

Thanks a lot  banana  banana
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: [Solved] Moderators Tag MOD
PostPosted: 04/28/2007 7:54 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: 6:51 PM
Location: St Pete, FL
peace.gif
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"

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: [Solved] Moderators Tag MOD
PostPosted: 04/29/2007 4:45 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Wowww. Right you are. I will fix it now  banana  banana
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: [Solved] Moderators Tag MOD
PostPosted: 04/29/2007 1:34 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: 6:51 PM
Location: St Pete, FL
peace.gif
Ok, sounds good to me...

Applause
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
 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

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1375s (PHP: 48% - SQL: 52%) - SQL queries: 58 - GZIP disabled - Debug on