The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
HELLO ,
I want to query all the users who participated in this thread .. Example: there is threadid = 30 and Contains 5 posts I want to get the userid of those who wrote 5 posts without repeating . Is there function for this or should I use a query ?! Thank you ! |
|
#3
|
||||
|
||||
|
thanks Dave , so there is no vb-function to do that !
|
|
#4
|
|||
|
|||
|
Not that I know of.
|
|
#5
|
||||
|
||||
|
If you go to the forumdisplay page and click on the number of replies to the thread, you will get a pop-up that shows all the users who posted in the thread and then number of times they posted.
Attachment 151072 |
|
#6
|
||||
|
||||
|
okay brother , thanks
Quote:
Code:
<tr>
<td class="$bgclass">
<if condition="$show['memberlink']">
<a href="member.php?$session[sessionurl]u=$post[userid]" target="_blank">$post[username]</a>
<else />
$post[username]
</if>
</td>
<td class="$bgclass"><if condition="$post['userid']"><a href="search.php?$session[sessionurl]do=finduser&userid=$post[userid]&searchthreadid=$threadinfo[threadid]" onclick="opener.location=('search.php?$session[sessionurl]do=finduser&userid=$post[userid]&searchthreadid=$threadinfo[threadid]'); self.close();">$post[posts]</a><else />$post[posts]</if></td>
</tr>
|
|
#7
|
|||
|
|||
|
The code for that is in misc.php, the section that starts with if ($_REQUEST['do'] == 'whoposted')
|
|
#8
|
||||
|
||||
|
Quote:
it's same , code get info by a query like what Dave put it PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|