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
  #42  
Old 10-31-2005, 04:18 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tokenyank
when an auction is just listed, it doesn't always show up in the 'users' list until some time after... Remember, eBay has HUGE data farms so it will take a bit of time for one server to update them all.. If it isn't there after a few hours, then it could be a problem.
been about 40 hours lol

any ideas what the problem is?

one of my members has over 30 items for sale yet the only thing showing is the random ebay thing
Reply With Quote
  #43  
Old 11-01-2005, 05:55 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured out the random eBay thing and changed my snippet to show nothing if there are no auctions, however there is still a problem. When clicking the link to view someone's eBay auctions, I am told "This member has not given their Ebay ID" even though I had entered a valid ID (with auctions running) into the user's account. Is this also due to the delay mentioned above?
Reply With Quote
  #44  
Old 11-01-2005, 05:58 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does your actuLLY show the auction up cos mine dont
Reply With Quote
  #45  
Old 11-01-2005, 08:36 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xtreme-mobile
does your actuLLY show the auction up cos mine dont
Only "This member has not given their Ebay ID" and that's it.
Reply With Quote
  #46  
Old 11-01-2005, 09:06 PM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The installation and/or snippet must have been generated wrong then...

It is working for me...

Here is an example of a member who has active auctions:
http://www.mumsonline.net/forums/mem...ns&userid=1767

And one that doesn't have any active auctions, thus its displaying most watched items from the 'baby' catagory from ebay.co.uk:
http://www.mumsonline.net/forums/mem...ons&userid=578


Here is my snippet code if it helps you debug your issues... (feel free to use it yourself, it has my affiliate code in it! )
Code:
<script language="JavaScript" src="http://ilapi.ebay.com/ws/eBayISAPI.dll?EKServer&amp;ai=teaodUskda&amp;bdrcolor=666666&amp;cid=0&amp;eksize=1&amp;encode=ISO-8859-1&amp;endcolor=FF0000&amp;endtime=y&amp;fbgcolor=EFEFEF&amp;fntcolor=000000&amp;fs=0&amp;hdrcolor=00FFFF&amp;hdrimage=7&amp;hdrsrch=y&amp;img=y&amp;lnkcolor=0000FF&amp;logo=9&amp;num=25&amp;numbid=y&amp;paypal=n&amp;popup=y&amp;prvd=1&amp;r0=4&amp;shipcost=n&amp;siteid=3&amp;&si=$userinfo[field14]&amp;sort=MetaEndSort&amp;sortby=endtime&amp;sortdir=asc&amp;srchdesc=n&amp;tbgcolor=CCCC99&amp;title=MumsOnline+-+Where+Parents+Talk%21&amp;tlecolor=CC3333&amp;tlefs=0&amp;tlfcolor=FFFFFF&amp;track=1781835&amp;watchcat=2984&amp;width=570"></script>
EDIT:
there is spaces rendering in the above snippet code that are not in the orginal code... Quote this message to get the snippet code as it appears in my ebay_member template
Reply With Quote
  #47  
Old 11-02-2005, 09:28 AM
Marv Marv is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that did the trick :bunny:
Reply With Quote
  #48  
Old 11-02-2005, 01:13 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I finally got it working...

Things I noticed that I had to change...

In the readme, it says

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]
To get it to work, I would have needed it to read like this:
Code:
	**NOTE** When adding your Ebay Sniplet Source Code to the template, find this bit &siteid=whatever and add your profile field after: &si=$userinfo[fieldx]
I had to remove the " vbulletin-> " part
Reply With Quote
  #49  
Old 11-02-2005, 01:48 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is something else I did (integration)

Edit your MEMBERINFO Template

Find

PHP Code:
                  <if condition="$userinfo['showyahoo']">
                    <
tr>
                      <
td>$userinfo[yahooicon]</td>
                      <
td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
                    </
tr>
                    </if>
                 </if>
                 </
table>
             </
fieldset>
            </if> 
or if you have the skype/gt/etc. mods in place
Find:
PHP Code:
                     <tr>
                      <
td>$userinfo[skypeicon]</td>
                      <
td><a href="#" onclick="skypewindow('$userinfo[userid]', 400, 200); return false;">$userinfo[skype]</a></td>
                    </
tr>
                    </if>
                </if>
                </
table>
            </
fieldset>
            </if> 
Add, after:
PHP Code:
            <fieldset class="fieldset">
                <
legend>$vbphrase[miscellaneous]</legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                    <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>
                </
table>
            </
fieldset
Don't forget to replace x with your field number.

Also note that I chose to put this under Contact Info (I do this as I am going to have other things with ebay - for references) - You may want to choose to put this under Addtional Information.
Reply With Quote
  #50  
Old 11-03-2005, 10:50 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the life of me, I am not getting this to work. I have re-generated the snippet a few times, pasted the new code over the old, made the change as per christanb's post, added the memberinfo stuff from his other post, and I keep getting the same error.
Reply With Quote
  #51  
Old 11-04-2005, 09:37 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is it doing?
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:03 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.04784 seconds
  • Memory Usage 2,335KB
  • 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
  • (3)bbcode_code
  • (3)bbcode_php
  • (2)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
  • (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
  • (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