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)

Creed 10-03-2005 09:53 PM

Quote:

Originally Posted by Vizionz
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

Quote:

Originally Posted by Creed
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?

Quote:

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)

Code:

<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

Quote:

Originally Posted by Zachariah
@ Creed
Add this to your XML file.

Executed 12 queries (2 queries for uncached templates)

Code:

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


All times are GMT. The time now is 08:45 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.01090 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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