Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Gallery for vBulletin 3.5.X Details »»
Gallery for vBulletin 3.5.X
Version: 1.23, by Harald_T Harald_T is offline
Developer Last Online: Jan 2012 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-24-2005 Last Update: 05-24-2006 Installs: 346
DB Changes Uses Plugins Template Edits
Code Changes  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1232  
Old 08-06-2006, 05:55 PM
StevanMD's Avatar
StevanMD StevanMD is offline
 
Join Date: Jul 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ wezoo

Tell me please, did you use vBAdvanced CMPS to load Google ads on your page?

Thanks
Reply With Quote
  #1233  
Old 08-06-2006, 06:00 PM
StevanMD's Avatar
StevanMD StevanMD is offline
 
Join Date: Jul 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ticinofelino
I'm sorry I tried everything but I really don't understand what I've done wrong! Can anyone tell me why my "gallery" behaves like a normal forum.
I created the category - to behave like a gallery category
then the forum - to behave like a gallery
I see the upload button but it works like a "new post" button.
I put the id of the category for the navbar, I said yes to use other layouts...
I don't know what else I should do...
Here's the link to the site I'm building:
http://www.ticinofelino.com

Thanks for your help... :surprised:


Edit: it works now thanks!

click install

Can you please tell me what changes you made to integrate the Gallery on the main page of VBAdvanced?

Thanks
Reply With Quote
  #1234  
Old 08-06-2006, 06:14 PM
Ticinofelino's Avatar
Ticinofelino Ticinofelino is offline
 
Join Date: Jul 2006
Location: Switzerland
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StevanMD
Can you please tell me what changes you made to integrate the Gallery on the main page of VBAdvanced?

Thanks

It's very easy, I followed the instructions from Christianb that he posted some time ago, I quote them here for you.
Now, I would like to eliminate the title upon the pics (Album foto) but I still haven't discoverd how...



Quote:
Originally Posted by christianb
No problem

What I did was went to the VBA CMPS => Add module => Module Type [Template]

Module Title - Gallery (Or whatever you want)
Column [Center Column]
Display Order 20 (whatever you want here)
Active Yes
Template to Include: adv_portal_gallery
Template Content:

PHP Code:
<if condition="$vboptions['show_latest']==1">
     <
tr>
          <
td colspan=$gal_num_rows align="center">Latest pictures in the gallery:
     </
tr>
     <
tr>$latestgallery
</if>

<if 
condition="$vboptions['show_random']==1">
     <
tr>
         <
td colspan=$gal_num_rows align="center">Random pictures from the gallery:
     </
tr>
     <
tr>
          
$random_gallery
     
</tr>
</if> 
Use Module Shell Template - Yes
Module Link: (I used this and put it directly to my gallery (same as the link for the navbar - remember your forum ID)

Permissions are up to you - I disallow unregistered and banned users to save bandwidth
Reply With Quote
  #1235  
Old 08-06-2006, 06:23 PM
StevanMD's Avatar
StevanMD StevanMD is offline
 
Join Date: Jul 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Simple as that. Thanks.
It still doesn't show up the actual thumbnails there though (it does when I include the Gallery on the Forum main page), but I guess I will working around that.

In the process I'll see where to change the title you need and let you know.
Reply With Quote
  #1236  
Old 08-06-2006, 10:36 PM
StevanMD's Avatar
StevanMD StevanMD is offline
 
Join Date: Jul 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ticinofelino

Now, I would like to eliminate the title upon the pics (Album foto) but I still haven't discoverd how...
Now, from what I've seen (btw, I've spent the last two hours going through every bit of everything - beyond just Gallery thing - to see why the pop up shows for each picture the page loads, and in the end none load at all, and just as I was about to reinstall everything (as if that would bring real change), I figured I should check the server settings, and lo and behold, all image folders were locked by default. Awesome hosting providers these days, awesome).

As for your problem, just change the Module Title

What I did was went to the VBA CMPS => Add module => Module Type [Template]
Module Title - Gallery (Or whatever you want)
Column [Center Column]
Display Order 20 (whatever you want here)
Active Yes
Template to Include: adv_portal_gallery
Template Content:
Reply With Quote
  #1237  
Old 08-07-2006, 09:52 AM
Ticinofelino's Avatar
Ticinofelino Ticinofelino is offline
 
