Wednesday, November 18, 2009
CJ Niche Store Wordpress Plugin Search Results Template Mod
Here's <? echo $_GET["s"]?> for sale at YOUR STORE NAME HERE.
<p>
<?php
function cjnichesearch($term) {
$keywords = $term;
$text .= '[cjniche keywords="'.$keywords.'" listing="10"]';
echo do_shortcode($text);
}
cjnichesearch($_GET["s"]);
?></p>
Thursday, April 23, 2009
Convert Your Foreign Traffic With Geo BANS
I have personally tried this out myself and notice a difference in more earnings, all from foreign surfers I was missing converting before. I have seen the benefits first hand on geo targeting my traffic and i think you will as well.
Here is a PDF on the complete rundown of GEO BANS. Tell Tao I sent you when you order.
Monday, October 27, 2008
IE6 Transparent PNG Fix For New BANS Templates
the fix home page can be found here.
Download this zip file to your harddrive.
Copy and paste the below code in front of the last </head> tag in your header.php file.
<!--[if lt IE 7]>
<script type="text/javascript" src="unitpngfix.js"></script>
<![endif]-->
Upload the unitpngfix.js file to the root of your site.
Upload the clear.gif image file to the images folder.
Reload your site in IE6 and see if you are now seeing color where once was clear. If you do not see that it is fixed, open the unitpngfix.js file in a text editor and make sure all the paths are correct. Make sure it points to the image folder and file that you uploaded the clear.gif image file to.
lastly you should urge all your friends, enemies, pastor, ex wives, mistresses and anyone else that they should upgrade from IE6 to IE8 or make the jump to Firefox. Coders are caring less and less about Internet Explorer 6 as it is a farce of a browser.
Tuesday, June 24, 2008
Build A Niche Store Google Sitemap Errors
You can edit the priority to each and every page to default by opening the sitemap.php file you have on your harddrive from the latest BANS download and browse down to the bottom until you find:The priority of this URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites—it only lets the search engines know which pages you deem most important for the crawlers.
The default priority of a page is 0.5.
Please note that the priority you assign to a page is not likely to influence the position of your URLs in a search engine's result pages. Search engines may use this information when selecting between URLs on the same site, so you can use this tag to increase the likelihood that your most important pages are present in a search index.
Also, please note that assigning a high priority to all of the URLs on your site is not likely to help you. Since the priority is relative, it is only used to select between URLs on your site.
function sitemap($cat_url, $update) {
echo '<url>';
echo '<loc>'.URL_PATH.'/'.$cat_url.'</loc>';
echo '<changefreq>'.$update.'</changefreq>';
echo '<priority>1</priority>';
echo '</url>';
You can then change the number 1 in the priority section to 0.5 it will then look like below.
function sitemap($cat_url, $update) {
echo '<url>';
echo '<loc>'.URL_PATH.'/'.$cat_url.'</loc>';
echo '<changefreq>'.$update.'</changefreq>';
echo '<priority>0.5</priority>';
echo '</url>';
Sonjay and Bob also have fixes in this thread for those that want to designate different priority numbers to certain pages. I am currently split testing these.
Overall both these fixes are probably not of HUGE importance, but any time Google flashes red letters at me, I try to sort them out. Perhaps in future BANS releases there will be an option to easily set the priority of each page and have it show in the sitemap.
Wednesday, June 11, 2008
Powered By Build A Niche Store
Monday, April 21, 2008
EPN Report Tracker For Your BANS Store
Labels: accounting, Build A Niche Store, business plan, EBAY, mod, script, tool
Saturday, April 19, 2008
Monitor Your Niche Store Server
First you will need to create a directory in your top level of your server named "scripts". Not in your public_html directory, but in your root of your server. Next in the directory of scripts create another directory named "custom".
You will next need to download these 2 files. directories.txt and PWSmonitorchanges.txt to your hard drive.
Open up directories.txt and change the word username to whatever your Hostgator username is. Save the file back to your harddrive.
Next open up the file PWSmonitorchanges.txt and look for the 3 entries below:
$sendto_email = 'You
$sender_email = 'You
$path = "/home/username/scripts/custom";
The first 2 entries are your email address where you want the emails sent when changes are made on your server.
The last entry is the path, change the word username to your Hostgator username.
After these edits have been made save the file back to your harddrive as PWSmonitorchanges.cgi not PWSmonitorchanges.txt
Next you want to upload both of these files
Next you need to create a cron job that will run this script at whatever interval you choose. I suggest every 6 hours. Log into your cPanel of your Hostgator account and click on Cron jobs and then click on Standard. Copy the below string into the command box, but change the word username to your Hostgator username.
/usr/bin/perl /home/username/scripts/custom/PWSmonitorchanges.cgi
underneath that you can select how often to run it. Like I said I would click Every Six Hours, Every Day, Every Weekday, Every Month. When done, click Save Crontab.
That is it, now every time you are anyone or an error happens it will email you any changes to any files made on any sites on your server. It will be normal to see some error logs pop up in the report, but you are looking for any unauthorized file changes or file uploads that YOU did not make. This will also track all of the changes you make as well. I hope I have explained this well enough for you and it should be simple to uninstall should you feel you do not need it.
The script comes courtesy of Premier Website Solutions.
EDIT
One of the blog readers left a great comment I will add here:
Thanks Mike!
The cron job can be set for every 6 hours as stated, or any frequency you want, BUT make sure you also change the variable:
$minutes = 15;
in the script to the same.
If minutes is left at 15 and cron is set to run every 6 hours, it means every 6 hours the script will look for files altered within the last 15 minutes, so it would miss anything altered more than 15 minutes and less than 6 hours ago. Miss pretty much everything. ;-)
Saturday, March 8, 2008
New search box in your niche store

If you have ever wanted to move your search box to the 3rd column in the 3 column template, this is how you do it:
I suggest backing up your frontcontrol.php file first in case you want to go back to the original file in the future.
Then open frontcontrol.php in notepad and replace the searchside function with this code posted in this thread:
http://www.buildanichestore.com/members/viewtopic.php?p=29581#29581
save and ftp your new frontcontrol.php file back to your server.
Find the following piece of code inside your styles.css file:
| Code: |
| .searchform { padding:0; margin:0; width:390px; } |
And change it to:
| Code: |
| .searchform { padding:0; margin:0; width:143px; } |
Also change search select to 200px
#search select {
width: 200px;
}
Delete search();?> from your header.php. Open your footer.php and find this line:
Sponsored Links
Directly underneath that add this code like this:
Sponsored Links>
searchside();?>





