vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Dynamics > vBa Dynamics v1.0 Support > Addon Modules & Modifications > Module & Modification Discussion & Requests

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2010, 11:20 PM
SoloX SoloX is offline
Member
 
Join Date: Dec 2004
Posts: 47
Default Module: Category Moderators

What query should be used to extract moderators of a category? I want to display them in a module.
Reply With Quote
  #2  
Old 02-03-2010, 02:11 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

You can use code that looks something like this to fetch a list of moderators:

Code:
$myvar = dyna_fetch_cat_moderators($catid);
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #3  
Old 02-07-2010, 03:20 AM
SoloX SoloX is offline
Member
 
Join Date: Dec 2004
Posts: 47
Default

Excellent! that worked. Now all I need is a way to show the avatar next to the username. I was able to look in vba_dyna_functions and added a <br> instead of the comma in dyna_fetch_cat_moderators but cannot figure out how to add an avatar next to the username. Brian, can you help?
I will release my work here as a module for those who may benefit from it.
Reply With Quote
  #4  
Old 02-08-2010, 01:51 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Adding the avatars isn't going to be quite as easy... You would need to add some custom code to sort through the moderators to get a list of userids and query the avatar info from the database.
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display category parent and category when displaying category name tavenger5 "How Do I..." Questions 0 10-15-2009 04:54 PM
Allowing Moderators/Super Moderators Access to vBAdvanced ACP Mikey1991 "How Do I..." Questions 3 05-17-2009 11:14 PM
Bold Moderators in the Online Users module? trana "How Do I..." Questions 1 10-27-2008 10:31 AM
My Category module listing on categories from that category attroll Feedback & Suggestions 7 08-10-2007 09:10 AM


All times are GMT -4. The time now is 08:38 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.