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 |
#1382
|
||||
|
||||
Grant, these may help :
http://underscorebleach.net/content/...ent_hotlinking http://www.devpapers.com/article/242 Goggle should turn up lots of results on this search : "prevent hotlinking using htaccess" Good luck |
#1383
|
|||
|
|||
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:
|
#1384
|
|||
|
|||
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? |
#1385
|
|||
|
|||
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. |
#1386
|
|||
|
|||
hey alkatraz i get that same problem sometimes...and some days the scroll bars load...i dont get it...
|
#1387
|
||||
|
||||
Quote:
In /includes/functions_showthread.php FIND: Code:
// ###################### Start process_highlight_postbit ####################### function process_highlight_postbit($text, $words, $prepend) Code:
###################### 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 ####################### In showthread.php in the root directory of your forums. FIND: Code:
$post['attachments'] = &$postattach["$post[postid]"]; Code:
###################### FOR GARAGE ICON ####################### $post['garage'] = fetch_garageicon($post[userid]); ###################### FOR GARAGE ICON ####################### Now in your postbit template ( or postbit_legacy, whichever you are using ) Just add this whereever you want the icon image to show: Code:
<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> 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 |
#1388
|
|||
|
|||
Quote:
I get this error PHP Code:
PHP Code:
|
#1389
|
||||
|
||||
Which line is 688 ?
|
#1390
|
|||
|
|||
Quote:
PHP Code:
|
#1391
|
||||
|
||||
Sorry, it should just read the code below.
Copied and pasted it from my own but made an error This should work now. Code:
return "$stylevar[imgdir_misc]/viewgarage.gif"; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|