 | [Solved] bbcode face font |  |
Posted: 05/23/2007 9:58 AM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 5:03 AM
Location: west midlands:uk
|

|
|
|
|
 |
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  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] bbcode face font |  |
Posted: 05/23/2007 10:16 AM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 5:03 AM
Location: west midlands:uk
|

|
|
|
|
 |
| 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 |
|
|
 | Re: bbcode face font |  |
Posted: 05/24/2007 12:31 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:03 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] bbcode face font |  |
Posted: 05/24/2007 1:26 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 5:03 AM
Location: west midlands:uk
|

|
|
|
|
 |
| 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 |
|
|
 | Re: bbcode face font |  |
Posted: 05/24/2007 5:30 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:03 AM
Location: St Pete, FL
|

|
|
|
|
 |
That sounds like a good plan to me...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] bbcode face font |  |
Posted: 05/26/2007 4:30 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 5:03 AM
Location: west midlands:uk
|

|
|
|
|
 |
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 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 |
|
|
 | Re: bbcode face font |  |
Posted: 05/26/2007 8:00 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:03 AM
Location: St Pete, FL
|

|
|
|
|
 |
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 ]------------------------------------------
#
|
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] bbcode face font |  |
Posted: 05/27/2007 6:15 AM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 5:03 AM
Location: west midlands:uk
|

|
|
|
|
 |
| 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 |
|
|
 | Re: [Solved] bbcode face font |  |
Posted: 05/27/2007 1:09 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 5:03 AM
Location: west midlands:uk
|

|
|
|
|
 |
Thats excellent, its working on my live forum now!
Thanks for fixing that  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: bbcode face font |  |
Posted: 05/27/2007 4:42 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:03 AM
Location: St Pete, FL
|

|
|
|
|
 |
Awesome. Congratulations ~^Karen^~!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|