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
  #1262  
Old 10-20-2006, 04:18 AM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My only concern so far is that all the arrows are red ones facing down. No equals ones, and i know a couple of sites moved up..
Reply With Quote
  #1263  
Old 10-20-2006, 08:28 PM
Mr Peabody Mr Peabody is offline
 
Join Date: May 2004
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derekivey
What happens when you right click and click properties, and then go to the URL of the image directly?
Ahh yes in firefox if there is a broken image it does not show it at all where as IE shows the image not found box. Seems to be missing images in one of my skins I'll fix it.
Strange though it use to work with this skin (Black and gold) without having to move the images.
Cheers
Reply With Quote
  #1264  
Old 10-20-2006, 11:10 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can both of you guys PM me your url to your sites so I can look at both problems?

Thanks,
Derek
Reply With Quote
  #1265  
Old 10-21-2006, 07:59 AM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if that was at me, but my toplist is here:

http://www.monster-designs.com/forums/toplist.php
Reply With Quote
  #1266  
Old 10-22-2006, 02:11 AM
sross sross is offline
 
Join Date: Mar 2004
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I have attached the template "Toplist", i am willing to pay someone to remove 3 columns from the main toplist page. I need [In] [Out] [Rating] removed and the code sent back to me. If it works $20 paypal, I just don't know how to do this edit. PM me Thanks!

Also, willing to pay 35$ for a mod that will allow me to have a link to click that shows all my buttons in 1 single giant block, maybe with like a 5pixel padding..

sorry, i know i could post this is serv requests but would rather deal with folks who know this mod well..
Reply With Quote
  #1267  
Old 10-22-2006, 02:17 AM
sross sross is offline
 
Join Date: Mar 2004
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, this one is odd my view counts are stuck on zero and nothing will increase them. From what I can see all my settings are fine and it was working beofre I upgrade.. Thanks for any help!
Reply With Quote
  #1268  
Old 10-22-2006, 11:05 AM
Blackhat's Avatar
Blackhat Blackhat is offline
 
Join Date: Mar 2005
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work for VB 3.6.X ?
Reply With Quote
  #1269  
Old 10-22-2006, 01:57 PM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Blackhat yes it does
Reply With Quote
  #1270  
Old 10-22-2006, 01:57 PM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Blackhat
Does it work for VB 3.6.X ?
Yes It does..

But there will be a vb 3.6 version released in the very near future..
Reply With Quote
  #1271  
Old 10-22-2006, 02:05 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by loonytune15
Not sure if that was at me, but my toplist is here:

http://www.monster-designs.com/forums/toplist.php
Make sure you added the cron for it. The instructions are in the readme. I installed this on my live site, and had the same problem, I forgot to add the cron. Once you add the cron, click run now and run it. Let me know if that fixes it.

Quote:
Originally Posted by sross
Hi, I have attached the template "Toplist", i am willing to pay someone to remove 3 columns from the main toplist page. I need [In] [Out] [Rating] removed and the code sent back to me. If it works $20 paypal, I just don't know how to do this edit. PM me Thanks!

Also, willing to pay 35$ for a mod that will allow me to have a link to click that shows all my buttons in 1 single giant block, maybe with like a 5pixel padding..

sorry, i know i could post this is serv requests but would rather deal with folks who know this mod well..
Try these templates...

Toplist:
PHP Code:
$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
$headinclude
<script type="text/javascript" src="clientscript/toplist.js?version=$toplist_version"></script>
<
script type="text/javascript">
// rating phrases.
vbphrase["toplist_cannot_rate_site_no_permission"] = "$vbphrase[toplist_cannot_rate_site_no_permission]";
vbphrase["toplist_cannot_rate_site_no_site_selected"] = "$vbphrase[toplist_cannot_rate_site_no_site_selected]";
vbphrase["toplist_cannot_rate_site_site_does_not_exist"] = "$vbphrase[toplist_cannot_rate_site_invalid_rating]";
vbphrase["toplist_cannot_rate_site_invalid_rating"] = "$vbphrase[toplist_cannot_rate_site_invalid_rating]";
vbphrase["toplist_cannot_rate_site_already_rated"] = "$vbphrase[toplist_cannot_rate_site_already_rated]";
vbphrase["toplist_site_rated_successfully"] = "$vbphrase[toplist_site_rated_successfully]";
vbphrase["toplist_vote"] = "$vbphrase[toplist_vote]";
vbphrase["toplist_votes"] = "$vbphrase[toplist_votes]";
// report phrases.
vbphrase["toplist_report_site_no_permission"] = "$vbphrase[toplist_report_site_no_permission]";
vbphrase["toplist_report_site_no_site_selected"] = "$vbphrase[toplist_report_site_no_site_selected]";
vbphrase["toplist_report_site_site_does_not_exist"] = "$vbphrase[toplist_report_site_site_does_not_exist]";
vbphrase["toplist_report_site_reason_field_blank"] = "$vbphrase[toplist_report_site_reason_field_blank]";
vbphrase["toplist_report_site_report_submitted"] = "$vbphrase[toplist_report_site_report_submitted]";
</
script>
<
title>$vboptions[bbtitle] - $vbphrase[toplist]</title>
</
head>
<
body>
$header
$navbar
<if condition="$disabled != 1">
<if 
condition="$vboptions['toplist_check_if_code_exists'] == 1 AND $validate_bits != ''">
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr align="center">
<
td class="tcat" colspan="4">{$vbphrase['toplist_sites_pending_validation']}</td>
</
tr>
<
tr align="center">
<
td class="alt1" colspan="4">$vbphrase[toplist_sites_pending_validation_desc]</td>
</
tr>
<
tr align="center">
<
td class="thead">$vbphrase[toplist_site_name]</td>
<
td class="thead">$vbphrase[toplist_site_url]</td>
<
td class="thead">$vbphrase[toplist_edit]</td>
<
td class="thead">$vbphrase[toplist_validate]</td>
</
tr>
$validate_bits
<tr align="center">
<
td class="thead" colspan="7"><div class="smallfont">&nbsp;</div></td>
</
tr>
</
table>
<
br />
</if>
<
form action="toplist.php" method="get">
<
table cellpadding="0" cellspacing="0" border="0" width="100%" align="right">
<
tr align="center">
<
td>
<
div class="smallfont">
$vbphrase[toplist_select_category]: 
<
select name="cid" onchange="this.form.submit();">
<
option selected="selected" value="">$vbphrase[toplist_view_all_sites]</option>
<
optgroup label="$vbphrase[toplist_categories]">
$cat_list
</optgroup>
</
select
<
input type="submit" class="button" value="$vbphrase[toplist_go]/>
</
div>
</
td>
</
tr>
</
table>
</
form>
<
br /><br />
<if 
condition="$vboptions['toplist_show_random_sites'] == 1">
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr align="center">
<
td class="tcat" colspan="<if condition="$show['layout'] == 0">4<else />3</if>">{$vbphrase['toplist_random_site']}</td>
</
tr>
<
tr align="center">
<
td class="thead" width="20">$vbphrase[toplist_rank]</td>
<
td class="thead">$vbphrase[toplist_site_name_and_description]</td>
<if 
condition="$vboptions['toplist_show_user_banners'] == 1 AND $show['layout'] == 0">
<
td class="thead" width="88">$vbphrase[toplist_button]</td>
</if>
<
td class="thead" width="50">$vbphrase[toplist_views]</td>
</
tr>
<if 
condition="$randchk >= 1 OR $num_rows >= 1">
<
tr align="center">
<
td class="alt2">$rand_rank</td>
<
td class="alt1">
<
a href="$randsite[url]"<if condition="$vboptions['toplist_count_out_from_guests'] OR !$show['guest']"onclick="out($randsite[id])"</if><if condition="$vboptions[toplist_open_in_new_window]"target="_blank"</if>>$randsite[name]</a><br />$randsite[description]<br />
<if 
condition="$vboptions['toplist_show_user_banners'] == 1 AND ($show['layout'] == 1 OR $show['layout'] == 2)">
<if 
condition="$randsite['imagecode'] != ''">
<
br /><a href="$randsite[url]"<if condition="$vboptions['toplist_count_out_from_guests'] OR !$show['guest']"onclick="out($randsite[id])"</if><if condition="$vboptions[toplist_open_in_new_window]"target="_blank"</if>><img src="$vboptions[bburl]/toplist_image.php?do=view&amp;id=$randsite[id]border="0" alt="" /></a>
</if>
</if>
</
td>
<if 
condition="$vboptions['toplist_show_user_banners'] == 1 AND $show['layout'] == 0">
<if 
condition="$randsite['imagecode'] != ''">
<
td class="alt2" width="88"><a href="$randsite[url]"<if condition="$vboptions['toplist_count_out_from_guests'] OR !$show['guest']"onclick="out($randsite[id])"</if><if condition="$vboptions[toplist_open_in_new_window]"target="_blank"</if>><img src="$vboptions[bburl]/toplist_image.php?do=view&amp;id=$randsite[id]border="0" alt="" /></a></td>
<else />
<
td class="alt2" width="88">$vbphrase[toplist_none]</td>
</if>
</if>
<
td class="alt1" width="50">$randsite[views]</td>
<
tr align="center">
<
td class="thead" colspan="4"><div class="smallfont">&nbsp;</div></td>
</
tr>
</
table>
<
br />
</if>
</if>
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr align="center">
<
td class="tcat" colspan="<if condition="$show['layout'] == 0">4<else />3</if>">{$vboptions[bbtitle]} {$vbphrase['toplist']}</td>
</
tr>
<
tr align="center">
<if 
condition="$cat != 1">
<
td class="thead" width="20">$vbphrase[toplist_rank]</td>
</if>
<
td class="thead">$vbphrase[toplist_site_name_and_description]</td>
<if 
condition="$vboptions['toplist_show_user_banners'] == 1 AND $show['layout'] == 0">
<
td class="thead" width="88">$vbphrase[toplist_button]</td>
</if>
<
td class="thead" width="50">$vbphrase[toplist_views]</td>
</
tr>
$html
<tr align="center">
<
td class="thead" colspan="4">
<
div class="smallfont">
<if 
condition="$vboptions['toplist_enabled'] == 1 AND $permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['canaddsites']">
<
a href="$vboptions[bburl]/add_site.php">$vbphrase[toplist_add_site]</a>
<else />
&
nbsp;
</if>
</
div>
</
td>
</
tr>
</
table>
<
br />
<
table cellpadding="0" cellspacing="0" border="0" width="100%">
<
tr align="$stylevar[right]">
<
td>$pagenav</td>
</
tr>
</
table>
<
br />
<
center>$last_reset</center>
$report_menus
$footer
</body>
</
html
Toplist_Site_Bits:
PHP Code:
<tr align="center">
 <if 
condition="$cat != 1">
  <
td class="alt2">$rank</td>
 </if>
 <
td class="alt1"><if condition="$show['rank_images']"><span style="float:right"><img src="$stylevar[imgdir_misc]/$rank_imagealt="" /></span></if><a href="$sr[url]"<if condition="$vboptions['toplist_count_out_from_guests'] OR !$show['guest']"onclick="out($sr[id])"</if><if condition="$vboptions[toplist_open_in_new_window]"target="_blank"</if>>$sr[name]</a><br />$sr[description]
  <if 
condition="$vboptions['toplist_show_user_banners'] == 1 AND $show['layout'] == 1">
   <if 
condition="$sr['imagecode'] != '' AND $sr['in'] >= $vboptions['toplist_number_of_in_hits_until_banner_shows']">
    <
br /><br /><a href="$sr[url]"<if condition="$vboptions['toplist_count_out_from_guests'] OR !$show['guest']"onclick="out($sr[id])"</if><if condition="$vboptions[toplist_open_in_new_window]"target="_blank"</if>><img src="$vboptions[bburl]/toplist_image.php?do=view&amp;id=$sr[id]border="0" alt="" /></a><br />
   </if>
  </if>
  <if 
condition="$show['edit'] OR $show['delete'] OR $show['report']">
   <
br />
  </if>
  <if 
condition="$show['edit']">
   [ <
a href="$vboptions[bburl]/edit_site.php?id=$sr[id]">$vbphrase[toplist_edit_site]</a> ]
  </if>
  <if 
condition="$show['delete']">
   [ <
a href="$vboptions[bburl]/delete_site.php?id=$sr[id]">$vbphrase[toplist_delete_site]</a> ]
  </if>
  <if 
condition="$show['report']">
   <
span id="reportmenu_$sr[id]">
   [ <
a href="toplist.php?do=report&amp;id=$sr[id]"<if condition="!$show['popups'] OR $show['ajax']"onclick="javascript:window.open('$vboptions[bburl]/toplist.php?do=report&amp;id=$sr[id]','report','menubar=0,resizable=1,width=320,height=220');return false;"</if>>$vbphrase[toplist_report]</a> ] <if condition="$show['popups'] AND !$show['ajax']"><script type="text/javascript"vbmenu_register("reportmenu_$sr[id]"true); </script></if>
   </
span>
  </if>
  <if 
condition="$vboptions['toplist_show_user_banners'] == 1 AND $show['layout'] == 2">
   <if 
condition="$sr['imagecode'] != '' AND $sr['in'] >= $vboptions['toplist_number_of_in_hits_until_banner_shows']">
    <
br /><br /><a href="$sr[url]"<if condition="$vboptions['toplist_count_out_from_guests'] OR !$show['guest']"onclick="out($sr[id])"</if><if condition="$vboptions[toplist_open_in_new_window]"target="_blank"</if>><img src="$vboptions[bburl]/toplist_image.php?do=view&amp;id=$sr[id]border="0" alt="" /></a>
   </if>
  </if>
 </
td>
 <if 
condition="$vboptions['toplist_show_user_banners'] == 1 AND $show['layout'] == 0">
  <if 
condition="$sr['imagecode'] != '' AND $sr['in'] >= $vboptions['toplist_number_of_in_hits_until_banner_shows']">
   <
td class="alt2" width="88"><a href="$sr[url]"<if condition="$vboptions['toplist_count_out_from_guests'] OR !$show['guest']"onclick="out($sr[id])"</if><if condition="$vboptions[toplist_open_in_new_window]"target="_blank"</if>><img src="$vboptions[bburl]/toplist_image.php?do=view&amp;id=$sr[id]border="0" alt="" /></a></td>
  <else />
   <
td class="alt2" width="88">$vbphrase[toplist_none]</td>
  </if>
 </if>
 <
td class="alt<if condition="$vboptions['toplist_show_user_banners'] == AND $show['layout'] == 0">1<else />2</if>" width="50">$sr[views]</td>
</
tr
Quote:
Originally Posted by sross
Ok, this one is odd my view counts are stuck on zero and nothing will increase them. From what I can see all my settings are fine and it was working beofre I upgrade.. Thanks for any help!
Can you provide me with a link to your site so I can look into this?
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:22 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.10643 seconds
  • Memory Usage 2,475KB
  • 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
  • (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