vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBgarage (https://vborg.vbsupport.ru/forumdisplay.php?f=104)
-   -   How do you get Vbgarage info under avatar? (https://vborg.vbsupport.ru/showthread.php?t=79342)

axi 04-04-2005 05:39 PM

How do you get Vbgarage info under avatar?
 
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-04-2005 06:37 PM

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-04-2005 07:25 PM

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-04-2005 07:41 PM

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-04-2005 07:54 PM

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

Osiris2k 04-04-2005 08:28 PM

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 04-04-2005 10:31 PM

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

Osiris2k 04-05-2005 12:47 AM

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 04-05-2005 03:48 AM

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 04-05-2005 05:11 PM

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>


All times are GMT. The time now is 08:20 AM.

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.01750 seconds
  • Memory Usage 1,734KB
  • 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
  • (8)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