Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
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
  #832  
Old 06-20-2006, 08:51 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There was another bug found with this hack, if you edit a site in the AdminCP, it resets the category back to no category, so its just shown when you first go to the Toplist. If you would like to fix this, please upload the attached file to the AdminCP and overwrite the old one. I am also updating the zip file to include this change.

Thanks,
Derek
Reply With Quote
  #833  
Old 06-20-2006, 09:57 PM
Domenico Domenico is offline
 
Join Date: Oct 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another bug, when you give a usergroup permission to edit they can bypass the validation. Instead of clicking the validate link to check if the backlink exist they can simply click edit and save and the link is posted in the toplist. Can this be fixed?

Also when I turn on site moderation and then validate the user, the user still gets the message (when clicking validate) that the moderator needs to validate the link first. So the site is validated by me but the user still gets this message and can't validate his site (backlink).
Reply With Quote
  #834  
Old 06-21-2006, 03:56 AM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll take a look at these and get back to you. I'll see if I can reproduce them.

Derek
Reply With Quote
  #835  
Old 06-21-2006, 07:30 AM
Dj. Gargamel Dj. Gargamel is offline
 
Join Date: May 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank for so fast answer and using Your precious time
unfortunately I found next error - when I am trying to edit category in Admin CP i get message "Sorry, you cannot edit a category without first selecting one. Please try again, and make sure a id is included in the url."
Reply With Quote
  #836  
Old 06-21-2006, 10:29 AM
Domenico Domenico is offline
 
Join Date: Oct 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dj. Gargamel
Thank for so fast answer and using Your precious time
unfortunately I found next error - when I am trying to edit category in Admin CP i get message "Sorry, you cannot edit a category without first selecting one. Please try again, and make sure a id is included in the url."
I also had this error but with the latest update it is gone. You can go around this bug by opening the edit category in a new window. Then in the url you can see what is wrong. You must get rid of the two spaces at the end.

Remove %20 twice at the end and enter. No it works.
Reply With Quote
  #837  
Old 06-21-2006, 10:32 AM
Domenico Domenico is offline
 
Join Date: Oct 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok another one, when users forget to copy the site code they can't get it again when hey edit their site. They have to delete the entry and start all over again. Can't you display the site code on the user edit page ?

Request: how can I remove the rating column? I want to disable the rating part from the toplist.
Reply With Quote
  #838  
Old 06-21-2006, 01:39 PM
Vitz Vitz is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the update. The hack seems to work fine now. I just have one question. How would I go about moving the toplist box that scrolls the listed sides, to the bottom of my forums? Right now I have an affiliate box there, and would like to replace that with the Toplist box. I'm not very experienced when it comes to coding so if you could help me, that'd be great. Thanks.
Reply With Quote
  #839  
Old 06-21-2006, 02:07 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dj. Gargamel
Thank for so fast answer and using Your precious time
unfortunately I found next error - when I am trying to edit category in Admin CP i get message "Sorry, you cannot edit a category without first selecting one. Please try again, and make sure a id is included in the url."
Make sure you uploaded the attached file above. I logged into your admincp and it doesn't look like you did because that bug still exists, and so does the broken images bug when you click on Toplist Sites.

Quote:
Originally Posted by Domenico
Ok another one, when users forget to copy the site code they can't get it again when hey edit their site. They have to delete the entry and start all over again. Can't you display the site code on the user edit page ?

Request: how can I remove the rating column? I want to disable the rating part from the toplist.
It shows up when they edit their site and click submit. I think I will add a page in the next version where they can see it without having to edit their site.

Right now you manually have to remove the rating column, but in the next version I will have an option that when disabled it will not show it, requiring no file edits. For now, if you want to remove it now, you have to edit the Toplist, Toplist_1, and Toplist_2 templates to remove it.

Quote:
Originally Posted by Vitz
Thank you for the update. The hack seems to work fine now. I just have one question. How would I go about moving the toplist box that scrolls the listed sides, to the bottom of my forums? Right now I have an affiliate box there, and would like to replace that with the Toplist box. I'm not very experienced when it comes to coding so if you could help me, that'd be great. Thanks.
You will have to mess with the plugin called Toplist Forum Home Addon, which is on the hook forumhome_complete. You will have to edit the line called:
PHP Code:
$find '<!-- end logged-in users -->'
and replace it with a line of code that is currently above where you want to put it.

Derek
Reply With Quote
  #840  
Old 06-21-2006, 02:41 PM
Domenico Domenico is offline
 
Join Date: Oct 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your answer!

Ok some users think they are clever and put the site html on a page outside of their site. Can you make the url where they put the site html code visible on the admin page when I edit a site please?
Reply With Quote
  #841  
Old 06-21-2006, 07:59 PM
Noxious Noxious is offline
 
Join Date: Jun 2005
Location: England
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derekivey
Currently you have to edit the add_site.php, edit_site.php, and /admincp/toplist_admin.php files to add image types. You will need to know the mime type for each file type you want to add (e.g. image/jpeg).

The line should look like this:
PHP Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png"
Derek
done that but still getting the following when trying to upload a JPG banner, JPEG files work but no1 really uses them anymore

Quote:
Sorry, your image could not be uploaded because the format of it is not allowed. Allowed formats are GIF, JPEG, and PNG

The format of the file you uploaded is .

Please go back and select a new image or leave the image field blank.
Reply With Quote
Reply

Thread Tools

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 07:25 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.11895 seconds
  • Memory Usage 2,318KB
  • 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
  • (2)bbcode_php
  • (6)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