The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi ,
If you use the 4.1.2 version of vbulletin you may face to this problem . You see array instead of online users username. To solve it : You can revert FORUMHOME template . Go to admincp --> Style and templates --> Search templates --> type FORUMHOME and search it . Click on forumhome name and choose revert from sidebar . You can replace this code in forumhome : Code:
<vb:if condition="$activeusers">
<ol class="commalist" id="wgo_onlineusers_list">
{vb:raw activeusers}
</ol>
</vb:if>
Code:
<vb:if condition="$activeusers">
<ol class="commalist" id="wgo_onlineusers_list">
<vb:each from="activeusers" value="loggedin">
<li> {vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}</li>
</vb:each>
</ol>
</vb:if>
Good Luck.
|
|
#2
|
|||
|
|||
|
Thank you for this fix. Worked like a charm
|
|
#3
|
|||
|
|||
|
This worked beautifully in all of our templates except for one. Instead of code starting with this:
<vb:if condition="$activeusers"> <ol class="commalist" id="wgo_onlineusers_list"> {vb:raw activeusers} </ol> </vb:if> there is this: <vb:if condition="$show['loggedinusers']"> <!-- logged-in users --> <div id="wgo_onlineusers" class="wgo_subblock"> <img src="{vb:stylevar imgdir_misc}/whos_online.gif" class="whaticon" alt="{vb:rawphrase currently_active_users}" /> <div class="whatspace"> <p>{vb:rawphrase there_are_x_online, {vb:raw totalonline}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p> <p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p> <ol class="commalist" id="wgo_onlineusers_list"> {vb:raw activeusers} </ol> </div> </div> <!-- end logged-in users --> </vb:if> I have no idea how to change this, since my knowledge of css is pretty limited. Anything you can think of would be greatly appreciated! P.S. - We are using 4.1.11 Patch Level 1 |
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
Ok, then. Thanks anyway.
|
|
#6
|
|||
|
|||
|
I have the same issue for :
a) Today's Birthdays user name showing as "Array" b) Users who currently viewing on thread "Array" We are using (vBulletin 4.1.12 Patch Level 3) Kindly assist to fix this. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|