Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add eBay Image and Username to PostBit Details »»
Add eBay Image and Username to PostBit
Version: 1.00, by bigcurt bigcurt is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 07-19-2005 Last Update: Never Installs: 12
Template Edits
 
No support by the author.

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 12-04-2005, 12:34 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod!!!

Thanks!
Reply With Quote
  #23  
Old 12-14-2005, 07:53 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigcurt
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.
Sorry I didnt see this earlier.. Yes, my name is mike. And thanks for the compliment.
Reply With Quote
  #24  
Old 12-14-2005, 07:58 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Za4a Tuner
Actually, I had to change it to this:
Code:
<if condition="$post['fieldX']">
<a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=$post[fieldX]" target="_blank"><img src="$stylevar[imgdir_misc]/ebay.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[view_ebay_profile]</phrase>" border="0" /></a>
</if>
And then it worked perfectly.
Reply With Quote
  #25  
Old 09-29-2007, 10:47 PM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mholtum View Post
Code:
<if condition="$post['fieldX']">
<a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=$post[fieldX]" target="_blank"><img src="$stylevar[imgdir_misc]/ebay.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[view_ebay_profile]</phrase>" border="0" /></a>
</if>
And then it worked perfectly.

I was just going to say this. In order for it to work you have to change

HTML Code:
<a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=$userinfo[fieldX] 
TO

HTML Code:
<a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=$post[fieldX]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04051 seconds
  • Memory Usage 2,252KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete