The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Some Users Unable to See Template Edits.
Hi
Some Users on our Forum are unable to see Template edits, as in from their point of view parts of the page are missing which normally show up. Everything that is missing is related to templates I have edited such as postbit_legacy, is there a permission or a feature which would stop certain users viewing it? |
#2
|
||||
|
||||
Perhaps some sort of caching, either a mod, or on the server.
|
#3
|
||||
|
||||
I bet either what Ozzy said ^ OR you edited part of the template and either wrapped it in a conditional (one to which they have no permission to view if so etc) or perhaps messed up and removed too much or left a bit of code unclosed i.e. you did <a href="url">Link Title</a and simply forgot the > or similar.
Ask the users running into these areas to try viewing the same parts of the threads but in a different style like the default style - do they still see blank/missing areas? If they do then it's mod/plugin related, if they see all parts of the site as-intended then you know it was in fact an edit to the style that caused the issue. |
#4
|
||||
|
||||
Or you allow users to pick their style and you edited a style they are not using.
|
#5
|
||||
|
||||
Or have them hard refresh by hitting f5 on their keyboard and clear your cache from your browser. I am with ozzy on this one, I am always doing template edits to my forums and sometimes other users will see the cache version instead of the live version.
Another thing, some edits you have to make sure that they have the !important declaration before the ; i.e., background-color: blue !important; .... Sometimes if a user is on chrome they might not see the changes unless you declare it !important. Hope that helps you my Man ! |
#6
|
|||
|
|||
My instant assumption was caching, but it doesn't seem to be obvious.
Quote:
Quote:
Quote:
HTML Code:
<vb:if condition="$post['rank']"> <span class="rank">{vb:raw post.rank}</span> </vb:if> <vb:if condition="$post['field6']"> <span class="rank"><img src="{vb:raw post.field6}" /></span> </vb:if> The first vb:if conditional is obviously standard, its the second vb:if conditional that doesn't appear for certain users, this edit has been in for months now which is why I think it surely can't be just a caching issue, where could I insert the '!important' tag within this snippet? |
#7
|
||||
|
||||
How do you have the profile field 6 set up?
|
#8
|
||||
|
||||
Heh...I should of asked what template it was in that you made these edits to.
For that template, the ! important declaration is not the problem or fix ... You might have a certain requirement for that field that doesn't allow for the rank to display unless the requirement is met. Maybe a certain amount of posts or the field is private? Make sure the Minimum Posts is set to at least 1 and Display Type to always for the rank .... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|