davidw
05-07-2007, 10:00 PM
This little hack will allow you and your members to access your ebay information and do other functions from within your website. It is a very small and light on features hack and later I might add to it.
Step 1: Upload vbebay.php to your root (example http://www.yoursite.com/vbebay.php )
Step 2: Add a profile field.
Go to your admincp => User Profile Fields => Add New User Profile Field => Single-Line Text Box => [Continue]
Title = Your ebay username
Description = This is your eBay Username
Default Value = blank
Max length of allowed user input = 100
Field Length = 40
Display Order = your choice
Field Required = No
Field Editable by User = Yes
Private Field = your choice
Field Searchable on Members List = your choice
Show on Members List = your choice
Which page displays this option? = Edit Profile
Go to the User Profile Field Manager and find the field number corresponding to the profile field you just created.
Step 3: Edit the product:
Find both instances of fieldxx and replace xx with the field number you just got from the recently created profile field number.
Step 4: Import the product.
Go to Plugins & Products => Manage Products => Add/Import Product
Step 5: (Optional navigation bar insertion)
Go to Styles & Templates => Style Manager => Style Choice Drop down All Style Options and choose Edit Templates - Click Go.
Navigation / Breadcrumb Templates >> => navbar
Find:
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Add after:
<td class="vbmenu_control"><a href="vbebay.php$session[sessionurl_q]">vB eBay</a></td>
Step 1: Upload vbebay.php to your root (example http://www.yoursite.com/vbebay.php )
Step 2: Add a profile field.
Go to your admincp => User Profile Fields => Add New User Profile Field => Single-Line Text Box => [Continue]
Title = Your ebay username
Description = This is your eBay Username
Default Value = blank
Max length of allowed user input = 100
Field Length = 40
Display Order = your choice
Field Required = No
Field Editable by User = Yes
Private Field = your choice
Field Searchable on Members List = your choice
Show on Members List = your choice
Which page displays this option? = Edit Profile
Go to the User Profile Field Manager and find the field number corresponding to the profile field you just created.
Step 3: Edit the product:
Find both instances of fieldxx and replace xx with the field number you just got from the recently created profile field number.
Step 4: Import the product.
Go to Plugins & Products => Manage Products => Add/Import Product
Step 5: (Optional navigation bar insertion)
Go to Styles & Templates => Style Manager => Style Choice Drop down All Style Options and choose Edit Templates - Click Go.
Navigation / Breadcrumb Templates >> => navbar
Find:
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Add after:
<td class="vbmenu_control"><a href="vbebay.php$session[sessionurl_q]">vB eBay</a></td>