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
  #1222  
Old 10-10-2006, 10:07 PM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derekivey

They can get their code by clicking edit site and clicking the submit button. I might add a separate page in the next version though.

Also, I will look into the URL problem as well.
[/SIZE]
The url works fine in the admincp just not toplist.

For some reason I never get notfied by email about new sites so I'm using PM.
Reply With Quote
  #1223  
Old 10-11-2006, 03:34 AM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when is the vb 3.6 version going to be released?
Reply With Quote
  #1224  
Old 10-11-2006, 09:36 AM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DementedMindz
let me grab someting to eat and ill make you a name this way you can see whats going on. do your stats update?
Ya, my stats are working fine.

Quote:
Originally Posted by Robbed
The url works fine in the admincp just not toplist.

For some reason I never get notfied by email about new sites so I'm using PM.
What happens when people use the edit site link?

Quote:
Originally Posted by loonytune15
when is the vb 3.6 version going to be released?
I'm hoping to get it out tonight.

Derek
Reply With Quote
  #1225  
Old 10-11-2006, 11:29 AM
Hoffi's Avatar
Hoffi Hoffi is offline
 
Join Date: Nov 2001
Location: Germany
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I run the Toplist under 3.6.2 - No Problems at all.
Reply With Quote
  #1226  
Old 10-12-2006, 02:52 PM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Derek I just down graded to the older version for now this way my links dont mess up until you fix the problems. One other thing that would be nice is for them to be able to add there button instead of uploading it or have it so the admin can add it cause some sites have weird links to there buttons (ex. http://example.com/topsites/button.php?u=mysite )
Reply With Quote
  #1227  
Old 10-12-2006, 03:38 PM
jellybaby jellybaby is offline
 
Join Date: Jul 2005
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im also getting the issues with my arrows but could be because I am getting this error:-

Warning: main(): Failed opening '/home/mysite/public_html/forums/./includes/cron/toplist_rankings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 108

Any ideas?

Thanks
Reply With Quote
  #1228  
Old 10-12-2006, 07:06 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jellybaby
Im also getting the issues with my arrows but could be because I am getting this error:-

Warning: main(): Failed opening '/home/mysite/public_html/forums/./includes/cron/toplist_rankings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 108


Any ideas?

Thanks
Sorry, it should be toplist_ranks.php not toplist_rankings.php. I typed the wrong name in the readme file, sorry about that. I will update the zip file to include the change in the readme file so no one else has any problems.

Derek
Reply With Quote
  #1229  
Old 10-12-2006, 07:13 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DementedMindz, this change should fix the links problem. Can you maybe try on your test board and see if it fixes it?

Open: add_site.php

Find:
PHP Code:
    $vbulletin->input->clean_array_gpc('p', array(
        
'sitename' => TYPE_NOHTML,
        
'url' => TYPE_NOHTML,
        
'description' => TYPE_STR,
        
'category' => TYPE_UINT
    
)); 
Replace With:
PHP Code:
    $vbulletin->input->clean_array_gpc('p', array(
        
'sitename' => TYPE_NOHTML,
        
'url' => TYPE_STR,
        
'description' => TYPE_STR,
        
'category' => TYPE_UINT
    
)); 
Close and Save add_site.php

Open: edit_site.php

Find:
PHP Code:
    $vbulletin->input->clean_array_gpc('p', array(
        
'id' => TYPE_UINT,
        
'sitename' => TYPE_NOHTML,
        
'url' => TYPE_NOHTML,
        
'description' => TYPE_STR,
        
'category' => TYPE_UINT,
        
'old_url' => TYPE_NOHTML
    
)); 
Replace With:
PHP Code:
    $vbulletin->input->clean_array_gpc('p', array(
        
'id' => TYPE_UINT,
        
'sitename' => TYPE_NOHTML,
        
'url' => TYPE_STR,
        
'description' => TYPE_STR,
        
'category' => TYPE_UINT,
        
'old_url' => TYPE_NOHTML
    
)); 
Close and Save edit_site.php

Open: toplist.php

Find and Delete:
PHP Code:
$sr['url'] = htmlspecialchars_uni($sr['url']); 
Close and Save toplist.php.

Derek
Reply With Quote
  #1230  
Old 10-12-2006, 08:19 PM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lets me turn my pc on that I have linux in and ill tet it out.
Reply With Quote
  #1231  
Old 10-12-2006, 08:24 PM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great now.. also it will put it back into validate when you do that which is nice too just the ranks and Im going to put it back on my live site.
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 02:31 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.06008 seconds
  • Memory Usage 2,338KB
  • 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
  • (5)bbcode_php
  • (5)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