PDA

View Full Version : eBay Integration Mod


Creed
10-02-2005, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=72462).


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.

Colejo
10-03-2005, 12:55 PM
I'm trying this out but I don't see this part in the eBay sniplet:

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

Colejo
10-03-2005, 01:07 PM
I looked at the original hack and I think I have it right now. Thanks.

KidneyBoy
10-03-2005, 01:26 PM
This hack works GREAT. Thanks so much for releasing this great modification!!!

Take it easy
KidneyBoy

Colejo
10-03-2005, 01:56 PM
Is there a way to get that same ebay icon that is in the postbit to show up in the other locations that the yahoo and aim icons show up?
And how about a way to list all of your users with ebay auctions on one page?

The Realist
10-03-2005, 04:19 PM
Ok finally got this to work.

When you create the ebay snippet find this in the code "siteid=" and replace it with this "si=$userinfo[fieldX]"

Remember to change the X to what your userfield is.

laters

Creed
10-03-2005, 04:19 PM
Sorry, should have clarified that a bit more.

The Realist
10-03-2005, 04:45 PM
Well I thought I did but all I get is a blank page with just a search bar?

Anyone?

Ok finally got this to work.

When you create the ebay snippet find this in the code "siteid=" and replace it with this "si=$userinfo[fieldX]"

Remember to change the X to what your userfield is.

laters

Vizionz
10-03-2005, 05:51 PM
nevermind that ..

is this stable and works ?

Creed
10-03-2005, 09:53 PM
Well I thought I did but all I get is a blank page with just a search bar?

Anyone?

That would mean whatever user's profile you were viewing doesn't have any current auctions.

Creed
10-03-2005, 09:53 PM
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 :)

The Realist
10-04-2005, 01:43 PM
But I have setup an auction for myself and using that as an example.

Laters

That would mean whatever user's profile you were viewing doesn't have any current auctions.

Zachariah
10-04-2005, 01:54 PM
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.

The Realist
10-04-2005, 01:59 PM
2 places where?

Zachariah
10-04-2005, 02:03 PM
2 places in what?

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>

The Realist
10-04-2005, 02:10 PM
But my snippet from Ebay says this: &siteid=0

Not this: &si=

Laters

Zachariah
10-04-2005, 05:58 PM
@ Creed
Add this to your XML file.

Executed 12 queries (2 queries for uncached templates)

<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>

csidlernet
10-05-2005, 02:35 AM
thankyou this'll work fine!
/me hits install

Creed
10-05-2005, 06:20 AM
@ Creed
Add this to your XML file.

Executed 12 queries (2 queries for uncached templates)

<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!

The Realist
10-05-2005, 08:59 AM
Im lost on this hack.

Milez
10-05-2005, 01:35 PM
This hack would kick butt if the webmaster could integrate his ebay affiliate link into the auctions...This way you would get revenue off users who actually click through and bid. Can't be too hard to do this.

Just a suggestion ;)

tokenyank
10-05-2005, 04:11 PM
I have this running for 3.0.8 and as soon as the Trader Ratings hack is ported to 3.5, I'll be upgrading so this being done makes me :D

But, will my exsisting 3.0.8 ebay postbit enteries be the same, or will the users have to re-edit their profile to put in their name again?

This hack would kick butt if the webmaster could integrate his ebay affiliate link into the auctions...This way you would get revenue off users who actually click through and bid. Can't be too hard to do this.

Just a suggestion ;)
I've already done this (and the same on the hack where people can put their feedback in the postbit) and it's earnt me a whole ?6! :D

Creed
10-05-2005, 06:37 PM
This hack would kick butt if the webmaster could integrate his ebay affiliate link into the auctions...This way you would get revenue off users who actually click through and bid. Can't be too hard to do this.

Just a suggestion ;)


I'll see what I can do.

pcoskat
10-06-2005, 06:46 PM
2 places in what?

If I am an ebay affiliate, will my ID be somehow integrated into this?
(If so, this will be awesome!)

Magma
10-06-2005, 07:51 PM
I installed the hack, went through this whole thread and I still dont have it showing up, could it be im using a custom style?

I edited all my files as said, still wont show up in the postbit, I do use the old style post bit as well not the new one would that make a difference?

Creed
10-06-2005, 09:14 PM
If I am an ebay affiliate, will my ID be somehow integrated into this?
(If so, this will be awesome!)


Not yet, but I am currently working on that.

I installed the hack, went through this whole thread and I still dont have it showing up, could it be im using a custom style?

I edited all my files as said, still wont show up in the postbit, I do use the old style post bit as well not the new one would that make a difference?


There should not be a problem, I as well use postbit legacy.

Magma
10-06-2005, 11:11 PM
Ya should there not be an Icon of some sort beside the yahoo icon? because I dont have anything

spaghie
10-06-2005, 11:48 PM
Great mod! thank you so much!!
(clicked install).

tokenyank
10-07-2005, 11:36 AM
Not yet, but I am currently working on that.

Erm... When making your snippet code, if you put at the bottom of the form your Commission Junction ID, the code that the Snippet Creator makes will already have your affiliate link embedded into the code.

Nothing that you, the hack maker, has to do... It's merely down to the user having an affiliate account...

Creed
10-07-2005, 04:00 PM
The problem was, I wasn't sure how the affiliate id worked, as I'm not an eBay affiliate. I'll update the readme with that information. Thanks

Colejo
10-08-2005, 06:20 AM
I wanted this to show up in the Member's list so I added this to the memberlist_resultbit template. I haven't done this long so if there is a better way please let me know.

<if condition="$userinfo[field12] != ''"><a href="member.php?&do=memberauctions&userid=$userinfo[userid]"><img src="images/misc/ebay.gif" border="0" title="$userinfo[field12]" align="center"/></a></if>

pcoskat
10-14-2005, 04:18 AM
The problem was, I wasn't sure how the affiliate id worked, as I'm not an eBay affiliate. I'll update the readme with that information. Thanks

Creed, I'll be keeping an eye out for the affiliate addition. That will be great.

I've been using an Amazon.com hack on my site that has upped sales: any time someone posts an Amazon link, it automatically adds my affiliate id.

Get your hack going for eBay in the same way, and that will be WAY cool!

MRGTB
10-28-2005, 04:07 PM
the file for download is corrupted when you try to unzip it with winrar

silurius
10-28-2005, 05:15 PM
I agree that adding the affiliate stuff would elevate this cool hack quite a bit. One other thought occurs to me. How to ensure that the user is entering their own eBay ID? With no authentication, I can see the potential for abuse.

Edit: So I got this working and it's great, only when I go to the member's auctions I just see random auctions. Secondly, I could not get this to work by entering the eBay ID into the profile via the admincp, only via the usercp (says that the user did not specify a member ID).

Creed
10-29-2005, 05:48 PM
the file for download is corrupted when you try to unzip it with winrar

It was created using winzip 9, which has new compression I'll reup it using winrar to zip it.

xtreme-mobile
10-30-2005, 10:20 AM
ok ive installed this and can see the ebay icon and when i clik it it shows a banner with a load of crap in it? is taht right?

ill upload screenie in a min

Creed
10-30-2005, 03:19 PM
Unless the user currently has auctions running, thats generally what is displayed. Usually an add, etc. That is customizable using the ebay snipet.

xtreme-mobile
10-30-2005, 03:50 PM
ok thanks mate for the reply

very neat hack by the way ;)

xtreme-mobile
10-30-2005, 04:03 PM
ok ive just added a auction on ebay and its not showing up on my list in the hack any one know why this would not be showing? Creed?

cheers

tokenyank
10-30-2005, 10:34 PM
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.

As the the affiliate thing, just to re-iterate, if you have a Commision Junction account, when you generate snippet, simply add your PID to the options before you render the code... It'll automatically embed your eBay affiliate code to the snippet code... Add the snippet code to your template as per instructions and Bob's your uncle.

(Oh, and yes, depending on how you configure the snippet, if the member isn't currently running an auction, it'll display random auctions, auctions from a defined catagory, or just a blank box with an ebay ad in it... If you don't like what it looks like, rebuild your snippet)

xtreme-mobile
10-31-2005, 04:18 PM
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
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/member.php?&do=memberauctions&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/member.php?&do=memberauctions&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! ;) )

