Log in

View Full Version : MEMBERINFO: Showing threads by member in specific forum


Alfa1
01-27-2008, 09:07 AM
I want to place a link to a members threads in a certain forum. On the statistics tab of MEMBERINFO(vb 3.7)

In vb 3.6.8 and below the memberinfo template has this code:
<fieldset class="fieldset">
<legend>$vbphrase[posts]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

<td><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;s earchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
</table>
</fieldset>

How can I adjust this code so that it shows threads from a certain forum only and works for vb 3.7?

cheesegrits
01-27-2008, 08:56 PM
Just add "&amp;forumchoice[1]=123" (obviously change 123 to the forumid you want).

I don't think there's any changes to the search query strings in 3.7.

-- hugh

Alfa1
01-28-2008, 08:07 AM
Thanks. And when I want to include multiple forums?

cheesegrits
01-28-2008, 06:04 PM
I think you can just add more forumchoice[X] args. Although thinking about it you should probably start with 0 rather than 1. So to add two forumid's, add ...

&amp;forumchoice[0]=123&amp;forumchoice[1]=124

... etc.

-- hugh

Alfa1
01-30-2008, 09:13 PM
Many thanks again. I have been trying to find the correct location to add this to the statistics tab of member profile, but it seems the content of this tab is not on MEMBERINFO. Do you have an idea where to find this?

Lynne
01-30-2008, 09:47 PM
Many thanks again. I have been trying to find the correct location to add this to the statistics tab of member profile, but it seems the content of this tab is not on MEMBERINFO. Do you have an idea where to find this?
Maybe "memberinfo_block_statistics" ? I think all the "memberinfo_block_xxx" templates are for the different tabs and blocks on that page.

Alfa1
01-31-2008, 11:38 PM
Will try thanks!

--------------- Added 1201832459 at 1201832459 ---------------

OK. all works well. Thanks.
Is there a way to add 'total threads started in forum 123', similar to the statistics of total posts on the statistics block of profile?

Alfa1
02-17-2008, 05:48 PM
bump