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 |
#102
|
|||
|
|||
I'm quite confused...
So I've done everything but the part that isnt working too hot is making the forums... I did this: MADE new forum and made it a category, with display order 0 and is "acting as gallery" I then made a child forum (parent is the category that I had made) and left it as display order 1 (still cant be seen cause parent is 0), acts as gallery, and has 4 rows. When I click on the link to go there it says "Sorry! This forum is not accepting new posts." Whats going on? |
#103
|
|||
|
|||
I am trying to convert the original hack to 3.5 and am having trouble with this code in the forumdisplay.php:
PHP Code:
Cheers, |
#104
|
|||
|
|||
Quote:
Your error sounds like you set the forum closed or something like this. @Shardex: Do you try to convert my old gallery-hack or the thumbnail-hack? The code looks like the one for the thumbnail-hack from Delphy (i've made also an conversion for the thumbnail-on-forum-display-hack to 3.5). |
#105
|
|||
|
|||
how do i change it to show only 4 thumbnails instead of 5
|
#106
|
|||
|
|||
I assume you mean on the Forumhome-Page?
Change the code for the plugin "latest_gallery_images" Hook->forumhome_complete to: Code:
// #################### Latest Gallery-Additions ####################### // fetch the permissions for each forum global $vbulletin; $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 4"); while ($gallery = $db->fetch_array($thumbs)) { eval('$latestgallery .= "' . fetch_template('latestgallery') . '";'); } |
#107
|
|||
|
|||
Quote:
|
#108
|
|||
|
|||
thats horrible then so that means no matter what it will keep showing thumbs ?
so your page is gonna scroll all crazy. or you will have to have like 950 pages of posts for a big topic this should be a main concern to make this hack worth anything |
#109
|
|||
|
|||
It's not meant for the posts of a thread, but for the amount on threads displayed on your forumdisplay.
For example: If you set "Maximum Displayed Threads Before Page Split" to 100, then in your normal forums will be 100 threads shown, before page breaks. In the gallery there will be shown 100 thumbs. Depending on the number of rows, you've set in the gallery-options, the page won't be so long. If you set it to e. g. 5 rows, there will be 20 coloumns on the page. But as i said, i'm thinking of making this independend from the forum. |
#110
|
|||
|
|||
Quote:
As for Vizionz, you may notice that each forum (not thread) has pages (if well, its an active forum). So a forum looks like a thread, except that instead of posts, you get threads. And after X amount of threads, a new page is made. |
#111
|
|||
|
|||
@jesus: Did you check your settings for your category? I've looked at your forum, and it could be one of the other hacks that ist "shooting" between.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|