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 |
#362
|
||||
|
||||
<font color="SeaGreen">* christianb subscribes to this thread because of the vbagallery incident</font>
|
#363
|
||||
|
||||
what vbagallery incident?
|
#364
|
|||
|
|||
Was thinking the same, too.
Btw. atm i'm installing vbA CMPS. |
#365
|
||||
|
||||
I read that vba gallery waa "moved" at photopost and vba doesnt support it anymore
Quote:
|
#366
|
|||
|
|||
O.k., i've got it so far, but at the moment not as a seperate modul. This will come, i'll promise.
In your template "adv_portal" find: Code:
$navbar Code:
<if condition="$vboptions['show_latest']==1"> <table class="tborder" align="center" width=99%"> <tr> <td colspan=$gal_num_rows> Latest pictures in the gallery: </td> </tr> <tr> $latestgallery </tr> </table> <br /> </if> <if condition="$vboptions['show_random']==1"> <table class="tborder" align="center" width="99%"> <tr> <td colspan=$gal_num_rows> Random Pictures from the gallery</td> </tr> <tr> $random_gallery </tr> </table> <br /> </if> Code:
eval('print_output("' . fetch_template('adv_portal') . '");'); Code:
// #################### Latest Gallery-Additions ####################### // fetch the permissions for each forum // global $vbulletin; $gal_num_rows = $vbulletin->options['gal_num_rows']; $thumbs = $db->query_read("SELECT gallery, threadid, firstpostid, ". TABLE_PREFIX . "thread.title, attachmentid, ". TABLE_PREFIX . "attachment.dateline FROM ". TABLE_PREFIX . "attachment, ". TABLE_PREFIX . "thread, ". TABLE_PREFIX . "forum WHERE gallery='1' AND ". TABLE_PREFIX . "thread.forumid=". TABLE_PREFIX . "forum.forumid AND ". TABLE_PREFIX . "thread.firstpostid = ". TABLE_PREFIX . "attachment.postid AND ". TABLE_PREFIX . "attachment.dateline < " . TIME() ." ORDER BY ". TABLE_PREFIX . "attachment.dateline DESC LIMIT $gal_num_rows"); while ($gallery = $db->fetch_array($thumbs)) { eval('$latestgallery .= "' . fetch_template('latestgallery') . '";'); } // #################### Random Gallery-Pictures ####################### // fetch the permissions for each forum $random_thumbs = $db->query_read("SELECT gallery, threadid, firstpostid, ". TABLE_PREFIX . "thread.title, attachmentid, ". TABLE_PREFIX . "attachment.dateline FROM ". TABLE_PREFIX . "attachment, ". TABLE_PREFIX . "thread, ". TABLE_PREFIX . "forum WHERE gallery='1' AND ". TABLE_PREFIX . "thread.forumid=". TABLE_PREFIX . "forum.forumid AND ". TABLE_PREFIX . "thread.firstpostid = ". TABLE_PREFIX . "attachment.postid AND ". TABLE_PREFIX . "attachment.dateline < " . TIME() ." ORDER BY RAND() LIMIT $gal_num_rows"); while ($rand_gallery = $db->fetch_array($random_thumbs)) { eval('$random_gallery .= "' . fetch_template('random_gallery') . '";'); } // ##################### End Gallery-Modification ######################## |
#367
|
||||
|
||||
Hi
In the file forumdisplay.php i don't find: $thread['hiddencount']++; } eval('$threadbit .= "' . fetch_template('threadbit') . '";'); } Where I must copy this part? $thread['hiddencount']++; } //############################Gallery-Modification########################### if ($gallery == true) { eval('$threadbit .= "' . fetch_template('threadbit_gallery') . '";'); } else { eval('$threadbit .= "' . fetch_template('threadbit') . '";'); } //############################End Gallery-Modification######################## } Bye bye |
#368
|
|||
|
|||
It's a bit beneath this hook:
Code:
($hook = vBulletinHook::fetch_hook('threadbit_display')) ? eval($hook) : false; |
#369
|
||||
|
||||
hey there i have it installed but my thumbnails wont show up. ive changed the settings but then nothing happens. i dont want my regular images being links so what can i do?
|
#370
|
|||
|
|||
I checked your site, but couldn't see any posts in the gallery. Are the permissions set right? Otherwise, could you do me a favour and give me a test-access?
|
#371
|
||||
|
||||
<font color="SeaGreen">* christianb clicks install</font>
Just created a vbadvanced module too. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|