View Full Version : vBGarage v3.1.1 (now with GD-Lib support!)
Pages :
1
2
3
4
5
[
6]
7
8
SVTOA
11-05-2004, 08:14 PM
How can I check which version is installed?
Ask your webhost if you don't know how to check your installed modules.
Do you have image verification enabled for new registers? Do you have thumbnails enabled for attachments? If you are unable to use the image verification registration system then you don't have GD2
magnus
11-10-2004, 02:34 PM
All I have to say is .. wow. This hack has taken on a life of it's own, and I can only express how utterly impressed I am how the community has banded together to keep it alive.
Allow me to apologize for my lack of support (read: dissapearance) from the forums, but I've had a lot of personal things going on in my life, and unfortunately, they don't seem to be coming to a head anytime soon. In between marriage, a new house and a potential new job (read: relocation), I couldn't squeeze time to work on anything else if there were 25 hours in a day.
Integra99 had spoken to me not long ago asking to take over on the hack, and I had no problem with it. It seems Action-N have picked up the pace where we left off, and his actions are to be commended. Thanks, Action-N! I'd hate to have seen this hack die off, as it seems much of the community was begging for it at the time. As for the irony of it all, I had no idea this had gotten HOTM, hah! However, it's not really my work that did it -- as I took leave well before that award, it's the rest of you who kept going, kept providing support and fixes.
Action-N, I've sent you a PM. Hopefully it will be of use. To everyone else, keep up the good work! I'll hopefully be able to continue development of some of my other hacks once life calms down, as I really did enjoy it. Until then..
Take care,
- magnus
Sweet Evil
11-10-2004, 03:12 PM
Nice mod, ruff install but its all good now. :)
Club3G
11-10-2004, 09:02 PM
Hi again,
Can someone give me the quick info on how I can add a link to vbGarage on the menu on my vbIndex page?
The navbar at the top of my forums has the link, but on vbindex it's sadly missing.
Thanks!
dsotmoon
11-10-2004, 10:41 PM
Take care,
- magnus
holy crap, your alive :banana: good to hear from you, Iam still waiting for a new version with upgrader before i even upgrade my vB, this has got to be the greatest ahck of all time
hasan2k
11-11-2004, 12:58 AM
Still waiting for Action-N's new release of vbGarage
gibgib
11-11-2004, 10:20 AM
Hi ya magnus!
I'm still running on your original version, waiting on some additions mentioned recently in this thread like multiple garages, better looking overall appearance, & more options :)
spence2
11-11-2004, 03:59 PM
Magnus,
Thank you for allowing others to move forward with this great hack!
bL@De
11-13-2004, 09:16 PM
I take it this isn't compatible with 3.0.3 as yet?
Reason being when I do the couple of file modifcations the forum then comes up completely blank as in a white page or am I missing something completely?
bendigo-tech
11-14-2004, 02:10 AM
I take it this isn't compatible with 3.0.3 as yet?
I had it running ok with a completely clean install of 3.0.3 (test forum). Seem to work fine. :ermm:
magnus
11-14-2004, 02:45 AM
From what I've seen, it seems to work fine on v3.0.3. It would be rare for vBGarage to cease to function on future upgrades, as it's mostly it's own independant .php file. There would have to be semi-serious structure changes in vBulletin for that to happen.
I do, however, wish to touch on something I've noticed. While I'm flattered vBGarage has taken off as well as it has, please make note that the licensing is still in effect. By installing vBGarage, you are agreeing to leave the "Powered by" footer intact (unless previously agreed upon). Which, I've noticed, may sites are not (a simple Google search reveals dozens).
- magnus
I take it this isn't compatible with 3.0.3 as yet?
I had it 3.0.3 and it has problems. You can't hide private fields from users who can view the vBGarage. and the usergroup settings don't stay.
An uninstall would be nice too. LOL
Sweet Evil
11-14-2004, 03:51 PM
Anyknow where the 'vBGarage' text is sent from in this pic? I do not have them uploading cars and watch the text to read different. Thanks!
joeychgo
11-15-2004, 12:55 AM
what would be great would be a full update - with 3.03 compatibility!!
Action-N
11-15-2004, 03:00 AM
Anyknow where the 'vBGarage' text is sent from in this pic? I do not have them uploading cars and watch the text to read different. Thanks!
I guess you can't be expected to read through 84 pages of threads so here is the link from when I answered your question earlier.
https://vborg.vbsupport.ru/showpost.php?p=562693&postcount=1195
To joey an others, I build the uninstaller an installer for 3.2 an after I installed it fresh on my board I soon found that I still had a few bugs to work out. So I almost made it, b ut now I need to rethink how certain features are handled. Biggest one right now is when I combined the query for the images to show on the list to save a query for each user. Now if they have no image uploaded the script breaks. So I must decide if I should force users to include an image, establish a defualt avatar, or seperating the quieries. I'm putting alot of time into this script and I promise I will finish it.
Also I am building 3.2 on a 3.0.0 board.
joeychgo
11-15-2004, 03:02 AM
thank you action -- anything I can do to help just ask. I havent upgraded my VB to 3.03 because I dont want to have problems with the garage -
oly51
11-15-2004, 09:29 AM
.. So I must decide if I should force users to include an image, establish a defualt avatar, or seperating the quieries. I'd say go with a default "No image" image.
BTW, I'm running 3.0.3 and will be doing a new install.
Luthy
11-16-2004, 02:49 AM
is there away to add more vehicles to one user...like to show off more then one car??
Action-N
11-16-2004, 03:08 AM
is there away to add more vehicles to one user...like to show off more then one car??
Your first post an that's your question. Yes just upload the pictures of both cars and desribe each one. :confused:
I noticed you renamed your garage. Well that's all fine an dandy unless you donated to magnus an got permission to remove/edit the footer in needs to be kept intact. Alot of work went into building this script, so the least we can do is show a little credit. The next version will allow more than one entry per user so just hang tight. It'll will also have a more defined layout so users aren't all doing thier own thing.
Luthy
11-16-2004, 11:23 PM
I had some one install that for me and they renamed who made it....sorry for that. I am not really good with installing these vb hacks but I am very intersted in the new update. When will that be ready??
djjeffa
11-17-2004, 11:00 AM
I had some one install that for me and they renamed who made it....sorry for that. I am not really good with installing these vb hacks but I am very intersted in the new update. When will that be ready??
yea I agree some of my members have mor than one care so i was wondering if there is anyway that i could set this up I read 6 pages into this thread but dial up is rought at work lol
also I have modded cellphones on my site I was wondering if i could edit the vbgarage so i would have 2... 1 for cars then like a cellphone garage well you know what i mean.
Action-N
11-17-2004, 06:19 PM
yea I agree some of my members have mor than one care so i was wondering if there is anyway that i could set this up.
Well you didn't have to read through the whole thread, just up two posts when I answered that question. Also on everypage now it show the hack info at the top of the thread. Reading the "future features" you will notice multi cars per user is listed there.
Your other question, it is possible but would require you to rename everything in the script to allow both.
oly51
11-17-2004, 06:35 PM
Getting closer to release, Action-N?
Only asking 'cuz I'm on vacation next week and will have time to play with a new install.... :rolleyes:
Number9
11-18-2004, 01:57 AM
GD Lib is now installed on the server. Thumbnails are enabled and the GD version was selected in the server options.
What else can I do to get the thumbnails to show? :tired:
4number8
11-18-2004, 02:49 AM
Many thanks for the great hack.......clicks install :)
Ok I've got another question...
When you click on the vBGarage link at the top and it list the users garage.
At the top of each column it says..
Username Car Last Activity
How do I change where it says car???
Can anyone answer this for me?
Thanks
orbitx92
11-18-2004, 08:40 PM
I recieving an error when i try to access my admincp after modifying the int.php
i recieve a parse error expecting a );
I modified the file just as the instructions told me, but im still recieving this error.
Can someone take a look at my init.php file and make sure that it truely is modified correctly?
Thank you in advance
Action-N
11-19-2004, 12:40 AM
Orbit, it's illegal to post complete files of vbulletin. Best take it away or you'll get locked up in prison an be forced to pick up soap.
javo, reason nobody is helping you is becuase you should have the common sense to figure that out. It's a a phrase, so look in the phrases section of your AdminCP.
Orbit, it's illegal to post complete files of vbulletin. Best take it away or you'll get locked up in prison an be forced to pick up soap.
javo, reason nobody is helping you is becuase you should have the common sense to figure that out. It's a a phrase, so look in the phrases section of your AdminCP.
You right that you can't post entire files but there is no reason to be rude to members simply seeking support. Everyone has a differnt skill level and some need alot of help installing hacks, while others find it to be a simple process.
You right that you can't post entire files but there is no reason to be rude to members simply seeking support. Everyone has a differnt skill level and some need alot of help installing hacks, while others find it to be a simple process.
Thanks for the defense there Brad.loo.
No need to be an Arse Action. I managed to find the other phrases and changed those but managed to overlook the one I am looking for now.
I'll try not to bother you with such insignificant, trivial questions in the future. But just so I know, where can I ask said questions?
orbitx92
11-19-2004, 04:30 PM
whoops... sorry. I figured my problem out..
I have one other question, in Vbgarage, a user just has one input box to list thier modifications.. how would i go about making multiple input boxes for the users to input information into.
IE:
Year: [INPUT BOX]
Make: [INPUT BOX]
Model: [INPUT BOX]
Engine: [INPUT BOX]
Exterior: [INPUT BOX]
Interior: [INPUT BOX]
Wheels/Suspension [INPUT BOX]
Audio/Electronics [INPUT BOX]
Etc. Etc.
That would be on the edit page. On the display page where users will look at other users garage's, they would see the catagorized inputs.
Its prob. a simple edit in the templates, but i want to make sure before i go and attempt it.
Also, how would i go about making a link on the main gallery for a user to go edit his/her own garage? Some users aren't going to be able to grasp the fact that they need to go into their UserCP to do it.
Thanks to anyone who helps in advance!
and again, sorry for posting full Vbuliten files, my bad, i didn't know. wont happen again! :)
orbitx92
11-19-2004, 04:34 PM
actually... just looking at Action N's garage, i noticed he did somewhat of what i was looking for..
http://www.action-forums.com/forum/vbgarage.php?do=view&userid=1&id=1
djnth
11-19-2004, 08:27 PM
Action-N: I think that you should go with the default "NO PHOTO" image rather than requiring a photo to be uploaded.
Also, I really think you should start a new thread when you release the new version and make it ver 4.0 that way you can edit the first thread as needed and just provide a link to the old thread in the first thread. There really are so many new features that this deserves to be vBGarage v4.0. Really what more can you add to warrant a ver 4.0?
Great work!! Everything looks great on your site!!
_djnth
Jason McConnell
11-19-2004, 08:53 PM
Action-N: I think that you should go with the default "NO PHOTO" image rather than requiring a photo to be uploaded.
Also, I really think you should start a new thread when you release the new version and make it ver 4.0 that way you can edit the first thread as needed and just provide a link to the old thread in the first thread.
Agreed!! Some sort of tutorial on how to modify this hack for a n00b like myself would be great too... such as vBModdedPC's :D
Yuneek
11-21-2004, 05:11 AM
Alright, this is what I have...
// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
'canviewmembers' => 1,
'canmodifyprofile' => 2,
'caninvisible' => 4,
'canviewothersusernotes' => 8,
'canmanageownusernotes' => 16,
'canseehidden' => 32,
'canbeusernoted' => 64,
'canprofilepic' => 128,
'canseeraters' => 256,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
// START VBGARAGE HACK
'canvbgarage' => 262144
// END VBGARAGE HACK
);
// Reputation
'canseeownrep' => 256,
'canuserep' => 524288,
'canhiderep' => 1048576,
'cannegativerep' => 2097152,
'canseeothersrep' => 4194304,
'canhaverepleft' => 8388608,
);
And I'm getting this error: Parse error: parse error, unexpected T_DOUBLE_ARROW in /home/yuneek/public_html/forum/includes/init.php on line 727
This is line 727:
'canseeownrep' => 256,
What do I do?
Action-N
11-21-2004, 06:57 AM
Yuneek, the problem is with the reputation part. Looks to me like it's missing the top part of its code. I don't have this in my 3.0.0 board so it must be a newer version or an extra mod. What you'll need is to find a backup of init.php an look for the missing code above 'canseeownrep' => 256, . I always keep an extacted folder of vbulletion just for this reason. Good luck, at least you know where the problem is.
Number9
11-21-2004, 07:01 AM
magnus,
GD Lib is now installed on the server. Thumbnails are enabled and the GD version was selected in the server options.
What else can I do to get the thumbnails to show?
Action-N
11-21-2004, 07:07 AM
magnus,
GD Lib is now installed on the server. Thumbnails are enabled and the GD version was selected in the server options.
What else can I do to get the thumbnails to show?
Have you uploaded a new picture since doing so?
Yuneek, the problem is with the reputation part. Looks to me like it's missing the top part of its code. I don't have this in my 3.0.0 board so it must be a newer version or an extra mod. What you'll need is to find a backup of init.php an look for the missing code above 'canseeownrep' => 256, . I always keep an extacted folder of vbulletion just for this reason. Good luck, at least you know where the problem is.
Umm... I'm betting this is because the installer created no canvbgarage table. I installed this on a 3.0.3 board a month or two ago for someone and that's what happened anyway (noted here (https://vborg.vbsupport.ru/showthread.php?p=541594#post541594) 09 Aug).
Yuneek
11-21-2004, 07:45 AM
Yuneek, the problem is with the reputation part. Looks to me like it's missing the top part of its code. I don't have this in my 3.0.0 board so it must be a newer version or an extra mod. What you'll need is to find a backup of init.php an look for the missing code above 'canseeownrep' => 256, . I always keep an extacted folder of vbulletion just for this reason. Good luck, at least you know where the problem is.
I checked a default version of vB and it matches. It is not missing anything above that. I am speaking of 3.0.3
Action-N
11-21-2004, 08:27 AM
I checked a default version of vB and it matches. It is not missing anything above that. I am speaking of 3.0.3
From looking at the code you posted there should be some code similar to this
$_BITFIELD['usergroup']['genericpermissions'] = array(
above
'canseeownrep' => 256,
I don't have access to 3.03 since I let my subscription expire. I didn't want to spend more money till they had a supstanial release.
There must be sombody else with 3.0.3 that can check this particular piece of code.
Yuneek
11-21-2004, 02:37 PM
How do I reverse all changes made by vBGarage?
Zachery
11-21-2004, 02:38 PM
How do I reverse all changes made by vBGarage?
Go backwords though the installer. :) or just upload fresh files
Yuneek
11-21-2004, 03:26 PM
Go backwords though the installer. :) or just upload fresh files
Yeah, but it has an automatic file (install_vbgarage.php or something) and I need to know how to reverse all the things that installation file does.
Action-N
11-21-2004, 07:20 PM
Replace your install_vbgarage file with the one I've uploaded. I have added an uninstaller in this version that will remove all the database entries. You'll still need to undo template an file edits which shouldn't be to bad. I'm sure other people will want this anyway, but I still don't think it will fix your problem, Yuneek.
vBTotal
11-21-2004, 07:20 PM
Can someone help me please? I installed this and it is somewhat working.......
http://www.mnminimoto.com/forums/vbgarage.php?do=list
whenever a user clicks on my name, it forwards to the root of the site /xxx and not /forums
Action-N
11-21-2004, 07:30 PM
Can someone help me please? I installed this and it is somewhat working.......
http://www.mnminimoto.com/forums/vbgarage.php?do=list
whenever a user clicks on my name, it forwards to the root of the site /xxx and not /forums
vBgarage does use the vboptions[bburl] in it's link, so what is yours bburl have in it? I'm going to assume it's just going to have "http://www.mnminimoto.com" in it. If that's the way you have to do your board you'll need to go through the vbgarage templates an delete the "vboptions[bburl]" code from in front of vbgarage.php, that should fix it..
PennylessZ28
11-21-2004, 11:21 PM
Why do my images show up as links?
I have GD 1.62+ support, attachtments show as thumbnails and I even have photopost installed.
joeychgo
11-22-2004, 06:23 AM
am I missing something - is there a new version here somewhere???
Replace your install_vbgarage file with the one I've uploaded. I have added an uninstaller in this version that will remove all the database entries. You'll still need to undo template an file edits which shouldn't be to bad. I'm sure other people will want this anyway, but I still don't think it will fix your problem, Yuneek.
Action-N
11-22-2004, 01:26 PM
am I missing something - is there a new version here somewhere???
Well not really a version I guess, just that the install file above has an uninstaller for 3.1.1 now.
magnus
11-22-2004, 02:15 PM
Action-N, I've edited the initial post and included a link to your uninstaller. If there are any other changes needed to be made, let me know.
Action-N
11-22-2004, 06:25 PM
Action-N, I've edited the initial post and included a link to your uninstaller. If there are any other changes needed to be made, let me know.
Ok that's cool, that way it doesn't get lost. I thought I'd ask if you have time to look over what I have ready for 3.2. I sent a copy to integra99, but haven't heard back. He wanted me to send him a copy an talk about something before I released anything. Don't know what he wanted, but I'd like some coders to look it over and optimize code or help with the remaing bugs.
magnus
11-22-2004, 06:42 PM
Ok that's cool, that way it doesn't get lost. I thought I'd ask if you have time to look over what I have ready for 3.2. I sent a copy to integra99, but haven't heard back. He wanted me to send him a copy an talk about something before I released anything. Don't know what he wanted, but I'd like some coders to look it over and optimize code or help with the remaing bugs.
You've got a Private Message.
hasan2k
11-23-2004, 11:59 PM
You've got a Private Message.
I can't wait to see the new version released. It will be awesome with multiple vehicle entries.
Silverstangs
11-24-2004, 12:23 PM
In index.php:
FIND:
// ### WELCOME MESSAGE #################################################
Add ABOVE:
// START VBGARAGE HACK
// ### VBGARAGE ################################################## #######
$result_latest = $DB_site->query("
SELECT vbgarage_images.*
FROM " . TABLE_PREFIX . "vbgarage_images
ORDER BY vbgarage_images.vbgarageid DESC
LIMIT 5
");
while ($latest = $DB_site->fetch_Array($result_latest))
{
eval('$latestbits .= "' . fetch_template('vbgarage_latestbits') . '";');
}
$DB_site->free_result($result_latest);
// END VBGARAGE HACK
FIND:
'forumhome_subforumseparator_post'
);
REPLACE with:
'forumhome_subforumseparator_post',
'vbgarage_latestbits'
);
In template FORUMHOME:
FIND:
$navbar
Add BELOW:
<!-- START VBGARAGE HACK -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="5"><b>$vbphrase[vbgarage_latest_uploads]</b></td>
</tr>
<tr>
$latestbits
</tr>
</table>
</td></tr></table>
<!-- END VBGARAGE HACK -->
That should do it.
I attempting to install this mod but I get the following error
Database error in vBulletin 3.0.3:
Invalid SQL:
SELECT vbgarage_images.*
FROM vb3vbgarage_images
ORDER BY vbgarage_images.vbgarageid DESC
LIMIT 5
mysql error: Unknown table 'vbgarage_images'
mysql error number: 1051
Date: Wednesday 24th of November 2004 08:19:06 AM
Script: http://www.stangcountry.com/forums/index.php?
Referer: http://www.stangcountry.com/forums/admincp/index.php?do=head
Username: Silverstangs
IP Address: 69.xxx.xxx.xxx
What did I miss?
Silverstangs
11-24-2004, 01:10 PM
Wadda you know, I left the index.php un modded and just put this part in FORUMHOME under the $navbar ....
<!-- START VBGARAGE HACK -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="5"><b>$vbphrase[vbgarage_latest_uploads]</b></td>
</tr>
<tr>
$latestbits
</tr>
</table>
</td></tr></table></td></tr></table>
<!-- END VBGARAGE HACK -->
I get a 1/2inch bar, that says "latest uoloads" but no pic's. Anyone have a idea?
magnus
11-24-2004, 05:56 PM
Wadda you know, I left the index.php un modded and just put this part in FORUMHOME under the $navbar ....
I get a 1/2inch bar, that says "latest uoloads" but no pic's. Anyone have a idea?
The error you posted earlier indicates that one of the critical databases doesn't exist --
mysql error: Unknown table 'vbgarage_images'
mysql error number: 1051
You need to check and verify that the vbgarage_images database exists, first. :D
Action-N
11-24-2004, 06:18 PM
SELECT vbgarage_images.*
FROM vb3vbgarage_images
ORDER BY vbgarage_images.vbgarageid DESC
LIMIT 5
As you can see from the error, it's trying to grab the information out of "vb3vbgarage_images ". Not knowing if this is a table prefix I'd just do a search for this code an check/ fix that line. I don't use a prefix so maybe this mod doesn't work with prefixes. In the mean time just do a search for "ORDER BY vbgarage_images.vbgarageid DESC" an that should find the above problem query.
magnus
11-24-2004, 10:07 PM
As you can see from the error, it's trying to grab the information out of "vb3vbgarage_images ". Not knowing if this is a table prefix I'd just do a search for this code an check/ fix that line. I don't use a prefix so maybe this mod doesn't work with prefixes. In the mean time just do a search for "ORDER BY vbgarage_images.vbgarageid DESC" an that should find the above problem query.
Action-N, have you gotten any of my PM's? I haven't gotten any replies, so I'm just wondering.. :D
Silverstangs
11-24-2004, 10:23 PM
As you can see from the error, it's trying to grab the information out of "vb3vbgarage_images ". Not knowing if this is a table prefix I'd just do a search for this code an check/ fix that line. I don't use a prefix so maybe this mod doesn't work with prefixes. In the mean time just do a search for "ORDER BY vbgarage_images.vbgarageid DESC" an that should find the above problem query.
This section is in INDEX.php
/ START VBGARAGE HACK
// ### VBGARAGE ################################################## #######
$result_latest = $DB_site->query("
SELECT vbgarage_images.*
FROM " . TABLE_PREFIX . "vbgarage_images
ORDER BY vbgarage_images.vbgarageid DESC
LIMIT 5
");
while ($latest = $DB_site->fetch_Array($result_latest))
{
eval('$latestbits .= "' . fetch_template('vbgarage_latestbits') . '";');
}
$DB_site->free_result($result_latest);
// END VBGARAGE HACK
and this section is in VBGARAGE.PHP
}
$result_latest = $DB_site->query("
SELECT * FROM " . TABLE_PREFIX . "vbgarage_images ORDER BY vbgarageid DESC LIMIT 5
");
while ($latest = $DB_site->fetch_Array($result_latest))
{
Silverstangs
11-24-2004, 10:24 PM
Do I need to change the top one to
vbgarage_images ORDER BY vbgarageid DESC LIMIT 5
Actually it didn't work...
Silverstangs
11-24-2004, 10:29 PM
Is there a different way to get the latest images to show up on another page?
Natch
11-24-2004, 10:32 PM
OK: I'm not sure if this has been posted yet, but I was working on a client vB and they were running this hack...
I had never seen this hack before, but a mod jumped out at me as needing doing...
find: $navbits = construct_navbits(array('' => 'vBGarage'));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('vbgarage_viewgarage') . '");');
replace with $navbits = construct_navbits(array('vbgarage.php' => 'vBGarage', '' => "$user[username]'s Garage"));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('vbgarage_viewgarage') . '");');
This will create an easy link back to the Garage homepage in the navbar, and the viewed garage will have the user's name in the navbar and consequently the <title tags also...
Action-N
11-24-2004, 11:56 PM
Action-N, have you gotten any of my PM's? I haven't gotten any replies, so I'm just wondering.. :D
Yeah, I get'em an read them. Never been good at getting back to people's emails, probably why I don't have a girlfriend as there always wanting to talk. I wanted to get the lastest work into the installer then add some comments for you then I'll zip you up a copy. No word from Integra99 so I don't think people want to wait for him, I'll send you the zip he gave me so you can see what work he did from your version.
Silverstangs, assuming your getting that error from the index.php code you can swap part of it with the code below. Replace the query part with this that's not critical of what the tables name is. Hopefully this will work for you, since I have never tried to put vbgarage images on the forum index before.
$result_latest = $DB_site->query("
SELECT *
FROM " . TABLE_PREFIX . "vbgarage_images
ORDER BY vbgarageid DESC
LIMIT 5
");
Natch, yeah I already had that one pointed out a few times. But my post is lost amongst these posts now, lol. The next version will have all the breadcrumb links going on, plus they'll be using phrases so the newbies won't have to hack the vbgarage code.
Ya know, there outta be a way for the thread owner to tag a post as important/must read so we can click a link that will list all the important/tagged posts.
Silverstangs
11-25-2004, 01:06 AM
Silverstangs, assuming your getting that error from the index.php code you can swap part of it with the code below. Replace the query part with this that's not critical of what the tables name is. Hopefully this will work for you, since I have never tried to put vbgarage images on the forum index before.
$result_latest = $DB_site->query("
SELECT *
FROM " . TABLE_PREFIX . "vbgarage_images
ORDER BY vbgarageid DESC
LIMIT 5
");
BINGO!!!!!!!
That was it, thank you so much!!!
My lession of the day... don't hack while sick!
alkatraz
11-25-2004, 07:07 AM
Great hack, thank you!
Rick Sample
11-25-2004, 04:45 PM
Any word on the new release yet lol or should another coder or I try to code one for you guys :)
PennylessZ28
11-25-2004, 04:58 PM
Yes, I'm interested in the same subject as well.
flstreetscene
11-25-2004, 06:14 PM
EDIT: the garage is working (at least I can view it as an admin);
http://www.floridastreetscene.com/forums/vbgarage.php?do=list
however you can't view it as a member and there is no option in admincp to set up permissions...
This could be from the error I received during installation;
Database error in vBulletin 3.0.3:
Invalid SQL:
CREATE TABLE vbgarage_images (
`vbgarageid` smallint(6) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`name` varchar(50) NOT NULL default '',
`data` longblob NOT NULL,
`type` varchar(50) NOT NULL default '',
PRIMARY KEY (`vbgarageid`)
) TYPE=MyISAM AUTO_INCREMENT=1
mysql error: Table 'vbgarage_images' already exists
mysql error number: 1050
Date: Thursday 25th of November 2004 08:33:47 PM
Script: http://www.floridastreetscene.com/forums/admincp/install_vbgarage.php
Referer: http://www.floridastreetscene.com/forums/admincp/install_vbgarage.php
There is already a previous database that I tried to install it over. How could I fix this?
Action-N
11-25-2004, 07:23 PM
however you can't view it as a member and there is no option in admincp to set up permissions...
There is already a previous database that I tried to install it over. How could I fix this?
Set permisions by going to Usergroups/Usergroup Manager click go button next to registered users an scroll down to General Permissions. At the bottom of that table you should see "Can use vBGarage?". However you could have another problem specified earlier. Open up your Int.php file like in the install readme and post the last few fieds of the genericpermissions field. You don't want to see to numbers there the same.
If the installation gets interupted it wont finish, obviously, but when going back through it doesn't check itself for previous versions an does what you noticed breaks an doesn't finish. I made an uninstaller that you can use to uninstall the database files an truly start over without having already exsists errors. The link to the file is posted in the original post at the bottom.
flstreetscene
11-25-2004, 08:09 PM
this is what it would look like if I were to edit per instructions;
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
// START VBGARAGE HACK
'canvbgarage' => 262144
// END VBGARAGE HACK,
'canseehiddencustomfields' => 262144,
Silverstangs
11-25-2004, 08:25 PM
My members are running into a issue. They can see the garage, but for some reason, they can not edit the fields in the usercp. it's not there. All the admins can thou. I go to the usergroup and set the permissions to use it but, it defaults to off. Is there a way I can make it permintaly enabled?
Silverstangs
11-25-2004, 10:15 PM
Update, I decided to move the vbgarage up on the list, and now it shows up...
'canviewmembers' => 1,
'canmodifyprofile' => 2,
'canvbgarage' => 4, <<<<<<<inserted it here
'canviewothersusernotes' => 8,
'canmanageownusernotes' => 16,
'canseehidden' => 32,
'canbeusernoted' => 64,
'canprofilepic' => 128,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canseehiddencustomfields' => 262144,
'caninvisible' => 524288,<<<<<<<swapped with this!
I just swapped caninvisible with it, since I don't allow anyone to be invisible. It's a bandaid fix. Is there a limitation to the array?
flstreetscene
11-26-2004, 01:31 AM
Ok this is strange...
I used the uninstaller and reinstalled. I used Silverstangs above posted [code] for init.php did everything as per instruction says and voila I got the the garage working. However, in the usergroup manager there is no option to enable "Can use vBGarage?" for any usergroups but yet they can all view it...?
So basically everything works except for that minor detail...
Silverstangs
11-26-2004, 12:44 PM
Hey Magnus & Action-N
For the Add-on Add "latest Uploads" to FORUMHOME by magnus..
When I use the following in your instructions for Vb 3.0.1 it works fine but......
it does not work when I use those for vb 3.0.3. on my test machine or main forum.
In index.php:
FIND:
// ### WELCOME MESSAGE #################################################
Add ABOVE:
// START VBGARAGE HACK
// ### VBGARAGE ################################################## #######
$result_latest = $DB_site->query("
SELECT vbgarage_images.*
FROM " . TABLE_PREFIX . "vbgarage_images
ORDER BY vbgarage_images.vbgarageid DESC
LIMIT 5
");
while ($latest = $DB_site->fetch_Array($result_latest))
{
eval('$latestbits .= "' . fetch_template('vbgarage_latestbits') . '";');
}
$DB_site->free_result($result_latest);
// END VBGARAGE HACK
In includes/init.php
Find:
// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
'canviewmembers' => 1,
'canmodifyprofile' => 2,
'caninvisible' => 4,
'canviewothersusernotes' => 8,
'canmanageownusernotes' => 16,
'canseehidden' => 32,
'canbeusernoted' => 64,
'canprofilepic' => 128,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canseehiddencustomfields' => 262144,
And add:
'canvbgarage' => 524288,
************************************* CHANGES I HAD TO DO***************
For vb 3.0.3. I had to use the following changes to your instructions in
order to get the Add-on Add "latest Uploads" to FORUMHOME by magnus..
for vbgarage to work. I tried it on 4 different test machines, two running 3.0.1
and two running 3.0.3. Freash installs for all 4 attempts, with the timeslips
hack and vbadvanced installed. I seem to run into two issues. The first issue
is with index.php. I get the error that I posted earlier
Database error in vBulletin 3.0.3:
Invalid SQL:
SELECT vbgarage_images.*
FROM vb3vbgarage_images
ORDER BY vbgarage_images.vbgarageid DESC
LIMIT 5
mysql error: Unknown table 'vbgarage_images'
mysql error number: 1051
Date: Wednesday 24th of November 2004 08:19:06 AM
Script: http://www.stangcountry.com/forums/index.php?
Referer: http://www.stangcountry.com/forums/...dex.php?do=head
Username: Silverstangs
IP Address: 69.xxx.xxx.xxx
The second is with init.php. I'm not sure exactly what the issue is
but I have noticed that I can not use any number higher than 262144.
When I attempt to use the number 524288 it seems to have the option
Can use vBGarage? in the Usergroup Manager under
General Permissions to always be set to No for all the
users except for the admins. I attempt to switch it on, with several different
computers, and it won't stick. I get the same results with the test machines.
I don't know if you can confirm the issue I have found, but hopefully this can
help you all or someone else.
************************************************** **********************
In index.php:
FIND:
// ### WELCOME MESSAGE #################################################
Add ABOVE:
// START VBGARAGE HACK
// ### VBGARAGE ################################################## #######
$result_latest = $DB_site->query("
SELECT *
FROM " . TABLE_PREFIX . "vbgarage_images
ORDER BY vbgarageid DESC
LIMIT 5
");
while ($latest = $DB_site->fetch_Array($result_latest))
{
eval('$latestbits .= "' . fetch_template('vbgarage_latestbits') . '";');
}
$DB_site->free_result($result_latest);
// END VBGARAGE HACK
In includes/init.php
Find:
// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
'canviewmembers' => 1,
'canmodifyprofile' => 2,
'caninvisible' => 4,
'canviewothersusernotes' => 8,
'canmanageownusernotes' => 16,
'canseehidden' => 32,
'canbeusernoted' => 64,
'canprofilepic' => 128,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canseehiddencustomfields' => 262144,
REPLACE with:
// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
'canviewmembers' => 1,
'canmodifyprofile' => 2,
'canvbgarage' => 4,
'canviewothersusernotes' => 8,
'canmanageownusernotes' => 16,
'canseehidden' => 32,
'canbeusernoted' => 64,
'canprofilepic' => 128,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canseehiddencustomfields' => 262144,
'caninvisible' => 524288,
Thanks --Scott
--Silverstangs
Silverstangs
11-26-2004, 01:37 PM
Oh btw, here is the web site in which I have this wonderful hack installed! :banana:
Stangcountry (http://www.stangcountry.com/)
Jason McConnell
11-26-2004, 03:35 PM
Natch, yeah I already had that one pointed out a few times. But my post is lost amongst these posts now, lol. The next version will have all the breadcrumb links going on, plus they'll be using phrases so the newbies won't have to hack the vbgarage code.
I've been watching this hack for a few months now, and think that this is an awesome idea... but as I don't run a vehicle-based site, I was wondering how difficult would it be to convert the phrasing towards Computer Modifications? Not to mention would such a change be approved? I'd like to have a way for my members to post pics of their computers, their specs, overclocking info and all that, and this hack would be the most efficient way.
Silverstangs
11-26-2004, 05:42 PM
I've been watching this hack for a few months now, and think that this is an awesome idea... but as I don't run a vehicle-based site, I was wondering how difficult would it be to convert the phrasing towards Computer Modifications? Not to mention would such a change be approved? I'd like to have a way for my members to post pics of their computers, their specs, overclocking info and all that, and this hack would be the most efficient way.
It's not that hard to do, more of changeing a few words... I am doing that for another type of forum.
Jason McConnell
11-26-2004, 05:46 PM
It's not that hard to do, more of changeing a few words... I am doing that for another type of forum.
I guess what I need to know besides wanting permission is this: What exactly would I have to do? Go through all install files and weed out the words I want to replace? Obviously I would leave the credit to Magnus available, I didn't think that it would be that easy :\
joeychgo
11-26-2004, 11:29 PM
Slightly off topic -- I am interested in swapping links with VBGarage users - and want to do so on the VB Garage Footer. Anyone interested? Feel free to email me at joeychgo@lincolnvscadillac.com
BamaStangGuy
11-27-2004, 04:09 AM
Just thought I would show you guys what me and my other admin have done so far with this and let you know what we plan to do!
http://mustangevolution.com/forum/vbgarage.php?
This is what we have up as of now:
- All image attachments are stored in the filesystem. Much less stress on the database.
- Thumbnail previews to the rleft on the list page
-Different layout for the garages
- Added total images that a person is using to list page
- Added column for the rating the user has for their garage (soon to be finished and available)
- All images have .jpg extension for better linking on other type of forums
What you cant see but we have still testing is:
- Search feature, search by username, car year, car color, transmission type, car model etc
- Sorting on the list page by Username, car, rating, and last activity.
- Rating system
- Better managed user comment area, pm is sent to garage owner with every new comment, the ability to report a comment to a admin, reply to a comment directly underneath the other user comment instead of creating a whole new line for theirs.
- Image upload amounts for the garage area will be set up by usergroups seperate from vbulletins attachment limits.
- We will be doing away with the current way that the images are shown within the garage. We will have three different categories set up in the area where the pictures currently shown. They will be set in a fieldset like vbulletin does and will include a category for images at the top, directly underneath that video clips, and undernath that audio clips, set up in each of their own fieldset. The images will show thumbnails in their fieldset and the audio and video links will show links as of now.
- User commenting on the images and video/audio files uploaded will be improved
Thats all that I can remember right now. A few cosmetic changes within the garages themselves and I think we can call it finished :)
Silverstangs
11-27-2004, 04:24 AM
Well BrentWilson, sounds like you have the capability to just develope a whole complete different version. It will be interesting to see your version when it's complete.
BamaStangGuy
11-27-2004, 04:28 AM
Well BrentWilson, sounds like you have the capability to just develope a whole complete different version. It will be interesting to see your version when it's complete.
It basically will be our own garage. I cant wait till its done and will talk to my other admin who wrote it if he cares if I share it with you guys.
SVTOA
11-27-2004, 12:55 PM
Brent I checked yours out, it looks ok. Couple observations though..
You might want to increase the resolution on the thumbnails, as they look pretty grainy. You may also wish to create a "no picture uploaded" type image (perhaps a running horse logo or something) that displays when a member has not added a picture, as the listing you have looks kinda out of sync where there is no thumbnail in front of the users who have no pix.
You might also want to use conditional statements so you don't have to have "N/A" stats showing up where members have not provided things like 1/8 mile stats or RWHP. As for the video clips, etc, all that's easily doable via the hack that I wrote for the original version that is included in the instructions. On our version, we simply added a profile field for a remotely hosted picture (such as those in a member's photopost gallery) that automatically parses the image URL and places the picture in the user's garage. We have timeslip, dyno sheet, video, etc all part of it. What's nice is, if a member does not fill out a field such a RWHP, then nothing displays in the stats table, only the fields they choose to fill out return a line of text and info. We also integrated the garage profile fields into the "Edit Vehicle Profile" function of EvilLS1's timeslip database hack. It all fits togther very well and looks a little "cleaner" that what your example shows. We have integrated Photopost into our Garage hack and the result is pretty nice, or so I am told by the members.
It basically will be our own garage. I cant wait till its done and will talk to my other admin who wrote it if he cares if I share it with you guys.
Nice work and all but if you have some question as to your associate "sharing" the work with this community, why post it here unless that is the intent to begin with?
It appears you guys are taking another coder's work and making it "yours" and then you don't even know if you plan to share it with the rest of the community? That's not cool dude...
SVTOA
11-27-2004, 03:17 PM
I have made a modification to my VbGarage 1/4 Mile Stats Hack (https://vborg.vbsupport.ru/showpost.php?p=506704&postcount=640) that will create a very cool effect for members who have a video clip of their best 1/4 mile pass. What this will do is embed a media player in their Vb Garage that is loaded and ready to play the video, right there in the member's Garage.
The statement is conditional, so the way it works is, if the member has not placed a URL to a video clip in the profile field that asks for it, then nothing will display in the stats hack.
The way I will present this is to edit the instructions for my 1/4 mile stats hack. You can feel free to change the place in your vbgarage_viewgarage template to place this wherever you wish to. Media files must be compatible with WMP.
ADD A CUSTOM BLOCK TO YOUR VB GARAGE TO DISPLAY MEMBER 1/4 MILE TIMES AND MEDIA PLAYER FOR BEST ET VIDEO.
MAY BE CUSTOMIZED ANY WAY YOU WISH TO USE IT.
This minor template modification to the VB GARAGE by MAGNUS will create a custom block in the text area of the member's
garage that displays 1/4 mile stats and RWHP if the member has filled in these custom fields. It also embeds a media player in the member's VB Garage that will play a video of the member's best 1/4 mile pass!
If the member has not filled them in, rather than display empty data the box displays an alternate message that you
Can also customize.
################################################## ##########################################
###################
Installation is quite easy.
Step 1:
Create 5 custom user profile fields:
"1/4 Mile ET"
"BEST MPH"
"BEST 60 FOOT TIME"
"RWHP"
*"Best ET Video"
* for this field you may wish to provide instructions to the member to place the complete url of their video clip in this field, and that it must be compatible with WMP to work properly.
Step 2:
Note the field ID numbers of the fields you created in step one, and edit the code below with your field #'s in order for this mod to work on your forum. The field ID #'s in the code below are examples from my forum. If you do not match the proper field id's from your forum then the info dispayed in the user's VB Garage will not be correct!
Step three: Open template "vbgarage_viewgarage" and find:
################################################## ###
<td class="alt2" width="60%">$data[text]
################################################## ###
Add this after:
##################################################
<!-- performance stats block by SVTOA -->
<br>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]"
cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>My $data[year] $data[model] Performance
Stats</b></span></td>
</tr>
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="!$user['userid']">
<else />
<!-- YOU MUST EDIT THE FIELDS BELOW TO MATCH THE NUMBERS OF YOUR FORUM CUSTOM FIELDS -->
<if condition="$user[field6] !=''">
<font color="black"><b>My Best ET: <font color="red">$user[field6]</font>
<else />
<!-- the next line may be changed to say whatever you want it to say -->
This member has not added ET data to their vB Garage.
</if>
</if>
</span>
</td>
</tr>
<!-- best mph field -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field8] !=''">
<font color="black"><b>My Best MPH: <font color="red">$user[field8]</font>
</if>
</span>
</td>
</tr>
<!-- rwhp field -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field11] !=''">
<font color="black"><b>My RWHP: <font color="red">$user[field11]</font>
</if>
</span>
</td>
</tr>
<!-- best 60 foot time -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field9] !=''">
<font color="black"><b>My Best 60 foot time: <font color="red">$user[field9]</font>
</if>
</span>
</td>
</tr>
<!-- media player -->
<!-- YOU MUST PROPERY EDIT THE THREE PROFILE STRINGS IN THE CODE BELOW OR THE MEDIA CLIP WILL NOT PLAY -->
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field80] !=''">
<b>Click play to watch my best pass!:</b><br>
<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="Player" width="250"
height="200"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,
0,0" standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<param name="URL" value="$user[field80]">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="1">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="0">
<param name="loop" value="-1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="100">
<param name="mute" value="0">
<param name="uiMode" value="full">
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="0">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
<param name="_cx" value="7938">
<param name="_cy" value="6482">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeature
d/mediaplayer/default.asp" src="$user[field80]"
rate=1
balance=0
currentPosition=1
playCount=1
autoStart=0
loop=-1
currentMarker=0
invokeURLs=-1
volume=100
mute=0
uiMode=full
stretchToFit=0
windowlessVideo=0
enabled=-1
enableContextMenu=0
fullScreen=0
SAMIStyle
SAMILang
SAMIFilename
captioningID
enableErrorDialogs=0
_cx=7938
_cy=6482
width=250
height=200>
</embed>
</object>
</if>
</span>
</td>
</tr>
<!-- end media player -->
</td>
</tr>
</table>
<br/>
<!-- End PERFORMANCE STATS BLOCK -->
################################################## ######
SVTOA
11-27-2004, 03:49 PM
I have corrected a minor error in the instructions and .txt file.
malken00
11-28-2004, 09:41 PM
Hey guys, I'm having a bit of an installation issue, I get an error: No input file specified. when I try to run the installation file in the admincp directory. I am running VB 3.0.3 with PHP V5.0.2 and GD2
Any ideas?
sstrayer
11-29-2004, 05:45 AM
Installed, thanks for the mod!
One question, it's saying unknown location when the guest is in it. Anyone have a quick fix?
banshee
11-29-2004, 04:22 PM
I have installed and like what you have done. However your demo site seems to be running a newer version because it looks like they can have multiple cars in there garage. Is this part of a new release that is coming out soon?
I would really like to have a feature like this since most of my members are going to have multiple cars.
Thanks
Jason
Rick Sample
11-29-2004, 06:27 PM
I have installed and like what you have done. However your demo site seems to be running a newer version because it looks like they can have multiple cars in there garage. Is this part of a new release that is coming out soon?
I would really like to have a feature like this since most of my members are going to have multiple cars.
Thanks
Jason
The demo site is running a new, unrealesed version of this hack. I don't think their will be any future release with the multiple garage feature though, you may have to contact a good coder and have them develop something like the multiple car feature.
Good luck in your journeys.
djnth
11-29-2004, 06:48 PM
It seems like the new version will be out any time now...is everyone hyped?
oly51
11-30-2004, 01:15 AM
Hopefully, it seems like I've been waiting forever for the multiple cars version....
mawby
11-30-2004, 07:48 AM
Hi all,
I've got a problem with the thumbnails not displaying. Now I've read through this thread and the problem is not the normal one. Simply put, it works with some jpegs and not others, but I cannot figure out why. It seems pictures downloaded from a digital camera and resized using various photo programs don't always allow the thumbnail to be created, yet if we open the same image in MS Paint and save it without making any changes, then upload the file again, it will display the thumbnail perfectly! :ermm:
Has anyone else experienced this problem? The fact some display proves the mechanisum is working, but why some fail is a mystery. We are using PHP 4.3.8, and the GD libraries are what comes in the tin with PHP/Apache 2.
joeychgo
11-30-2004, 07:49 AM
Hopefully, it seems like I've been waiting forever for the multiple cars version....
Me too lol
banshee
11-30-2004, 09:37 AM
The demo site is running a new, unrealesed version of this hack. I don't think their will be any future release with the multiple garage feature though, you may have to contact a good coder and have them develop something like the multiple car feature.
Good luck in your journeys.
So the new version coming out your saying won't have multiple cars? And the only way to get it is to get someone to code it? It seems to me the demo site built it are we able to get it from him?
Or would you be the good coder to contact?
Rick Sample
11-30-2004, 06:21 PM
So the new version coming out your saying won't have multiple cars? And the only way to get it is to get someone to code it? It seems to me the demo site built it are we able to get it from him?
Or would you be the good coder to contact?
I know they will release the new version soon and it will have multiple cars in it. Just found that out yesterday!
djnth
11-30-2004, 08:28 PM
This is so exciting...the new vBGarage and vBAdvanced Gallery are both just days away!! WHOO HOO!!
oldengine
12-01-2004, 03:28 AM
I'd sure like to get one of these going on my site. Problem is, there are all kinds of forces pulling one way and another. PhotoPost, vbadvanced and I detect two or three different versions right here in this thread.
What ever I end up with, will need to have an independent database from vbulletin with the photos stored in files on the hard drive. Be template driven, with extremely few php mods if any and not screw up vbindex. Be customizable - I will want an engine garage, not a car garage. And, yes we all have more than one engine, sometimes 20 or more. Although independent in the database, it must look and feel just like another one of the forums in the forum list. It will need to have a branding free option, even at a price.
I don't know if there's anything new in that stack, but it is definitely a HOT subject.
BamaStangGuy
12-01-2004, 04:44 AM
Here is what we are working on getting done:
1. Searching Capabilities
2. Garage Ratings
3. Add "No Images" filler to the garage listings
4. Guests can view garages - Been done
5. Upload > 1 image at a time
6. Upload, or link to, videos/sound clips of their car
7. Notification sent to owner when comments are left (customizable so user can turn this feature off)
8. Subscribing to a garage for all members for when updates are made
9. User selected flag for which image to show as the Garage list thumbnail
10. Add some vehicle details to the main garage listing
11. Add in support for user ZIP code for searchability later
12. Add in ability to upload more than just JPG images (add support for gif, png, and bmp)
13. Featured Car Page
14. Multi-garage ability
15. Member level benifits for limits (paid member gets > storage limits, etc)
16. Look into improving the genned thumbnails
joeychgo
12-01-2004, 04:49 AM
How about the ability to search by who updated their garage last?
Question: Are we going to be able to migrate the pics from our current garage to the new one?
oly51
12-01-2004, 09:41 AM
Here is what we are working on getting done:...
Is this your own vBGarage mod?
Are there several new "versions" of the original vBGarage hack coming out? :confused:
Will anyone release one soon? {Please} ;)
BamaStangGuy
12-03-2004, 05:03 AM
Is this your own vBGarage mod?
Are there several new "versions" of the original vBGarage hack coming out? :confused:
Will anyone release one soon? {Please} ;)
Its our own garage, just throwing ideas out there for the ones working on this one
djnth
12-03-2004, 05:41 PM
this is the biggest tease...woe woe
Jacko
12-05-2004, 10:10 AM
can anyone help me please,
i cant see the VBgarage options in the adminCP and i also cant upload images when i add my own VBgarage.
http://www.carstyledirect.com/vbgarage.jpg
i have tried re-installing but to no avail.
Forum link:
http://www.carstyledirect.com/forum
aussiev8
12-05-2004, 11:33 PM
how can i, or can someone please make a hack for this, so the files are uploaded on to the server and the database simply links to them... my DB is growing huge, and its getting to the point where i'm not going to be able to back it up!
any ideas?
can anyone help me please,
i cant see the VBgarage options in the adminCP and i also cant upload images when i add my own VBgarage.
http://www.carstyledirect.com/vbgarage.jpg
i have tried re-installing but to no avail.
Forum link:
http://www.carstyledirect.com/forum
Did you follow all the instructions in the zip file ?
What version of vb3 are you using ?
Silverstangs
12-06-2004, 03:10 AM
how can i, or can someone please make a hack for this, so the files are uploaded on to the server and the database simply links to them... my DB is growing huge, and its getting to the point where i'm not going to be able to back it up!
any ideas?
How about putting your attachments in a seperate file.... that's what I did. Took my db file from 338mb to 46mb...
Could you elaborate, Silverstangs ? :)
aussiev8
12-06-2004, 05:06 AM
yea please elaborate how i can link the 2 db's together??
yea please elaborate how i can link the 2 db's together??
Why 2 DBs ? Aren't you asking for putting the photos in a file system instead of into another DB ?
aussiev8
12-06-2004, 01:15 PM
sorry typo,
yea files in the file system & links to them in the DB
Silverstangs
12-07-2004, 12:32 AM
Could you elaborate, Silverstangs ? :)
Umm, sure.... everyone has the option...... unless I am off in left field... :speechless:
On your server, create a writeable directory.
In AdminCP, go to attachments
Change the storage type, choose Move Items from Database to File System
Use root directory for location of file folder.
Do the conversion
Your done.
All of your attachments will not be a part of the db, they will be in a folder. :classic:
Silverstangs
12-07-2004, 12:35 AM
I have a request, could someone come up with alittle icon that sits under the user avatar, that when clicked, will take them to that user's garage? Just like the AIM icon or online icon.
All of your attachments will not be a part of the db, they will be in a folder. :classic:
Oh....I thought you were refering to the uploaded photo attachments in the Garage hack..... lol :D
The above steps I know of :D
I am using the file system for my forum attachments too.
I have a request, could someone come up with alittle icon that sits under the user avatar, that when clicked, will take them to that user's garage? Just like the AIM icon or online icon.
Let me whip something up, post it soon.
Meanwhile, maybe someone could design a small icon that can be used as the image ?
aussiev8
12-07-2004, 05:35 AM
ok silvertstang, i know of that!
but the VBGarage images stay in the database, i want them to be links in the database, and files ont he server.. so when someone uploades it uploads to the server, not the database, follow?
oldengine
12-07-2004, 12:39 PM
Thumbnails should be stored in the database and the actual photo stored in the server file directory.
speedracer68
12-07-2004, 03:51 PM
I guess I need GD 2.0+ Library to install the VbGarage. What is GD 2.0+ Library and how do I tell if I have it or how do I obtain it.
Thank!
djnth
12-07-2004, 04:01 PM
quickie icon...
http://www.pixelperverts.com/jobs/Gbutton/Gbutton.jpg
Grant Sherwood
12-07-2004, 04:03 PM
Is there a way you could make the pictures they post in there non-hotlink able? I dont want to tunr hot linking off on my whole site because i use them but i dont want people uploading thier cars just so they can hotlink them to other sites.
speedracer68
12-07-2004, 06:51 PM
Does this look correct? Do I have too many commas or am I missing one?
This is a section of INIT.PHP file
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
// START VBGARAGE HACK
'canvbgarage' => 262144
// END VBGARAGE HACK
'canseehiddencustomfields' => 262144,
When I upload this file my forum crashes. I followed all the steps but this one I am a little confused on. When I upload my previous INIT.PHP file the site runs fine. In fact, you even see the vBGarage link at the top of the site and it works. Also, I don't see vbgarage listed in my Usergroup manager I don't see vbgarage listed so I can't enable it. Once again this just might be because I messed up my INIT.PHP file.
Silverstangs
12-07-2004, 10:34 PM
Does this look correct? Do I have too many commas or am I missing one?
This is a section of INIT.PHP file
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
// START VBGARAGE HACK
'canvbgarage' => 262144
// END VBGARAGE HACK
'canseehiddencustomfields' => 262144,
When I upload this file my forum crashes. I followed all the steps but this one I am a little confused on. When I upload my previous INIT.PHP file the site runs fine. In fact, you even see the vBGarage link at the top of the site and it works. Also, I don't see vbgarage listed in my Usergroup manager I don't see vbgarage listed so I can't enable it. Once again this just might be because I messed up my INIT.PHP file.
It needs to look like this
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canvbgarage' => 262144,
'canseehiddencustomfields' => 524288,
or like this
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
// START VBGARAGE HACK
'canvbgarage' => 262144,
// END VBGARAGE HACK
'canseehiddencustomfields' => 524288,
RapCheck
12-07-2004, 11:04 PM
Installed quickly and smoothly, and working on http://www.car-lounge.net
aussiev8
12-08-2004, 12:21 AM
my vbimages table is 12.5 mb. i only have 9 cars in my garage.. thats huge, if the table was only storing thumbnails it wouldn't be over 5mb.
any help or suggestions?
djnth
That is a nice logo :D
Grant Sherwood
If the images are stored in a directory, you can disable hotlinking using .htaccess I believe.
aussiev8
That's cos your users have uploaded huge images ( you can limit the max file size ).
Over time this bloats up the DB, i personally think this is more suitable storing images in a file system. I will work on it on my system and try to push out something on a generic level. No promises though.
aussiev8
12-08-2004, 08:32 AM
cinq your a god!
that'd be great if you can even attempt it!
Jason McConnell
12-08-2004, 09:21 AM
Let me whip something up, post it soon.
Meanwhile, maybe someone could design a small icon that can be used as the image ?
Check out this hack, you can use html in the tags. Only downside is that it's not user-editable.
https://vborg.vbsupport.ru/showthread.php?t=71447
:ermm:
speedracer68
12-08-2004, 12:40 PM
Silverstangs, that worked! Thanks!!!!!
Check out this hack, you can use html in the tags. Only downside is that it's not user-editable.
https://vborg.vbsupport.ru/showthread.php?t=71447
:ermm:
??
what's that for ?
Grant Sherwood
12-09-2004, 12:19 AM
Grant Sherwood
If the images are stored in a directory, you can disable hotlinking using .htaccess I believe.
I have no clue what .htaccess is or even where i would start on this. My site has soemthing where i can disable hot linking but its only site wide. So idk, im gonna try to do some searching on google.
Grant, these may help :
http://underscorebleach.net/content/jotsheet/2004/06/htaccess_prevent_hotlinking
http://www.devpapers.com/article/242
Goggle should turn up lots of results on this search : "prevent hotlinking using htaccess"
Good luck :)
Grant Sherwood
12-09-2004, 12:59 AM
I guess im not understanding this. How can i just turn off hot linking in the folder these images will be uploaded too? Sorry im not computer smart..lol :ninja:
alkatraz
12-09-2004, 11:53 PM
my members are uploading massive pics which is ok by me, but the popup window is not resizable/scrollable and you can only see 1/4 of the pic when it's popup'd up.
Any fix for this?
GoTTi
12-10-2004, 01:29 AM
is there a way to put a link into a users profile to link to their gallery?
its prolly real easy to do im just doing it wrong.
GoTTi
12-10-2004, 01:30 AM
hey alkatraz i get that same problem sometimes...and some days the scroll bars load...i dont get it...
I have a request, could someone come up with alittle icon that sits under the user avatar, that when clicked, will take them to that user's garage? Just like the AIM icon or online icon.
In response to this :
In /includes/functions_showthread.php
FIND:
// ###################### Start process_highlight_postbit #######################
function process_highlight_postbit($text, $words, $prepend)
ADD ABOVE:
###################### FOR GARAGE ICON #######################
function fetch_garageicon($userid)
{
global $DB_site, $garagecache;
if (!is_array($garagecache))
{
$garagecache = array();
$garage = $DB_site->query
("
SELECT gu.userid, user.userid
FROM " . TABLE_PREFIX ."vbgarage_users AS gu
LEFT JOIN " . TABLE_PREFIX ."user AS user ON gu.userid = user.userid
");
while($garagequeryarray = $DB_site->fetch_array($garagequery))
{
$garagecache["$garagequeryarray[userid]"] = $garagequeryarray;
}
$DB_site->free_result($garagequery);
}
if($garageinfo = $garagecache[$userid])
{
if ($garageinfo[userid])
{
return "$stylevar[imgdir_misc]/viewgarage.gif";
}
}
return FALSE;
}
###################### FOR GARAGE ICON #######################
SAVE AND UPLOAD THE FILE
In showthread.php in the root directory of your forums.
FIND:
$post['attachments'] = &$postattach["$post[postid]"];
ADD BELOW:
###################### FOR GARAGE ICON #######################
$post['garage'] = fetch_garageicon($post[userid]);
###################### FOR GARAGE ICON #######################
SAVE AND UPLOAD THE FILE
Now in your postbit template ( or postbit_legacy, whichever you are using )
Just add this whereever you want the icon image to show:
<if condition="$post[garage]">
<br><div><a href="$vboptions[bburl]/vbgarage.php?do=list&userid=$post[userid]" target="_blank">$post[garage]</a>
<br /></div></if>
Lastly, upload your image into your forum images directory, in the MISC folder.
NOT TESTED but it should work. Do feedback for any errors and I will amend the errors accordingly. Would be good if this post can be linked in the hack post under the modifications/addons bit.
Hope this helps :)
Silverstangs
12-10-2004, 05:06 AM
In response to this :
In /includes/functions_showthread.php
FIND:
// ###################### Start process_highlight_postbit #######################
function process_highlight_postbit($text, $words, $prepend)
ADD ABOVE:
###################### FOR GARAGE ICON #######################
function fetch_garageicon($userid)
{
global $DB_site, $garagecache;
if (!is_array($garagecache))
{
$garagecache = array();
$garage = $DB_site->query
("
SELECT gu.userid, user.userid
FROM " . TABLE_PREFIX ."vbgarage_users AS gu
LEFT JOIN " . TABLE_PREFIX ."user AS user ON gu.userid = user.userid
");
while($garagequeryarray = $DB_site->fetch_array($garagequery))
{
$garagecache["$garagequeryarray[userid]"] = $garagequeryarray;
}
$DB_site->free_result($garagequery);
}
if($garageinfo = $garagecache[$userid])
{
if ($garageinfo[userid])
{
return "$stylevar[imgdir_misc]/viewgarage.gif" border=\"0\">";
}
}
return FALSE;
}
###################### FOR GARAGE ICON #######################
SAVE AND UPLOAD THE FILE
In showthread.php in the root directory of your forums.
FIND:
$post['attachments'] = &$postattach["$post[postid]"];
ADD BELOW:
###################### FOR GARAGE ICON #######################
$post['garage'] = fetch_garageicon($post[userid]);
###################### FOR GARAGE ICON #######################
SAVE AND UPLOAD THE FILE
Now in your postbit template ( or postbit_legacy, whichever you are using )
Just add this whereever you want the icon image to show:
<if condition="$post[garage]">
<br><div><a href="$vboptions[bburl]/vbgarage.php?do=list&userid=$post[userid]" target="_blank">$post[garage]</a>
<br /></div></if>
Lastly, upload your image into your forum images directory, in the MISC folder.
NOT TESTED but it should work. Do feedback for any errors and I will amend the errors accordingly. Would be good if this post can be linked in the hack post under the modifications/addons bit.
Hope this helps :)
I get this error Parse error: parse error, unexpected T_STRING in /home3/www/stangcountry/forums/includes/functions_showthread.php on line 688
This is the code I have
SELECT gu.userid, user.userid
FROM " . TABLE_PREFIX ."vbgarage_users AS gu
LEFT JOIN " . TABLE_PREFIX ."user AS user ON gu.userid = user.userid
");
while($garagequeryarray = $DB_site->fetch_array($garagequery))
{
$garagecache["$garagequeryarray[userid]"] = $garagequeryarray;
}
$DB_site->free_result($garagequery);
}
if($garageinfo = $garagecache[$userid])
{
if ($garageinfo[userid])
{
return "$stylevar[imgdir_misc]/viewgarage.gif" border=\"0\">";
}
}
return FALSE;
}
###################### FOR GARAGE ICON #######################
Silverstangs
12-10-2004, 09:46 AM
Which line is 688 ?
Opps sorry, this line is 688
return "$stylevar[imgdir_misc]/viewgarage.gif" border=\"0\">";
Sorry, it should just read the code below.
Copied and pasted it from my own but made an error :)
This should work now.
return "$stylevar[imgdir_misc]/viewgarage.gif";
joeychgo
12-10-2004, 12:39 PM
Have we got the new version yet? or a timeline?
GoTTi
12-10-2004, 01:52 PM
fiber1 where is vba gallery??
Jacko
12-10-2004, 04:03 PM
Did you follow all the instructions in the zip file ?
What version of vb3 are you using ?
yep followed em to a T 3 times!!!
i dont get no errors and can add a garage but no images and i still cant view any option in adminCP.
im using 3.0.3
site is:
www.carstyledirect.com if you want to take a look for me please.! :o
noppid
12-10-2004, 06:16 PM
Bye bye VB Garage it was nice while it lasted. Hello VBA Gallery!
Can I borrow $60.00?
Pretty Rude post IMO.
Jacko
12-10-2004, 06:19 PM
ok i fixed the problem now.
a cool extra would be upon uploading an image to add a watermark over the top so no one links my images (or if they do they get my site URL on it too :))
is this possible??
Great Work there.
I simply like it.
anyway i encounter a problem wonder if anyone can help me out.
When i install and edit according to the instruction, everything was fine.
however my forum had 3 theme, 1 default, 2 custom
i editing all the templates in default but however nav bar will be editied indivually.
what happen was, the default and last theme cannot load the vbgarage.php?do=list
only 2nd theme. tried check and eventually could not find anything wrong anywhere.
wonder if such a problem was reported and is there any fix?
thanks for kind assistance.
Action-N
12-10-2004, 06:47 PM
Bye bye VB Garage it was nice while it lasted. Hello VBA Gallery!
vba Gallery will work if all you want to do is post a picture, but the garage lets you post about your car. Maybe if I every bought vbaGallery we could use it to handle the photos an vbGarage could just grab them. I am working on converting vbGarage to store images in folders instead of the database, but still trying to get images seperated by garage.
joeychgo, I wanted to go ahead an convert how it stored images since it was looking to be a big concern. Especially when I went to back up my own garage with just a few images in it. Multiple garage part works fine, just working on the images part of things right now.
Jacko, I was actually doing this already. It's pretty cool stuff, but I stopped all that extra features so I could release a version just with multiple car garages at least. Since that is what most people are waiting for.
trevelyn1015
12-10-2004, 06:59 PM
whenever i modify the includes/init.php and upload it, it makes my forums go down and i get this message:
trevelyn1015
12-10-2004, 07:18 PM
nevermind... i took off the part of the code that said
// hack
or whatever and just inserted the code, and it works fine now.. :)
trevelyn1015
12-10-2004, 07:45 PM
my thumbnails won't work at all... and the image opens in a tiny box that has to be resized when you do click on it...
how can i fix this?
http://www.ranger-forums.com/forum2/vbgarage.php?do=list
noppid
12-10-2004, 09:40 PM
You need to have your host install GD. It's in the readme I believe.
Jacko
12-10-2004, 10:43 PM
is it possible to add a watermark to each image upon uploading??
trevelyn1015
12-11-2004, 12:26 AM
what is GD?
what is GD?
http://www.boutell.com/gd/
You need to have that installed. Ask your webhost.
( you can do a phpinfo to check if it is currently present on your host -> in Admincp )
vba Gallery will work if all you want to do is post a picture, but the garage lets you post about your car.
Action, do you think you could try to incoporate a means to dynamically add new fields. I am sure this would be a welcome addition to the next version.
joeychgo, I wanted to go ahead an convert how it stored images since it was looking to be a big concern. Especially when I went to back up my own garage with just a few images in it. Multiple garage part works fine, just working on the images part of things right now.
Yep, file storage system is a must, and I hope it will be in the next version as well. Multiple garages would only mean MORE images per user, MORE images in total, MORE space taken up in the db...you get what I am driving at.. :D
CSS59
12-12-2004, 01:07 AM
will this work with 3.0.3?
Yes it will.
But for the changes in init.php ( in the zip package's instructions ), instead of following that, use this change instead :
Code found here (https://vborg.vbsupport.ru/showpost.php?p=579934&postcount=1372)
Tbird66
12-12-2004, 05:40 AM
Installed on 3.0.3 - install went great, and I can post / view garages. However, I did notice that all users, including unregistered, can view garages regardless of the setting of the Can use vBGarage? usergroup variable. If Can use vBGarage? is set to NO a user can't create a garage, but they can still view all garages. This leads me to 2 questions:
1. Is this behavior by design?
2. How can I set it up so that only particular usergroups can view garages (for example - registered users can view only, users of a custom usergroup can view and create / update)?
Thanks!
Installed on 3.0.3 - install went great, and I can post / view garages. However, I did notice that all users, including unregistered, can view garages regardless of the setting of the Can use vBGarage? usergroup variable. If Can use vBGarage? is set to NO a user can't create a garage, but they can still view all garages. This leads me to 2 questions:
1. Is this behavior by design?
2. How can I set it up so that only particular usergroups can view garages (for example - registered users can view only, users of a custom usergroup can view and create / update)?
Thanks!
encounter similar problem.
Usergroup only allow to post comments anot.
that is the YES/NO settings.
dun think that is the setting to restrict view.
Yes it is by design.
The Can Use vbGarage option simply allows that particular usergroup to be able to add a car profile or edit it.
If you want to restrict the viewing of car profiles or the main list page, you will need to add an if condition to the vbgarage.php file in the do=list section.
Something like this:
if ($permissions['genericpermissions'] & CANVBGARAGE)
{
...view_car_profile_code_here....
}
else
{
print_no_permission();
}
Hope it helps :)
joeychgo
12-12-2004, 07:48 AM
do you ahve an idea when the next release will be out???
trevelyn1015
12-12-2004, 07:56 AM
i did all the template editing the same on both my styles and for some reason the garage functions on one but not the other...
www.ranger-forums.com
and i haven't installed gd 2.0+ on my server, yet, either...
but i want it to work on both styles
any idea why it isnt
do you ahve an idea when the next release will be out???
As with all hacks, it will be released when it is released :)
I am sure Action-N is working hard at it :)
Edric
12-12-2004, 12:19 PM
I am getting the following parsing errors in all pages, for example, this is what I get on my home page (I use the vba_cmps hack for my main page):
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/httpd/vhosts/avemelita.com/httpdocs/forum/includes/vba_cmps_include_bottom.php(79) : eval()'d code on line 311
on my /forum page:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/httpd/vhosts/avemelita.com/httpdocs/forum/index.php(546) : eval()'d code on line 311
on my vbgarage page:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/httpd/vhosts/avemelita.com/httpdocs/forum/vbgarage.php(330) : eval()'d code on line 311
Can anyone help?
Edric
12-12-2004, 12:38 PM
No worries, about it, I actually installed it successfully now.
However I have to understand how it works now.
Edric
12-12-2004, 12:53 PM
I do not understand why the hack does not appear in all style sets. I modified the default VBulletin Style Set which is the parent style set for all. However only the Style Set I set as default for the forum and its children work fine.
Any idea why?
Also, isn't it possible for each user to make more than one entry with multiple pictures? That would be very useful because I used vBGarage in order to have a photo gallery at my forum, where only I and a selected few could post pictures.
Also, do you delete an entry completely, I tried by deleting all photos by the entry remained there, is it possible to completely remove an entry?
StuKeR
12-12-2004, 01:52 PM
Hi,
When I just have installed the hack VBgarage and I've got a little problem
I've I try to enter via CMPS says that vbgarage.php doesn't exist, but if I try to enter once I'm in the forum then works
the problem is:
<!-- START VBGARAGE HACK -->
<td class="vbmenu_control"><a href="./vbgarage.php?$session[sessionurl]do=list">$vbphrase[vbgarage]</a></td>
<!-- END VBGARAGE HACK -->
if I put here <a href="./vbgarage.php?$ via CMPS not working, but in forum yes because my folder structure is like public_html/foro/
but, if put <a href="foro/vbgarage.php?$ via CMPS works but via forum doesn't works because in the navbar puts http://www.mysite.com/foroforo/vbgarage.php?$
so It rewrites twice the word foro...
how I could make it run well???
thx for all
Hi,
When I just have installed the hack VBgarage and I've got a little problem
I've I try to enter via CMPS says that vbgarage.php doesn't exist, but if I try to enter once I'm in the forum then works
the problem is:
<!-- START VBGARAGE HACK -->
<td class="vbmenu_control"><a href="./vbgarage.php?$session[sessionurl]do=list">$vbphrase[vbgarage]</a></td>
<!-- END VBGARAGE HACK -->
if I put here <a href="./vbgarage.php?$ via CMPS not working, but in forum yes because my folder structure is like public_html/foro/
but, if put <a href="foro/vbgarage.php?$ via CMPS works but via forum doesn't works because in the navbar puts http://www.mysite.com/foroforo/vbgarage.php?$
so It rewrites twice the word foro...
how I could make it run well???
thx for all
sorry after re-reading i think i understand better, change to:
Use full path.
<a href="http://subdomain.yourdomain.com/vbgarage.php?do=list">$vbphrase[vbgarage]</a>
it should not cause a confused on ur cmps and forum.
I do not understand why the hack does not appear in all style sets. I modified the default VBulletin Style Set which is the parent style set for all. However only the Style Set I set as default for the forum and its children work fine.
Any idea why?
Faced the same problem.
2 solution, 1 check templates on the defaults one u set on forum, u will notice that there are some file vbgarage_*****
but when u check the rest, there isnt.
Copy the exact template with the exact date and create new template on the rest of the style.
solution 2,
set default theme for all the forum once,
each time u set default to another theme, run the installer file of vbgarage
TK NOTE ONLY CLICK ONCE TO CREATE TEMPLATE
then close and repeat the steps until all the style carries the vbgarage_*** template.
Also, isn't it possible for each user to make more than one entry with multiple pictures? That would be very useful because I used vBGarage in order to have a photo gallery at my forum, where only I and a selected few could post pictures.
Everyone is waiting for the release of vBGarage v3.2.0
The author is currently busy and thus still awaiting the release
Also, do you delete an entry completely, I tried by deleting all photos by the entry remained there, is it possible to completely remove an entry?
Upon entering usercp.php >> Edit vBGarage
the page is loaded: on the top u should see 2 option, edit and delete, click delete to totally remove the whole entry.
speedracer68
12-12-2004, 04:06 PM
Well, yesterday I moved to a new IP. Afterwards my vBGarage no longer worked. All the links pointed to the old ip address. So, I thouht I could just go one by one and delete the 6 or 8 cars listed. (I't s only been up a few days)
Now that I have deleted the cars it won't let me create a new vbgarage for my car. There is no button to create or start one. It's almost like it knows I still have one and won't let me create another one? Is there a way to clear something? When I visit my vBGarage I see this (see attatchment)
Well, yesterday I moved to a new IP. Afterwards my vBGarage no longer worked. All the links pointed to the old ip address. So, I thouht I could just go one by one and delete the 6 or 8 cars listed. (I't s only been up a few days)
Now that I have deleted the cars it won't let me create a new vbgarage for my car. There is no button to create or start one. It's almost like it knows I still have one and won't let me create another one? Is there a way to clear something? When I visit my vBGarage I see this (see attatchment)
Mmm. seems to me uninstall and re-install? :p
anyway here the delete code using super admin status.
http://www.yourdomain.com/vbgarage.php?do=delgarage&id=x
x = userid registered in ur database.
speedracer68
12-12-2004, 04:40 PM
Mmm. seems to me uninstall and re-install? :p
anyway here the delete code using super admin status.
http://www.yourdomain.com/vbgarage.php?do=delgarage&id=x
x = userid registered in ur database.
I have red some of the uninstall posts regarding vBGarage and I don't understand most of it. I guess I'll go read again. Is there perhaps just some key thing to do rather then a full uninstall? Maybe there is just one file to replace?
Thanks!
my guess also was to replace file or maybe files will do.
mmm.. lets wait for someone who knows the coding in and out to help?
Edric
12-12-2004, 05:24 PM
Faced the same problem.
2 solution, 1 check templates on the defaults one u set on forum, u will notice that there are some file vbgarage_*****
but when u check the rest, there isnt.
Copy the exact template with the exact date and create new template on the rest of the style.
I did that, worked fine.
Everyone is waiting for the release of vBGarage v3.2.0
The author is currently busy and thus still awaiting the release
Meaning that each member can only create one entry? (I use this to put pictures of events, therefore I definitely need to make more than one entry, morevoer I do not want anyone except Administrators to be able to post photos)
Upon entering usercp.php >> Edit vBGarage
the page is loaded: on the top u should see 2 option, edit and delete, click delete to totally remove the whole entry.
There is no delete in my options, I can only delete pictures when entering the Edit section.
Thanks for the great help. :)
I did that, worked fine.
Meaning that each member can only create one entry? (I use this to put pictures of events, therefore I definitely need to make more than one entry, morevoer I do not want anyone except Administrators to be able to post photos)
There is no delete in my options, I can only delete pictures when entering the Edit section.
Thanks for the great help. :)
oops. apologise..
the edit/delete is on the vbgarage.php?do=list
sorry for the mistake.
trevelyn1015
12-12-2004, 06:17 PM
i went in and just copied all of the vBGarage templates from one style to the other and now it's all good on both styles... thanks fellas...
StuKeR
12-12-2004, 07:55 PM
sorry after re-reading i think i understand better, change to:
Use full path.
<a href="http://subdomain.yourdomain.com/vbgarage.php?do=list">$vbphrase[vbgarage]</a>
it should not cause a confused on ur cmps and forum.
I feel like a lammah,
I do it, like you have post and worked well...
sorry for wasting your time...
thx for all
Jacko
12-12-2004, 11:18 PM
is it possible to add a watermark to each image upon uploading??
bump for me, this possible at all??? :rolleyes:
speedracer68
12-13-2004, 12:34 AM
I have red some of the uninstall posts regarding vBGarage and I don't understand most of it. I guess I'll go read again. Is there perhaps just some key thing to do rather then a full uninstall? Maybe there is just one file to replace?
Thanks!
I have uninstalled and re-installed vbgarage. It does work but if you had a car listed before I moved the server it won't let you add one now. It's like it thinks you have a car allready posted? For example, a guy who never posted a car before is able to create his own page but, I can not. I assume it's because I had one before and it still thinks I do?
Pleae help!
i believe u got to run quey to clear the database info 1st..?
Edric
12-13-2004, 09:33 AM
oops. apologise..
the edit/delete is on the vbgarage.php?do=list
sorry for the mistake.
I cannot find any delete option anywhere. I went through the navbar and to the photo section, I also when to the UserCP, nothing.
did u d.l the 3.1.1 version..
Edric
12-13-2004, 12:09 PM
Yes I did, it is the one featured in the Download box.
mm. this is werid.
ur status is super admin in forum?
u should see it...
camoman
12-15-2004, 09:38 PM
Does this work on VB 3.0.3?
UManiac
12-15-2004, 09:56 PM
Does this work on VB 3.0.3?
Yes it does; perfectly.
aussiev8
12-15-2004, 10:36 PM
cinq any luck trying to get the images out of the database? with 14 users its filling up fast, and i've limited the size of the images, but the db still getting big!
Am still working on it aussie :)
You have 14 users, I have a few hundreds lol
camoman
12-16-2004, 02:23 AM
Trying to install the hack on VB 3.0.3 and I get this error after editing the init.php.
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/curtis/www/trackshare.com/forum/includes/init.php on line 722
Parsing functions.php Time before: 1103170758.0835 Time after: 1103170758.1836 Time taken: 0.1000919342041
So went back to the original file and tried to complete the install and try changing that last and when I got to the part
. In the ADMINCP, under Usergroup -> Usergroup Manager, make sure to enable "Can use vBGarage?" for all usergroups which should have access!
By default, all usergroups are set to No.
I get this error when trying to save the config.
Database error in vBulletin 3.0.3:
Invalid SQL: UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Registered',
description = '',
usertitle = 'Registered User',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
canvbgarage = '1',
attachlimit = '0',
avatarmaxwidth = '100',
avatarmaxheight = '100',
avatarmaxsize = '100000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '100000',
pmquota = '100',
pmsendmax = '5',
forumpermissions = '127999',
pmpermissions = '3',
calendarpermissions = '17',
wolpermissions = '1',
adminpermissions = '0',
genericpermissions = '2626631',
genericoptions = '30'
WHERE usergroupid=2
mysql error: Unknown column 'canvbgarage' in 'field list'
mysql error number: 1054
Any ideas???
Thanks for you help.
-curtis
camoman
12-16-2004, 03:37 AM
I think I found an error.. the only way I can get it to work is in the init.php I added a "," at the end of 262144.
This is the way the install doc reads (copy and pasted)
3b. In INCLUDES/INIT.PHP:error here
Find:
#######################
'caneditownusernotes' => 131072
#######################
REPLACE with:
#######################
'caneditownusernotes' => 131072,
// START VBGARAGE HACK
'canvbgarage' => 262144
// END VBGARAGE HACK
#######################
This is what I did to make it work:
3b. In INCLUDES/INIT.PHP:error here
Find:
#######################
'caneditownusernotes' => 131072
#######################
REPLACE with:
#######################
'caneditownusernotes' => 131072,
// START VBGARAGE HACK
'canvbgarage' => 262144,
// END VBGARAGE HACK
#######################
So now I don't recieve any errors.
HOWEVER,
When I use vbgarage and try post a picture I get a "red x" for the picture. BUT if I click on it to enlarge it it displays fine!??! Has anyone come accross this??
Thanks,
-Curtis
Someone should really update the instructions for init.php to make this hack problem free in 3.0.3 instead of having to go through pages of repeating the same error from those who have just installed this hack ....
curtis, do you have GD2 ?
camoman
12-16-2004, 11:25 AM
I ried to turn it on but I don't think I do.. what is GD2 exaclty? and how do I install it?
Thanksfor your reply.
-Curtis
Go to your admincp, under Import and Maintenance, view PHP info
Check to see if you had gd enabled and which GD version
Mine looks like in the attachment.
If yours is not enabled, you may have to contact your webhost.
camoman
12-16-2004, 12:23 PM
It has it but not the options you have..
This is all I have...
Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Is this something I need to upgrade on the server?
Well, there you go, yours is a version lower than 2.
You will need to ask your webhost to get GD2 working for you ( or do it yourself if you can -- I don't know how though )
dcevoclub
12-16-2004, 03:30 PM
ok i'm re-desinging my site, ever since i upgraded to VB3.0.3 (i suppose this is bad juju) i've been trying to get this to work again.
HOWEVER, when a regular usergroup id #2 tries to access this vbgarage, it says access denied, i tried setting the option to on or off, in the usergroup manager, however its always stuck on "yes"...
i'm assuming something is missiong from my DB, however where should i check? is there a column in usergroup that isn't there?
dcevoclub
12-16-2004, 07:15 PM
ok it seems that only "administrators" are allowed to access this...
NSeXcellent
12-16-2004, 11:10 PM
Crazy question, but could this be used for something other than a garage? I run a site for clubbing/DJs/Music/etc, and I would love to adapt this to be a DJ Profile for my members, rather than a garage. Would it take more than just some basic text changes to make that work?
Thanks in advance
ok it seems that only "administrators" are allowed to access this...
Then you will have to enable individual usergroups to be able to use the vbgarage.
Have you done that ?
I upgraded from 3.0.1 to 3.0.3 too without problems, just had to do the neccessary file edits to the php files again.
Crazy question, but could this be used for something other than a garage? I run a site for clubbing/DJs/Music/etc, and I would love to adapt this to be a DJ Profile for my members, rather than a garage. Would it take more than just some basic text changes to make that work?
Thanks in advance
Nope, just text changes :)
Its all in the phrases. :D
UManiac
12-17-2004, 12:17 AM
great Hack! Thank you!
dieselpowered
12-17-2004, 05:56 AM
Worked fine here...Thanks!
IanW-GC8
12-17-2004, 10:14 PM
I was just about to install this hack (which looks really good BTW) and I got to the point where I need to edit init.php where i noticed this.
// START VBGARAGE HACK
'canvbgarage' => 262144,
// END VBGARAGE HACK
'canseehiddencustomfields' => 262144,
Is the fact that these 2 ID's are the same going to cause any problems?
dieselpowered
12-17-2004, 10:40 PM
The only issue I am having is the adding of the image to the postbit template....The image does not show???
Any thoughts? The image exist so I do not have a clue??
Action-N
12-17-2004, 11:33 PM
I was just about to install this hack (which looks really good BTW) and I got to the point where I need to edit init.php where i noticed this.
// START VBGARAGE HACK
'canvbgarage' => 262144,
// END VBGARAGE HACK
'canseehiddencustomfields' => 262144,
Is the fact that these 2 ID's are the same going to cause any problems?
Yes it will, how the instructions should read is. At the end of that list add 'canvbgarage' => 262144 (or enter double previous number)
,
'canvbgarage' => 262144
I should see if I can set it up with it's own permissions field so we don't have these problems come next release. Do a search for "canvbgarage" in this thread if you don't understand what I wrote here, cuase this has been asked many times within this thread. Magnus should put links in the main thread to all the fixes for these bugs.
IanW-GC8
12-17-2004, 11:37 PM
Many thanks Scott, that makes sense however i'll search this thread as well! :D
therczone
12-18-2004, 05:09 PM
To be honest, I can't read all 98 pages of this.. so if it was already discussed, my apologies.
I would like to change the name of it, instead of vBGarage. I don't want to change the credit link on the bottom, just the title that is shown everywhere. Like "Fishtank Garage" (just a random example).
I.E. here it says "Member VBGarage(s)": https://vborg.vbsupport.ru/attachment.php?attachmentid=18056
How would I do this? Would editing the phrase do it? Also, I want to rename vbgarage.php to fishtankgarage.php (or w/e). If I were to open vbgarage.php and do a replace all on the word "vbgarage" and make it change to "fishtankgarage" would it still work?
Action-N
12-18-2004, 05:28 PM
To be honest, I can't read all 98 pages of this.. so if it was already discussed, my apologies.
I would like to change the name of it, instead of vBGarage. I don't want to change the credit link on the bottom, just the title that is shown everywhere. Like "Fishtank Garage" (just a random example).
How would I do this? Would editing the phrase do it? Also, I want to rename vbgarage.php to fishtankgarage.php (or w/e). If I were to open vbgarage.php and do a replace all on the word "vbgarage" and make it change to "fishtankgarage" would it still work?
Well to be honest yes it was, but like you I'm not about to search 98 pages looking for it so were even. There is a phrase for vbgarage in your phrases you can change, doing a search in phrases for "vbgarage" useing Phrase Variable Name Only will find it. But as some have found out that some vbgarage titles where hardcoded within the php file so you'll have to search through that an replace what you want.
To replace the name of the php file you are right in that you'll need to go through everything an change the name, but yes no reason why it can't be done. Just use an editor to find & replace. One that lets you match case values. Then don't forget to edit "define('THIS_SCRIPT', 'vbgarage');" to php files new name.
Fishtanks huh, well the only two variables that it recuires when making a garage is year and make. The rest it doesn't check for. If you don't need these I bet you can just change the text for these without changeing the variables. Your members won't know what you have the variables named as in the background. Goodluck an let us know how you make out, cuase I bet you're not the only one wanting to do this.
IanW-GC8
12-18-2004, 11:16 PM
Scott,
Thanks for your help yesterday, I installed it today without any problems what so ever! :D
Ian
Action-N
12-19-2004, 12:57 AM
Well glad you have it working now.
I wanted to let those following the thread know that I am making progress now with storeing files on the server. So far I have it making user folders, uploading multiple files at once into the folders an updating file counts stored in user table. I posted a picture of the front page, even thought you can see it live on my website. The three fields with pictures above them are for photos, sounds, and videos. Hopefully I've been through the hard part an the rest is smooth sailing.
hasan2k
12-19-2004, 04:33 AM
How is the modification to the latest version coming along. Specially the multiple car profile? Can you please give us an update on when you think you would release the newest version.
Number9
12-19-2004, 04:51 AM
Here's a weird question, hope you can help.
I have installed VB garage before and uninstalled it as the server didn't have GD lib. Now, we're on a new server and have GD lib.
So, I reinstalled the garage, did the file changes, etc etc and when I do the install in the Usergroup Manager I see (see attached pic).
At appears that that anything relating to the garage doesn seem to show?
therczone
12-19-2004, 06:03 AM
Number9, I have the same problem. :(
Action-N
12-19-2004, 11:42 AM
Here's a weird question, hope you can help.
I have installed VB garage before and uninstalled it as the server didn't have GD lib. Now, we're on a new server and have GD lib.
So, I reinstalled the garage, did the file changes, etc etc and when I do the install in the Usergroup Manager I see (see attached pic).
At appears that that anything relating to the garage doesn seem to show?
I believe thats a problem where you don't cache yor phrases. All you have to do is edit any phrase then save it. You don't need to change it you just want it to save the text to update the cache data. Try that an see how you make out.
JohnBee
12-19-2004, 11:57 AM
Question for magnus
First off, I love your hack! I look at this and I see gold for my own Design forum
but we are not car lovers by rights we design anything mechanical / structural
etc.
I would love to install your hack on my forum but modify it to fit our own system
instead of auto part descriptions I could put software, system and work process
involved in the making of the project.
Do you mind if I did that?
I mean do you mind if I modify your hack?
The reason I ask instead of just doing it is because someone on our forums
might see this and ask for it "modified" it could spread and I don't want to
walk on any toes.
Please let me know if this is a problem.
Thanks
Number9
12-19-2004, 05:15 PM
I believe thats a problem where you don't cache yor phrases. All you have to do is edit any phrase then save it. You don't need to change it you just want it to save the text to update the cache data. Try that an see how you make out.
Thank-you. That worked great.
Action-N
12-19-2004, 10:43 PM
Here is a screenshot of the file attachment page I just spent all day working on. See what you think of it so far. I had to seperate it from the main edit garage fields since images need a garage id not yet established when first making a garage. That is what kept me from releasing the latest version just for multiple garages. I'm moving right along with vbgarage now, but no idea yet on a date.
Jhonbee, you probably wont see him around for another few months. Before his last apperance here not to long ago I think he was awall for like a year. Now as far as modifying vbgarage for your needs thats fine, but with this releas I am building now is meant to be more universal. What I wanted to see done is users would setup a custom garage an offer conversion packages for others. They way I built it was all text fields and options are defualt text like text1, text2,option1,option2, etc... Once a garage is designed a user could download the custom text fields an any custom template designs, zip them up an upload the to the vbgarage post. This way if you or I wanted a garage for say custom built computers they could download an install the text an templates to setup vbgarage for computers. I probably sound confuseing, but hopefully you can get the general idea. This way we don't have more than one version of vbgarage floating around. Besides who would you expect to give support for your modified version? Holy cow, that's alot of writing I'm not going to proof read all that. :D
dieselpowered
12-21-2004, 01:02 AM
The only issue I am having is the adding of the image to the postbit template....The image does not show???
Any thoughts? The image exist so I do not have a clue??
Action-N
12-21-2004, 01:11 AM
The only issue I am having is the adding of the image to the postbit template....The image does not show???
Any thoughts? The image exist so I do not have a clue??
postbit, are you talking about adding an icon that links to the garage?
Action-N
12-21-2004, 01:21 AM
is it possible to add a watermark to each image upon uploading??
Click on the link below, then click one of the images. :D
http://www.action-forums.com/forum/vbgarage.php?do=view&userid=1&id=9
dieselpowered
12-21-2004, 02:49 AM
postbit, are you talking about adding an icon that links to the garage?
Yes sir, that is what I am referring to :)
Action-N
12-21-2004, 03:43 AM
Yes sir, that is what I am referring to :)
You can try this bit of code here, but it doesn't know whether or not the user has a garage. For that it would most likely need coded in the php file.
This is set of for an image named wrench.gif that's in the images/misc folder. Change the code below for your own setup.
FIND in postpit/postbit_legacy
$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]
ADD under
<if condition="$post['userid']">
<a href="vbgarage.php?$session[sessionurl]do=view&userid=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/wrench.gif" alt="vbgarage" border="0"></a>
</if>
aussiev8
12-21-2004, 05:41 AM
is there anyway, of placing a little icon in the postbit of a user with a vbgarage entry?
Didn't I post that modification here (https://vborg.vbsupport.ru/showpost.php?p=580657&postcount=1386) :)
Action-N
12-21-2004, 06:47 AM
That's a case of important posts getting lost in big threads. Once I release this next function I'll make a new thread, so I'll be around to update the thread. Since I have been added as a supporter for this hack, shouldn't I be given permission to edit the main post? I would think that'd be a great idea.
"Supporters should be allowed to update first post"
dieselpowered
12-21-2004, 05:41 PM
Didn't I post that modification here (https://vborg.vbsupport.ru/showpost.php?p=580657&postcount=1386) :)
Yes you did and it did not work ;)
The image did not display :( The image exist in the directory, however, would not display on the page??
therczone
12-21-2004, 05:50 PM
I'm STILL getting this error (posted by number9). I went to phrases, and hit save. It still doesn't work. I guess I will wait for the newest version.
https://vborg.vbsupport.ru/showpost.php?p=583816&postcount=1462
Sia Bani
12-21-2004, 07:47 PM
What is GD 2.0+ Library? How do I get this?
noppid
12-21-2004, 09:26 PM
What is GD 2.0+ Library? How do I get this?
Your host needs to install and enable it in PHP.
Sia Bani
12-21-2004, 09:27 PM
ahh, thanks
aussiev8
12-21-2004, 09:35 PM
thanks cinq, this mod needs to be stripped of all the b/s and an official FAQ written.
its to hard to search for anything if you don't want to go through 100 pages ;)
aussiev8
12-21-2004, 10:01 PM
cinq it doesn't work, there isn't any image :(
Sia Bani
12-21-2004, 10:22 PM
Look at my post Aussie.
Action-N
12-21-2004, 11:18 PM
cinq it doesn't work, there isn't any image :(
For me either, will take a look at the code. I'm surepeople will want this to be apart of the release anyway.
Action-N
12-21-2004, 11:22 PM
I'm STILL getting this error (posted by number9). I went to phrases, and hit save. It still doesn't work. I guess I will wait for the newest version.
https://vborg.vbsupport.ru/showpost.php?p=583816&postcount=1462
I don't know what else it could be besides that. I went to check your garage out, but couldn't find it on your site. Try doing a search for "vbgarage" in your phrases to see if they are at least there.
Don't worry, next release will be in a new thread an I plan to stick around to keep it maintained.
i'll look into it later.
i have it working on my site but i hacked the original a lot so things may be quite different.
will install the original on my test box to try it out later :)
aussiev8
12-22-2004, 11:01 AM
can you get the images out of the database and just have links!
that would be super!
Full Throttle
12-23-2004, 07:49 PM
Installed on our board worked GREAT first try
Thanks
"clicks Install"
Mike
www.fullthrottletech.com
alkatraz
12-25-2004, 10:34 AM
Couldn't get the "View Members Garage" link to work in the postbit..
Tried using a pic and plain text, won't show up unless I remove the IF statement in the postbit and even then it links to the vbgarage homepage intead of the members garage.
In response to this :
In /includes/functions_showthread.php
FIND:
// ###################### Start process_highlight_postbit #######################
function process_highlight_postbit($text, $words, $prepend)
ADD ABOVE:
###################### FOR GARAGE ICON #######################
function fetch_garageicon($userid)
{
global $DB_site, $garagecache;
if (!is_array($garagecache))
{
$garagecache = array();
$garage = $DB_site->query
("
SELECT gu.userid, user.userid
FROM " . TABLE_PREFIX ."vbgarage_users AS gu
LEFT JOIN " . TABLE_PREFIX ."user AS user ON gu.userid = user.userid
");
while($garagequeryarray = $DB_site->fetch_array($garagequery))
{
$garagecache["$garagequeryarray[userid]"] = $garagequeryarray;
}
$DB_site->free_result($garagequery);
}
if($garageinfo = $garagecache[$userid])
{
if ($garageinfo[userid])
{
return "$stylevar[imgdir_misc]/viewgarage.gif";
}
}
return FALSE;
}
###################### FOR GARAGE ICON #######################
SAVE AND UPLOAD THE FILE
In showthread.php in the root directory of your forums.
FIND:
$post['attachments'] = &$postattach["$post[postid]"];
ADD BELOW:
###################### FOR GARAGE ICON #######################
$post['garage'] = fetch_garageicon($post[userid]);
###################### FOR GARAGE ICON #######################
SAVE AND UPLOAD THE FILE
Now in your postbit template ( or postbit_legacy, whichever you are using )
Just add this whereever you want the icon image to show:
<if condition="$post[garage]">
<br><div><a href="$vboptions[bburl]/vbgarage.php?do=list&userid=$post[userid]" target="_blank">$post[garage]</a>
<br /></div></if>
Lastly, upload your image into your forum images directory, in the MISC folder.
NOT TESTED but it should work. Do feedback for any errors and I will amend the errors accordingly. Would be good if this post can be linked in the hack post under the modifications/addons bit.
Hope this helps :)
aussiev8
12-26-2004, 02:08 AM
THIS SCRIPT IS INSECURE!
Last night i found 2 possible ways a hacker could gain entry via a hole in this script.
why isn't security a main issue with Vbulletin hacks? Its very sad, my vbgarage will now be taken down until i fix the hole..
It would help if these are reported.
I think you should drop a PM to Action-N ( and possibly to me as well, I am eager to know what it is too ), to inform him and let him be aware of it, since he is the lead developer of this hack now.
Action-N
12-26-2004, 03:17 AM
Well now I know, but I am not a hacker. So as a nonhacker I wouldn't know such things. Right now I am working on adding more features to this script and storing the images on the server in folders. I haven't even started to consider optimizeing the code or talking to other developers or reading the vb files on making this script secure. Now since it'll be saving images to folders I will have to be concerned about security. Also 3.11 was not mine it was all magnus an he won't come around to update the file. At least you didn't post them for everyone to see.
aussiev8
12-26-2004, 06:33 AM
pm's sent!
trevelyn1015
12-26-2004, 07:30 AM
can anyone help me install gd on my server?
alkatraz
12-27-2004, 05:02 AM
can anyone help me install gd on my server?
If you have Easyapache (built into WHM/Cpanel control panel powered servers) then here you go:
http://www.vbulletin.com/forum/showthread.php?t=120582
Benjamin_vb
12-27-2004, 03:51 PM
Has anyone experienced any trouble with the images not displaying in 'list' and 'view' actions on the vbgarage page?
I've looked through about 20 pages of this thread and havent had any luck.
I have GD Version bundled (2.0.28 compatible) installed and working, but only Red Xs where an image is supposed to appear. If i click on the Red X, the correct image oopens ina new window.
Page: http://www.vdubaddiction.com/forums/vbgarage.php?do=list
Any help would be greatly appreciated. Thanks!
-Benjamin
Rick Sample
12-27-2004, 09:28 PM
Any new word on the update bud for the upgrade to your version from the old one? Also, I noticed on your current garage list page, it doesn't show a photo of the users car like it did before, will you incorporate this into it like you used to have it? Now it just says ID: XX
Thanks :)
djnth
12-30-2004, 08:19 AM
I understand the need to make the next version as great as possible, but you have to draw the line somewhere and get the release out. Adding new features could go on forever, but if you could get a version out now everyone could contribute ideas on how to make the program better from first hand use rather than implementing something only to find out it could have been done differently or more efficiently if done another way. I don't mean to sound impatient, but I guess really I am just a bit impatient. :) I appreciate all of the work going into this but save some features for future versions.
BTW I plan on making a donation if Action-N sets one up to show my appreciation for all of the hard work that goes into this new version.
MR-2ZZ
12-30-2004, 09:24 PM
My permissions keep resetting, can someone repost the uninstaller. I am kinda tired of rehacking this thing every other day so I will wait for the new version to come out. Good job to all the people getting this new version going!
I've installed this hack and am pretty happy with it. Took me a while to get past the permission bug and get the templates copied to my different styles, but I enjoy the concept.
I'm wondering about other modifications... Is there a way for a user to have more than one car listed per account? Also, as I'll be renaming the categories to go with a computer theme, is there a way to increase the "year" dialogue from a 4-character maximum to something a little larger?
Thanks for such a cool hack.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.