Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
vb eBay user integration Details »»
vb eBay user integration
Version: 1.00, by davidw davidw is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.5 Rating:
Released: 05-07-2007 Last Update: 07-20-2008 Installs: 10
Uses Plugins Template Edits
Re-useable Code Additional Files  
No support by the author.

This little hack will allow you and your members to access your ebay information and do other functions from within your website. It is a very small and light on features hack and later I might add to it.

Step 1: Upload vbebay.php to your root (example http://www.yoursite.com/vbebay.php )

Step 2: Add a profile field.
Go to your admincp => User Profile Fields => Add New User Profile Field => Single-Line Text Box => [Continue]
Code:
Title = Your ebay username
Description = This is your eBay Username
Default Value = blank
Max length of allowed user input = 100
Field Length = 40
Display Order = your choice
Field Required 	= No
Field Editable by User = Yes
Private Field = your choice
Field Searchable on Members List = your choice
Show on Members List = your choice
Which page displays this option? = Edit Profile
Go to the User Profile Field Manager and find the field number corresponding to the profile field you just created.

Step 3: Edit the product:
Find both instances of fieldxx and replace xx with the field number you just got from the recently created profile field number.

Step 4: Import the product.
Go to Plugins & Products => Manage Products => Add/Import Product

Step 5: (Optional navigation bar insertion)
Go to Styles & Templates => Style Manager => Style Choice Drop down All Style Options and choose Edit Templates - Click Go.

Navigation / Breadcrumb Templates >> => navbar

Find:

Code:
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Add after:

Code:
<td class="vbmenu_control"><a href="vbebay.php$session[sessionurl_q]">vB eBay</a></td>

Show Your Support

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

Comments
  #2  
Old 05-08-2007, 06:14 PM
BobbyBig BobbyBig is offline
 
Join Date: Mar 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice, will give it a try
Reply With Quote
  #3  
Old 05-08-2007, 06:15 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, Looks cool!
Will test it out
Reply With Quote
  #4  
Old 05-08-2007, 11:51 PM
briansol's Avatar
briansol briansol is offline
 
Join Date: Apr 2006
Location: CT
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

note: typo

Step 1: Upload vbebay.php to your root (example http://www.yoursite.com/vbebay.com )

surely, you mean:

Step 1: Upload vbebay.php to your root (example http://www.yoursite.com/vbebay.php )

Reply With Quote
  #5  
Old 05-08-2007, 11:53 PM
briansol's Avatar
briansol briansol is offline
 
Join Date: Apr 2006
Location: CT
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aw shucks i got excited. I thought this was going to be an api of some sort, not an iframe

oh well, good mod anyhoo
Reply With Quote
  #6  
Old 05-09-2007, 12:09 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been typing .com all morning (when testing) lol
Reply With Quote
  #7  
Old 02-24-2008, 10:06 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i started getting a error when i installed this mod on my online.php page.

error:
Quote:
Parse error: syntax error, unexpected T_STRING in /home/site/public_html/forums/includes/functions_online.php(862) : eval()'d code on line 18
Reply With Quote
  #8  
Old 02-25-2008, 12:57 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What other modifications do you have installed? I have this installed on two sites and neither one have this error - however, they also do not have many modifications installed either.
Reply With Quote
  #9  
Old 03-21-2008, 07:27 PM
nine45 nine45 is offline
 
Join Date: Feb 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoTTi View Post
i started getting a error when i installed this mod on my online.php page.

error:
Yep, same error here as well
Reply With Quote
  #10  
Old 07-20-2008, 10:34 PM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoTTi View Post
i started getting a error when i installed this mod on my online.php page.

error:
That error is because there is a ' that isn't escaped... Simply replace this:
Code:
<plugins>
		<plugin active="1" executionorder="5">
			<title><![CDATA[vB eBay WOL Part 2]]></title>
			<hookname>online_location_process</hookname>
			<phpcode><![CDATA[if ($filename == 'vbebay.php'){
				$userinfo['activity'] = 'vbebay';
			}
			]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title><![CDATA[vB eBay WOL Part 1]]></title>
			<hookname>online_location_unknown</hookname>
			<phpcode><![CDATA[if ($userinfo['activity'] == 'vbebay'){
				$handled            = true;
				$userinfo['action'] = 'Viewing a member's auctions';
				$userinfo['where']  = "<a href=\"vbebay.php?{$vbulletin->session->vars['sessionurl_q']}\">vB eBay</a>";
			}
			]]></phpcode>
		</plugin>
	</plugins>
With this:
Code:
<plugins>
		<plugin active="1" executionorder="5">
			<title><![CDATA[vB eBay WOL Part 2]]></title>
			<hookname>online_location_process</hookname>
			<phpcode><![CDATA[if ($filename == 'vbebay.php'){
				$userinfo['activity'] = 'vbebay';
			}
			]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title><![CDATA[vB eBay WOL Part 1]]></title>
			<hookname>online_location_unknown</hookname>
			<phpcode><![CDATA[if ($userinfo['activity'] == 'vbebay'){
				$handled            = true;
				$userinfo['action'] = 'Viewing a member\'s auctions';
				$userinfo['where']  = "<a href=\"vbebay.php?{$vbulletin->session->vars['sessionurl_q']}\">vB eBay</a>";
			}
			]]></phpcode>
		</plugin>
	</plugins>

Also, if you want to integrate eBay's Partner Network with this, simply search&replace
Code:
http://
With
Code:
http://WHATEVER-YOUR-CAMPAIGN-URL-IS-FROM-EPN=http://
For example:
Code:
http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=3&campid=5335851551&toolid=10001&mpre=http://
Final url will look like this:
Code:
http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=3&campid=5335851551&toolid=10001&mpre=http://my.ebay.com/ws/eBayISAPI.dll?MyeBay
**installed on 3.7.2 PL1**
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 02:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04414 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (9)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete