The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
no userid available in navbar/navtab since upgrade 4.2.0PL3 -> 4.2.1
Hi Guys,
Need guidance on this as, unlike my previous issue yesterday it has not resolved with rebuilding bitfields and general templates. I have had two navbar navigation tabs in use for ages. My Posts - setup in the navbar with Code:
search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw bbuserinfo.userid}&contenttype=vBForum_Post&showposts=1 search.php?do=finduser&userid=&contenttype=vBForum _Post&showposts=1 and returns the error: Quote:
If I manually insert my UID it works: search.php?do=finduser&userid=1&contenttype=vBForu m_Post&showposts=1 Now in the main top header where the login and profile block is the UID is correctly called because if I click my name it creates the member.php url: member.php?u=1 So it is not a syntax change or variable name is it? This only happened after 4.2.0PL3 up to 4.2.1 I have started digging around in the navigation manager and swapping out the url formation code to no avail. I have also looked in the nav* templates This is also happening with the default vB4 template. Any suggestions guys? W |
#2
|
||||
|
||||
That is your code in the Navigation Manager? You shouldn't be using {vb:raw..} in there.
HTML Code:
search.php?{session.sessionurl}do=finduser&userid={bbuserinfo.userid}&contenttype=vBForum_Post&showposts=1 |
Благодарность от: | ||
tbworld |
#3
|
|||
|
|||
That fixes it Lynne, thank you very much. I had that from previous incarnations of my boards. I'm glad that I've got that raw code out of the template. There is another instance of that for the My Threads code that is embedded in the second row of the navbar that I can't seem to find. But I'll keep looking and report back if I find it.
If you happen to look back here and can easily point me to the second row of the navbar code I'd appreciate a tip. I very much appreciate the help Lynne! Best regards, Will --------------- Added [DATE]1368580129[/DATE] at [TIME]1368580129[/TIME] --------------- OK, found it - I can't believe how much time I wasted with searches that didn't turn up the fact that to get the second row or subnav bar items to show you have to open and save the main index tab and then they appear. Its all fixed. thanks Lynne, WIll |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|