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 |
#672
|
|||
|
|||
I guess I should add: if you understand how the phrases work, you can create phrases that have the various code changes for the different results you desire and then make your code relate to the phrases, rather than have all the extra code in your template. Then just change the phrases in the if statements.
|
#673
|
||||
|
||||
Quote:
here is the code for that template: Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head><title>$vboptions[bbtitle] - $user[username]'s vBGarage</title> $headinclude <script language="javascript" type="text/javascript"> function PopupPic(sPicURL) { newWin=window.open( sPicURL, 'newWin', 'resizable=1,HEIGHT=200,WIDTH=200'); newWin.focus(); } </script> </head> <body> $header $navbar <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="2"><b>$user[username]'s $data[year] $data[make] $data[model]</b><if condition="$bbuserinfo[usergroupid]==6"> <span class="smallfont">[<a href="$vboptions[bburl]/vbgarage.php?do=delgarage&id=$data[userid]">$vbphrase[delete]</a>] [<a href="$vboptions[bburl]/vbgarage.php?do=editgarage&id=$data[userid]">$vbphrase[edit]</a>]</span></if></td> </tr> <tr> <td class="alt2" width="50%">$data[text]</td> <!-- 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 /> <if condition="$user[field55] !='00.00'"> <b>My Best ET: <font color="red">$user[field55]</font> <else /> 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[field56] !='00.00'"> <b>My Best MPH: <font color="red">$user[field56]</font> </if> </span> </td> </tr> <!-- rwhp field --> <tr> <td class="$getbgrow"><span class="smallfont"> <if condition="$user[field51] !='0.0'"> <b>My RWHP: <font color="red">$user[field51]</font> </if> </span> </td> </tr> <!-- best 60 foot time --> <tr> <td class="$getbgrow"><span class="smallfont"> <if condition="$user[field52] !='0.000'"> <b>My Best 60 foot time: <font color="red">$user[field52]</font> </if> </span> </td> </tr> </td> </tr> </table> <br/> <!-- End PERFORMANCE STATS BLOCK --> <td class="alt2" width="50%" valign="top" align="center"> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0"> <tr> <td class="tcat">Photos</td> </tr> <tr> <td class="alt2">$imagebits</td> </tr> </table> </td> </tr> <tr> <td class="tcat" colspan="3" align="right"><span class="smallfont">$vbphrase[vbgarage_footer]</span></td> </tr> </table> </td></tr></table> <br /> <if condition="$vboptions[vbgcomments]"> <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">$vbphrase[vbgarage_author]</td> <td class="tcat">$vbphrase[comment]</td> <td class="tcat" width="10%">$vbphrase[date]</td> </tr> $commentbits </table> </td></tr></table> <if condition="$bbuserinfo['userid']"> <br /> <form action="vbgarage.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="id" value="$user[userid]" /> <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="3">$vbphrase[vbgarage_add_a_comment]</td> </tr> $logincode <tr> <td class="alt2"><b>$vbphrase[comment]:</b></td> <td class="alt2"><input type="text" class="bginput" name="comment" size="$stylevar[tablewidth]" /></td> </tr> </table> </td></tr></table> <br /> <table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center"> <tr> <td align="center"> <input type="submit" class="button" value="$vbphrase[submit]" accesskey="s" /> <input type="hidden" name="do" value="addcomment" /> </td> </tr> </table> </form> </if> </if> $footer </body> </html> Your the only one that has mentioned the scrolling...... I have looked at several resolutions including 1024x768 and find no scrolling necessary except just a little on the vba page---- so im confused......what am I missing? thanks for the compliment |
#674
|
|||
|
|||
where can i define the cell class $getbgrow
|
#675
|
|||
|
|||
Joey, it's easy to see the error. If you follow my instructions, is says
Code:
"find <td class="alt2" width="50%">$data[text]" Code:
<td class="alt2" width="50%">$data[text]</td> Edit your code to make the mod code start directly after Code:
$data[text] |
#676
|
|||
|
|||
FWIW, all you guys who read these posts, when you do any sort of template or file mod, you must pay close attention to the instructions- Otherwise you can fubar everything. You need to note the last character displayed when it says "find this" and do not place code anywhere but after that last noted character.
This is my instruction for this mod verbatim: Code:
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%"> |
#677
|
|||
|
|||
does this help me with my problem?
|
#678
|
|||
|
|||
Quote:
devo, I am not sure what the problem is other than your font colors need changing. Simply add some simple HTML font tags and use white and see how things look... |
#679
|
|||
|
|||
Quote:
like you said $getbgrow is not defined, so i need to define it, but where is the question |
#680
|
||||
|
||||
Ok --- I made the change and moved the </td> to after your block. but --- part of the problem still remains. see screenshot - the title bar is proper but the data still vertically centers......
A hint for dealin with those of us who are newbies --- usually, instructions for something doesnt just get inserted in the middle of a line....... i thought the </td> part was a typo so I left it. If I was writing the instructions I would have said to replace that line and included it...... only cause newbies like me are dumb and trying to figure it out.. LOL Quote:
|
#681
|
||||
|
||||
Quote:
I would be more then happy to just get to your level SVTOA -- |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|