<script language="JavaScript" src="http://ilapi.ebay.com/ws/eBayISAPI.dll?EKServer&amp;ai=teaodUskda&amp;bdrcolor=6666 66&amp;cid=0&amp;eksize=1&amp;encode=ISO-8859-1&amp;endcolor=FF0000&amp;endtime=y&amp;fbgcolor=EFEFEF&amp;fntcol or=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;pay pal=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;srchd esc=n&amp;tbgcolor=CCCC99&amp;title=MumsOnline+-+Where+Parents+Talk%21&amp;tlecolor=CC3333&amp;tlefs=0&amp;tlf color=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

**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:
**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

<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:
<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:
<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 (https://vborg.vbsupport.ru/showpost.php?p=810756&postcount=47), added the memberinfo stuff from his other post (https://vborg.vbsupport.ru/showpost.php?p=810779&postcount=48), and I keep getting the same error.

davidw
11-04-2005, 09:37 AM
What is it doing?

davidw
11-04-2005, 09:44 AM
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?If this is what you are referring to, when you have it in there unmodified (not sure how you modified it), there should be a search box rather than auctions showing if that member has no auctions. If you go to my site, find a post I made and click on the ebay logo, you'll see what I mean.

Also, don't forget your field values (I know I forgot a couple times while redoing the hack).

nine45
11-04-2005, 10:59 AM
I know this question has been asked by I could not find a difinitive answer, this was working for a day or so and now all of a sudden this appears when viewing members Ebay ID

This member has not given their Ebay ID

This is my snipplet that I am using:
<script language="JavaScript" src="http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=ny%7eu%24%25&bdrcolor=FFCC00&cid=0&eksize=1&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=FFFFFF&fntcolor=000000&fs=0&hdrcolor=FFFFCC&hdrimage=1&hdrsrch=n&img=y&lnkcolor=0000FF&logo=2&num=25&numbid=y&paypal=y&popup=y&prvd=0&r0=3&shipcost=y&siteid=0&si=$userinfo[field12]&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=n&tbgcolor=FFFFFF&title=SF+Members&tlecolor=FFCE63&tlefs=0&tlfcolor=000000&track=&width=570"></script>
Help

jellybaby
11-04-2005, 02:59 PM
I have the prices coming up in $ instead of £ can anyone tell me how it goes to ebay.co.uk instead of ebay.com please

silurius
11-04-2005, 04:26 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?
If this is what you are referring to, when you have it in there unmodified (not sure how you modified it), there should be a search box rather than auctions showing if that member has no auctions. If you go to my site, find a post I made and click on the ebay logo, you'll see what I mean.
Correct, this is what I was referring to. No search box, just that message in red bold letters.
Also, don't forget your field values (I know I forgot a couple times while redoing the hack).

Yes my field values are correct. I just combed through them again.

Here is what is in my MEMBERINFO template:
<fieldset class="fieldset">
<legend>$vbphrase[miscellaneous]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$post['field20']"><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>
This is in my postbit: <if condition="$post['field20']"><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>
And this is in my ebay_member:
<script language="JavaScript" src="http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&amp;ai=fwjl%7dyvyrwv%7dk&amp;bdrcol or=000000&amp;cid=0&amp;eksize=5&amp;encode=ISO-8859-1&amp;endcolor=FF0000&amp;endtime=y&amp;fbgcolor=8CAA6E&amp;fntcol or=000000&amp;fs=0&amp;hdrcolor=8CAA6E&amp;hdrimage=1&amp;hdrsrch= n&amp;img=y&amp;lnkcolor=000000&amp;logo=3&amp;num=25&amp;numbid=y&amp;pay pal=n&amp;popup=y&amp;prvd=0&amp;r0=4&amp;shipcost=n&amp;siteid=0&si=$userinfo[field20]&amp;sort=MetaEndSort&amp;sortby=endtime&amp;sortdir=asc&amp;srchd esc=n&amp;tbgcolor=F5F5FF&amp;tlecolor=FFCE63&amp;tlefs=0&amp;tlfc olor=000000&amp;track=&amp;width=570"></script>

nine45
11-04-2005, 09:54 PM
Same here, just red bold letters stating "This member has not given their Ebay ID"

And I have triple checked everything. It did work now it has stopped working.

nine45
11-04-2005, 10:15 PM
I don't know if this helps anyone to debug this but here goes, I entered my Ebay UserID into my profile and hey presto I can see my forum members auctions, then I took out my userID in my userCP, and guess what...the red wording about members iD's again, went back to my userCP entered my Ebay ID and then I could see my forums members auctions....me thinks there is a connection there.

jellybaby
11-06-2005, 04:08 PM
I have the same problem. If I take my userID out of my profile then I get "This member has not given their Ebay ID". However, if I take my name out of my profile I get a box with an ad (even on those that I know have live auctions!)

xtreme-mobile
11-06-2005, 04:15 PM
ive had to uninstal this :(

jellybaby
11-10-2005, 01:59 PM
Has anyone got this working properly?

silurius
11-10-2005, 05:52 PM
Sounds like it was working in some cases, but a bug managed to surface just when Creed stepped away from vB stuff for a while. I assume he'll be back shortly.

davidw
11-11-2005, 02:28 PM
Here's something I just noticed.

When viewing a member's auctions, I can see it just fine. However, when I log in as a member, rather than admin, the same screen pulls "This member has not given their Ebay ID"


And for the record... its not set to private field either

davidw
11-12-2005, 01:02 PM
FIXED IT - at least on my site.

I got to thinking about it earlier - about the last post - so I went to the user profile settings - I changed it to make it a private field. And this worked.

So that tells me there is something that is in the code that is reversing the permissions. Now as any member, I can click on the ebay and pull up the auctions, aside from the admin view.

jellybaby
11-12-2005, 02:46 PM
Didnt work for me Im still getting this:

This member has not given their Ebay ID

ztempuser
11-13-2005, 05:55 AM
im lost on the whole thing can someone please help

ztempuser
11-13-2005, 06:52 AM
i got all the step the two steps below. how do i do them?
1. Create a new User Profile Field for eBay Username. Make sure to remember the field number.

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]

jellybaby
11-13-2005, 12:55 PM
You do the new user profile ID in your admin CP and the say with the edit on the template.

At the moment though it would appear that its not working for most of us :disappointed:

davidw
11-13-2005, 05:59 PM
i got all the step the two steps below. how do i do them?
1. Create a new User Profile Field for eBay Username. Make sure to remember the field number.

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]User profile field is in the AdminCP (left side) User Profile Fields - create a new user profile area - doesn't matter how its set up as long as the user knows that the area is for inputting ebay user ID.

I've got mine set up as follows

Title - eBay Username

Description - This is your eBay Username

Max length of allowed user input - 100

Display Size -25

Profile Field Type ? Single-Line Text Box

Display Order ? 5

Field Required ? No

Field Editable by User ? Yes

Private Field ? Yes (do to reasons I stated before this post ? others will vary)

Field Searchable on Members List ? No

Show on Members List ? Yes


Don't use the "vbulletin->" part (take out that part of the code. Should be &si=$userinfo[fieldx]

silurius, did you get your issue figured out?

silurius
11-13-2005, 08:47 PM
silurius, did you get your issue figured out?
No, unfortunately the private field workaround didn't have a noticeable impact on my issue.

davidw
11-13-2005, 09:28 PM
Can you post your sniplet code?

ztempuser
11-13-2005, 09:45 PM
i got it all done but thie step

2. Edit ebay_member Template, replace with your new 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]

where is ebay_members?

davidw
11-13-2005, 09:59 PM
i got it all done but thie step

2. Edit ebay_member Template, replace with your new 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]

where is ebay_members?AdminCP --> Styles and Templates --> Style Manager --> Edit Templates --> ebay_member template

ztempuser
11-14-2005, 02:06 AM
i don't have that file where do i get it from? it was not in the zip

davidw
11-14-2005, 02:13 AM
It's created when you install the product. If it doesn't create it, you may need to reinstall it.

silurius
11-14-2005, 03:00 AM
Can you post your sniplet code?

Here's the code (https://vborg.vbsupport.ru/showpost.php?p=812557&postcount=54).

davidw
11-14-2005, 11:35 AM
Actually, the code I was referring to looks like this:

<script language="JavaScript" src="http://ilapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=cuotnit%7cs0%7erpmhitsz&bdrcolor=FFCC00&cid=0&eksize=1&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=FFFFFF&fntcolor=000000&fs=0&hdrcolor=FFFFCC&hdrimage=1&hdrsrch=y&img=y&lnkcolor=0000FF&logo=1&num=10&numbid=y&paypal=y&popup=y&prvd=0&r0=3&shipcost=y&siteid=0&si=$userinfo[field11]&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=n&tbgcolor=FFFFFF&tlecolor=FFCE63&tlefs=0&tlfcolor=000000&track=&width=700"></script>

silurius
11-14-2005, 08:07 PM
Yeah exactly, that was my third code paste in that post (https://vborg.vbsupport.ru/showpost.php?p=812557&postcount=54):
<script language="JavaScript" src="http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&amp;ai=fwjl%7dyvyrwv%7dk&amp;bdrcol or=000000&amp;cid=0&amp;eksize=5&amp;encode=ISO-8859-1&amp;endcolor=FF0000&amp;endtime=y&amp;fbgcolor=8CAA6E&amp;fntcol or=000000&amp;fs=0&amp;hdrcolor=8CAA6E&amp;hdrimage=1&amp;hdrsrch= n&amp;img=y&amp;lnkcolor=000000&amp;logo=3&amp;num=25&amp;numbid=y&amp;pay pal=n&amp;popup=y&amp;prvd=0&amp;r0=4&amp;shipcost=n&amp;siteid=0&si=$userinfo[field20]&amp;sort=MetaEndSort&amp;sortby=endtime&amp;sortdir=asc&amp;srchd esc=n&amp;tbgcolor=F5F5FF&amp;tlecolor=FFCE63&amp;tlefs=0&amp;tlfc olor=000000&amp;track=&amp;width=570"></script>

davidw
11-14-2005, 08:47 PM
Sorry, didn't see that :P

I see you've got the &amp issue on your script.

Edit: try copying my sniplet and changing your field where appliccable.

fiber_cut
11-19-2005, 04:22 AM
I have doen this exactly as it says andI cannot get this to work.. I cant get any field to show up.

fiber_cut
11-19-2005, 05:00 AM
I jsut kep getting this -

This member has not given their Ebay ID

fiber_cut
11-19-2005, 05:03 AM
Didnt work for me Im still getting this:

This member has not given their Ebay ID


Any fix for this yet?

I still get the above.. I have changed it to private and non private and still no go..

fiber_cut
11-19-2005, 05:48 AM
Figured out the issue with the red letters but now I cant see anyones auction when I click their ebay name.. If Ipull my name out it works and if I leave it in it doesnt..

Tulsa
11-19-2005, 04:34 PM
This not having an ebay id is related to having something in your own profile to view the others.

Question is there something you can put in this field by default that won't generate the eBay pic in the postbit for users who do not sell on ebay?

Tulsa
11-19-2005, 04:55 PM
Try this someone, anyone.

When you do not enter an ebay name in your own usercp profile then you see the screen that the user does not have a valid ebay name. So copy your ebay_member template and paste this into the ebay_no_member template. Basically you end up with these two templates mirroring each other.

I can't say I'm sure what you're defeating by doing this but it allows people who have not entered an ebay user name into their usercp to see the others who have entered their ebay names.

fiber_cut
11-19-2005, 05:10 PM
This not having an ebay id is related to having something in your own profile to view the others.

Question is there something you can put in this field by default that won't generate the eBay pic in the postbit for users who do not sell on ebay?

If you dont add your ebay user id it doesnt add the ebay graphic in your post bit. I fyuo do have an ebay id then it adds it hence -

<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></div>

If this condiftion is met then it adds it to the post bit, If it isnt met the graphic is not displayed.

Tulsa
11-19-2005, 05:15 PM
The graphic wasn't the issue. The issue was when a user did not enter an ebay id they would not be able to see the auctions of the users who had. It was only displaying "This member has not given their Ebay ID", which is coming from the ebay_no_member template that was created when the xml file was imported.

What really needs to happen is that ebay_no_member template needs to just go away.

fiber_cut
11-19-2005, 05:17 PM
Try this someone, anyone.

When you do not enter an ebay name in your own usercp profile then you see the screen that the user does not have a valid ebay name. So copy your ebay_member template and paste this into the ebay_no_member template. Basically you end up with these two templates mirroring each other.

I can't say I'm sure what you're defeating by doing this but it allows people who have not entered an ebay user name into their usercp to see the others who have entered their ebay names.

This didnt make a difference for me

Tulsa
11-19-2005, 05:21 PM
This didnt make a difference for me

Well it is a cheesy work-around but it's working perfectly for my board. I can't say why it is working for me and not you. I'm certainly no code guru.

fiber_cut
11-19-2005, 05:23 PM
Are you using 3.5.1 or 3.5.0?

Tulsa
11-19-2005, 05:29 PM
3.5.0

fiber_cut
11-19-2005, 05:32 PM
Ahh that would explain it then, Wait till you upgrade to 3.5.1 it wont work. But you definatly want to 3.5.1 due to the holes in the board.

Tulsa
11-19-2005, 05:50 PM
Ah, leaking like a sieve is it? I just have a small little place with about 1700 members doing about 250 to 300 posts a day. Not open to the general public.

Ted S
11-27-2005, 03:57 AM
Ok everyone, I think I tracked down the issue... Basically it would appear the default code is calling an array that deals with the specific user (i.e. who you are logged in as) rather than the user you are looking up info on. That's why it works if you view your own auctions but not if you view them as another member who doesn't have any auctions setup.

Open up ebay_hack.xml and scroll down until you reach the member_complete hook. Look for the line:

if ($vbulletin->userinfo['field38'])

And change it to:

if ($userinfo['field38'])

Save the file and upload it.

Alternatively, if you already have this plugin installed, go to your plugin manager, locate the plugin "Ebay - Member - Bit" and make the same one line modification I just described there instead.

Hopefully that does the trick for everyone until the coder has a minute to come back and fix this up himself.

jellybaby
11-29-2005, 02:12 PM
That still doesnt work for me, should it work on 3.5.1?

C.Birch
12-03-2005, 01:47 PM
my users are reporting that sometimes the icon shows and then other times it dont show.

funinthesun
12-03-2005, 06:37 PM
Does anyone have a screenshot?

jellybaby
12-06-2005, 09:18 AM
Does anyone actually have it working

AWI
12-09-2005, 05:03 AM
Installed on 3.5.2 and works fine, also added the Memberinfo add from Christianb...much thanks to you both. If I have any problems I will report.

VBUsers
12-20-2005, 04:44 PM
the snipet creator link does not work and when i try to connect to the ebay link i have set in my profile it sends me to a page on my site with the link to my ebay auction. no hyperlink just the text of the url. is there a way to fix this issue? ive been trying to get this link to work but no go.

never mind i got it to work. instead of a link in your profile just put your login name and change the field in the snipet code and your good to go. if anyone needs help ill be here

kofoid
12-27-2005, 06:05 PM
Why is it that only admins can see the link in the postbit?

AquilaEagle
12-27-2005, 09:56 PM
Would like to see an example :)

ryans
12-28-2005, 03:01 AM
I got the ebay code but there is no si= in it.

Mickie D
12-28-2005, 07:26 AM
I got the ebay code but there is no si= in it.


this hack is a nightmare i had to re-write it to suit my needs :(

i will not work anyway because its using a built in condition that works when you view your own store, if you try and view another store you will get this member does not have a store and unless anyone knows the built in condition that will make eveyone view stores the same then i had to completely change the whole process...

and the method i used uses browser refering (very crap way because firewalls block many people from showing where they came from)


but what you want is to change "query=" (when you get the latest code from ebay editor kit) to "si=$vbulletin->userinfo[fieldx]" that will allow you to call the members sales and not the searching of items

but it wont work correctly eitherway :(

maybe you could call the database with a where clause for the field5 in the userfield table but im crap with mysql so hopefully someone has a go with this


Regards
Mickie D

LBSources
01-14-2006, 12:44 AM
Working for me 3.5.3

snippet code im using is
<script language="JavaScript" src="http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=ny%7eu%24%25&bdrcolor=FFCC00&cid=0&eksize=1&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=FFFFFF&fntcolor=000000&fs=0&hdrcolor=FFFFCC&hdrimage=1&hdrsrch=n&img=y&lnkcolor=0000FF&logo=2&num=25&numbid=y&paypal=y&popup=y&prvd=0&r0=3&shipcost=y&siteid=0&si=$userinfo[field7]&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=n&tbgcolor=FFFFFF&title=SF+Members&tlecolor=FFCE63&tlefs=0&tlfcolor=000000&track=&width=570"></script>

and christian's code here: https://vborg.vbsupport.ru/showpost.php?p=810779&postcount=48 woked for my memberinfo template..

no other changes made.. an example can be seen on my site .. see my sig..

Tip! Just thought id tip you guys off.. if you are like me using the 'First Post On Every Page" hack, youll need to edit the postbit template and the postbit_first template..

HTH

Lenny :)

LBSources
01-18-2006, 11:29 PM
is everyones ebay hack still working? mine mysteriously stopped working.. hmm

LBSources
01-22-2006, 04:13 PM
wow.. not 1 single response? a simple yes or no? is that hard these days? just conversation that hard? wow ..

davidw
01-22-2006, 08:16 PM
I'll have to look at mine later to see if it works - I've put a lot of stuff on the back burner lately.

OAndrea
03-14-2006, 03:11 AM
snippet link isn't working for me so I am at a standstill.

Tim Wheatley
04-03-2006, 03:22 PM
Working for me 3.5.3

snippet code im using is
<script language="JavaScript" src="http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=ny%7eu%24%25&bdrcolor=FFCC00&cid=0&eksize=1&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=FFFFFF&fntcolor=000000&fs=0&hdrcolor=FFFFCC&hdrimage=1&hdrsrch=n&img=y&lnkcolor=0000FF&logo=2&num=25&numbid=y&paypal=y&popup=y&prvd=0&r0=3&shipcost=y&siteid=0&si=$userinfo[field7]&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=n&tbgcolor=FFFFFF&title=SF+Members&tlecolor=FFCE63&tlefs=0&tlfcolor=000000&track=&width=570"></script>

and christian's code here: https://vborg.vbsupport.ru/showpost.php?p=810779&postcount=48 woked for my memberinfo template..

no other changes made.. an example can be seen on my site .. see my sig..

Tip! Just thought id tip you guys off.. if you are like me using the 'First Post On Every Page" hack, youll need to edit the postbit template and the postbit_first template..

HTH

Lenny :)

That works perfect for me with 3.5.4, thanks.

totenmaske
12-31-2006, 05:53 AM
Installed...Cool Mod!

I have one question though. I had the eBay Username showing up under Additional Information because of the "$customfields" variable. I replaced "$customfields" with the following (which is working just fine):

<if condition="$post['field5']">
<tr>
<td><strong>View Member's eBay Listings</strong>:<br />(<a href="member.php?&do=memberauctions&userid=$post[userid]">$post[field5]</a>)
</td>
</tr>
</if>


However I've been playing around with IF/ELSE statements trying to get the eBay link to show up ONLY IF there is a userid AND I would like to show all other "$customfields" ONLY IF they are not field 5...

michaelsilvia
01-03-2007, 04:15 AM
Maybe the "Supported" should be unchecked. I haven't seen Creed post a reply in 5 pages.

Has anyone gotten this to work with the Affiliate Code embedded?

Mike

interfx
01-05-2007, 10:59 PM
Anyone have this working with 3.6.4?

brookelyn
03-12-2007, 06:20 AM
I am really interested in this as well AND am willing to pay

davidw
03-12-2007, 11:24 AM
I may come up with something as my members use this and the current one doesn't work well. Keep a watch out.