The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Gallery for vBulletin 3.5.X Details »» | |||||||||||||||||||||||||
Gallery-Hack:
This hack is a gallery-system for your forum. Updated 05/25/06 New in this version 1.23: - Alternative layout - english phrases - Addition for the memberprofile - multiple picture-upload - Featured threads What's still to come? - Possibility for users, to choose the different layout. - Possibility for file-upload, not only pictures. - Language-Pack for german users Have fun with the hack. For a live-demo look here: http://www.sf-galerie.de Show Your Support
|
Comments |
#392
|
||||
|
||||
Quote:
|
#393
|
|||
|
|||
O.k. i've got it.
For vertical view of the latest/random pictures: Change in the plugin: "gallery_images_forumhome" the following code Code:
while ($gallery = $db->fetch_array($thumbs)) { eval('$latestgallery .= "' . fetch_template('latestgallery') . '";'); } Code:
while ($gallery = $db->fetch_array($thumbs)) { eval('$adv_latestgallery .= "' . fetch_template('adv_latestgallery') . '";'); eval('$latestgallery .= "' . fetch_template('latestgallery') . '";'); } Code:
while ($rand_gallery = $db->fetch_array($random_thumbs)) { eval('$adv_random_gallery .= "' . fetch_template('adv_random_gallery') . '";'); eval('$random_gallery .= "' . fetch_template('random_gallery') . '";'); } adv_latestgallery: Code:
<tr> <td align="center"> <table class="tborder" align="center"> <tr> <td class="thead" height="100" width="120" align="center"> <a HREF="attachment.php?attachmentid=$gallery[attachmentid]"> <img src="attachment.php?attachmentid=$gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a> </td> </tr> <tr> <td valign="center" align="center" width="120" height="40"> <br /> <a href="showthread.php?t=$gallery[threadid]"> $gallery[title] </a> </td> </tr> </table> </td> </tr> Code:
<tr> <td align="center"> <table class="tborder"> <tr> <td class="thead" height="100" width="120" align="center"> <a HREF="attachment.php?attachmentid=$rand_gallery[attachmentid]"> <img src="attachment.php?attachmentid=$rand_gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a> </td> </tr> <tr> <td valign="center" align="center" width="120" height="40"> <br /> <a href="showthread.php?t=$rand_gallery[threadid]"> $rand_gallery[title] </a> </td> </tr> </table> </td> </tr> Code:
<if condition="$vboptions['show_latest']==1"> <tr> <td colspan=$gal_num_rows align="center">Latest pictures in the gallery: </td> </tr> $adv_latestgallery </if> <if condition="$vboptions['show_latest']==1"> <tr> <td colspan=$gal_num_rows align="center">Random pictures from the gallery: </td> </tr> $adv_random_gallery </if> Second: Forget those file-edit on vba_cmps_include_bottom.php. It's not neccessary anymore. |
#394
|
||||
|
||||
harald this is great. Thank you very much for the support.
Quote:
|
#395
|
|||
|
|||
the thumbnails are soo small in my gallery, is there a way to make the uploaded images bigger than the reduced size ????
|
#396
|
||||
|
||||
That is in your AdminCP => vBulletin Options => Message Attachment Options
After you change your setting there, you need to go to Maintenance => Update Counters => Rebuild Attachment Thumbnails |
#397
|
|||
|
|||
didnt work.. the thumbnails in the gallery are still the same size...
not sure if u understand me.. i want the thumbnails in the gallery to be bigger... if i uploaded a 800x600 image, i want to show a smaller version(thumbnail) in the gallery which is bigger than it is set right now... where's the coding for the resizing of the image ? |
#398
|
|||
|
|||
You find the settings therefor under your vB-Options: Text:Attachments
|
#399
|
|||
|
|||
thanks, it worked...
another simple question is: how do i restrict the gallery pix view so that users cannot view the pictures unless they register first... |
#400
|
|||
|
|||
|
#401
|
|||
|
|||
cool thanx, however can you attach or PM me the REGISTER.JPG. I dont see that file attached to the threads anywhere... & also how do u make a popup window for the images in the latest/random gallery? currently it doesnt popup even if u set the attachment options to popup.
Thanks! P.S - 1 more question, what if in the future i change my mind and i want guest to be able to view the gallery, is there a easy way to change permissions in the user group that can let guests view the gallery without having to edit the templates again? I tried to edit the usergroups, but that has no effect... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|