MyStarterBlog Auction Tag Generator


Search Phrase
Exclude Words

Country

Display Order

Quantity
eBay Category

Distance

Postcode/Zipcode
Min Price

Max Price

PHP & MyStarterBlog Code

Product Preview Area

Filed Under MyStarterBlog Tutorials | Leave a Comment

Tagged With

Comments

How to Insert Amazon Products Into MSB

The MyStarterBlog Plugin has the ability to display amazon products in the same way eBay auctions are displayed. To enable this functionality you will need to add the following lines to the mepebaycss section from within MyStarterBlog.

define(AWSKEY,"YOUR AMAZON ASSOCIATES KEY GOES HERE");
define(AWSID,"YOUR US ASSOCIATES AFFILIATE ID HERE");
define(AWSIDUK,"YOUR UK ASSOCIATES AFFILIATE ID HERE");
define(AWSIDFR,"YOUR FR ASSOCIATES AFFILIATE ID HERE");
define(AWSIDDE,"YOUR DE ASSOCIATES AFFILIATE ID HERE");
define(AWSIDJP,"YOUR JP ASSOCIATES AFFILIATE ID HERE");
define(AWSIDCA,"YOUR CA ASSOCIATES AFFILIATE ID HERE");

if you are not using a specific country locale then you can leave that line out.

To display the products you need to use the following function call from within a MSB post or page.

<?=amazon(’US’,'ipod’,'All’,'2′,’1′,’8′);?>

There are 6 possible parameters you can use to control what is displayed.

Paramter 1: This selects the target country locale. Options are ‘US’, ‘UK’, ‘CA’, ‘DE’, ‘JP’ and ‘FR’.

Parameter 2: This is the keyword or keyphrase to search for.

Parameter 3: This is the eBay amazon product category to search in. (a complete list of options are available below.)

Parameter 4: This is to specifiy the order of which to sort the products. ( ‘1′ = Highest Price, ‘2′ = Lowest Price)

Paramter 5: This dictates where to search for the keyword (’1′ = Titles and descriptions, ‘2′ = Titles Only)

Parameter 6: This specifies the amount of products to return. Valid options are (’1′ ……. ‘10′)

Supported Amazon Product Categories
All
Apparel
Automotive
Baby
Beauty
Books
Classical
DigitalMusic
DVD
Electronics
GourmetFood
Grocery
HealthPersonalCare
HomeGarden
Industrial
Jewelry
KindleStore
Kitchen
Magazines
Merchants
Miscellaneous
MP3Downloads
Music
MusicalInstruments
MusicTracks
OfficeProducts
OutdoorLiving
PCHardware
PetSupplies
Photo
Shoes
SilverMerchants
Software
SportingGoods
Tools
Toys
UnboxVideo
VHS
Video
VideoGames
Watches
Wireless
WirelessAccessories

Filed Under MyStarterBlog Tutorials | Leave a Comment

Tagged With

Comments

How to Use the Related Posts Plugin For MSB

Our MSB plugin now comes complete with a simple form of a related posts plugin. The purpose of which is allow the inclusion of short snippets about some realted blog posts below each blog post. These snippets include the title of the relevant post as well as a user defined amount of text for each of them.

You will need to add the following example line to the file INDEX_POST.php from with the MSB theme editor.

<?=related_posts(strlen(”[posttitle]“),3,55,2);?>

Depending on the theme that you are using, a good place to insert this code would be in a similar place to the example below..

<?=related_posts(strlen(”[posttitle]“),3,55,2);?>
[allowcommentbox]
<? include(’footer.php’); ?>

This function takes 4 parameters.

Parameter 1: This should always be strlen(”[posttitle]“) and helps provides a random number seed while generating related posts.

Parameter 2: This is the number of related posts to return in the list.

Parameter 3: This is the amount of words to return in the text snippet for each of the related posts.

Parameter 4: This is the number of days to wait before rotating the related posts to keep the content fresh.

Filed Under MyStarterBlog Tutorials | Leave a Comment

Tagged With ,

Comments

MyStarterBlog Plugin Installation

How to Install The plugin Files
You need to copy the file named functions.php that was included with your purchase to each of the mystarterblog theme folders you want to activate ebay auctions for. This will overwrite the exisiting functions.php.

Setting up the plugin
Enter the required information on the MSB eBay Plug-in page from within MyStarterBlog to set your
eBay affiliate ID, tracking ID and to change the CSS style.

How to display eBay auctions within your pages and posts.
To display eBay Auctions you will need to enter a short line of code into mystarterblog wherever you want eBay auctions to appear.
There are 13 possible parameters you can use, but a simple search need only use the minumum of 4 parameters. An example of such a simple search is below.

<?=auctions(’0′, ‘1′,’30′, ‘universal studio tickets’)?>

Where to put the auctions tag.

Where to insert the auction tag in MyStarterBlog.

Selecting an eBay Category
The first parameter used in the code line is the eBay category number within which you are
searching for products. In the example above the ‘0′ refers to all categories, a complete list of eBay categories are available here.

Specifying a sorting order
The second parameter used indicates the order that the eBay products should be displayed. There are four options for this parameter.

1 = Ending Soonest
2 = Newly Listed
3 = Lowest Price
4 = Highest Price

Choosing How many products to display
The third parameter indicates the quantity of auctions you want to display. This can be any number ranging from 1 to 100.

Entering the keyword phrase to search for
The fourth parameter is the key phrase you are searching for. In the example this was ‘universal studio tickets’.

Excluding words from a search
By utilising the fifth parameter you can exclude specific words from the search results.

Targeting a different eBay Country
By using the 6th parameter you can target specific eBay countries.
The following lines each search for the key phrase ‘ipod’ but in different countries.
<?=auctions(’0′,’1′,’10′,’ipod’, ”, ‘US’)?>
<?=auctions(’0′,’1′,’10′,’ipod’, ”, ‘UK’)?>
<?=auctions(’0′,’1′,’10′,’ipod’, ”, ‘AU’)?>

Using the Plug-in: Advanced
As well as the basic 4 parameters there are another 8 parameters you can use to further customise
the display.
The complete parameter list is given below.
Parameter 1: eBay Category Number in quotes
Parameter 2: (1,2,3 or 4) to sort the eBay auctions where (1=Ending soonest, 2=Newly Listed,
3=Lowest Price, 4=Highest Price)
Parameter 3. Quantity of auctions to display.
Parameter 4. Keyphrase to include in search.
Parameter 5. Keywords to exclude from search.
Parameter 6. Target eBay Country, available programs are ‘US’, ‘CA’, ‘AU’, ‘UK’ or ‘FR’
Parameter 7. Post Code or Zip Code (used in conjunction with parameter 8)
Parameter 8. Miles or KM to search for auctions from location given in parameter 7.
Parameter 9. Display auctions from a specific eBay sellerid.
Parameter 10. Show Buy It Now items only (0=NO, 1=YES)
Parameter 11. Minimum price of auctions to display
Parameter 12. Maximum price of auctions to display
Parameter 13. Display the Sorting and Form controls set to ‘EN’ to see English Controls, ‘FR’ to see
French Controls leave blank to not show anything
For example you can show Canadian Auctions using the French language by using a line similar to the
following. <?=auctions(”, ‘1′,’30′, ‘ipod’, ”, ‘CA’, ”, ”, ”, ”,”, ”, ‘FR’)?> This

Filed Under MyStarterBlog Tutorials | Leave a Comment

Tagged With , , ,

Comments

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Filed Under Uncategorized | 1 Comment

Tagged With

Comments