![]() |
Gallery for vBulletin 3.5.X
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 |
Just to another thing:
This hack was first inspired by the "Thumbnail on Forumdisplay"-Hack, by Dechevious, it pointed me to the right way how to build this hack. Rest of this is reserved for FAQ. |
very nice your hack, congratulation Harald :)
"Click Install" |
Thanks *clicks install*
Maybe I wont need to buy vBadvance gallery afterall |
Well done :up:
/installs |
I never thought I would ever use anything like this but I have to admit, I'm gonna play with it. Thank you, sir. ;)
|
does this give EACH MEMBER their own gallery? like vbgarage?
|
If you setup a special forum for a member, and mark it as a gallery, then yes.
It's not automatic generated. |
so in other words, this doesnt normally function as a user's individual gallery?
|
sorrry for the n00b question but:
how do you "create a new template" and then "Fill in the following template-code:"? Where do you fill in the code? I usually just fill in stuff one by one in the templates via ACP. |
er...also.......
can you clarify this: (from the install instructions): 1. In the Forum-Manager define one category as a gallery-category and set it as not visible. does this mean?: ACP>>forum manager>> add a forum called "gallery">> act as forum: "no" >>>Forum is Active: "no" (that's my guess :/ ) 2. Add the needed Forums for the gallery to the gallery-category and in the options set Gallery to 'Yes' soo.... add forum>>parent forum/category:Gallery>>set what option to "yes"? :/ sorry again if these are stupid questions. first time installing major hack. :( |
:( I suck. doesn't work.
I got to the end (guessed what to do on those parts in last post) .....I made a "Gallery forum" (category) and well...its just a forum. nothing else happens. just acts like it would normally. :ermm: btw: I'm running Beta 4. dunno if that has anything to do with anything. |
Harald,
Have you considered requesting new hook locations from vBulletin to be made in forumdisplay? If you haven't seen it, there's a thread at vb.com for this purpose: http://www.vbulletin.com/forum/showthread.php?t=142051 |
did anyone actually get this work on Beta 4 forum?
plz let me know. stuck :( |
@Grendel:
Let's see, if we can fix your problem. First of all, did you create the needed templates? You do this: ACP->Styles&Templates->Styles-Manager->Selecting from the Style-Options-MenĂ¼: Add a new template. Give it the neccessary name and in the big field fill in the code for the template. For setting the category up: Set the Display-Order to '0', so that it isn't visible (but still accessable) and 'Act as Forum' to 'No', as you already thought. Before the save-button for the forum-options you should have a new YES/NO-Option named 'Gallery'. This is the gallery-option. Set this to yes. This should be all. The effect you got sounds like, that you didn't set the Gallery-Option to yes. Did you also don't forget to run the needed query? Check your database, if there is a field called 'gallery' in your forum-table. To be sure i will check the code for vB 3.5.0 Beta4 tonight. |
Quote:
|
Quote:
|
I also tested this on beta 4, but when I got to the end and tried to add a new forum my add new forum option in the admincp was now broken.
Under enable/disable features it now has a blank line with a yes/no and after that there is no longer a save option. It also seems that maybe one of the hooks had been added to beta 4 already? I don't know coding, but when I went to edit the forumdisplay.php file I noticed some changes from what you had listed to search for and what was in the actual php file. I think it was this Code:
eval('$threadbit .= "' . fetch_template('threadbit_deleted') . '";'); |
O.k., thanks, i'll check this.
I've downloaded RC1 yet, so i will concentrating on this version. |
Yup, i've checked it. They changed the way for building the threadbit-templates, so to see. I'll try to fix this asap.
|
cool.. just got rc1 myself. good luck and I'll be sure to test it out when you're done.
|
O.k., got it working again. Wasn't much. I'll update it in a short time.
|
O.k., i've attached the new version of the hack.
Also, i've found an type-error in the original-text: The new template to create isn't of course called "template_gallery" but "threadbit_gallery". Sorry for the typo. And second: You have to add a new phrase. Place it in forum-related and call it Gallery. The text for the phrase could be: "Use as gallery?" |
It doesn't say in the first post if this uses plugins, modifies code, etc. Could you fill that information out please?
On another note, I tried to reach your forums, and the page didn't load. |
Quote:
omg you soooo rule.... I'm gunna try this ...but quick question: I just download RC1. I WILL install it. But should upgrade to RC1 first, then try this again (from beginning? :x) or try this first then install RC1. I got a little confused cause whether you guys were talking about beta 4 or RC towards the end there (and that update you posted). |
Quote:
only thing is it doesn't create a thumbnail of the upload. :( I get one of those X boxes instead, however when you click the image does pop up in a separate window, so it is "working". I know you mentioned something about this originally being from a different hack. Do I need to install soemthing else first to get the thumbnails to work? soooo close yet........ again thank you in advanced for everything.... pumped to get this working :) ps: Still running beta 4 (figure I'll update later....first wanna get this to work :)) |
Quote:
|
@Grendel: Did you attach the files? It doesn't work with linked Images.
Also be sure, that your forum generates the thumbnails. The gallery uses the standard thumbs from the forum, that's all. |
just a question, is that one image per thread? so each image gets its own comments etc?
do you think something like this would work better, where as you have the layout like yours for the gallery but when you enter it lists all the images? http://www.hardwareforums.com/showthread.php?t=5803 I used template condition to do the above. |
thx man, very cool :)
|
I'd prefer to see a plugin version of this released, or at least convert as much of it to plugins as possible - You can use the product manager to automatically install the queries and templates and phrases and you can use the new AdminCP Hooks in forum.php to remove that file edit :)
Satan |
I'm willing to do it so, but first i have to learn how to do it exactly.
|
The Gallery broke the forums I installed it on.
|
That's strange. I'll look after it tomorrow.
|
Hate to bug you, but I have a client (paid work) who I was supposed to install this for, who is getting antsy...
|
It looks like the wrong template is called up, although it is strange, that no posts are listed.
Could it be, that you used the old zip-file? It was only for 3.5.0 Beta 3, not for RC1. Please check out the zip-file, which is uploaded now. There were some minor code-changes. Also, there was a typpo in the old install-guide. |
Some suggestions about things I noticed when viewing your gallery:
1) The Info boxes are not all the same hight 2) Clicking on an image to enlarge it should open a new window not load in the same 3) Sometimes no thumbnails are shown Otherwise great hack. Hope you develope it more ;) StarBuG |
@Starbug:
1. The width of the info-boxes is because of the length of the text. I'll change this. 2. That's a good idea, yes. I'll do so. 3. The only situation, no thumbs are shown are: - It's a linked image, not an attachment. - There is no attachment in the first post. Otherwise then this situations, thumbs should be shown. |
Quote:
The query is as it is in the installation readme: "ALTER TABLE `forum` ADD `gallery` TINYINT( 4 ) NOT NULL" |
Please check out your database with phpmyadmin. Could it be, that the tables have a prefix (e.g. 'vb_forum' instead of 'forum')? If so, you have to change the query.
|
All times are GMT. The time now is 10:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|