vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=79342

How do you get Vbgarage info under avatar?
by axi
04 Apr 2005 19:39

i see on some automotive sites with vbgarage under the users avatar it has something like

View my garage
Car:
Model:
etc..

How do i get that?

anyone know?


Cheers

Osiris2k 04 Apr 2005 20:37

edit postbit or postbit_legacy depending on what style you are running

just find

for postbit_legacy

Quote:

<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
just add under or above etc.

Quote:

<if condition="$post['userid']"><div><a href="vbgarage.php?do=view&id=$post[userid]">$post[musername]'s Garage</a></div></if>
thats should be it..

axi 04 Apr 2005 21:25

error:

vBulletin Message
Please complete all the fields. Press the back button, correct the problem then try again.

happens when trying to click on that users 'garage' under the avatar

and yes they are listed in the garage..

Osiris2k 04 Apr 2005 21:41

you need to make sure that it is forwarded correctly, try this

Quote:

<if condition="$post['userid']"><div><a href="vbgarage.php?do=view&id=$post[userid]">$post[musername]'s Garage</a></div></if>
where it says

Quote:

"vbgarage.php?do=view&id=$post[userid]"
replace with

Quote:

"http://www.yoursite.com/forums/vbgarage.php?do=view&id=$post[userid]"

make sure that it is correctly forwarded to vbgarage.php ...hope it helps

axi 04 Apr 2005 21:54

its still coming up with the same error :S
hmm what could it be?

Osiris2k 04 Apr 2005 22:28

Quote:

Originally Posted by axi
its still coming up with the same error :S
hmm what could it be?


post your code and your website url...

Rick Sample 05 Apr 2005 00:31

I think he might be using vbgarage 4.1 That code posted above I think will only work with the older versions.

Osiris2k 05 Apr 2005 02:47

Quote:

Originally Posted by Rick Sample
I think he might be using vbgarage 4.1 That code posted above I think will only work with the older versions.


I upgraded to vbgarage 4.0.4 today and it works fine...i even modified it so it shows up on the memberspage

www.corollaonline.com

axi 05 Apr 2005 05:48

i have version 3
website is www.beastclub.com.au/forums/
members cars at top for vbgarage

i just upgraded to version 4 and i cant get the function work still
can someone help!!

cheers

Osiris2k 05 Apr 2005 19:11

post the postbit_legacy code too please.

this should work though..i changed it a bit

Quote:

<if condition="$post['userid']"><div><a href="http://www.beastclub.com.au/forums/vbgarage.php?do=viewparked&id=$post[userid]">$post[musername]'s Garage</a></div></if>

axi 06 Apr 2005 15:30

thanks it worked

Stangsta 11 Apr 2005 05:18

How do you set it so it appears in only 1 color? If Mods/users are a different colors, it looks all jacked up like the example below.

example:

Stangsta's Garage

I want it to look like this:

Stangsta's Garage

Osiris2k 12 Apr 2005 20:38

Quote:

Originally Posted by Stangsta
How do you set it so it appears in only 1 color? If Mods/users are a different colors, it looks all jacked up like the example below.

example:

Stangsta's Garage

I want it to look like this:

Stangsta's Garage


put color tags around "$post[musername]'s Garage"

Stangsta 13 Apr 2005 00:30

Quote:

Originally Posted by Osiris2k
put color tags around "$post[musername]'s Garage"

I tried that, it doesn't override the username color tags that are assaigned in the usergroup.

Heres the code im using:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any other suggestions?

Osiris2k 15 Apr 2005 00:23

try this
Quote:

<if condition="$post['userid']"><div><a href="vbgarage.php?do=view&id=$post[userid]"><font color=#1322AF>$post[musername]<b>'s Garage</font></b></a></div></if>


All times are GMT. The time now is 07:27.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.