vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Top Posters (https://vborg.vbsupport.ru/showthread.php?t=121918)

Paul M 08-28-2006 11:46 PM

Quote:

Originally Posted by wolfyman
The one case I was looking at that is not on the list

Primary: 36
Additional: 30, 26, 7, 37

Another that is not showing up:

Primary: 36
Additional: 30, 26, 2

Then I have no idea, and don't really see how it's possible, mysql should return what you ask it for.

wolfyman 08-29-2006 12:02 AM

The older version of the hack worked just fine for me, on 3.5.4. Does that help at all?

And now that I look at it - no users in that usergroup are showing on the toplist.

Paul M 08-29-2006 12:19 AM

Quote:

Originally Posted by wolfyman
The older version of the hack worked just fine for me, on 3.5.4. Does that help at all?

The actual code is identical to the 3.5 version.

LordDB 08-30-2006 08:42 PM

I'm using vB3.6, and after I installed, clicked on the link, and now get Database Error.

Any advice here, plz?

Br.

Paul M 08-30-2006 10:41 PM

No one can tell you anything unless you post the actual error.

wolfyman 08-31-2006 01:30 PM

hey Paul, could you send me the older version? I would like to give it a shot, I think I've pushed every button possible in my admincp with no results.

I just don't get it...

I just took a user from primary 36 and put them as additional 36/primary 2, and they show up just fine on the top posters list....

LordDB 08-31-2006 03:39 PM

Here you go, Paul:

Database error in vBulletin 3.6.0:

Invalid SQL:

SELECT COUNT(post.dateline) AS postcount, post.userid, user.username
FROM post AS post
LEFT JOIN user AS user ON (post.userid = user.userid)
WHERE dateline > 1156955856 AND user.usergroupid IN (2,5,6,7,9,11,)
GROUP BY userid ORDER BY postcount DESC LIMIT 5;

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 ')
GROUP BY userid ORDER BY postcount DESC LIMIT 5' at line 4
Error Number : 1064
Date : Thursday, August 31st 2006 @ 05:37:28 PM
Script : http://www.norfolkmanagementrentals.co.uk/forum/
Referrer :
IP Address :
Username : Mega Admin
Classname : vb_database

Cheers! :)

Paul M 08-31-2006 10:16 PM

Remove the comma after the 11 in the usergroup settings.

wolfyman 08-31-2006 11:31 PM

show me some love paul, pleeeeeeease :)

Paul M 09-01-2006 03:54 AM

Quote:

Originally Posted by wolfyman
show me some love paul, pleeeeeeease :)

Huh ?


All times are GMT. The time now is 12:58 PM.

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.01160 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete