Quote:
Originally Posted by christianb
Quote:
Originally Posted by silurius
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.
Quote:
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:
Code:
<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:
Code:
<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:
Code:
<script language="JavaScript" src="http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=fwjl%7dyvyrwv%7dk&bdrcolor=000000&cid=0&eksize=5&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=8CAA6E&fntcolor=000000&fs=0&hdrcolor=8CAA6E&hdrimage=1&hdrsrch=n&img=y&lnkcolor=000000&logo=3&num=25&numbid=y&paypal=n&popup=y&prvd=0&r0=4&shipcost=n&siteid=0&si=$userinfo[field20]&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=n&tbgcolor=F5F5FF&tlecolor=FFCE63&tlefs=0&tlfcolor=000000&track=&width=570"></script>