The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBGarage v3.1.1 (now with GD-Lib support!) Details »» | |||||||||||||||||||||||||
[high]***[/high]CLICK HERE FOR vB3.0.5 INSTALLER/UPDATE[high]***[/high] vBGarage v3.1.1 (now with GD-Lib support!) Description This hack will allow your users to create a virtual garage where they can store photos, details, etc.. about their vehicle (this can be modified to suit forums of other interests). Latest Uploads will be displayed on Garage List. Forum users can now leave comments in member garages. Admin functions are available in the AdminCP. This version contains the ability to limit access by usergroup(s). All templates are 100% XHTML Verified! Information Tested and developed on vB 3.0.0 Gold. Requires GD 2.0+ Library Demo http://www.sffba.net/forum/vbgarage.php?do=list (Temporary) This hack, as like the rest of my hacks, are FREE. However, if you enjoy this hack and feel the need to donate something for my time you can do so by clicking the icon below: *NOTE: Those who donate are explicitly granted permission to remove the "Powered by" information from the vBGarage footer. *NOTE: When donating, please include your forum url. Thanks! Version History v3 - Initial release. Let's hope I don't have alot of entries here. v3.0.1 - Added GD-Lib Support! v3.1.0 - Added User Comments, Latest Uploads on Garage List, AdminCP Options v3.1.1 - Added ability for Admin to "edit" users' garages. Use ImageCopyResampled(); over ImageCopyResized(); for better thumbnail quality. Planned Features - Multiple entries per user. - Possible integration with Photopost/Coppermine/etc.. If you use this, please click * Installation script by John [hr]-[/hr] UPGRADES v3.1.0 -> v3.1.1 UPGRADE INSTRUCTIONS v3.0.1 -> v3.1.0 UPGRADE INSTRUCTIONS v3.0 -> v3.0.1 UPGRADE INSTRUCTIONS [hr]-[/hr] MODIFICATIONS/ADD-ONS [high]1. Add "Who's Online" Location by magnus[/high] [high]2. Organize Your vBGarage Templates by magnus[/high] [high]3. Increase Thumbnail Image Quality (v3.1.1 and older) by magnus[/high] [high]4. Alphabetize Garage List by magnus[/high] [high]5. Add "Latest Uploads" to FORUMHOME by magnus[/high] [high]6. EvilLS1's Timeslip Database Integration by SVTOA[/high] [high]7. Installer/Uninstaller by Action-N[/high] [high]8. vBulletin 3.0.5 Compatible Installer/Update by noppid[/high] Supporters / CoAuthors Show Your Support
|
Comments |
#1322
|
|||
|
|||
this is what it would look like if I were to edit per instructions;
Code:
'canmanageothersusernotes' => 16384, 'canpostownusernotes' => 32768, 'canpostothersusernotes' => 65536, 'caneditownusernotes' => 131072, // START VBGARAGE HACK 'canvbgarage' => 262144 // END VBGARAGE HACK, 'canseehiddencustomfields' => 262144, |
#1323
|
|||
|
|||
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?
|
#1324
|
|||
|
|||
Update, I decided to move the vbgarage up on the list, and now it shows up...
PHP Code:
|
#1325
|
|||
|
|||
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... |
#1326
|
|||
|
|||
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: PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
************************************* 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 Quote:
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: PHP Code:
Add ABOVE: PHP Code:
In includes/init.php Find: PHP Code:
PHP Code:
Thanks --Scott --Silverstangs |
#1327
|
|||
|
|||
|
#1328
|
|||
|
|||
Quote:
|
#1329
|
|||
|
|||
Quote:
It's not that hard to do, more of changeing a few words... I am doing that for another type of forum. |
#1330
|
|||
|
|||
Quote:
|
#1331
|
||||
|
||||
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
|
#1332
|
||||
|
||||
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 |
#1333
|
|||
|
|||
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.
|
#1334
|
||||
|
||||
Quote:
|
#1335
|
|||
|
|||
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. Quote:
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... |
#1336
|
|||
|
|||
I have made a modification to my VbGarage 1/4 Mile Stats Hack 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. Code:
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 --> ######################################################## |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|