Join Date: Jul 2006
Location: Switzerland
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot Stevan but what I meant, was to ELIMINATE that blue line with the title... I'll find a solution sooner or later
Reply With Quote
  #1238  
Old 08-07-2006, 10:31 AM
StevanMD's Avatar
StevanMD StevanMD is offline
 
Join Date: Jul 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ticinofelino
Thanks a lot Stevan but what I meant, was to ELIMINATE that blue line with the title... I'll find a solution sooner or later
I think you need to use this code:

Code:
<if condition="$vboptions['show_latest']==1">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="99%">
<tr>
<td class="tcat" colspan=$gal_num_rows>
Galerie
<div class="smallfont">Latest Pictures in the gallery:</div>
</td>
</tr>
<tr>
$latestgallery
</tr>
</table>
<br />
<br />
</if>

<if condition="$vboptions['show_random']==1">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="99%">
<tr>
<td class="tcat" colspan=$gal_num_rows>
Gallery
<div class="smallfont">Latest Pictures in the gallery:</div>
</td>
</tr>
<tr>
$random_gallery
</tr>
</table>
<br />
<br />
</if>
<!--Gallery-Addition-->
instead of this:

Code:
<if condition="$vboptions['show_latest']==1">
     <tr>
          <td colspan=$gal_num_rows align="center">Latest pictures in the gallery:
     </tr>
     <tr>$latestgallery
</if>

<if condition="$vboptions['show_random']==1">
     <tr>
         <td colspan=$gal_num_rows align="center">Random pictures from the gallery:
     </tr>
     <tr>
          $random_gallery
     </tr>
</if>
when creating the Gallery module. The longer one defines the class of the td element (that definition for class tcat in this case, holds the properties of the layout of all those blue lines across modules).

So you need to change its from
Code:
class="tcat"
to say
Code:
class="tcatgallery"
and from there on create the tcatgallery in css and define its properties (if you want background completely gone, delete all mention of the background, but then it will be transparent and will have the table background as its own, or define any new bacground - either color or gradient picture for example).

I am not sure where to find the css definition of tcat, but I believe if you search for tcat in AdminCP> Styles & Templates > Search in Templates, you should locate it.
Reply With Quote
  #1239  
Old 08-14-2006, 01:30 PM
Ignicoccus Ignicoccus is offline
 
Join Date: Aug 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

I tried to install this MOD and everything went fine. Only this part here :

PHP Code:
2. Find:
$thread['hiddencount']++;

}

eval(
'$threadbit .= "' fetch_template('threadbit') . '";');


looks different for me. My forumdisplay.php looks like this :

PHP Code:
$thread['hiddencount']++;
                }
                
$show['moderated'] = ($thread['hiddencount'] > AND can_moderate($forumid'canmoderateposts')) ? true false;
                
$show['deletedthread'] = ($thread['deletedcount'] > AND $canseedelnotice) ? true false;
        
                }
                eval(
'$threadbit .= "' fetch_template('threadbit') . '";');
            
        } 
So I changed it to :
PHP Code:
$thread['hiddencount']++;
                }
                
$show['moderated'] = ($thread['hiddencount'] > AND can_moderate($forumid'canmoderateposts')) ? true false;
                
$show['deletedthread'] = ($thread['deletedcount'] > AND $canseedelnotice) ? true false;
        
//############################Gallery-Modification###########################
                
if ($gallery == true)
                    {
                    eval(
'$threadbit .= "' fetch_template('gallery_threadbit') . '";');
                    }
                else
                    {
                    eval(
'$threadbit .= "' fetch_template('threadbit') . '";');
                    }
                
//############################End Gallery-Modification########################
                
}
//                eval('$threadbit .= "' . fetch_template('threadbit') . '";');
            
        

The Gallery appears in my forum, the link in the nav bar works like it should but when I try to post a picture, I only see the standard comment field, like in a normal forum.

Any Idea ? BTW: I am running vB 3.6
Reply With Quote
  #1240  
Old 08-14-2006, 05:13 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is because you're running vb 3.6 This hack isn't released yet for 3.6. It will follow the next days.
Reply With Quote
  #1241  
Old 08-14-2006, 05:18 PM
Ignicoccus Ignicoccus is offline
 
Join Date: Aug 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your quick reply !
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06136 seconds
  • Memory Usage 2,350KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete