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] bbcode problems
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2, 3, 4  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] bbcode problems
PostPosted: 05/29/2007 2:48 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: 1:45 AM
Location: west midlands:uk
greatbrE.gif
Iv just installed 3 new bbcode mods into my test forum, but they dont seem to work even though they installed perfectly fine! I also tried the simple bbcode mod, that installed but didnt seem to add anything, but iv backed that one up to try others out, but they all seem to be no different, am i missing summat here? Since iv started adding bbcodes iv had problems with everyone! Wish things was easier!!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: [Solved] bbcode problems
PostPosted: 05/31/2007 7:01 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: 1:45 AM
Location: west midlands:uk
greatbrE.gif
Hi NR

Iv uninstalled the bbcodes which wasnt doing anything which i mentioned above just so i can try new things untill you are back!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: bbcode problems
PostPosted: 05/31/2007 3:57 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: 8:45 PM
Location: St Pete, FL
peace.gif
Many BBCode MODs fail to add BBCode buttons to the BBCode panel.  So once you have successfully installed those MODs, then you have to go back and add the code to add the buttons to the BBCode panel as well.  If you have both the Multi-BBCode and BBCode Organizer MODs installed, adding the buttons is very easy.  The files to modify are the includes/bbcode.php and subSilver/posting_body.tpl files.  Here is where you would add the new code in these files...

OPEN
includes/bbcode.php

FIND
Code:
$EMBB_widths = array(

IN-LINE FIND
Code:
)

IN-LINE BEFORE, ADD
Code:
,'55'

What you are adding here is the width of the button.  I chose 55, but you can make the width any reasonable value that you want...

FIND
Code:
$EMBB_values = array(

IN-LINE FIND
Code:
)

IN-LINE BEFORE, ADD
Code:
,'Button Name'

Here you would change Button Name to be the text that you want to display on the button.  For example, if you added the Center BBCode MOD, you might want to name it Center for the button text...

OPEN
templates/subSilver/posting_body.tpl - of course you would want to modify the posting_body.tpl file on all alternate templates too...

FIND
Code:
bbtags = new Array('

IN-LINE FIND
Code:
)

IN-LINE BEFORE, ADD
Code:
,'[center]','[/center]'

This would be the code that the MOD would use for the begin and end tags for the bbcode.  You should be able to look in the MOD script to see what the MOD would recognize.  For example, the Simple BBCodes MOD adds , so the tags that it would install would be:

Code:
[br], [hr], [h1] - [h6], [rainbow], [sub], [sup], [serif], [sans], [mono], [md5] and [reverse]

You would want to make sure each addition has a begin and end bbcode tag in the posting_body.tpl file.  For br and hr, there is no such thing as [/br] and [/hr], so you would simply duplicate them in the added code like this:

Code:
,'[br]','[br]'
,'[hr]','[hr]'

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: bbcode problems
PostPosted: 05/31/2007 4:04 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:45 AM
greatbrE.gif
Great post, I'll need to do this soon  Applause
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: [Solved] bbcode problems
PostPosted: 05/31/2007 4:22 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: 1:45 AM
Location: west midlands:uk
greatbrE.gif
Actually think you have told me this before, i was struggling with a mod bbcode strikethrough, as i was trying to install whilst waiting for a reply here, and i added the missing parts you sed above coz i managed to work it out myself but then there was another error:

Code:

FIND FAILED: In file [templates/subSilver/posting_body.tpl] could not find:

<select name="addbbcode16" onChange="bbfontstyle('[color=' + this.form.addbbcode16.options[this.form.addbbcode16.selectedIndex].val ue + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">

MOD script line #164


But i looked in posting_body.tpl and i couldnt even find this, so i just couldnt modify it!

There wa salso another one i tried to install: BBcode Scroll Left/Right/Up/Down aka Marquee  and i had an error:

Code:
Critical Error

FIND FAILED: In file [posting.php] could not find:

$EMBB_keys = array(''
$EMBB_widths = array(''
$EMBB_values = array(''


I also couldnt find this in posting.php uness i missed these i aint got a clue, i wanted to see if i could fix the errors!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: bbcode problems
PostPosted: 05/31/2007 4:46 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: 8:45 PM
Location: St Pete, FL
peace.gif
Which version of the BBCode Strikethrough MOD are you attempting to install?  I have BBCode StrikeThrough by Serj21 version 1.3.0 and it is not trying to make the modification that you listed above.  Your copy doesn't seem to be accounting for having the Multi-BBCode and BBCode Organizer MODs installed.  I'll make my copy available for you just in case you need it:

BBCode StrikeThrough 1.3.0

I don't have a copy of the BBcode Scroll Left/Right/Up/Down aka Marquee MOD, so could you provide a link to the MOD topic and/or download.  It sounds like it is an old MOD too...

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: [Solved] bbcode problems
PostPosted: 05/31/2007 5:00 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: 1:45 AM
Location: west midlands:uk
greatbrE.gif
not sure if this works but this is the mod:

http://toddlersandbabies.co.uk/test/admin/mods/bbcode%20text%20scroll/ 1649.txt
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: bbcode problems
PostPosted: 05/31/2007 5:04 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: 1:45 AM
Location: west midlands:uk
greatbrE.gif
Nightrider wrote:
Which version of the BBCode Strikethrough MOD are you attempting to install?  I have BBCode StrikeThrough by Serj21 version 1.3.0 and it is not trying to make the modification that you listed above.  Your copy doesn't seem to be accounting for having the Multi-BBCode and BBCode Organizer MODs installed.  I'll make my copy available for you just in case you need it:

BBCode StrikeThrough 1.3.0


I downloaded this and it worked straight away, mine wa san older version i think!!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: bbcode problems
PostPosted: 05/31/2007 5:24 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: 8:45 PM
Location: St Pete, FL
peace.gif
Yes, your's was definitely an older version.  I'm glad my copy worked for you.  Congratulations Karen...

Applause  Applause  Applause  Applause  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
Re: [Solved] bbcode problems
PostPosted: 05/31/2007 5:28 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: 1:45 AM
Location: west midlands:uk
greatbrE.gif
I wish this site http://www.phpbbhacks.com/ would just add the updated versions lol be a lot easier and less hassle! Looking at some mods there, there can be a few thats litterally the same mod, what do you go for lol
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, 4  Next
Page 1 of 4


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0854s (PHP: 63% - SQL: 37%) - SQL queries: 57 - GZIP disabled - Debug on