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

Reply
 
Thread Tools
Toplist Details »»
Toplist
Version: 2.0.0, by derekivey derekivey is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 10-17-2005 Last Update: 01-04-2007 Installs: 412
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Translations  
No support by the author.

Toplist
Developer: derekivey
Version: 2.0.0
vBulletin Version: 3.5.5 (Seems to work fine on 3.6.0)
File Edits: 0
Template Edits: 2 (Optional)
New Phrases: 294
Uses Plugins: Yes!
Difficulty: Easy

Description: This hack adds a Toplist to your forums. You can choose in the AdminCP whether to rank the sites by their In hits or their Out hits. It is fully phrased to make it easy to translate to another language if you need to. The users are able to add a site, edit, or delete their site if they added it. The Administrators can Edit the users' sites or Delete them.
This hack is for vBulletin 3.5.5.

*** I Strongly Recommend That You Backup Your Database Before Installing/Upgrading This Hack! ***

Planned features for a later release:
  • Add Image Storage Setting (hot linking or upload)
  • Add Stats Page [ Will be released later ]
  • Add API to get site info onto non-vB pages and other vB pages.
  • Add Site Comment System
  • Fix bug with & not being allowed in URLs [ Done ]
  • Add Setting to choose where to put Toplist Sites Marquee
  • Whatever else is suggested
Change Log
The change log is now available here.

Screen Shots
I have added screen shots of this hack in action below.
More screenshots are located here.

Demo
You can find demo information here.

Translations
You can find a French translation of this hack here.

For a How To on Editing the Dynamic Image, See this Post.

Please click Install you installed this hack.


Thanks!

Supporters / CoAuthors

Show Your Support

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

Comments
  #1412  
Old 01-03-2007, 03:02 AM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Derekikey, I login to my admincp >toplist>toplist option there no optoin for URL setting.

But what I have done is edit the in.php to my url it work fine now. I'm not sure if other function will work. I was able to click on the image and every site have different ID which seem to link correctly too.

I found this: <td><a href="$vboptions[bburl]/forums/toplist.php?id=$id" target="_blank"><img src="$vboptions[bburl]/images/toplist/buttons/toplist.gif" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
<tr>
<td><input type="button" value="$vbphrase[toplist_select_all]" onclick="code1.focus();code1.select();" /></td>

QUOTE=derekivey;1149592]No it's a setting...

AdminCP --> Toplist --> Toplist Options

look for the In URL setting...


You have to edit the Toplist_HTML_Code template (I think thats what I named it).


Did you delete the images/toplist/buttons/sites folder or the files inside it?[/QUOTE]
Reply With Quote
  #1413  
Old 01-03-2007, 04:12 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What exactly does store in the mysql database?
Reply With Quote
  #1414  
Old 01-03-2007, 07:35 AM
squishi squishi is offline
 
Join Date: May 2006
Location: Frankfurt
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derekivey View Post
Did you delete the images/toplist/buttons/sites folder or the files inside it?
Of course not. That's why I contact you. I didn't even touch the folder/images.
Reply With Quote
  #1415  
Old 01-03-2007, 07:39 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey is there away to add a random link from the toplist to the forum home?
Reply With Quote
  #1416  
Old 01-03-2007, 09:56 AM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by angkor408 View Post
Derekikey, I login to my admincp >toplist>toplist option there no optoin for URL setting.

But what I have done is edit the in.php to my url it work fine now. I'm not sure if other function will work. I was able to click on the image and every site have different ID which seem to link correctly too.


I found this: <td><a href="$vboptions[bburl]/forums/toplist.php?id=$id" target="_blank"><img src="$vboptions[bburl]/images/toplist/buttons/toplist.gif" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
<tr>
<td><input type="button" value="$vbphrase[toplist_select_all]" onclick="code1.focus();code1.select();" /></td>









QUOTE=derekivey;1149592]No it's a setting...

AdminCP --> Toplist --> Toplist Options

look for the In URL setting...


You have to edit the Toplist_HTML_Code template (I think thats what I named it).


Did you delete the images/toplist/buttons/sites folder or the files inside it?
[/quote]
It's called In Redirect URL. It's right under the Sites per Page setting... Your file edit probably isn't going to help as that will be replaced when you upgrade to newer versions...


Quote:
Originally Posted by squishi View Post
Of course not. That's why I contact you. I didn't even touch the folder/images.
Can you either paste a link to your site here or PM it to me so I can take a look?

Quote:
Originally Posted by mac27 View Post
Hey is there away to add a random link from the toplist to the forum home?
That will be possible once the API is done (hopefully in the next version).

Quote:
Originally Posted by Shazz View Post
What exactly does store in the mysql database?
vBulletin settings, all the sites (name, description, in hits, out hits, views, votes (number of ratings), ratings), categories, a table to keep track of who clicked out links or in links to prevent cheating.

That's all that I can think of right now...
Reply With Quote
  #1417  
Old 01-05-2007, 12:45 PM
squishi squishi is offline
 
Join Date: May 2006
Location: Frankfurt
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derekivey View Post
Can you either paste a link to your site here or PM it to me so I can take a look?
Here's the link: Chubbyparade toplist

There are some entries in the toplist that are bannerless, but there's a lot of missing banners.
I know for sure that I uploaded for example the banner for xx-cel, and it was showing fine. But now it's gone.

But not all banners disappeared, only about half of them was not working anymore all of a sudden.
Reply With Quote
  #1418  
Old 01-05-2007, 05:14 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have an error in your upgrade instructions... it says, for the cron-job
Quote:
Filename: ./includes/cron/toplist_rankings.php
but this is meant to be toplink_ranks.php


Also, when you edit a site, it seems to forget which category it's meant to be in...
Reply With Quote
  #1419  
Old 01-05-2007, 08:30 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never noticed it went away from the catagory
Reply With Quote
  #1420  
Old 01-05-2007, 08:52 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squishi View Post
Here's the link: Chubbyparade toplist

There are some entries in the toplist that are bannerless, but there's a lot of missing banners.
I know for sure that I uploaded for example the banner for xx-cel, and it was showing fine. But now it's gone.

But not all banners disappeared, only about half of them was not working anymore all of a sudden.
Hmm... Odd. Can you go into PHPMyAdmin, and look to see whats in the imagecode field for one of the sites that the image disappeared on? You can find them in the toplist_sites table.

Quote:
Originally Posted by Ninth Dimension View Post
You have an error in your upgrade instructions... it says, for the cron-jobbut this is meant to be toplink_ranks.php


Also, when you edit a site, it seems to forget which category it's meant to be in...
Thanks I must have forgot to change that part in the readme file. I'll get it changed and reupload it.

I'll see if I can confirm the problem with the category too.
Reply With Quote
  #1421  
Old 01-05-2007, 09:15 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I can confirm this and have fixed it for the next version.

Upload the attached file to fix it.

Derek
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:21 AM.


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.06388 seconds
  • Memory Usage 2,330KB
  • 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
  • (9)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
  • (4)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