View Single Post
  #54  
Old 11-04-2005, 04:26 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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&amp;ai=fwjl%7dyvyrwv%7dk&amp;bdrcolor=000000&amp;cid=0&amp;eksize=5&amp;encode=ISO-8859-1&amp;endcolor=FF0000&amp;endtime=y&amp;fbgcolor=8CAA6E&amp;fntcolor=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;paypal=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;srchdesc=n&amp;tbgcolor=F5F5FF&amp;tlecolor=FFCE63&amp;tlefs=0&amp;tlfcolor=000000&amp;track=&amp;width=570"></script>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01287 seconds
  • Memory Usage 1,775KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete