Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Prosperent Product Search and Auto-Linker Details »»
Prosperent Product Search and Auto-Linker
Version: 2.8, by 99SIVTEC 99SIVTEC is offline
Developer Last Online: Jul 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.1.x Rating:
Released: 01-23-2012 Last Update: 11-20-2012 Installs: 18
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

Updates:
  • November 21, 2012- Re-instantiated the template search bar for those who can't use sidebars in their templates. (v.2.8)
  • November 20, 2012- Altered Default Sort Option to make it a drop down. (v.2.7)
  • November 20, 2012- Fixed the issue causing users not to be able to view their PMs. (v.2.6)
  • November 19, 2012- The search bar is now inside a Forum Block, no longer will you have to alter your template files.
    There is also an additional part to this plugin, the Auto-Linker. More about this will be described below.
  • November 13, 2012- Resolved an issue with the starting query and when facets were clicked. (V2.4)
  • October 24, 2012- Added a starting query and updated the API. Also now works when the query has an apostrophe in it. (V2.3)
  • July 17, 2012- Added negative filters for Brands and Merchants. (v. 2.2)
  • June 4, 2012- More optimization, fixed a CSS bug. (v. 2.1)
  • May 18, 2012- Optimization. Updated API class, better functionality, removed the recent queries table. Added a CSS file that contains most of the CSS for those who want to change any settings. (v. 2.0)
  • February 21, 2012- Optimization. I was informed that it was running slow on some peoples forums, so I optimized the table. It should run a lot faster and smoother now. (v. 1.6)
  • February 16, 2012- Made some adjustments in how things are run, worked out a few bugs that I found. (v.1.5)
  • February 14, 2012- 'Recent Searches' and 'Top Products' Sidebars have been integrated. These will help drive traffic to your forums. More AdminCP Options. (v.1.4)
  • February 3, 2012- Facets have been launched, more Admin options, optimized code. (v1.3)
  • January 31, 2012- Updated with AdminCP options for the logo, default price sort type, and API key (v1.2)
  • January 27, 2012- Updated with Price Sort (v1.1)

Prosperent Product Search

This add-on will help make/increase earnings from your forum. It will add a product search to your forum's sidebar, which users can utilize to search for products. When they click the product through your forum they will be redirected to the Merchant's site. If they make a purchase you will earn a commission from the sale.

Prosperent Auto-Linker
This new portion of the add-on will enable you to designate words that will be linked to the Product Search. You can also use a different query.

For example,

red shoes => red Nike shoes
shoes

If you put the above inside the text area then any time red shoes or just shoes is in a post it will be linked to the Product Search. If you put the additional part after red shoes with any word then when it find 'red shoes' it will actually send the query of 'red Nike shoes' to the Product Search.

As with this example, put the longer part first. That way red shoes will be matched before shoes. Else red shoes would never be found.

Why Prosperent Product Search?

Prosperent Product Search uses Prosperent's API, which is a very advanced API that offers you access to 3000 merchants and 50 million products from all of the top online retailers. Stores like Zappos, 6pm, Best Buy, Overstock, REI, Advance Auto Parts, Kohl's, Gap, Banana Republic, Cabelas, and thousands more. If it is sold online, we probably have it in our system.

We have an ever growing community, which is always willing to answer questions and lend a helping hand, and our team here at Prosperent is also available on the forum.

Installation

First thing, head over to Prosperent and click Join, its Free to do so. Create your account and once you are signed in, click the API tab up top. This page will give you the information you need to know about the API. But all you need to do here at the moment is click API Keys on the submenu and click Add New API Key. This will get you the API key you'll need so commissions can be tracked back to you. Name it whatever you'd like and you'll see that its created a key for you.

Save that key somewhere as you'll be needing it later.

Now, download the .zip file and unzip it. First import the plugin file in the AdminCP. Open the 'Upload' folder and copy the contents into your main or root vbulletin directory.

Okay, with that done. Go into your AdminCP and click Settings -> Options -> Prosperent Settings and add your API Key to the input box labeled Api_Key and save that there.

The new search box is now in a forum block. These can be turned on or off inside the AdminCP options.

