vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   eBay Integration Mod (https://vborg.vbsupport.ru/showthread.php?t=97450)

xtreme-mobile 10-31-2005 04:18 PM

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

silurius 11-01-2005 05:55 PM

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?

xtreme-mobile 11-01-2005 05:58 PM

does your actuLLY show the auction up cos mine dont :(

silurius 11-01-2005 08:36 PM

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.

tokenyank 11-01-2005 09:06 PM

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

Marv 11-02-2005 09:28 AM

that did the trick :bunny:

davidw 11-02-2005 01:13 PM

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

davidw 11-02-2005 01:48 PM

This is something else I did (integration) :D

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.

silurius 11-03-2005 10:50 PM

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.

davidw 11-04-2005 09:37 AM

What is it doing?


All times are GMT. The time now is 09:15 AM.

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.01146 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete