The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Current Galleries on Top for vBPicGallery Details »» | |||||||||||||||||||||||||||
Current Galleries on Top for vBPicGallery
Developer Last Online: Mar 2009
Mod Description:
This template change will modify your "Manage My Gallery" page. It will move your current galleries to the top of the page instead of scrolling past the Add Gallery box to see your galleries. This mod is for the Latest Version 9.3.1 but may work for past versions. Please back up your template before editing. Replace All Contents of your vbpicgallery_editgallery template with below. Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - $vbphrase[vbpicgallery]</title> <script type="text/javascript"> <!-- function confirm_del() { ht = document.getElementsByTagName("html"); if (confirm('Delete the Selected Item?')) { return true; } else { return false; } } //--> </script> </head> <body$onload> $header $navbar $vbpg_navbar <table cellpadding="5" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center" style="border-style: solid;border-bottom-width: 1px;border-top-width: 1px;border-left-width: 1px;border-right-width: 1px;"> <tr> <td class="tcat" colspan="6"><b>$vbphrase[edit] $vbphrase[vbpicgallery](s)</b></td> </tr> <tr><td> <table cellpadding="5" class="tborder" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-style: solid;border-bottom-width: 1px;border-top-width: 1px;border-left-width: 1px;border-right-width: 1px;"> <tr> <td class="thead" align="left">$vbphrase[vbpicgallery_type]</td> <td class="thead" align="center">Images</td> <td class="thead" align="center">Comments</td> <td class="thead" align="center">$vbphrase[views]</td> <td class="thead" align="center">Created</td> <td class="thead" align="center">$vbphrase[last_activity]</td> <td class="thead" align="center">Edit</td> <td class="thead" align="center">Delete</td> </tr> $edithallsbits </table> </td></tr> </table> <br /> <!-- Begin multi gallery --> <if condition="!$g"> <table cellpadding="5" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center" style="border-style: solid;border-bottom-width: 1px;border-top-width: 1px;border-left-width: 1px;border-right-width: 1px;"> <tr> <td class="tcat"><b>Add $vbphrase[vbpicgallery]</b></td> </tr> <tr><td> <table cellpadding="5" cellspacing="$stylevar[cellspacing]" class="tborder" border="0" width="100%" style="border-style: solid;border-bottom-width: 1px;border-top-width: 1px;border-left-width: 1px;border-right-width: 1px;"> <tr> <td class="alt2" align="center"> <form action="vbpicgallery.php" method="post" > <input type="hidden" name="s" value="$session[sessionhash]" /> <table cellpadding="5" 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="thead" colspan="2"><b>$vbphrase[vbpicgallery_title]</b></td> </tr> <tr> <td class="alt1" width="25%"><b>$vbphrase[vbpicgallery_desc1]:</b><br /> <span class="smallfont">$vbphrase[vbpicgallery_required]</span> </td> <td class="alt2"><input type="text" class="bginput" name="desc1" size="50" maxlength="50" value="$data[desc1]" /></td> </tr> <tr> <td class="alt1" width="25%"><b>$vbphrase[vbpicgallery_desc2]:</b></td> <td class="alt2"><input type="text" class="bginput" name="desc2" size="50" maxlength="50" value="$data[desc2]" /></td> </tr> <tr> <td class="alt1" width="25%"><b>$vbphrase[vbpicgallery_desc3]:</b></td> <td class="alt2"><input type="text" class="bginput" name="desc3" size="50" maxlength="50" value="$data[desc3]" /></td> </tr> </table> <!-- begin custom --> <if condition="$custombits"> <br /> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <tr> <td class="thead" colspan="2"><b>$vbphrase[vbpicgallery_text]</b></td> </tr> $custombits </table> </if> <!-- end custom --> </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" /> <br /><br /> $vbphrase[vbpicgallery_nextpage]<br /> <input type="hidden" name="do" value="newgallery" /> <input type="hidden" name="u" value="$id" /> </td> </tr> </table> </form> </td> </tr> </table> </td></tr> <tr> <td class="tcat" align="right">$vbphrase[vbpicgallery_footer]</td> </tr> </table> <else /> <!-- End Multi gallery --> <form action="vbpicgallery.php" method="post" enctype="multipart/form-data" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, 0)"</if>> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="max_file_size" value="$vboptions[vbpgmaxfilesize]"> <if condition="$preview"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-style: solid;border-bottom-width: 0px;border-top-width: 1px;border-left-width: 1px;border-right-width: 1px;"> <tr> <td class="tcat" colspan="2">$vbphrase[preview]</td> </tr> <tr> <td class="alt2"> <if condition="$show_errors"> <ol>$errorlist</ol> <hr /> </if> $previewtext </td> </tr> </table> </if> <table cellpadding="5" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center" style="border-style: solid;border-bottom-width: 1px;border-top-width: 1px;border-left-width: 1px;border-right-width: 1px;"> <tr> <td class="tcat" colspan="2"><b>$data[username]s $vbphrase[vbpicgallery]</b></td> </tr> <tr> <td> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-style: solid;border-bottom-width: 1px;border-top-width: 1px;border-left-width: 1px;border-right-width: 1px;"> <tr> <td class="thead" colspan="2"><b>$vbphrase[edit_options]</b></td> </tr> <if condition="$bbuserinfo[userid] == $id">$logincode</if> <tr> <td class="alt1"><b>$vbphrase[vbpicgallery_desc1]:</b><br /> <span class="smallfont">$vbphrase[vbpicgallery_required]</span> </td> <td class="alt2"><input type="text" class="bginput" name="desc1" size="50" maxlength="50" value="$data[desc1]" /></td> </tr> <tr> <td class="alt1"><b>$vbphrase[vbpicgallery_desc2]:</b></td> <td class="alt2"><input type="text" class="bginput" name="desc2" size="50" maxlength="50" value="$data[desc2]" /></td> </tr> <tr> <td class="alt1"><b>$vbphrase[vbpicgallery_desc3]:</b></td> <td class="alt2"><input type="text" class="bginput" name="desc3" size="50" maxlength="50" value="$data[desc3]" /></td> </tr> <tr> <td class="alt1"> <b>$vbphrase[vbpicgallery_text]:</b><br /><br /><br /><br /> <span class="smallfont">$vbphrase[vbpicgallery_text_desc]</span> </td> <td class="alt2"> <if condition="$vboptions[vbpgwysiwyg]"> <div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]"> $messagearea <input type="submit" class="button" name="tpreview" value="$vbphrase[preview]" accesskey="p" /> <input type="submit" class="button" value="$vbphrase[submit]" accesskey="s" /> </div> </td> </tr> <else /> <textarea name="message" rows="20" cols="70">$data[text]</textarea> </td> </tr> </if> <tr> <td class="alt1"><b>$vbphrase[vbpicgallery_uploaded_images]:</b><br /> <span class="smallfont">$vbphrase[vbpicgallery_allowed_total] $maxuploads<br /> $vbphrase[vbpicgallery_allowed_size] $maxfilesize</span></td> <td class="alt2">$editimagebits</td> </tr> <if condition="$count < $maxuploads"> <tr> <td class="alt1"><b>$vbphrase[vbpicgallery_file]:</b><br /><br /> <b>$vbphrase[vbpicgallery_photo_desc]:</b> </td> <td class="alt2"><input type="file" class="bginput" name="src" size="30" /><br /><br /> <input type="text" class="bginput" name="srcdesc" size="50" /> </td> </tr> </if> <tr> <td class="alt2" align="center" colspan="2"> <input type="submit" name="more_photos" class="button" value="$vbphrase[submit] $vbphrase[upload] $vbphrase[more]" accesskey="m" /> <br /><br /> <input type="submit" class="button" value="$vbphrase[submit] $vbphrase[done]" accesskey="s" /> <input type="hidden" name="do" value="edit" /> <input type="hidden" name="u" value="$id" /> <input type="hidden" name="g" value="$g" /> </td> </tr> </table> </td> </tr> <tr> <td class="tcat" align="right">$vbphrase[vbpicgallery_footer]</td> </tr> </table> </form> </if> $footer </body> </html> Find: Code:
You have not added a gallery yet. Add one using the form above Code:
You have not added a gallery yet. Add one using the form below. ScreenShot: Enjoy!!! Show Your Support
|
Comments |
#2
|
||||
|
||||
Awesome! I'll install this later...
|
#3
|
|||
|
|||
This may very well become the default. With alot of galleries, this looks and feels better.
Thanks! |
#4
|
||||
|
||||
Can not find where to Change Phrase: vbpicgallery_notaddedyet
Also, when I changed the code on "vbpicgallery_editgallery" to yours, the gallery page went blank. I had copied the original code to notepad so restoring it to the original was no problem. My site is running VB 3.6.5 and VBpicgallery 10.0.3. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|