Quote:
Originally Posted by Domenico
Thanks for your answer!
Ok some users think they are clever and put the site html on a page outside of their site. Can you make the url where they put the site html code visible on the admin page when I edit a site please?
|
It doesn't check other pages for the code. It only checks the exact url they entered as their site URL.
Quote:
Originally Posted by Noxious
done that but still getting the following when trying to upload a JPG banner, JPEG files work but no1 really uses them anymore
|
Yeah thats a weird bug in this hack. I'm not exactly sure why it doesn't detect the filetype of the image. If you feel comfortable with what file types people upload, you can remove the if statement to allow any filetype until I figure out how to fix the bug.
Quote:
Originally Posted by Domenico
Derek, can you please show us wich code has to be taken out because whatever I do it messes up everything. I just want to remove the rating column.
Thank you!
|
Open the Toplist template.
FIND AND DELETE:
HTML Code:
<td class="thead" width="90">$vbphrase[toplist_rating]</td>
FIND AND DELETE:
HTML Code:
<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&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>
Close & Save the Toplist template.
Open the Toplist_1 template.
FIND AND DELETE:
HTML Code:
<td class="alt<if condition="$vboptions[toplist_show_user_banners] == 1">2<else />1</if>" width="90">
<if condition="$sr[rating_average] == 0">
$vbphrase[toplist_not_rated]
<else />
<img src="$vboptions[bburl]/images/rating/toplist_rating_{$rating_image}.gif" alt="" />
<br />
$sr[votes]
<if condition="$sr[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&id=$sr[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>
Close & Save the Toplist_1 template.
Open the Toplist_2 template.
FIND AND DELETE:
HTML Code:
<td class="alt<if condition="$vboptions[toplist_show_user_banners] == 1">2<else />1</if>" width="90">
<if condition="$sr[rating_average] == 0">
$vbphrase[toplist_not_rated]
<else />
<img src="$vboptions[bburl]/images/rating/toplist_rating_{$rating_image}.gif" alt="" />
<br />
$sr[votes]
<if condition="$sr[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&id=$sr[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>
That should delete it.
Quote:
Originally Posted by DementedMindz
ok question i went in to delete a site and after i deleted it from the toplist.php page i got this error... what would cause that?
Code:
Warning: unlink(images/toplist/buttons/sites/forumhome_todayusers): No such file or directory in /delete_site.php on line 105
also the site never had a button i never added one..
|
You can ignore that. But, I'm not sure why its trying to delete a file called forumhome_todayusers. Did you modify anything?