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
  #912  
Old 05-21-2006, 07:40 PM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, it would solve the issue that currently files are being parsed too.

Would it be possible to create a sql that selects attachments with certain extensions only?
For example $vboptions[galleryextensions] returns the value jpg,bmp,png and adjust the sql to only return attachments with these extensions. It's not exactly a condition, but i guess it might be a bit easier to implement?

Would a plugin hooked into attachment.php which checks for certain extensions in the upload field require less resources than the above?

I guess it's the last thing that would make this gallery fool proof.
Reply With Quote
  #913  
Old 05-21-2006, 08:59 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thinked over this possibilty and i'm not quite sure, but i think it's exactly that, what LarrySW is talking about.
Reply With Quote
  #914  
Old 05-21-2006, 09:06 PM
DrewM DrewM is offline
 
Join Date: Oct 2005
Posts: 564
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bernd
Well, it would solve the issue that currently files are being parsed too.


Would it be possible to create a sql that selects attachments with certain extensions only?
For example $vboptions[galleryextensions] returns the value jpg,bmp,png and adjust the sql to only return attachments with these extensions. It's not exactly a condition, but i guess it might be a bit easier to implement?

Would a plugin hooked into attachment.php which checks for certain extensions in the upload field require less resources than the above?

I guess it's the last thing that would make this gallery fool proof.
that is exactly what I mean
Reply With Quote
  #915  
Old 05-21-2006, 09:15 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, i will look after it, but, give me some time. I don't have too much freetime.
Reply With Quote
  #916  
Old 05-23-2006, 01:19 AM
imported_magjr imported_magjr is offline
 
Join Date: Nov 2004
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it running on my board now, however it slows my entire server down. most cases, I have to restart apache. Any ideas?
Reply With Quote
  #917  
Old 05-23-2006, 04:29 AM
UtahNissans UtahNissans is offline
 
Join Date: May 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bernd
I can't even register on your forum without getting an error, so i doubt it's a gallery related issue
Try again, I just resolved this issue with vbulletin support. Let me know what you think I did wrong.
Reply With Quote
  #918  
Old 05-23-2006, 06:54 AM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check if gallery_postbit template exists. The rest seems to work fine.
Reply With Quote
  #919  
Old 05-23-2006, 10:43 AM
Gehanna Gehanna is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Again,

I primarily use the Firefox browser version 1.5.0.3. When I view the gallery using this browser, I noticed that the images are set to the left leaving black space over in the right of the thumbnail. If you use Firefox, please refer to this link for an example of what I mean:

http://www.currentday.com/forums/forumdisplay.php?f=71


Is there anything I can do to fix this so that the thumbnail is centered properly when viewing the image in Firefox?

Sincerely,
Gehanna
Reply With Quote
  #920  
Old 05-23-2006, 01:04 PM
LBSources LBSources is offline
 
Join Date: Nov 2005
Location: New York
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very well .. but i willl wait fro

Possibility for file-upload, not only pictures.

as you had said maybe it would be included in _this_ release

Thanks anyway .. good job
Reply With Quote
  #921  
Old 05-23-2006, 03:34 PM
UtahNissans UtahNissans is offline
 
Join Date: May 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bernd
check if gallery_postbit template exists. The rest seems to work fine.
It seems I do have it under "Gallery Templates"
PHP Code:
<!-- post #$post[postid] -->
<if condition="$show['member']">
<if 
condition="$show['spacer']">
    
$spacer_open
    
<div id="edit$post[postid]style="padding:0px 0px $stylevar[cellpadding]px 0px">
    <if 
condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>    
</if>

<
table class="tborder" id="post$post[postid]cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead">
        
        <
div class="normal">
&
nbsp;            
        </
div>
    </
td>
</
tr>
</
table>
<
br />


<
table class="tborder" id="post$post[postid]cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="640" align="center">
<
tr>
<
td class="thead">
&
nbsp;
</
td>
</
tr>
<
tr>
    <
td class="alt1" id="td_post_$post[postid]">
    <!-- 
messageattachmentssig -->
    

                <if 
condition="$show['thumbnailattachment']">
                
                                        <
div style="padding:$stylevar[formspacer]px" align="center">
$gallery_attachment
                    $post
[gallery_attachment]
                    </
div>
            </if>
            </
div>
        <!-- / 
attachments -->
        
</
td>
</
tr>
<
tr>
<
td class="alt2">
$vbphrase[gal_show_pic_size]
</
td>
</
tr>
</
table>
<
br /> <br />

<
table class="tborder" id="post$post[postid]cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="350" align="center">
<
tr>
<
td class="tcat" colspan="2">
Informationen
</td>
</
tr>
<
td class="alt2">
<
b>
$vbphrase[gal_posted_by]
</
b>
</
td>
<
td class="alt1" align="right">    
$post[musername]
</
td>
</
tr>
<
tr>
<
td class="alt2">
<
b>
$vbphrase[gal_posted_date]
</
b>
</
td>
<
td class="alt1" align="right">
$post[postdate]
</
td>
</
tr>
<
tr>
<
td class="alt2">
<
b>
$vbphrase[rating]
</
b>
</
td>
<
td class="alt1" align="right">
<if 
condition="$thread[rating]">
<
img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif">
<else />
&
nbsp;
</if>
</
td>
</
tr>
<
tr>
<
td class="alt2" colspan="2">
<
b>
$vbphrase[gal_comments]
</
b>
</
td>
</
tr>
<
tr>
<
td colspan="2" class="alt1">
$post[message]
</
td>
</
tr>
</
table>

<
br />
<
hr>
<if 
condition="$post['editlink']">
<
a href="$post[editlink]name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]border="0" /></a>
</if>
<if 
condition="$show['spacer']">
    </
div>
    
$spacer_close
</if>
<else />
<if 
condition="$show['spacer']">
    
$spacer_open
    
<div id="edit$post[postid]style="padding:0px 0px $stylevar[cellpadding]px 0px">
    <if 
condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>    
</if>
<
br /><br />
<
table class="tborder" id="post$post[postid]cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="640" align="center">
<
tr>
<
td class="thead">
Nur f?r Mitglieder!
</
td>
</
tr>
<
tr>
<
td class="alt1">
<
img src="images/not_registered.jpg">
</
td>
</
tr>
</
table>
<if 
condition="$show['spacer']">
    </
div>
    
$spacer_close
</if>
</if>
<!-- / 
post #$post[postid] -->
<!-- / post #$post[postid] --> 
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:55 AM.


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.06276 seconds
  • Memory Usage 2,368KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_php
  • (3)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
  • (3)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_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