Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Toplist Hack Details »»
Toplist Hack
Version: 1.00, by Slynderdale Slynderdale is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-29-2002 Last Update: Never Installs: 61
 
No support by the author.

This isnt the same as Dj'Sap's toplist scripted, i scripted my own, i do give him credit for the original and giving me the idea to make my own, my toplist has alot of cool features and easy to use.
It let members add one site only to the toplist where only other members can vote for it, the site with the most votes get higher on the list.

Members can only vote once a day though.
Members can also add a banner and image button if they want
People can click on the banner or button and will be taking to a page with the code to add the banner or button to there site to link them to the toplist to vote.
Theres 2 ways to vote:
1. go to the toplist and click vote on the site
2. Theres two kinds of links, one brings you to the toplist and automaticly vote for you and the other automaticly vote for you but brings you to the site you voted for

You have to sign up on the forums to vote

It keeps track on how many total an d daily ins (votes) and outs

Admins can see a specail edit and delete link next to the vote link, admins can delete any site and edit almost every thing about it, including url, description, title, button and banner url, total and daily ins and outs.

Admins are allowed to add more then one site

People can choose from a drop down menu on how many toplists get showed on there screen, the default is 50, you can choose from 10,25,50,75,100 and all, you can esily add more if you want.

Some screens shots are in the zip file.

[edit]
Heres a live demo: http://www.gods-network.com/forums/toplist.php

Also screen shots are posted in posts below
[/edit]

Show Your Support

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

Comments
  #42  
Old 05-28-2002, 05:41 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Toplist 2.0 should be done today or tomarrow, if you have any ideas or requests post them, if there good ill add them in 2.0

New Features of 2.0:

Members can add a image on there site that records daily and total page hits.

Admins can reset sites and set there stats all back to 0.

A random banner and button code that shows a random buttom or banner when the page refreshes and if you click on it, it counts as an out for that site and it takes you to that site.

A bug fix in the old version that if a site has over 10 votes some times its gets placed at the bottom or middle and ones wirh 5,6,7 and so on gets placed higher.

also an idea, an admin reset and delete all, if you wish these to be added, please post and tell me and tell me if you have any other ideas.
Reply With Quote
  #43  
Old 05-28-2002, 06:10 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ceo_tfw
can you let us know where the nav.gif is? when you click on the small button link to a members site to get code, the two buttons seem to be broken
i replaced all my > with a image instead of >, makes it look a little better and it matches my custom style i made, just change it to > and ill also attach the image if you want it.
Reply With Quote
  #44  
Old 05-28-2002, 09:22 AM
countryboy713 countryboy713 is offline
 
Join Date: Mar 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What i was really looking forward to, if you can, is the page views count for votes. When they put my button on their page and it gets viewed, it counts as a vote.

Is this still possible?
Reply With Quote
  #45  
Old 05-28-2002, 09:51 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by countryboy713
What i was really looking forward to, if you can, is the page views count for votes. When they put my button on their page and it gets viewed, it counts as a vote.

Is this still possible?
ill make it the way i have planned then when thats done ill edit it to how you want it and ill post it for you
Reply With Quote
  #46  
Old 05-28-2002, 12:23 PM
Seby Seby is offline
 
Join Date: Apr 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks that you will implement the page views thing Will be a great hack when done I think. Would be cool if you could make an option in the admin interface to choose wether you want a "voting" list of a "pageviews" list. So if people sign up they either get a vote image or an image that counts the pageviews.
Just an idea though.

Thanks,
Sebastian
Reply With Quote
  #47  
Old 05-29-2002, 05:50 AM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some things just didn't make sense to me so I ....
Changed a few things:
permissions, I'm using only buttons I removed all references to banners, BUTTON CODE displays when in EDIT section only, added refferid to vote url {reciprocal link}, made the front page valid HTML, added a help section (actually this was already part of my site ... you never know), added a dialog box to confirm deletion.

Besides doing all these (personal) changes, I think you did a great job.:up: What would make this even better is the ability to count incoming hits site-wide. eg. no need to click on a vote url or a banner to count as a hit

You can check it out at total-impact.com. Add your site if you like ... read the guidelines before you do.
Reply With Quote
  #48  
Old 05-31-2002, 05:10 PM
Seby Seby is offline
 
Join Date: Apr 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so you gonna release the hack soon? I am waiting
Reply With Quote
  #49  
Old 05-31-2002, 07:57 PM
ULTIMATESSJ's Avatar
ULTIMATESSJ ULTIMATESSJ is offline
 
Join Date: Nov 2001
Location: Bristol, England
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got a proble while trying to run the query for this

Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: 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)
)
mysql error: You have an error in your SQL syntax near ';
CREATE TABLE toplist_hitsin (
inid int(11) unsigned NOT NULL auto_incremen' at line 1

mysql error number: 1064

Date: Friday 31st of May 2002 04:52:43 PM
Script: http://www.animexplosion.com/forums/...dmin/query.php
Referer: http://www.animexplosion.com/forums/admin/query.php
Reply With Quote
  #50  
Old 06-01-2002, 02:37 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ULTIMATESSJ
i got a proble while trying to run the query for this

Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: 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)
)
mysql error: You have an error in your SQL syntax near ';
CREATE TABLE toplist_hitsin (
inid int(11) unsigned NOT NULL auto_incremen' at line 1

mysql error number: 1064

Date: Friday 31st of May 2002 04:52:43 PM
Script: http://www.animexplosion.com/forums/...dmin/query.php
Referer: http://www.animexplosion.com/forums/admin/query.php
run the queries one by one with phpmyadmin, fire flies query in admin cp or another query tool
Reply With Quote
  #51  
Old 06-01-2002, 02:38 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Seby
so you gonna release the hack soon? I am waiting
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
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 01:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06548 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (4)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
  • (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