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 face font
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] bbcode face font
PostPosted: 05/23/2007 9:58 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: 5:03 AM
Location: west midlands:uk
greatbrE.gif
What does this mod actually do? iv added it on my live board and i cant see what it does i was expecting a bbcode button or summat but not even that  Rolling Eyes
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 face font
PostPosted: 05/23/2007 10:16 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: 5:03 AM
Location: west midlands:uk
greatbrE.gif
After looking at the layout here nightrider with this mod i figured just to install the part 2 bit, and its great now, the only thing is i cant get any of the other buttons to work and the colour bar has gone, iv done this in my live site as i knew it wont effect anyone, just while im awaiting for help on the other mods iv been trying to install on test forum, in the meantime il just do a back up of it,  then when the othe rmods are fixed il come back to this, but if you have any suggestions fire away!
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 face font
PostPosted: 05/24/2007 12:31 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: 12:03 AM
Location: St Pete, FL
peace.gif
Ok, the MOD author made some pretty serious mistakes in Part 2 of this MOD.  This is not the same MOD that's installed here in RCF...

This is what needs to be corrected:

OPEN
face font/PART2.txt

FIND
Code:
#
#-----[ FIND ]------------------------------------------
#

 {L_FONT_COLOR}:


#
#-----[ REPLACE WITH ]------------------------------------------
#

 {L_FONT_SETTINGS}:


#
#-----[ FIND ]------------------------------------------
#

 {L_FONT_SIZE}:


#
#-----[ REPLACE WITH ]------------------------------------------
#

 

REPLACE WITH
Code:
#
#-----[ FIND ]------------------------------------------
#
 {L_FONT_COLOR}:
#
#-----[ IN-LINE FIND ]------------------------------------------
#
 {L_FONT_COLOR}:
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
 {L_FONT_SETTINGS}:
#
#-----[ FIND ]------------------------------------------
#
 {L_FONT_SIZE}:
#
#-----[ IN-LINE FIND ]------------------------------------------
#
 {L_FONT_SIZE}:
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
 

The following probably needs to be fixed too.  I doubt that this will work in removing the Close Tags code.  You may not even want to do that, so you may want to remove this part completely.  You may actually want to place the Close Tags code on a separate line rather than removing it, like I did here in RCF.  But if you prefer to remove it, the following code will do so after it's corrected...

FIND
Code:
#
#-----[ FIND ]------------------------------------------
#
              
<td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>


#
#-----[ REPLACE WITH ]------------------------------------------
#

REPLACE WITH
Code:
#
#-----[ FIND ]------------------------------------------
#
{L_BBCODE_CLOSE_TAGS}
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!---->

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] bbcode face font
PostPosted: 05/24/2007 1:26 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: 5:03 AM
Location: west midlands:uk
greatbrE.gif
ok, im gonna try this when iv got my statistics mod sorted coz then i can install this on the test forum then, rather than making mistakes on my live one!!
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 face font
PostPosted: 05/24/2007 5:30 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: 12:03 AM
Location: St Pete, FL
peace.gif
That sounds like a good plan 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
Re: [Solved] bbcode face font
PostPosted: 05/26/2007 4:30 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: 5:03 AM
Location: west midlands:uk
greatbrE.gif
Ok, iv added both the codes you gave me above, but the only prob i have is the colour bar has disappeared and the buttons still not working  dontknow it wa sthe same when i tried this on my live forum and i hadnt added the ammendments then! This is now on my test forum, thought id fix it on there before messing live forum up
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 face font
PostPosted: 05/26/2007 8:00 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: 12:03 AM
Location: St Pete, FL
peace.gif
Ok, there were several problems that I fixed in the MOD script.  Then I installed it to make sure.  First, you needed to install both Part 1 and Part 2, Part 1 first.  But since the MOD Title and MOD version were exactly the same for both parts, EM didn't display the second after installing the first and visa versa.  So I added Part 2 to the MOD Title of the Part2 MOD script, which allowed me to install both parts...

Here is what else needed to be corrected for this to work:

OPEN
face font/PART2.txt

FIND
Code:
## MOD Title: Font Face BBCode

REPLACE WITH
Code:
## MOD Title: Font Face BBCode Part 2

FIND
Code:
#
#-----[ FIND ]------------------------------------------
#

);


#
#-----[ IN-LINE FIND ]------------------------------------------
#

);


#
#-----[ IN-LINE BEFORE, ADD ]----------------------------------
#  

,'[face]','[/face]'

REPLACE WITH
Code:
#
#-----[ FIND ]------------------------------------------
#
bbtags = new Array(
#
#-----[ IN-LINE FIND ]------------------------------------------
#
);
#
#-----[ IN-LINE BEFORE, ADD ]----------------------------------
#  
,'[face]','[/face]'

FIND
Code:
#
#-----[ FIND ]------------------------------------------
#
{L_BBCODE_CLOSE_TAGS}
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!---->

REPLACE WITH
Code:
#
#-----[ FIND ]------------------------------------------
#
<span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span>
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
&nbsp;

I moved the Part2.txt file to a separate MOD folder named face font2 so that Part1 and Part2.txt each have their own backups and processed folders.  You should always do this on multi-part MODs so that if need be, you can use EM to Restore the Backups.  If the backups are mixed together, then it is likely that you will end up having to manually remove MOD code if you choose to remove the MOD for any reason...

Also, the MOD author added code for a BBCode button in the posting_body.tpl file, but not the related code in the bbcode.php file, so I made this correction to get the new BBCode button to display and work properly...

OPEN
face font/PART1.txt

FIND
Code:
#
#-----[ OPEN ]------------------------------------------
#

includes/bbcode.php

AFTER, ADD
Code:
#
#-----[ FIND ]------------------------------------------
#
$EMBB_widths = array(
#
#-----[ IN-LINE FIND ]------------------------------------------
#
)
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
,'45'
#
#-----[ FIND ]------------------------------------------
#
$EMBB_values =
#
#-----[ IN-LINE FIND ]------------------------------------------
#
)
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
,'Font'


So you should be able to copy the face font and face font2 folders to the Live board and install both Parts there now...

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] bbcode face font
PostPosted: 05/27/2007 6:15 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: 5:03 AM
Location: west midlands:uk
greatbrE.gif
ok thanks, il do this when im home tonight, as im on someone elses pc! I checked it though and it looks great!!
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 face font
PostPosted: 05/27/2007 1:09 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: 5:03 AM
Location: west midlands:uk
greatbrE.gif
Thats excellent, its working on my live forum now!

Thanks for fixing that  Applause
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 face font
PostPosted: 05/27/2007 4:42 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: 12:03 AM
Location: St Pete, FL
peace.gif
Awesome.  Congratulations ~^Karen^~!!!

banana  blob8  banana  blob8  banana  blob8  banana
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
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1021s (PHP: 55% - SQL: 45%) - SQL queries: 58 - GZIP disabled - Debug on