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

Quote:
Originally Posted by Steve B
Sure.

It has been edited to remove the vote function as per the instructions earlier in this thread but we have also tried it with the templates reverted back to the original. I may have missed something though...

Code:
<tr align="center">
    <if condition="$cat != 1">
        <td class="alt2">$rank</td>
    </if>
    <td class="alt1"><a href="$vboptions[bburl]/out.php?id=$sr[id]" target="_BLANK">$sr[name]</a><br />$sr[description]
        <if condition="$bbuserinfo['username'] == $sr['username']">
            <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['caneditsites'] OR $vbulletin->bf_ugp['toplistpermissions']['candeletesites']">
                <br />
            </if>
        <else />
            <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['canadminsites']">
                <br />
            </if>
        </if>
        <if condition="$bbuserinfo['username'] == $sr['username']">
            <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['caneditsites']">
                [ <a href="$vboptions[bburl]/edit_site.php?id=$sr[id]">$vbphrase[toplist_edit_site]</a> ]&nbsp;
            </if>
        <else />
            <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['canadminsites']">
                [ <a href="$vboptions[bburl]/edit_site.php?id=$sr[id]">$vbphrase[toplist_edit_site]</a> ]&nbsp;
            </if>
        </if>
        <if condition="$bbuserinfo['username'] == $sr['username']">
            <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['candeletesites']">
                [ <a href="$vboptions[bburl]/delete_site.php?id=$sr[id]">$vbphrase[toplist_delete_site]</a> ]
            </if>
        <else />
            <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['canadminsites']">
                [ <a href="$vboptions[bburl]/delete_site.php?id=$sr[id]">$vbphrase[toplist_delete_site]</a> ]
            </if>
        </if>
        <if condition="!is_member_of($bbuserinfo, 1)">
            [ <a href="#" 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;">$vbphrase[toplist_report]</a> ]
        </if>
    </td>
    <if condition="$vboptions['toplist_show_user_banners'] == 1">
        <if condition="$sr['imagecode'] != '' AND $sr['in'] >= $vboptions['toplist_number_of_in_hits_until_banner_shows']">
            <td class="alt2" width="88"><a href="$vboptions[bburl]/out.php?id={$sr[id]}" target="_BLANK"><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'] == 1">1<else />2</if>" width="50">$sr[in]</td>
    <td class="alt<if condition="$vboptions['toplist_show_user_banners'] == 1">2<else />1</if>" width="50">$sr[out]</td>
    <td class="alt<if condition="$vboptions['toplist_show_user_banners'] == 1">1<else />2</if>" width="50">$sr[views]</td>
</tr>
Quick question... Are admins able to see those links, or is it everyone that can't see them?

Quote:
Originally Posted by b6gm6n
hmmm dunno my friend... maybe mods or those with the right perms can enter the admincp for editing the toplist sites, or perhaps a seperate new template for edits which would include the ability to alter multiple entires.... either way your the don!

-b6
I think I might just leave them for now and change it later to inline moderation.

Quote:
Originally Posted by angkor408
derekivey, I don't see any option that say usergroup editor. All I see in my toplist is:

toplist option
toplist sites
add site
catergoies
mass delete site
inactive sites
suspended sites
mass suspended sites
reported sites
reset toplist
No, what I mean is go to Usergroups -> Usergroup Manager -> Edit Permissions for each group under the Toplist Permissions in the list of different permissions.

Derek
Reply With Quote
  #1123  
Old 09-21-2006, 11:15 PM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Derek, I check my usergroup under toplist permission for " Register user" I have check the following option:

Help Toplist Permissions

Can View Toplist= Yes
Can Add Sites = Yes
Can Edit Sites = Yes
Can Delete Sites =Yes
Can Administer All Sites= NO

Register user can't edit or delete the site. If login as Admin,I was able to delete and edit but not register user.


Tim









Quote:
Originally Posted by derekivey
Quick question... Are admins able to see those links, or is it everyone that can't see them?


I think I might just leave them for now and change it later to inline moderation.


No, what I mean is go to Usergroups -> Usergroup Manager -> Edit Permissions for each group under the Toplist Permissions in the list of different permissions.

Derek
Reply With Quote
  #1124  
Old 09-22-2006, 01:02 AM
Qwest Qwest is offline
 
Join Date: Jun 2004
Location: United States
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BUG REPORT: This hack is NOT compatible with VBSEO

The redirect fails and gets stuck in a loop.
Reply With Quote
  #1125  
Old 09-22-2006, 05:38 AM
Steve B Steve B is offline
 
Join Date: Jul 2005
Location: Munich
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derekivey
Quick question... Are admins able to see those links, or is it everyone that can't see them?
Yes everything is fine for Admin.

Don't worry about this too much if you are on the verge of releasing an update, we are able to edite and delete for our members anyway so are still able to use the toplist. If its something simple though it would make just a little less work for us admins, if not then I'll wait for the update and see if that solves our issue

Cheers
Reply With Quote
  #1126  
Old 09-22-2006, 05:42 AM
Steve B Steve B is offline
 
Join Date: Jul 2005
Location: Munich
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Qwest
BUG REPORT: This hack is NOT compatible with VBSEO

The redirect fails and gets stuck in a loop.
It works fine with VBSEO

You just have to instruct VBSEO to exclude toplist.php, out.php, in.php & add_site.php. This is done under the VBSEO options > Exclude Pages

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

Quote:
Originally Posted by Steve B
Yes everything is fine for Admin.

Don't worry about this too much if you are on the verge of releasing an update, we are able to edite and delete for our members anyway so are still able to use the toplist. If its something simple though it would make just a little less work for us admins, if not then I'll wait for the update and see if that solves our issue

Cheers
Yeah, might be a good idea to wait for the new version. I hope to have it out by Monday, hopefully if everything goes as planned. I just need to finish the stats page and add the comment system.

Derek
Reply With Quote
  #1128  
Old 09-24-2006, 08:26 PM
tazB.ca's Avatar
tazB.ca tazB.ca is offline
 
Join Date: Sep 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worksfine With 3.60...*installs*
Reply With Quote
  #1129  
Old 09-24-2006, 10:09 PM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I browsed through, but didn't see any help on my error. I get this error:

Parse error: parse error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/forums/toplist.php(555) : eval()'d code on line 54

on www.sportscardfreaks.com/forums/toplist.php

Any idea on what this is? Or what do you need to help me solve it. Thanks
Reply With Quote
  #1130  
Old 09-25-2006, 01:08 AM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kobescoresagain
I browsed through, but didn't see any help on my error. I get this error:

Parse error: parse error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/forums/toplist.php(555) : eval()'d code on line 54

on www.sportscardfreaks.com/forums/toplist.php

Any idea on what this is? Or what do you need to help me solve it. Thanks
This should fix it... https://vborg.vbsupport.ru/showpost....&postcount=945
Reply With Quote
  #1131  
Old 09-26-2006, 12:33 AM
Chicago_VLNU_4s Chicago_VLNU_4s is offline
 
Join Date: Mar 2006
Location: Chicago
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i know i'm a little late on this, but i ran that query thruogh my CPanel and it worked. I was able to import the product again.. thanks
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 01:39 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.05966 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
  • (1)bbcode_code
  • (8)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