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
  #1112  
Old 09-20-2006, 10:07 PM
lexx27's Avatar
lexx27 lexx27 is offline
 
Join Date: May 2005
Location: Athens
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derekivey
Please try this fix... https://vborg.vbsupport.ru/showpost....&postcount=945

Thanks.

Derek
i cant find this line but I dont care to fix it if you plan to release the new version today for example
Reply With Quote
  #1113  
Old 09-20-2006, 10:14 PM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having issue register user was able to add but can't edit or delete there site. I follow this instruction:

https://vborg.vbsupport.ru/showp...&postcount=945 but still got the same error. I was able edit or delete login as ADMIN. I check my usergroup option for "Register" which have access to delete or edit site.

If I manually go to this link login in as register user: http://www.khmerclub.org/forums/edit_site.php

I got this error msg: timmy, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Any other suggestion ? Thank Angkor
Reply With Quote
  #1114  
Old 09-21-2006, 12:11 AM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DementedMindz
thats some huge ding dongs lmfao
haha...yeah! - Hey anyone else notice that the images come in really really slowly?

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

Quote:
Originally Posted by angkor408
I'm having issue register user was able to add but can't edit or delete there site. I follow this instruction:

https://vborg.vbsupport.ru/showp...&postcount=945 but still got the same error. I was able edit or delete login as ADMIN. I check my usergroup option for "Register" which have access to delete or edit site.

If I manually go to this link login in as register user: http://www.khmerclub.org/forums/edit_site.php

I got this error msg: timmy, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Any other suggestion ? Thank Angkor
You need to give each usergroup the appropriate permission in the Usergroup Editor under Toplist Permissions.

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

Quote:
Originally Posted by b6gm6n
dude... looking forward to the new release...may i make a suggestion?... please please please remove the text links from the description for mods or admins, i.e edit/delete/whatever as it riuns the layout... i actually disabled it and remove it and edit via admin... a button would be great if possible... looks more pro! - also... i use toplist for 468x60 banners (typical size anyways) and so my layout is customised, would be nice to choose which columns to show... ie > http://www.sgurl.org/forums/toplist.php, i just edited templates etc... cheers anyways, top mod!

-M
Yes, I plan on removing those and replacing them with inline moderation .

Derek

EDIT: Wait, not sure how to do that for edit site though, like what if they select multiple sites?
Reply With Quote
  #1117  
Old 09-21-2006, 05:45 AM
Steve B Steve B is offline
 
Join Date: Jul 2005
Location: Munich
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi derek

I have edited the line(s) of code in toplist_1 as suggested to correct the Delete Site ] [ Report ] and now it correctly displays just report, thanks for that
however members still have no link visible to be able to edit or delete their own entries from the toplist. Each usergroup has the appropriate permission in the Usergroup Editor under Toplist Permissions and if they go directly to edit_site.php?id=X they can successfully edit.
Reply With Quote
  #1118  
Old 09-21-2006, 09:26 AM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm... can you paste the contents of that template here in tags?

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

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>
Reply With Quote
  #1120  
Old 09-21-2006, 01:07 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derekivey
Yes, I plan on removing those and replacing them with inline moderation .

Derek

EDIT: Wait, not sure how to do that for edit site though, like what if they select multiple sites?
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
Reply With Quote
  #1121  
Old 09-21-2006, 03:15 PM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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






Quote:
Originally Posted by derekivey
You need to give each usergroup the appropriate permission in the Usergroup Editor under Toplist Permissions.

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 01:30 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.05604 seconds
  • Memory Usage 2,327KB
  • 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
  • (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