The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
List thru template
I am trying to create a list like the memberlist with different info of course.
I do the call to the DB get the results, but going thru the VB memberlist.php file to figure out how you create the memberlist with templates and all. It's a little confusing, to me it looks like you create a variable and then do a while loop for each member on the page. Getting the memberlist_bits templated and adding it. But I tried that and didn't get anything, can someone throw a simple example up. I am able to do the main part of the template even called the variable inside the template, still nothing. |
#2
|
||||
|
||||
The example you were looking at was a good example. You should post your code here and then we can see what you forgot to do. Be sure to put it in the code/php tags and include the template code also.
|
#3
|
|||
|
|||
Thanks for letting me know that was a good example, I figured out my error after I went thru the code again.
It was in the sql query, I used query_first_slave, switched it to query_read_slave and it worked without a problem. Now to finish building the rest of it |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|