Thread: Toplist
View Single Post
  #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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01433 seconds
  • Memory Usage 2,018KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete