phplemon

AdQuick 2.2.4 - "Ad Network" PHP Script
$99

AdQuick allows you to run your own ad network similar to websites such as adbrite.com, adengage.com, buysellads.com and adster.com.

AdQuick will allow you to bring together advertisers and publishers, and you the script owner will take a cut from every ad sold through your adbrite clone website.

AdQuick can also be used as a stand alone Ad Server for your own advertising needs.


- Free Installation + Free Updates & Support For Life
- AdQuick Web Hosting - From Only $3.71 Per Month - Click Here
Buy AdQuick and BlogQuick Together For $175 - Click Here

Changing The Default "Minimum Click Through Rate"

When a publisher adds or edits a website in their account, they will be on the "My Websites" page (seller_mywebsites.php)

On the seller_mywebsites.php page there is an option that says "Would You Like To Show Targeted Ad Sales On Your Website?". By default this option is set to "No", with an amount already set in the box beside it.

This guide will show you how to change the default amount, and also how to set this option to "Yes" by default.

 

The file we will need to edit, is the seller_mywebsites.tpl file, found in your templates/default folder, or which ever folder you are using in the "templates" folder.

 

1) Once you have opened the seller_mywebsites.tpl file, you will need to look for this code,

value="{$smarty.post.clickrate|string_format:"%.2f"}"

You need to replace that code with,

value="{if $smarty.post.clickrate == ''}0.5{else}{$smarty.post.clickrate|string_format:"%.2f"}{/if}"

In the above code you have just replaced the old code with, you will see in the middle, 0.5 - You will need to change that to whatever rate you want set as the default amount.

 

2) Again in the seller_mywebsites.tpl file, you will now need to look for this code,

<input name="tad" type="radio" value="N" {if $smarty.post.tad == 'N' || $smarty.post.tad == ""} checked="checked" {/if}  onChange="remove_err('cr')" />

You need to replace that code with,

<input name="tad" type="radio" value="N" {if $smarty.post.tad == 'N'} checked="checked" {/if} onChange="remove_err('cr')" />

 

3) Again in the seller_mywebsites.tpl file, you will now need to look for this code,

<input name="tad" type="radio" value="Y" {if $smarty.post.tad == "Y"} checked="checked" {/if}  />

You need to replace that code with,

<input name="tad" type="radio" value="Y" {if $smarty.post.tad == "Y" || $smarty.post.tad == ""} checked="checked" {/if} />

 

Please use copy and paste and the search function in your code editor.