The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok so i'm modifying a vb garage script. And since it is no longer supported and it doesn't have anything to really do with the garage, i figured i post it here.
On one page it lists everyones garage, which also displays their user ID. What im trying to do, is make two separate lists. Such as Group A list all users who are part of group A Group B list all users who are part of group B |
#2
|
||||
|
||||
![]()
Just use the usergroups and if conditionals
|
#3
|
|||
|
|||
![]()
Do you have any example coding i can work from, the only if conditionals i know are to allow a user to see something if they are part of that user group, not how to list users who have a garage based on their user group.
For example, the code for the list is this Code:
<td class="alt2" align="center">$count</td> <td class="alt2"><a href="$vboptions[bburl]/vbgarage.php?do=view&id=$list[userid]">$user[username]</a></td> <td class="alt2">$list[year] $list[make] $list[model]</td> <td class="alt2" align="center">$list[lastactivity]</td> So what i want is it to have separate lists based on the user ID and what group it belongs to. Bump? Any help? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|