vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Add eBay Image and Username to PostBit (https://vborg.vbsupport.ru/showthread.php?t=92563)

bigcurt 07-19-2005 10:00 PM

Add eBay Image and Username to PostBit
 
Sup guys and Gals, this is my second template mod, I am not too experience, I just knew this could be done and I thought alot of people would like it. I am going to include the instrictions here and also in a zip file attached, this should work for all vB3 versions, It has only been tested with 3.0.3 but it will work for all other versions, I am not sure about 3.5 sorry. Well, here we go

First Thing
---------------------
Go to your admin cp and make a 1 line profile field entitled eBay Username
**Make sure you remember what field it is under. ( after you make it, out to the right of it it will say Field1, 2, 3, ect..( mine is Field9 ) After that is done go in your profile and enter your eBay username


Second
---------------------
In template postbit_legacy or postbit:

Find
Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]

After Add:
Code:

<if condition="$post['fieldX']">
<a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=$userinfo[fieldX]" target="_blank"><img src="$stylevar[imgdir_misc]/ebay.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[view_ebay_profile]</phrase>" border="0" /></a>
</if>

Make sure you replace "X" with your field ID number.

Third
--------------
Upload the image attached to your skins folder/misc.


Fourth and Final
------------------
Creat a new PHRASE

Varname= view_ebay_profile

Text in it= View users eBay profile

-----------------------------------------------------------------------


Well, I believe thats it, more than likely I missed something..just tell me if you have any problems I will be HAPPY to help you. Below are attached screenshot and eBay Image

When everything is said and done, your ebay name will be in your postbit and when clicked it links to the persons feedback page :)

Happy modding :). Please remember to click install if you use this.

p.s. I am sure there is a easier way to do this because there are TONS of different ways, this is just the wya I did it, make sure to tell me if you liked it :)

Thanks
~Curt

mholtum 07-20-2005 05:35 PM

Seems to display correctly, but when clicked:
Quote:

User ID invalid
The user ID you entered was not found. Please check the User ID and try again .

Note: If you only know the eBay member's email address, you must first look up their User ID.
Learn more about this policy.

mholtum 07-20-2005 05:41 PM

Nevermind. Fixed it

bigcurt 07-20-2005 06:21 PM

Great man, thanks for the install..is your name mike? I thought it was but im not sure :P. Ya site looks great too man.

Lyricsmama 07-21-2005 12:05 AM

Thanks :) super easy

bigcurt 07-21-2005 08:43 PM

Noo problem :).

totenmaske 07-28-2005 02:10 AM

Thanks for the cool mod!

bigcurt 07-30-2005 12:07 PM

Not a problemo budio :).

~curt

Za4a Tuner 08-28-2005 05:52 PM

Hy @ all
I'm using vb 3.08.
I can't find
Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]
in postbit or postbit_legacy

Does anyone know where i have to search @ v3.08?

bigcurt 08-31-2005 08:33 PM

Its in there for all vB versions 3.0.X just look harder :)



~Curt


All times are GMT. The time now is 01:46 PM.

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.01075 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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