Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #92  
Old 02-14-2012, 04:44 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The newest update has been released (v.1.4). This update includes sidebars, one that will show the 'Recent Searches' and another that will show 'Top Products'. These sidebars will be shown on your forum's main page, and will help drive traffic to your forums, thus increasing sales. This update also includes more AdminCP options. These options will toggle the sidebars on or off and set the number of products to be shown in each. Also for those who change the tempalte location of the search bar, I have now made it easier to change. You just have to change the AdminCP option for Template_Placement to whichever template you'd like. Just remember that the template name is going to be case sensitive.
Reply With Quote
  #93  
Old 02-15-2012, 05:20 PM
J-P J-P is offline
 
Join Date: Jan 2011
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a really hard time installing this... I would like it in the navbar next to the global search and have edited that template and have used tht template name in the config .. but still not getting anything.

Any help would be appreciated.

The site is :
http://www.invertplanet.com/forum/forum.php
Reply With Quote
  #94  
Old 02-15-2012, 06:10 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by J-P View Post
I am having a really hard time installing this... I would like it in the navbar next to the global search and have edited that template and have used tht template name in the config .. but still not getting anything.

Any help would be appreciated.

The site is :
http://www.invertplanet.com/forum/forum.php
Hey, so go to edit your templates, put {vb:raw includedphp} inside the navbar template. You'll find that under Navigation / Breadcrumb Templates. Once there search for Globalsearch. Put {vb:raw includedphp} before that div. Then in the options change the Template_Placement option to navbar.

Now you'll have to play with the css a little bit to get it just right along the side of the globalsearch. So go into productSearch.php and look around line 39 for
HTML Code:
<form style="position: relative; z-index:1; float: right; margin: 5px 5px 0 0;" id="search" method="GET" action="<?php echo $vbulletin->options['Prosperent_additionalDirectory'] . '/product.php'; ?>">
Play with the margin attribute. Let me know if you need any help with that.
Reply With Quote
  #95  
Old 02-15-2012, 07:03 PM
J-P J-P is offline
 
Join Date: Jan 2011
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok... did as instructed and get the following error:

: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(98) : eval()'d code on line 31

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

Alright, well after installing this for someone on their forum, I encountered a few bugs. So this newest update fixed those bugs. I hope this update fixes any issues that anyone else was having. Plus I included images for the data to make the two sidebars that will help drive traffic to your forums. Good luck everyone, and let me know if anything comes up let me know. And if you catch any bugs I will fix them ASAP.

My email is different than the one on this account, you can email me personally at brandon@prosperent.com

Reply With Quote
  #97  
Old 02-17-2012, 01:20 PM
J-P J-P is offline
 
Join Date: Jan 2011
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

absolutely awesome!! Thank you so much for this. I would highly recommend this to anyone.

I am already a member of other affiliate programs through Commission Junction and this product bypasses that and makes things so much easier. Definitely 9.5 out of 10 Excellent excellent work, thank you!
Reply With Quote
  #98  
Old 02-17-2012, 03:04 PM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated, but the setting for image and search box size is gone again.

Need to re do it again the same way, as before done?

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

Quote:
Originally Posted by BlueCheri View Post
Updated, but the setting for image and search box size is gone again.

Need to re do it again the same way, as before done?

G!
Yep, it will be the same way as before for that.

Let me know if you have any trouble.
Reply With Quote
  #100  
Old 02-17-2012, 03:41 PM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think line number changed, can you please tell me step by step (I think there are about three steps), and some details and in thread and few are in PMs

Thanx in advance.

G!

Quote:
Originally Posted by 99SIVTEC View Post
Yep, it will be the same way as before for that.

Let me know if you have any trouble.
Reply With Quote
  #101  
Old 02-17-2012, 03:57 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlueCheri View Post
I think line number changed, can you please tell me step by step (I think there are about three steps), and some details and in thread and few are in PMs

Thanx in advance.

G!
Gathered everything up that I could remember and sent you a PM.
Reply With Quote
Reply


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 02:33 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.04806 seconds
  • Memory Usage 2,362KB
  • 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
  • (2)bbcode_php
  • (4)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete