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
  #892  
Old 07-06-2006, 11:41 AM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Griffin80: try removing the following code from the "Toplist" template...

PHP Code:
<br /><br />
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr align="center">
                <
td class="tcat" colspan="7">{$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">
                <
td class="thead" width="88">$vbphrase[toplist_button]</td>
</if>
    <
td class="thead" width="50">$vbphrase[toplist_in]</td>
    <
td class="thead" width="50">$vbphrase[toplist_out]</td>
        <
td class="thead" width="50">$vbphrase[toplist_views]</td>
                <
td class="thead" width="90">$vbphrase[toplist_rating]</td>
</
tr>
<if 
condition="$randchk >= 1 || $num_rows >= 1">
<
tr align="center">
<
td class="alt2">$rand_rank</td>
<
td class="alt1"><a href="$vboptions[bburl]/out.php?id=$randsite[id]target="_BLANK">$randsite[name]</a><br />$randsite[description]<br /></td>
<if 
condition="$vboptions[toplist_show_user_banners] == 1">
<if 
condition="$randsite[imagecode] != ''">
<
td class="alt2" width="88"><a href="$vboptions[bburl]/out.php?id=$randsite[id]target="_BLANK"><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="alt<if condition="$vboptions[toplist_show_user_banners] == 1">1<else />2</if>" width="50">$randsite[in]</td>
<
td class="alt<if condition="$vboptions[toplist_show_user_banners] == 1">2<else />1</if>" width="50">$randsite[out]</td>
<
td class="alt<if condition="$vboptions[toplist_show_user_banners] == 1">1<else />2</if>" width="50">$randsite[views]</td>
<
td class="alt<if condition="$vboptions[toplist_show_user_banners] == 1">2<else />1</if>" width="90">
<if 
condition="$rating == 0">
$vbphrase[toplist_not_rated]
<else />
<
img src="$vboptions[bburl]/images/rating/toplist_rating_$rating.gif" alt="" />
<
br />
$randsite[votes
<if 
condition="$randsite[votes] == 1">
$vbphrase[toplist_vote]
<else />
$vbphrase[toplist_votes]
</if>
</if>
<if 
condition="!$show[guest]">
<
br />
<
a href="#" onclick="javascript:window.open('$vboptions[bburl]/toplist.php?do=rate&amp;id=$randsite[id]','rate_site','menubar=0,resizable=1,width=$vboptions[toplist_popup_width],height=$vboptions[toplist_popup_height]');return false;">$vbphrase[toplist_rate_site]</a>
</if>
</
td>
</
tr>
<else />
<
tr align="center">
<
td class="alt1" colspan="7">$vbphrase[toplist_none]</td>
</
tr>
</if>

<
tr align="center">
                <
td class="thead" colspan="7"><div class="smallfont">
&
nbsp;
</
div>
</
td>
</
tr>
</
table
@Mr.d: I think I manually added print_no_permission() calls in the files for usergroup 1. Try removing those.
Reply With Quote
  #893  
Old 07-06-2006, 11:55 AM
Mr.D Mr.D is offline
 
Join Date: Feb 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oknow works i have removed it. Will you fix the files in next update
Reply With Quote
  #894  
Old 07-06-2006, 12:22 PM
Sean James's Avatar
Sean James Sean James is offline
 
Join Date: Apr 2004
Location: Sydney, Australia
Posts: 895
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx derekivey work perfectly. Realised what i was overlooking now after seeing your code lol
Reply With Quote
  #895  
Old 07-09-2006, 06:04 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No Problem
Reply With Quote
  #896  
Old 07-10-2006, 07:52 AM
Mr.D Mr.D is offline
 
Join Date: Feb 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any news when will some updates be?
Reply With Quote
  #897  
Old 07-10-2006, 01:52 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure yet. I just got home from vacation yesterday, and have been really busy catching up on everything, and I am also trying to finish my bug tracker which I'll be using to help keep track of bugs for all of my hacks (I am probably going to be starting a site for all my hacks soon). I hope to get the next version out by the end of the week, but I can't make any promises, it just depends how busy I am.

Thanks,
Derek

Derek
Reply With Quote
  #898  
Old 07-11-2006, 05:42 AM
Mr.D Mr.D is offline
 
Join Date: Feb 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you can make features for this script like this script have i tell you it would be script of the month. Take a look of this script for top list
http://www.cjultra.com/ basically the admin can create custom templates and then he can put a shell for toplist for say 1 to 20 and then show 20-40 on the footer.

here is a readme file that you can read if someone is agreeing with me please reply



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

Version 1.0.9 will be released either tomorrow or Friday hopefully. I am adding a reset feature where you can reset each sites out/in/views to 0 and basically start over. This has been requested by many of you so that you can give newer people a chance to get higher ranks. I am also in the process of cleaning up the code, and removing a few un-needed queries, so that should help speed things up, and help with performance. Also, it will have settings to disable the random site feature, ranks, descriptions, in hits, out hits, views, and ratings. Please reply back if you would like to see anything else in this version, I will try to add it if time permits, so that I can stick with releasing this tomorrow or Friday.

Thanks,
Derek
Reply With Quote
  #900  
Old 07-13-2006, 04:22 AM
Mr.D Mr.D is offline
 
Join Date: Feb 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you add textlink to be displayed in forum home and not just banner?
Reply With Quote
  #901  
Old 07-13-2006, 01:19 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll try. Where do you want it to be at on the forum home?

Thanks,
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 04:31 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.06110 seconds
  • Memory Usage 2,351KB
  • 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
  • (1)bbcode_php
  • (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