You also may have to enable sidebars for your forum if they currently are not active, to do this go to admincp -> options -> Forum Sidebar and Block Options and enable the Forum Sidebar option.

After that is finished, go to Forums & Moderators then go to Forum Blocks Manager. Once there click Add Block.

Block Type: Custom HTML/PHP. Click Continue. You'll be doing this for the two (2) sidebars. Now for the information to enter into each, look at the two images attached. Create a sidebar for Top Products.


If you can't view the images for any reason, for the forum block...

Title: 'Prosperent Top Products' or something similar
Description: Displays the top products.
Cache Time: 300 (or more, your call, this won't be changing as much as recent searches)
Content Type: PHP
Content: return $this;
Template to Use: Block_Prosperent_Tops_Template

Title: 'Prosperent Store' or something similar
Description: Displays the search box.
Cache Time: 1
Content Type: PHP
Content: return $this;
Template to Use: block_prosperent

Change the display order on the 'Forum Blocks Manager' to your liking.

Admin Options:

Giving you more power over this add-on.
  • Api_Key- Enter your Api key here so you can earn your commissions
  • Phrases and Optional Queries- Insert the words you'd like to be linked to the Product Search and their optional query.
  • Case Sensitive Matching
  • Open links in new window?- Will either open a link in a new window or the same window.
  • Default_Sort- Sets the sort type default. relevance desc = Relevancy, price asc = Low to High, price desc = High to Low
  • Starting Query- Adds a starting query, if nothing is set as a query when the user gets to the product search page.
  • Enable Facets
  • Api Limit- Set the API limit. Default is 10.
  • Pagination Limit- Set the amount of results to appear per page. Default is 15.
  • Addional Directory- This one is for those who's forums have an additional directory. Now instead of altering code you are able to define the additional directory here, Don't forget the leading slash (/).
  • Merchant Facets- Number of merchants to display in primary facet list
  • Brand Facets-Number of merchants to display in primary facet list
  • Enable Top Products Sidebar-
  • Top_Shown- Sets the number of Top Products to be shown in the sidebar.
  • Negative Brand Filters- Brands to discard from results. If more than 1, seperate by commas. Enter the Brand name exactly how it appears in the results. (ie. Nike, Reebok, Merrell)
  • Negative Merchant Filters- Merchants to discard from results. If more than 1, seperate by commas. Enter the Merchant's name exactly how it appears in the results.(ie. 6pm, Zappos.com, endless)
  • Logo_Image-Set to display the Prosperent Logo with the search bar. Size is 167px x 50px.
  • Logo_imageSmall- Set to enable the smaller logo. Size is 100px x 30px.
  • Template_Placement- Changes the template that {vb: raw includedphp} is placed in. Remember the template name is case sensitive.

Template Installation of Search Bar:
Go to Styles & Templates, click Style Manager and then on your Primary Style, click Edit Templates. Open the header template and insert
PHP Code:
{vb:raw includedphp
where you'd like the search bar to show up.

Notes:

You can change which template to put
PHP Code:
[COLOR="RoyalBlue"] {vb:raw includedphp}[/COLOR
into but if you do you must change it inside the plug-in. The Plug-in is named Search Form Input Box. The template name is case sensitive.

If you have any questions or suggestions, please feel free to ask me here or on the Prosperent Community.

Download Now

File Type: zip Prosperent Product Search (v2.8).zip (42.7 KB, 39 views)

Screenshots

File Type: jpg topProductBlock.jpg (59.3 KB, 0 views)
File Type: jpg Prosperent.Store.jpg (59.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 02-09-2012, 01:20 AM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by grzywa92 View Post
where i can edit this "Search Products..." for other?
On line 77 of productSearch.php look for
HTML Code:
							setDefaultText(form.elements.q, 'Search Products...');
Just change the Search Products... inside the quotes to whatever you'd like.
Reply With Quote
  #73  
Old 02-09-2012, 06:26 AM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be a great idea.

Sorry not properly understand, could you please explain it in detail.

Thanx in advance.

G!

Quote:
Originally Posted by 99SIVTEC View Post
Sorry for the late reply, I was out sick yesterday, from what I can tell its going to be the navbar_link template, which is under the Navigation/ Breadcrumb Templates.

Just remember to change the template name inside the plugin where it is pre-registering the template. Change header to navbar_link.

Hope that helps.
Reply With Quote
  #74  
Old 02-09-2012, 11:13 AM
chaoyueh chaoyueh is offline
 
Join Date: Oct 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I click search results page 2, it jumps back to the forum home.

ex:
http://www.puddingbuy.com/forums/pro...hp?q=canon+S95

any idea?

Thanks
Reply With Quote
  #75  
Old 02-09-2012, 03:28 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chaoyueh View Post
When I click search results page 2, it jumps back to the forum home.

ex:
http://www.puddingbuy.com/forums/pro...hp?q=canon+S95

any idea?

Thanks
K, found the issue. I forgot a slash. Sorry about that, I'll re-update the files, all you'll need to do is update the products.php.

Or if you just want to change it in your current stack. Open products.php and go to line 336. Look for

PHP Code:
$vbulletin->options['Prosperent_additionalDirectory'] . 'product.php?q=' $query '&priceSort=' $sort '&filterBrand=' $_GET['filterBrand'] . '&filterMerchant=' $_GET['filterMerchant'// the pagenav-link 
And change that to
PHP Code:
$vbulletin->options['Prosperent_additionalDirectory'] . '/product.php?q=' $query '&priceSort=' $sort '&filterBrand=' $_GET['filterBrand'] . '&filterMerchant=' $_GET['filterMerchant'// the pagenav-link 
Sorry about this, anyone who has an additional directory will want to fix this, or install the new products.php file. I am very sorry for that.
Reply With Quote
  #76  
Old 02-09-2012, 03:43 PM
chaoyueh chaoyueh is offline
 
Join Date: Oct 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 99SIVTEC View Post
K, found the issue. I forgot a slash. Sorry about that, I'll re-update the files, all you'll need to do is update the products.php.

Or if you just want to change it in your current stack. Open products.php and go to line 336. Look for

PHP Code:
$vbulletin->options['Prosperent_additionalDirectory'] . 'product.php?q=' $query '&priceSort=' $sort '&filterBrand=' $_GET['filterBrand'] . '&filterMerchant=' $_GET['filterMerchant'// the pagenav-link 
And change that to
PHP Code:
$vbulletin->options['Prosperent_additionalDirectory'] . '/product.php?q=' $query '&priceSort=' $sort '&filterBrand=' $_GET['filterBrand'] . '&filterMerchant=' $_GET['filterMerchant'// the pagenav-link 
Sorry about this, anyone who has an additional directory will want to fix this, or install the new products.php file. I am very sorry for that.
Perfect. Thank you
Reply With Quote
  #77  
Old 02-09-2012, 03:45 PM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can not pages for searches, it shows only one page.

Can you please check it.

G!
Reply With Quote
  #78  
Old 02-09-2012, 04:16 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlueCheri View Post
I can not pages for searches, it shows only one page.

Can you please check it.

G!
All this is is an AdminCP option that I gave you access to. You can set the limit inside your AdminCP, look for Api_Limit under Prosperent Settings and change it to what you'd like, I'd suggest going no larger than 250. The default is set to 10, that's why only one page of results was showing.
Reply With Quote
Благодарность от:
BlueCheri
  #79  
Old 02-09-2012, 04:19 PM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, was not aware, set at 99.

G!

Quote:
Originally Posted by 99SIVTEC View Post
All this is is an AdminCP option that I gave you access to. You can set the limit inside your AdminCP, look for Api_Limit under Prosperent Settings and change it to what you'd like, I'd suggest going no larger than 250. The default is set to 10, that's why only one page of results was showing.
Reply With Quote
  #80  
Old 02-09-2012, 04:29 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlueCheri View Post
Sorry, was not aware, set at 99.

G!
You're fine, just thought I should probably put it on here as well in case someone else had a similar issue.
Reply With Quote
  #81  
Old 02-09-2012, 09:33 PM
bosken bosken is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, but for us that run forums outside the US, any good for us? Many of the stores does not ship overseas. (Europe in my case).
You have any non-US sites that runs your app?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05516 seconds
  • Memory Usage 2,376KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (6)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete