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

Reply
 
Thread Tools
eBay Integration Mod Details »»
eBay Integration Mod
Version: 1.0.1, by Creed Creed is offline
Developer Last Online: May 2006 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-02-2005 Last Update: 10-28-2005 Installs: 33
Uses Plugins Template Edits
 
No support by the author.

This extension allows users to enter their eBay username, and will then have a link in postbit that will show all the users current eBay Auctions.

Does require a couple of template edits, and edit of a file (not native to vB).

Based off of the idea and hack from 3.0.x which can be seen: here.


1.0.1 Updated XML to parse two templates, saving two queries (thanks to Zachariah).

1.0.0 Initial Release


*To Update*
Reupload all files, Re-import product, making sure to allow overwrite.
-- Make sure you replace fieldx with your field# in the XML before updating.

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 10-03-2005, 09:53 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vizionz
nevermind that ..

is this stable and works ?

I haven't had any problems with it yet, but I'll leave that up to everyone else
Reply With Quote
  #13  
Old 10-04-2005, 01:43 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But I have setup an auction for myself and using that as an example.

Laters

Quote:
Originally Posted by Creed
That would mean whatever user's profile you were viewing doesn't have any current auctions.
Reply With Quote
  #14  
Old 10-04-2005, 01:54 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it works.
Need to change "fieldX" in 2 places to the user field you create in the AdminCP.

EX: field5 -- etc . Then the user fills in there Ebay user name. All should work fine.
Reply With Quote
  #15  
Old 10-04-2005, 01:59 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 places where?
Reply With Quote
  #16  
Old 10-04-2005, 02:03 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 places in what?

Quote:
1. Go here http://cgi3.ebay.com/ws/eBayISAPI.dll?EKCreate to create your Ebay Sniplet Source Code (you have to have an ebay account and have a ebay user ID available)

2. Edit ebay_member Template, replace with your new code.

**NOTE** When adding your Ebay Sniplet Source Code to the template, find this bit &si=whatever and add your profile field: &si=$vbulletin->userinfo[fieldx]

3. Edit template: posbit or postbit_legacy:

find:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]

add after:
<if condition="$post['fieldX']"><a href="member.php?&do=memberauctions&userid=$post[userid]"><img src="$stylevar[imgdir_misc]/ebay.gif" alt="$post[username]'s Ebay Auctions" border="0" /></a></if>
Reply With Quote
  #17  
Old 10-04-2005, 02:10 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But my snippet from Ebay says this: &siteid=0

Not this: &si=

Laters
Reply With Quote
  #18  
Old 10-04-2005, 05:58 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Creed
Add this to your XML file.

Executed 12 queries (2 queries for uncached templates)

Code:
<plugins>
	<plugin active="1">
		<title>Ebay - Member - Cache</title>
		<hookname>cache_templates</hookname>
		<phpcode><![CDATA[$globaltemplates  = array_merge($globaltemplates, array('ebay_main_member','ebay_member',));]]></phpcode>
	</plugin>
</plugins>
Reply With Quote
  #19  
Old 10-05-2005, 02:35 AM
csidlernet csidlernet is offline
 
Join Date: Apr 2003
Location: sydney
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thankyou this'll work fine!
/me hits install
Reply With Quote
  #20  
Old 10-05-2005, 06:20 AM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
@ Creed
Add this to your XML file.

Executed 12 queries (2 queries for uncached templates)

Code:
<plugins>
	<plugin active="1">
		<title>Ebay - Member - Cache</title>
		<hookname>cache_templates</hookname>
		<phpcode><![CDATA[$globaltemplates  = array_merge($globaltemplates, array('ebay_main_member','ebay_member',));]]></phpcode>
	</plugin>
</plugins>
Done! 1.0.1 Updated!
Reply With Quote
  #21  
Old 10-05-2005, 08:59 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im lost on this hack.
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 01: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.11894 seconds
  • Memory Usage 2,310KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (4)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
  • (3)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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