Display You Button Code without "Approve" His Site

Various mods to change or add features.

Display You Button Code without "Approve" His Site

Postby kunnusingh » 2009-11-08 06:42 pm

if you're use "Admin Approval Site" in your Aardvark site then this small modification is very useful for you :P

Demo: Image


First open /skins/YourSkin/join_finish_approve.html


And Replace all existing code with this code

Code: Select all
{$lng->join_approve}
<br>
<br>
<br>
<strong>Please Place this Code in Your Site and increase Hits & Your Site Rank in our Top#1 Rank.</strong>
<br>

<form name="code">
<textarea readonly="readonly" name="code" rows="6" style="width: 100%;" onclick="select_all();">&lt;a href="{$list_url}/{$verbose_link}">&lt;img src="{$list_url}/button.php?u={$username}" alt="{$list_name}" border="0" />&lt;/a></textarea>
</form>


:lol:

Note: maybe already someone is use this type of trick.

Support: :idea:
kunnusingh
Member
 
Posts: 17
Joined: 2009-10-09 09:46 am
Location: kunnu.net

Re: Display You Button Code without "Approve" His Site

Postby OS-Mark » 2009-12-08 02:52 pm

Actually the default admin approval behavior was intended to prevent spammers from getting your button code before admin approves it. But yes, it is a pain for real members... Just another trade of liberty for security :)
CSS / HTML / Aardvark Stuff
VisioList - A Paid Fork Of The Worlds Best Topsite: Aardvark Topsites
Why VisioList? Fast, timely support. Constant updates and improvements, modification plugins for smooth upgrades and more!
OS-Mark
Advanced Member
 
Posts: 545
Joined: 2005-05-02 01:37 am
Location: Canada

Re: Display You Button Code without "Approve" His Site

Postby kunnusingh » 2010-01-10 07:26 pm

Agree :)
kunnusingh
Member
 
Posts: 17
Joined: 2009-10-09 09:46 am
Location: kunnu.net

Re: Display You Button Code without "Approve" His Site

Postby kamranrocksit » 2010-01-10 10:21 pm

It's not a wise idea to display the code before approving the site, it can end up with lots of others topsite codes and can put load on your button.php
kamranrocksit
Advanced Member
 
Posts: 120
Joined: 2007-02-26 08:58 pm

Re: Display You Button Code without "Approve" His Site

Postby kunnusingh » 2010-01-12 05:04 pm

8) open buttons.php

and replace with this code

Code: Select all
<?php
header("location: http://www.yourhost.com/images/yourvotebutton.jpg");
?>
kunnusingh
Member
 
Posts: 17
Joined: 2009-10-09 09:46 am
Location: kunnu.net


Return to Mods

Who is online

Users browsing this forum: No registered users and 1 guest

cron