Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Meet Our Staff Details »»
Meet Our Staff
Version: 1.0, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.6 Rating:
Released: 07-05-2008 Last Update: 12-25-2009 Installs: 565
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

MEET OUR STAFF GOLD by



This Product brought to you by
Www.vBulletin-TR.Com

Description: Meet Our Staff Solution Better than vB.Org's

Note 1: I've finally decided to publish Pro version of this product to all of you.
Note 2: Paid version will come soon for vBulletin version 4.x.x. Series.

Go to for vBulletin Version 3.8.x Series of this product.. (please, click here..)

Comments, suggestions, translations, bugs, etc... are very welcome!
Support is only given to people who have clicked Mark as Installed.

Mark as Installed - Nominate for MOTM

Online Demo: www.vbulletin-tr.com/forum/staff.php?langid=1




http://img691.imageshack.us/img691/2...urstaffpro.jpg

Comments, suggestions, translations, bugs, etc... are very welcome!
Support is only given to people who have clicked Mark as Installed.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #432  
Old 03-14-2009, 03:01 PM
sgrisole sgrisole is offline
 
Join Date: Oct 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed version 3.2 and now I get the following error when visiting staff.php

Code:
Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT usergroup.usergroupid, usergroup.title, usergroup.isstaff
COUNT(user.userid) AS membercount
FROM usergroup AS usergroup
LEFT JOIN user AS user ON (user.usergroupid = usergroup.usergroupid OR FIND_IN_SET(usergroup.usergroupid, user.membergroupids))
WHERE usergroup.isstaff = '1'
GROUP BY usergroup.usergroupid
ORDER BY usergroup.title ASC;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'COUNT(user.userid) AS membercount
FROM usergroup AS usergroup
LEFT JOIN user A' at line 2
Error Number  : 1064
Request Date  : Saturday, March 14th 2009 @ 11:43:48 AM
Error Date    : Saturday, March 14th 2009 @ 11:43:48 AM
Classname     : vB_Database
MySQL Version : 5.0.67-community
I tried to uninstall / reinstall the product several times but it didn't fix the problem...
BTW is the PRO version available somewhere?
Reply With Quote
  #433  
Old 03-14-2009, 06:13 PM
tidefans tidefans is offline
 
Join Date: Jul 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting this same error


Quote:
Originally Posted by sgrisole View Post
I installed version 3.2 and now I get the following error when visiting staff.php

Code:
Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT usergroup.usergroupid, usergroup.title, usergroup.isstaff
COUNT(user.userid) AS membercount
FROM usergroup AS usergroup
LEFT JOIN user AS user ON (user.usergroupid = usergroup.usergroupid OR FIND_IN_SET(usergroup.usergroupid, user.membergroupids))
WHERE usergroup.isstaff = '1'
GROUP BY usergroup.usergroupid
ORDER BY usergroup.title ASC;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'COUNT(user.userid) AS membercount
FROM usergroup AS usergroup
LEFT JOIN user A' at line 2
Error Number  : 1064
Request Date  : Saturday, March 14th 2009 @ 11:43:48 AM
Error Date    : Saturday, March 14th 2009 @ 11:43:48 AM
Classname     : vB_Database
MySQL Version : 5.0.67-community
I tried to uninstall / reinstall the product several times but it didn't fix the problem...
BTW is the PRO version available somewhere?
Reply With Quote
  #434  
Old 03-14-2009, 07:48 PM
cookiepants cookiepants is offline
 
Join Date: Jul 2006
Location: Nor Cal
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error here too. I'd like to try it before paying for one. I've tried all versions here and will remove until the DB issue is resolved. Thanks!
Reply With Quote
  #435  
Old 03-14-2009, 08:10 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like it's just missing a comma before the COUNT part of the select statement. Did someone try just addig in the comma and seeing if the error goes away?
Reply With Quote
  #436  
Old 03-14-2009, 09:46 PM
sgrisole sgrisole is offline
 
Join Date: Oct 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne, that made the page work, but now for some reason the moderators aren't listed when I click on the "moderators" link in staff.php. Only the admins are shown. Yes, I already added the "moderators" group to the staff usergroups in the options.
Any idea?

edit: I found out what was causing the problem and fixed it: the "moderators" group was not set as the primary group for moderators, so they didn't show up in the staff.php page. Now I have one more thing to adjust... Is there any way to have both the admins and moderators displayed on the same page? There are only two admins and 3 moderators in my board, so it would be nice to have them displayed on the same page.
Reply With Quote
  #437  
Old 03-15-2009, 12:13 PM
Switch02 Switch02 is offline
 
Join Date: Nov 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This version work on vb 3.8.1?

Thanks
Reply With Quote
  #438  
Old 03-15-2009, 01:20 PM
sheppardzwc sheppardzwc is offline
 
Join Date: Dec 2008
Location: South Carolina
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Switch02 View Post
This version work on vb 3.8.1?

Thanks
I don't know if it does or not, currently fixing an SQL error that Lynne supplied the answer to, and will post back later.

EDIT: Working perfectly for me.

http://www.toontownhall.com/forums/showgroups.php

Just remember to add a comma after the usergroup.istaff comment in the SQL query. (in staff.php by default)

Quote:
SELECT usergroup.usergroupid, usergroup.title, usergroup.isstaff,
COUNT(user.userid) AS membercount
Reply With Quote
  #439  
Old 03-15-2009, 05:15 PM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did the update from 2.0 to 3.2 with the , for the SQL query. I get nothing on the staff.php page, not even a single name. if I use the 3.1 staff.php, I get names, broken up groups, but no title for the group, and no avatars for the individuals.
Reply With Quote
  #440  
Old 03-15-2009, 06:47 PM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

some of it is my fault. I didn't declare the groups....

now that I di dthat. here's a screen cap

Reply With Quote
  #441  
Old 03-16-2009, 04:21 AM
KSMatic KSMatic is offline
 
Join Date: Nov 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is the staff.php file that needed to be fixed with "," for those who are getting database issues.

Copy this in to your forums/ directory file and bam, it works
Reply With Quote
Reply


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


All times are GMT. The time now is 12:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08538 seconds
  • Memory Usage 2,310KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete