The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need Help For Postbit Link
I would like to put a link in the user's postbit that will search for threads they created in a certain forum. Can someone help me with the link parameters?
Ozzy...this one is probably a walk in the park for you. |
#2
|
||||
|
||||
Sure, use this.
Code:
<a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw post.userid}&contenttype=vB Forum_Post&include=94&showposts=1 " rel="nofollow">{vb:raw post.username}'s POSTS</a> |
#3
|
|||
|
|||
Sweet! Thanks!
--------------- Added [DATE]1418254647[/DATE] at [TIME]1418254647[/TIME] --------------- This finds the their threads in said forum right? |
#4
|
||||
|
||||
Well what ever forum you set in the link.
|
#5
|
|||
|
|||
Can I set it to find just their threads and not all their posts in said forum? Probably just a tweak right?
|
#6
|
||||
|
||||
Try this.
Code:
<a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw post.userid}&contenttype=vB Forum_Post&include=94&showposts=0 " rel="nofollow">{vb:raw post.username}'s Threads</a> |
Благодарность от: | ||
Lynne |
#7
|
|||
|
|||
Awesome! Works great. Thanks brother!
|
#8
|
||||
|
||||
Not a problem, glad to help.
|
#9
|
|||
|
|||
I'm great at complicating things.. is there a way to use a conditional to show the link in the postbit only if they have a thread/threads in said forum? I'm thinking no.
|
#10
|
||||
|
||||
Not without adding a query for every post on the page.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|