PDA

View Full Version : Link for users to view their own posts


salvador21
09-04-2018, 07:45 AM
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/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/414540-view-new-posts-view-your-topics

However the link given there was search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw bbuserinfo.userid}&contenttype=vBForum_Post&showposts=0 and this just appears to link to the Advanced search.

Any help gratefully received, thanks!

Stratis
09-04-2018, 08:14 AM
Try these

Threads
search.php?{session.sessionurl}do=finduser&userid= {session.userid}&starteronly=1&contenttype=vBForum _Thread
Posts
search.php?{session.sessionurl}do=finduser&userid= {session.userid}&contenttype=vB Forum_Post&showposts=1--------------- Added 04 Sep 2018 at 13:19 ---------------




EDIT

These work for me, the above are wrong, sorry
search.php?do=finduser&userid=1&starteronly=1&contenttype=vBForum_Threadsearch.php?do=finduser&userid=1&contenttype=vB%20Forum_Post&showposts=1

z3r0
09-04-2018, 09:55 AM
I have this on my sites

My Posts
search.php?do=finduser&userid={bbuserinfo.userid}& contenttype=vBForum_Post &showposts=1

My Threads
search.php?do=finduser&userid={bbuserinfo.userid}&starteronly=1&contenttype=vBForum_Thread

Kane@airrifle
09-04-2018, 10:01 AM
Been using this plugin for years: https://vborg.vbsupport.ru/showthread.php?t=229027

Works on 4.2.5

salvador21
09-05-2018, 10:28 AM
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.

Stratis
09-05-2018, 04:12 PM
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!


Yes you are right, maybe because it has the user id 1


search.php?do=finduser&userid=1&starteronly=1&contenttype=vBForum_Thread

salvador21
09-05-2018, 04:19 PM
Yes you are right, maybe because it has the user id 1


search.php?do=finduser&userid=1&starteronly=1&contenttype=vBForum_Thread

many thanks, but now I get this:

Please add more constraints to your search. Searches that return all or most of the database are a bad idea.


--------------- Added 1536228533 at 1536228533 ---------------

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