![]() |
Quote:
Aaron http://www.hpoa.org |
Vb Garage/Timeslip Database integration update:
Hey guys, if you have integrated your Timeslip database fields (or any custom fields for that matter) into your VB Garage display, you can easily edit DeWayne's "Edit Vehicle Profile" functions to include the custom fields you have created so they also display under "Edit Vehcile Profile". Simply add them to the "includes/functions_user.php" file in these four areas: "Start verifyprofilefields" "Start getprofilefields" "Start verifyvehiclefields" "Start gettimeslipfields" Look for the lines where all the timeslip database custom fields are displayed- will look like this: "(50,51,52,53,54,55,56,57,58,59,60,61,62,63,64 ,65) AND editable = 1" Simply add the numbers of any custom fields that pertain to the VB Garage display, and when the user selects "Edit Vehcile Profile" then all the fields in that string that you want to display in that edit page will show up. On my board I also have edited template "modifytimeslip" to say: "This information will be displayed on our Timeslip Database page and your VB Garage. Do NOT Submit false data! Vehicle Profile privileges will be taken away from those who submit false info." I am in process of editing the instructions for "Edit Vb Garage" to instruct the user to be sure to edit "Vehicle Profile" info. Hope this helps guys... Greg |
Edit Garage instructions modification:
Want to make it easier on your members to be able to create/edit the Vb Garage? You may wish to add some custom instructions to the "vbgarage_editgarage" template so members better understand how to create the coolest Garage possible. NOTE! In the example below, the text for the instructions reflects how I have edited and integrated the timeslip database and VB Garage. You should edit this area to properly reflect both your file paths and also the actual instructions to the member as they pertain to YOUR forums! To add a custom instructions table: Open "vbgarage_editgarage" Find: Code:
<if condition="$bbuserinfo[userid] == $id">$logincode</if> Code:
<!-- edit instructions --> By customizing the instructions, you will make it much easier for your members to understand how to get the most out of the VB Garage feature. SVTOA |
THanks SVTOA -- just made the change. great work.
One question --- it says my vb code is on but my img code is off? ALso you spelled VEHICLE wrong in the coding - |
I caught the spelling error on mine and changed it-
Also, with regard to the IMG code- didn't we change that on yours or was that muscle-mustangs? You can enable the IMG tag by editing the vbgarage.php file- that is covered in this thread. However, just enabling it will not change the text on the edit garage page- you have to edit the vbphrase "vbgarage_text_desc" to say "IMG code is ON" |
that was muscle. ill go diggin to change mine now. shouldnt take me more then all day LOLOL (im still new at this but learning)
Somthing else to mention......... in your coding it refers to call <a href="/vbulletin/profile.php?do=edittimeslip">Vehcile Profile</a when making this coding change pay attention to where your Vbulletin is -- if its in a "forums" directory, you'll have to change the vbulletin part that I bolded. |
Ok, im an idiot - cant find the post about changing the img tag --- Help??
Also -- how can I pull the "Photos" title bar out? It just doesnt look right to me... Maybe I have something wrong (see screenshot) |
Edit the.. Phrases? i think is what its called.. i haven't been with VB enough yet to know everything.. bu ti think thats it.
Mike |
Quote:
Joey, dude you need to read a little more closely. ;) In reference to the IMG tag: https://vborg.vbsupport.ru/showpost....&postcount=267 With regard to this quote: Quote:
Quote:
|
Quote:
You will find that in your "vbgarage_viewgarage" template. |
All times are GMT. The time now is 09:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|