The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Link for users to view their own posts
I wish to create a link for logged in users that I will add to the navigation bar so that instead of having to go to their own profile to find latest posts, they can just click on that menu item.
Can someone tell me please if this is possible, and if so what link I would need for (a)own posts and (b) own threads. I did find a thread on vbulletin.com, which I thought might be the answer in posts #2 and #6 https://www.vbulletin.com/forum/foru...ew-your-topics However the link given there was Code:
search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw bbuserinfo.userid}&contenttype=vBForum_Post&showposts=0 Any help gratefully received, thanks! |
#2
|
||||
|
||||
Try these
Threads Code:
search.php?{session.sessionurl}do=finduser&userid={session.userid}&starteronly=1&contenttype=vBForum_Thread Code:
search.php?{session.sessionurl}do=finduser&userid={session.userid}&contenttype=vB Forum_Post&showposts=1 EDIT These work for me, the above are wrong, sorry Code:
search.php?do=finduser&userid=1&starteronly=1&contenttype=vBForum_Thread Code:
search.php?do=finduser&userid=1&contenttype=vB%20Forum_Post&showposts=1 |
#3
|
||||
|
||||
I have this on my sites
My Posts Code:
search.php?do=finduser&userid={bbuserinfo.userid}&contenttype=vBForum_Post &showposts=1 Code:
search.php?do=finduser&userid={bbuserinfo.userid}&starteronly=1&contenttype=vBForum_Thread |
#4
|
||||
|
||||
|
#5
|
|||
|
|||
Thanks everyone
@Stratis your revised links just give me one thread in the search results (out of thousands) and it isn't a thread I posted in! @z3ro Your links gives me Please add more constraints to your search. Searches that return all or most of the database are a bad idea. Kane, thanks that would be useful but I don't have permissions to install plugins on this forum. |
#6
|
||||
|
||||
Quote:
Yes you are right, maybe because it has the user id 1 search.php?do=finduser&userid=1&starteronly=1&contenttype=vBForum_Thread |
#7
|
|||
|
|||
Quote:
Please add more constraints to your search. Searches that return all or most of the database are a bad idea. --------------- Added [DATE]1536228533[/DATE] at [TIME]1536228533[/TIME] --------------- I wonder if part of the issue is that we are on 4.2.3 It has been very difficult trying to persuade the owners to update to the latest which I think is 4.2.5 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|