The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Mod Help
I need some help/guidence on how to get this mod working right. I wanna make a new page with a RPG tag for each RPG social group. I cant get it to pull anything from the database. Heres my code I'm only wanting to pull the members, and the leader of the group.
$GroupInfo = $vbulletin->db->query_read("SELECT socialgroupid, name, creatoruserid, members FROM " . THREAD_PREFIX . " socialgroup ORDER BY name"); $groupArray = $vbulletin->db->fetch_array($GroupInfo); $groupLeader = $groupArray['creatoruserid']; echo "$groupLeader"; I got nothing and if I add it to the php file it will show a database error. Wondering if someone wouldnt mind pointing me in the right way and letting me know if I'm using the right methods for those classes. Thanks in advance for helping me out. Also how would I make it show only the ones I want, like all the naruto ones would show up in a certain format and the bleach ones would have there own formating. |
#2
|
|||
|
|||
If you have questions/problems with a modification or style, then please post in the thread (or support forum/board) about that modification/style. Best chance to receive a reply from either the author or another member using the same modification/style.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|