![]() |
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" /> https://vborg.vbsupport.ru/external/2015/02/15.jpg You can see it live here I just need to remove it. Thank you in advance. |
You have spaces in your code but I dont think that coding will work there
Here it is without spaces HTML Code:
<span style="color:lime;font-weight:bold;">Online</span> |
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? |
Quote:
Quote:
Code:
DigiWeb Members [B ][ COLOR = Lime ] Online [ / COLOR ] [ / B ] |
Quote:
PHP Code:
https://vborg.vbsupport.ru/external/2015/02/14.jpg |
How about this "modern" method?
Code:
<span class="online">Online</span> Code:
.online{ |
@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. :) |
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: https://vborg.vbsupport.ru/external/2015/02/11.jpg --------------- Added [DATE]1423565249[/DATE] at [TIME]1423565249[/TIME] --------------- Quote:
https://vborg.vbsupport.ru/external/2015/02/12.jpg 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: https://vborg.vbsupport.ru/external/2015/02/13.jpg |
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. |
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> |
Quote:
|
Quote:
http://snag.gy/h0Gvt.jpg |
Quote:
EDIT: Have you tried clearing the cache in the AdminCP? Also there maybe a conflict with one of the mods that you have installed for the Who's Online area. |
I have only added the mod VSa- Visitors in last X hours. and i did a Clear System Cache.
Here is the FORUMHOME Code:
{vb:stylevar htmldoctype} |
Code:
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="DigiWeb Members Online" />DigiWeb Members <font color="lime">Online</font></h3> |
Yeah you could try that as well. If not try disabling the vSA legend hack and install a different legend hack. I have Ozzy's legend hack installed on my forum and do not have this issue.
|
Quote:
Should the image code be removed? |
Quote:
|
Quote:
https://vborg.vbsupport.ru/external/2015/02/9.jpg Thank you everyone for taking the time to help me with my issue and i couldn't have done it without all your help, so thank you everyone very much. kh99 i would like to thank you for pointing out the little green guy, because that has probably saved us all a lot of time trying to figure out why this can't be fixed, now thanks to you, it is fixed :) Thank you. |
If nobody is online, what does it look like? :cool:
|
Quote:
|
Quote:
|
Here's the mod with online and offline statuses and no image needed.
https://vborg.vbsupport.ru/showthread.php?t=317293 |
Great! :)
|
All times are GMT. The time now is 02:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|