Modify BANS to Include eBay Store Items
September 28, 2009 by syns0r
Filed under BANS Tutorials
There has been a lot of discussion over at the BANS and ePN forums about modifying the BANS code to the new eBay RSS feeds that include store inventory. I thought I would give it a shot last night and this is what I came up with.
It’s still a work in progress but if you’re links aren’t cloaked then this is a good fix for ya. I will post updates when I get the cloaked links converted.
***REMEMBER TO BACKUP YOUR FILES BEFORE PROCEEDING***
Edit the FrontControl.php (found in the cont folder)
- Search for RSSFEEDS
- Replace:
if ($cloak == '1'){
if ($this->categoryname != ''){
$RSSFEEDS = array(
0 => "http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=".$siteid."&output=RSS20&sacat=".$this->catid."&ftrt=1&fbd=1&sabdlo=".$this->minbid."&sabdhi=".$this->maxbid."&saprclo=".$this->minprice."&saprchi=".$this->maxprice."&floc=1&saslop=1&fsop=$this->sort&fsoo=$this->fsoo&from=R6&fss=".$this->fss."&sasl=".$this->sellerid."&sacur=0&afepn=".CJID."&customid=".$this->sid."&saslc=0&fcl=3&saaff=afepn&catref=C5&frpp=100&satitle=".urlencode($sitewidequery)."+".urlencode($this->q)."&ftrv=1&fts=$srchdesc&".$sitenum."&sascs=".$this->bin."&fspt=".$this->local."&fpos=".$this->zip."&sadis=".$this->miles."&frts=$frts",
);
} else {
$RSSFEEDS = array(
0 => "http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=".$siteid."&output=RSS20&sacat=".MAINCAT."&ftrt=1&fbd=1&sabdlo=".$this->minbid."&sabdhi=".$this->maxbid."&saprclo=".$this->minprice."&saprchi=".$this->maxprice."&floc=1&saslop=1&fsop=$this->sort&fsoo=$this->fsoo&from=R6&fss=".$this->fss."&sasl=".$this->sellerid."&sacur=0&afepn=".CJID."&customid=".$this->sid."&saslc=0&fcl=3&saaff=afepn&catref=C5&frpp=100&satitle=".urlencode($sitewidequery)."+".urlencode($this->q)."&ftrv=1&fts=$srchdesc&".$sitenum."&sascs=".$this->bin."&fspt=".$this->local."&fpos=".$this->zip."&sadis=".$this->miles."&frts=$frts",
);
}
}
else {
if ($this->categoryname != ''){
$RSSFEEDS = array(
0 => "http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=".$siteid."&output=RSS20&sacat=".$this->catid."&ftrt=1&fbd=1&sabdlo=".$this->minbid."&sabdhi=".$this->maxbid."&saprclo=".$this->minprice."&saprchi=".$this->maxprice."&floc=1&saslop=1&fsop=$this->sort&fsoo=$this->fsoo&from=R6&fss=".$this->fss."&sasl=".$this->sellerid."&sacur=0&afepn=".CJID."&customid=".$this->sid."&saslc=0&fcl=3&saaff=afepn&catref=C5&frpp=100&satitle=".urlencode($sitewidequery)."+".urlencode($this->q)."&ftrv=1&fts=$srchdesc&".$sitenum."&sascs=".$this->bin."&fspt=".$this->local."&fpos=".$this->zip."&sadis=".$this->miles."&frts=$frts",
);
} else {
$RSSFEEDS = array(
0 => "http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=".$siteid."&output=RSS20&sacat=".MAINCAT."&ftrt=1&fbd=1&sabdlo=".$this->minbid."&sabdhi=".$this->maxbid."&saprclo=".$this->minprice."&saprchi=".$this->maxprice."&floc=1&saslop=1&fsop=$this->sort&fsoo=$this->fsoo&from=R6&fss=".$this->fss."&sasl=".$this->sellerid."&sacur=0&afepn=".CJID."&customid=".$this->sid."&saslc=0&fcl=3&saaff=afepn&catref=C5&frpp=100&satitle=".urlencode($sitewidequery)."+".urlencode($this->q)."&ftrv=1&fts=$srchdesc&".$sitenum."&sascs=".$this->bin."&fspt=".$this->local."&fpos=".$this->zip."&sadis=".$this->miles."&frts=$frts",
);
}
}
- with:
if ($cloak == '1'){
$sitewidequery = str_replace("+", "", $sitewidequery);
if ($this->categoryname != ''){
$RSSFEEDS = array(
0 => "http://desc.shop.ebay.com/i.html?_nkw=".urlencode($front->q)."+".urlencode($sitewidequery)."&_in_kw=1&_ex_kw=&_sacat=".$this->catid."&LH_TitleDesc=$srchdesc&_mPrRngCbx=&_udlo=".$front->minprice."&_udhi=".$front->maxprice."&_okw=&_oexkw=&LH_IncludeSIF=1&LH_BIN=".$front->bin."&_ftrt=901&_ftrv=&_sabdlo=".$front->minbid."&_sabdhi=".$front->maxbid."&_samilow=&_samihi=&_fspt=".$front->local."&_sadis=".$front->miles."&_fpos=".$front->zip."&_fss=".$front->fss."&_sasl=".$front->sellerid."&_fsct=&LH_SALE_CURRENCY=".$siteid."&_sop=$front->sort&_dmd=1&_ipg=100&_rdc=1&_rss=1",
);
} else {
$RSSFEEDS = array(
0 => "http://desc.shop.ebay.com/i.html?_nkw=".urlencode($front->q)."+".urlencode($sitewidequery)."&_in_kw=1&_ex_kw=&_sacat=".MAINCAT."&LH_TitleDesc=$srchdesc&_mPrRngCbx=&_udlo=".$front->minprice."&_udhi=".$front->maxprice."&_okw=&_oexkw=&LH_IncludeSIF=1&LH_BIN=".$front->bin."&_ftrt=901&_ftrv=&_sabdlo=".$front->minbid."&_sabdhi=".$front->maxbid."&_samilow=&_samihi=&_fspt=".$front->local."&_sadis=".$front->miles."&_fpos=".$front->zip."&_fss=".$front->fss."&_sasl=".$front->sellerid."&_fsct=&LH_SALE_CURRENCY=".$siteid."&_sop=$front->sort&_dmd=1&_ipg=100&_rdc=1&_rss=1",
);
}
}
else {
$sitewidequery = str_replace("+", "", $sitewidequery);
if ($this->categoryname != ''){
$RSSFEEDS = array(
0 => "http://desc.shop.ebay.com/i.html?_nkw=".urlencode($front->q)."+".urlencode($sitewidequery)."&_in_kw=1&_ex_kw=&_sacat=".$this->catid."&LH_TitleDesc=$srchdesc&_mPrRngCbx=&_udlo=".$front->minprice."&_udhi=".$front->maxprice."&_okw=&_oexkw=&LH_IncludeSIF=1&LH_BIN=".$front->bin."&_ftrt=901&_ftrv=&_sabdlo=".$front->minbid."&_sabdhi=".$front->maxbid."&_samilow=&_samihi=&_fspt=".$front->local."&_sadis=".$front->miles."&_fpos=".$front->zip."&_fss=".$front->fss."&_sasl=".$front->sellerid."&_fsct=&LH_SALE_CURRENCY=".$siteid."&_sop=$front->sort&_dmd=1&_ipg=100&_rdc=1&_rss=1",
);
} else {
$RSSFEEDS = array(
0 => "http://desc.shop.ebay.com/i.html?_nkw=".urlencode($front->q)."+".urlencode($sitewidequery)."&_in_kw=1&_ex_kw=&_sacat=".MAINCAT."&LH_TitleDesc=$srchdesc&_mPrRngCbx=&_udlo=".$front->minprice."&_udhi=".$front->maxprice."&_okw=&_oexkw=&LH_IncludeSIF=1&LH_BIN=".$front->bin."&_ftrt=901&_ftrv=&_sabdlo=".$front->minbid."&_sabdhi=".$front->maxbid."&_samilow=&_samihi=&_fspt=".$front->local."&_sadis=".$front->miles."&_fpos=".$front->zip."&_fss=".$front->fss."&_sasl=".$front->sellerid."&_fsct=&LH_SALE_CURRENCY=".$siteid."&_sop=$front->sort&_dmd=1&_ipg=100&_rdc=1&_rss=1",
);
}
} - Edit index.php (webroot of store)
- Replace every occurrence of:
href="'.$link.'" - with:
href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&toolid=10001&campid='.CJID.'&customid=&mpre='.$link.'"
I know it looks like a jumbled mess (which it is) but this is after a long day of deciphering ebay’s rss codes. I will go over all the options and what they mean in a future post just in case anyone cares.
If you have any questions leave a comment and me or Rich will try to respond as soon as we can.
Thanks
Daniel (syns0r)
BEST FIX FOR BANS CONTENT NOT SAVING
February 9, 2009 by syns0r
Filed under BANS Tutorials
After much testing we have found the BEST remedy for the problem of your content not saving in BANS.
Just download this file and place the included php.ini file in your BANS admin folder.
Bans fix for content not saving
Remember you got it at Start A Niche first!
Daniel (syns0r)
BANS Content Not Saving FIXED
February 9, 2009 by syns0r
Filed under BANS Tutorials
*** UPDATE ***
WE HAVE FOUND A NEW AND EASIER WAY TO FIX THIS PROBLEM
REMEMBER YOU SAW IT HERE FIRST!
http://startaniche.com/bans-tutorials/best-fix-for-bans-content-not-saving
*** END UPDATE ***
A lot of people have had trouble lately with content not being saved in their BANS site. This is not necessarily a BANS issue, it has come about because Hostgator changed their setting for php_magic_quotes variable to help with their Site Builder script. What this variable does when turned On is automatically escapes the quote (‘) symbol (changes it to \’ ). Hostgator figured this setting would mess up some scripts that their customers had installed so they made it a very simple fix to turn it back On. Rich and I have gotten lots of emails and pm’s concerning this problem so I decided to make a post about it.
Step 1. Login to your cPanel
Step 2. Scroll down to the php.ini EZConfig icon and click it.

