PDA

View Full Version : Miscellaneous Hacks - Find all threads posted in - "My Threads"


fkatzenb
12-21-2010, 10:00 PM
You can insert the following code into your board to allow your users to have a simple link to find all the threads they have posted in. It is rather simple and works well when put into the navbar. I use the term "My Threads" for lack of a better term.

search.php?do=finduser&userid={vb:raw bbuserinfo.userid}&starteronly=0&contenttype=vBFor um_Thread

As inserted into the navbar...

{vb:raw template_hook.navbar_start}
<vb:if condition="$show['searchbuttons']">
<vb:if condition="$show['member']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost">{vb:rawphrase new_posts_nav}</a></li>
<li><a href="search.php?do=finduser&amp;userid={vb:raw bbuserinfo.userid}&amp;starteronly=0&amp;contenttype=vBFor um_Thread">My Threads</a></li>
<vb:else />
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post">{vb:rawphrase todays_posts}</a></li>
</vb:if>
</vb:if>

fkatzenb
12-22-2010, 11:26 AM
Original thread was: https://vborg.vbsupport.ru/showthread.php?t=105905

If someone could help me create a xml, that would be great!

dodgez
12-22-2010, 02:30 PM
I am glad you came out with this. I have no idea why vB messed up the search so badly in vB4.

Dr.osamA
12-23-2010, 12:02 AM
installed

thank you bro

but this link show all my suscribe threads not my own threads !!!

fkatzenb
12-23-2010, 01:33 AM
I clarified the title a bit. They are all threads a user has posted in without having to be subscribed too.

Dr.osamA
12-23-2010, 02:59 AM
I clarified the title a bit. They are all threads a user has posted in without having to be subscribed too.

the showing everything.. threads and post man

not only threads This is what I mean:confused:

fkatzenb
12-23-2010, 03:08 AM
I understand. I just don't have a better term then calling it 'My Threads'. All I know is that I have had it on my website for about 4 years now and people love it and want it on other websites. They like being able to find all threads they have posted in without having to be subscribed to them.

It is like using the profile link called, "Find all Posts", but in a threaded view and not on a post by post basis.

Thanks,
Frank

Dr.osamA
12-23-2010, 04:45 AM
Ok
Thank You Bro

OldSchoolDSL
01-03-2011, 03:37 AM
Installed and working

4.1 PL2

jar546
02-06-2011, 04:22 AM
I don't understand why there are separate codes shown. Do they go in different places? I installed the bottom code and it did not work.

shzad1
02-06-2011, 04:43 PM
Nice Thank you

nacaruncr
02-08-2011, 12:30 AM
It work in vb 4.0.3???
or is only for 4.1???