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

djjeffa 11-16-2005 11:10 PM

can we get this for 3.5 ?

Realm of Horror Comics 11-20-2005 10:35 PM

Quote:

Originally Posted by mholtum
Nevermind. Fixed it

How did you fix it?

Realm of Horror Comics 11-21-2005 02:19 PM

Can someone help me with this?

Many thanks!

Realm of Horror Comics 11-23-2005 10:07 PM

Someone, please??

Tony G 11-23-2005 11:17 PM

What exactly is the problem? I don't understand.

Realm of Horror Comics 11-24-2005 03:19 AM

Quote:

Originally Posted by Tony G
What exactly is the problem? I don't understand.

I'm having this problem:

https://vborg.vbsupport.ru/showpost.php?p=739034&postcount=2

bigcurt 11-25-2005 04:19 AM

Make sure you filled in your ebay username in the new profile field you made :)

Realm of Horror Comics 11-25-2005 09:37 PM

Quote:

Originally Posted by bigcurt
Make sure you filled in your ebay username in the new profile field you made :)

Yup, I've done everything including that, but it still wont work.

Za4a Tuner 11-26-2005 05:09 AM

Quote:

Originally Posted by djjeffa
can we get this for 3.5 ?

Hy djjeffa,
it does work with 3.5.x
only chance
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>

by
Code:

<if condition="$post['fieldX']">
<a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback$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>


djjeffa 11-26-2005 06:22 PM

Quote:

Originally Posted by Za4a Tuner
Hy djjeffa,
it does work with 3.5.x
only chance
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>

by
Code:

<if condition="$post['fieldX']">
<a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback$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>


that didnt work for me but this did
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>


RichieBoy67 12-04-2005 12:34 PM

Great Mod!!!

Thanks!

mholtum 12-14-2005 07:53 AM

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.

mholtum 12-14-2005 07:58 AM

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.

ChU v2 09-29-2007 10:47 PM

Quote:

Originally Posted by mholtum (Post 848349)
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]


All times are GMT. The time now is 04:43 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.01252 seconds
  • Memory Usage 1,774KB
  • 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
  • (10)bbcode_code_printable
  • (2)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete