vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Toplist Hack (https://vborg.vbsupport.ru/showthread.php?t=38076)

ULTIMATESSJ 06-01-2002 10:00 AM

Quote:

Originally posted by Slynderdale

run the queries one by one with phpmyadmin, fire flies query in admin cp or another query tool

isn't this just one query

DROP TABLE IF EXISTS toplist_hitsin;
CREATE TABLE toplist_hitsin (
inid int(11) unsigned NOT NULL auto_increment,
topid int(11) NOT NULL default '0',
accountid varchar(20) NOT NULL default '',
date varchar(20) NOT NULL default '',
PRIMARY KEY (inid)
)

Slynderdale 06-01-2002 10:05 AM

Quote:

Originally posted by ULTIMATESSJ


isn't this just one query

DROP TABLE IF EXISTS toplist_hitsin;
CREATE TABLE toplist_hitsin (
inid int(11) unsigned NOT NULL auto_increment,
topid int(11) NOT NULL default '0',
accountid varchar(20) NOT NULL default '',
date varchar(20) NOT NULL default '',
PRIMARY KEY (inid)
)

no, 2

the drop table is one and the create table is one

Seby 06-01-2002 01:15 PM

Quote:

Originally posted by Slynderdale


soon, power went out all day today and yesterday and my mom just came out of the hospital, ive been a little busy, ive been working on the scripted though and adding alot of new stuff

Thanks a lot Slynderdale ;) Keep up the great work!

Sebastian

xug 06-06-2002 07:39 AM

Thanks Slynderdale for this cool hack.

I do have one cosmetic bug and can't figure it out where the problem could be.

Maybe you can tell me what's wrong with my script.

The bottom links from vbulletin are messed up, take a look here :

http://www.xboxusersgroup.com/forums/toplist.php?s=

techno 06-09-2002 04:54 PM

Having a problem...

Seems like after a site gets a few votes, they are placed at the bottom of the list...hmmm :(

Slynderdale 06-09-2002 05:56 PM

Quote:

Originally posted by techno
Having a problem...

Seems like after a site gets a few votes, they are placed at the bottom of the list...hmmm :(

im working on a fix for 2.0

techno 06-09-2002 06:01 PM

ok, thanks

ManagerJosh 06-14-2002 03:30 PM

Great Hack Slynderdale

Looking forward to version 2.0! How soon can we expect it?

psychoxmonkee 06-17-2002 01:27 AM

yah
how soon?

X-Fan 06-17-2002 05:53 AM

Cool hack! Will prove very popular with my site's members, I'm sure.

http://x-mencomics.com/xfan/forums/toplist.php?s=


All times are GMT. The time now is 11:04 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.01174 seconds
  • Memory Usage 1,733KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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