PDA

View Full Version : Users OnLine and Reputation Problems after Upgrade to 4.1.8


thermax04
11-25-2011, 10:16 AM
Dear All
I have a modified style on my VB Forum, and after upgrading to 4.1.8 I found the following 2 problems:

Users OnLine don't show the comma between the online users names (pic attached)

https://vborg.vbsupport.ru/attachment.php?attachmentid=134680&stc=1&d=1322219695

Reputation green dots disappeared and have now the word Array instead (pic attached)

https://vborg.vbsupport.ru/attachment.php?attachmentid=134681&stc=1&d=1322219695

I did not have these problems before in the same style, and I don't have them now on the VB default style

Lynne
11-25-2011, 04:52 PM
Create a new style with no parent:

Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save

Then browse the site using that totally default vbulletin style - do you still have the same problem?

thermax04
11-25-2011, 05:45 PM
I have the default VB style unmodified and a another style which is modified.
I do not have these problems with the unmodified default VB style, only with the modified style, but Iam using this modified style since 4.1.3 with no problems, the problems started only after upgrading to 4.1.8 in the modified style not the unmodified default style

EDIT:
Users OnLine don't show the comma between the online users names is solved by adding {vb:raw loggedin.comma}

Paul M
11-25-2011, 06:57 PM
The system for displaying them changed in 418, you will need to modify your custom template.

thermax04
11-25-2011, 07:39 PM
The system for displaying them changed in 418, you will need to modify your custom template.

Do you mean regarding the Reputation green dots!
Then how to modify it?

Paul M
11-25-2011, 07:46 PM
Replace this
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>



with this;

<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
</vb:each>
</span>

thermax04
11-25-2011, 08:27 PM
I did your modification on Postbit Template, and I did also my modification but the results are the same (pic attached)
I have now the reputation green dot under the user name as the unmodified style, while I used to have it according to my modification in the same place which now has the word array!!:mad:

https://vborg.vbsupport.ru/attachment.php?attachmentid=134691&stc=1&d=1322256443

Lynne
11-25-2011, 09:26 PM
Since it's a custom template, you will need to find the area where it was placed and modify it. It may have a different class needed to work in your template - that is up to you to figure out.

thermax04
11-25-2011, 10:19 PM
I managed to put the reputation green dots where I want, but I can not figure out how to remove this Array Word!!

https://vborg.vbsupport.ru/attachment.php?attachmentid=134692&stc=1&d=1322263141

Lynne
11-26-2011, 04:16 AM
Without you posting a few lines around that part of your template (NOT the full template! We only want to see that area) AND you posting a link to the site, we can't help you out either.

thermax04
11-26-2011, 07:28 AM
Without you posting a few lines around that part of your template (NOT the full template! We only want to see that area) AND you posting a link to the site, we can't help you out either.

Thank you Lynne

my forum link is:
www.mobileguide-mea.com/vb

when you go there choose English US and compare between Mobile guide style (which is modified) and default style (which is not modified)

my postbit template code is attached (called postbit full) to look in it, since I do not know which area to send it, Sorry about that, but I attached also a part of the template which may be what you are looking for (called postbit part)

Lynne
11-26-2011, 04:16 PM
Your problem is from a modification using this template_hook:
{vb:raw template_hook.postbit_userinfo_right_after_posts}

thermax04
11-26-2011, 06:48 PM
Your problem is from a modification using this template_hook:
{vb:raw template_hook.postbit_userinfo_right_after_posts}

Iam very new in forums, what should I do?
Should I delete it or modify or what?

Lynne
11-26-2011, 07:22 PM
I can't make that decision for you. Perhaps you just need to update the modification?

thermax04
11-26-2011, 07:32 PM
I can't make that decision for you. Perhaps you just need to update the modification?

Iam already updated the template modification, and that's how I got the dots where I need, But I do not know how to get rid of this array word, and I do not understand about Hooks and modifications, I just follow the instructions.

Lynne
11-26-2011, 11:41 PM
I'm afraid the only person who can help you is the developer. Try posting in the modification thread and see any anyone has any advice on what to change.