View Full Version : My Posts & My Threads in Quick Links
Eq4bits
07-22-2008, 03:06 AM
Recently did the upgrade to 3.7x from 3.6.10 and my members are screaming for 'My Posts' and 'My Threads' to be in the Quick Links dropdown. Maybe I'm braindead from writing mysql queries for a different project but for some reason I can't figure this out. I know I find the location in the dropdown I want these to appear (below 'Mark Forums Read' and above 'Open Contacts Popup') but the links I need to but in the <a href=" line is driving me nuts. (navbar template)
Anyone with a fresher brain care to help?
RLShare
07-22-2008, 03:18 AM
Threads...
<a href='search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1'>My Threads</a>
Posts...
<a href='search.php?do=finduser&u=$bbuserinfo[userid]'>My Posts</a>
Dismounted
07-22-2008, 06:15 AM
HTML attributes should be enclosed in double quotes. You should add the vBulletin session hash to handle users without cookies enabled. Also, you should use HTML entities ("&", instead of "&").
<a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]&starteronly=1">My Threads</a>
<a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]">My Posts</a>
Eq4bits
07-22-2008, 11:20 AM
thanks so much!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.