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
  #2  
Old 04-30-2002, 03:21 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heres what the main toplist page looks like.
Reply With Quote
  #3  
Old 04-30-2002, 03:25 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good
Reply With Quote
  #4  
Old 04-30-2002, 03:32 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by JohnWarwick
Looks good
thanks
Reply With Quote
  #5  
Old 04-30-2002, 03:42 PM
ExcErr's Avatar
ExcErr ExcErr is offline
 
Join Date: Feb 2002
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i have a working demo?
Reply With Quote
  #6  
Old 04-30-2002, 04:19 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i just fixed a small bug, its nothing major, i updated the zip

if you already downloaded it, in toplist.php find in the show button code section:
PHP Code:
$button="<a href=\"toplist.php?action=in&topid=$topid\" target=\"_blank\"><img src=\"$buttonurl\" border=0 height=33 width=88 alt=\"$siteurl\"></a>"
and replace it with:
PHP Code:
$button="<a href=\"$bburl/toplist.php?action=in&topid=$topid\" target=\"_blank\"><img src=\"$buttonurl\" border=0 height=33 width=88 alt=\"$siteurl\"></a>"
find in the show banner code section:
PHP Code:
$banner="<a href=\"toplist.php?action=in&topid=$topid\" target=\"_blank\"><img src=\"$bannerurl\" border=0 height=60 width=468 alt=\"$siteurl\"></a>"
and replace it with:
PHP Code:
$banner="<a href=\"$bburl/toplist.php?action=in&topid=$topid\" target=\"_blank\"><img src=\"$bannerurl\" border=0 height=60 width=468 alt=\"$siteurl\"></a>"
i forgot to add the $bburl
Reply With Quote
  #7  
Old 04-30-2002, 05:13 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If any one wanna use it or edit it, heres a blue toplist button i made
Reply With Quote
  #8  
Old 04-30-2002, 07:07 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice... but I think I will stick with my In-Link
Reply With Quote
  #9  
Old 04-30-2002, 07:49 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats great! I'll install it this weekend
Reply With Quote
  #10  
Old 04-30-2002, 08:03 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres the admin edit screen
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 03:54 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.06472 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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_php
  • (1)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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