php.ini EZConfig icon
Step 3. Click the “Enable EZConfig” button.

enable the EZConfig
Step 4. Scroll down to around halfway to the php_magic_quotes entry.

Find php_magic_quotes
Step 5. Change it to On (make sure the O is capitalized and the n is lowercase)

Enable php_magic_quotes
Step 6. Scroll to the bottom and click the “Save Changes” button.

save EZConfig
Step 7. Test it out to make sure it worked, if it did Great! but if not then go to step 8.
Step 8. Go back to the EZConfig panel and change the other 2 magic_quote entries to On as well.

Change other magc_quotes
Step 9. Click “Save Changes” button.

Save EZConfig Settings
Step 10. It should work now.
I hope this post has fixed the issue of content not saving in your BANS site. If not feel free to leave a comment, PM, email, or contact me or Rich any way you want and we will be glad to help.
-Daniel (syns0r)
How to Get Backlinks
November 15, 2008 by syns0r
Filed under Advertising your Bans
Some people have trouble finding and getting links to their site. You could waste a lot of time submitting to free low-quality directories when with this tip here could do 100 times more for SERP ranking and actually getting visitors to your store.
Get links where your potential customers are.
Find blogs with posts/stories that has to do with your niche.
Comment on them with related info on the subject of the post, not a generic reply.
In the name box try not to spam it with keywords but make a name that fits (The Pool Guy if your niche is pool related).
Put your URL in the URL box (that makes a link of your name to your site)
Now when your potential customers visit that blog and read the post and they will read the comments and think hmm let me check out the Pool Guys site and bam if your site is engaging enough they will stay around for a little while.
TIP
Deep linking is the process of getting links to individual pages of your site. This helps to get the page ranked and getting some much needed love for your site. If you have a store page or article related to the blog post, put that link in the URL section of the comment. BAM! Instant deep link and it will keep the potential customer from having to dig through your site to find a page they would be interested in.








