vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBgarage (https://vborg.vbsupport.ru/forumdisplay.php?f=104)
-   -   garage link in topic view 4.1 beta solution (https://vborg.vbsupport.ru/showthread.php?t=81116)

hraweb.com 05-07-2005 08:57 PM

garage link in topic view 4.1 beta solution
 
After installing 4.1 beta i tryed to add this feature by following the topics from this thread

It didnt work, and it gave an error saying

Quote:

vBulletin Message
Please complete all the fields.
Press the back button, correct the problem then try again.
Then i saw that old garage invokes user garage with vbgarage.php?do=view&id and new does the same with vbgarage.php?do=viewparked&id

notice the View and viewparked - that is the difference

So to get user garage listed under user info in topic view do this

edit postbit or postbit_legacy depending on what style you are running

just find

for postbit_legacy

PHP Code:

<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> 

just add under or above etc.

PHP Code:

<if condition="$post['userid']"><div><a href="vbgarage.php?do=viewparked&id=$post[userid]"><span style="color: #1322AF">$post[username]'s Garage</span></a></div></if> 


hotwheels 08-19-2005 08:14 PM

i followed this hack by the simple step and i am not being takin to my vbgarage. Here is what it show's: http://www.insanemustangs.com/forums...iewparked&id=1

For what ever reason, it just show's a blank page, and it say's done down in the bottom left hand corner..... I used the above hack and added it to my postbit

any help to make this hack work would be greatly appreciated.....hotwheels

Rick Sample 08-19-2005 09:22 PM

Quote:

Originally Posted by hotwheels
i followed this hack by the simple step and i am not being takin to my vbgarage. Here is what it show's: http://www.insanemustangs.com/forums...iewparked&id=1

For what ever reason, it just show's a blank page, and it say's done down in the bottom left hand corner..... I used the above hack and added it to my postbit

any help to make this hack work would be greatly appreciated.....hotwheels

Hi, I know precisly what is the problem. The hack he's invoking requires VBgarage 4.1. Your running VBgarage 3.0. By the way, nice mustang site, I run one as well ;)


This one should work and is compatable with the version you are running:

PHP Code:

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


hotwheels 08-19-2005 10:14 PM

awesome rick............thanks for the hack and for the compliment's..........once i get this installed, i will swing by and check out your site.........doug

you are da man............that was the exact fix..........woot

hotwheels 11-13-2005 05:26 PM

Just updated my site, deleted the one that rick sample posted and moved to the one that hraweb.com posted, work's like a champ.....

I just upgraded to the 4.1 version.....thanks


All times are GMT. The time now is 02:14 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.01595 seconds
  • Memory Usage 1,732KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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