The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vbphrase not working right.
Hi everyone, i was wondering if someone could just help me with this issue below please.
in my phrase manager under: currently_active_users i have added this line below: DigiWeb Members <font color="lime">Online</font> i also tried this line: DigiWeb Members <span style="color: lime; font-weight: bold;">Online</span> but same result. but as per picture it comes out showing: Online" />DigiWebs Members Online, so how do i remove or fix this part of the line: Online" /> You can see it live here I just need to remove it. Thank you in advance. |
#3
|
|||
|
|||
Quote:
I copied the full line like this: <span style="color:lime;font-weight:bold;">Online</span> But it still looks the same. http://snag.gy/byFE1.jpg Is there another way of fixing the issue? |
#4
|
||||
|
||||
Quote:
Quote:
Code:
DigiWeb Members [B ][ COLOR = Lime ] Online [ / COLOR ] [ / B ] |
#5
|
|||
|
|||
Quote:
PHP Code:
|
#6
|
||||
|
||||
How about this "modern" method?
Code:
<span class="online">Online</span> Code:
.online{ color:lime; font-weight:bold; } |
#7
|
||||
|
||||
@Replicant that does not work either.
I'm trying these on my site and none of them work. OK fine let's try this then. Probably the only way to change this is to edit the template code instead. Open your FORUMHOME template and find: Code:
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3> Code:
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />DigiWeb Members <font color="lime">Online</font></h3> The reason most likely that it did not work is because the phrase is found inside a header tag a h3 tag. The h3 tag has CSS of its own so there was a conflict most likely that was causing it to give that error. But the code in the template works well and gets the job done. |
#8
|
|||
|
|||
Quote:
I followed your instruction and added it all like: In Phrase section added this: <span class="online">Online</span> Aditional.css last line added this: .online{ color:lime; font-weight:bold; } and still didn't work properly look: --------------- Added [DATE]1423565249[/DATE] at [TIME]1423565249[/TIME] --------------- Quote:
I added your line to Forumhome replacing the old one, I then deleted replicants code from additional.css and then i removed code from phrase and it showed the default settings on the page like this: |
#9
|
|||
|
|||
The reason you're having a problem is because if you look at where that phrase is used in the FORUMHOME template, it looks like this:
Code:
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3> so you can see that it's used both as the text you see and as the 'alt' attribute, so you cannot include html in that phrase. What you would need to do is put your <span> tag in FORUMHOME instead of in the phrase. |
#10
|
||||
|
||||
Sorry my bad try this...
Code:
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="DigiWeb Members <font color="lime">Online</font>" />DigiWeb Members <font color="lime">Online</font></h3> |
Благодарность от: | ||
SᴩiDᴇЯ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|