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
  #902  
Old 05-19-2006, 03:41 AM
UtahNissans UtahNissans is offline
 
Join Date: May 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So answer me this. THe instructions say to upload the upload.jpg in the folder images/button, now the icon I have in the .zip download is upload.gif. Also is it images/button or forums/images/button or forums/images/buttons?

The reason I ask is because I am getting nothing but "There are no posts in this forum"
Reply With Quote
  #903  
Old 05-19-2006, 09:07 AM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wrong placement of a button shouldn't get you the return message you are receiving, only a red x.
post the url to your website if you can...it's a bit hard to imagine what is going on without looking at it.
Reply With Quote
  #904  
Old 05-19-2006, 06:51 PM
UtahNissans UtahNissans is offline
 
Join Date: May 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bernd
wrong placement of a button shouldn't get you the return message you are receiving, only a red x.
post the url to your website if you can...it's a bit hard to imagine what is going on without looking at it.
http://utahnissans.com/forumdisplay.php?f=60
Reply With Quote
  #905  
Old 05-19-2006, 11:04 PM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I have everything working fine I was just wondering can you make the latest gallery pictures section collapsable. And is it possible to insert subforums in a forum in the gallery category. At the moment its created duplicates of the subforums in the gallery category.
Reply With Quote
  #906  
Old 05-20-2006, 07:03 AM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UtahNissans
I can't even register on your forum without getting an error, so i doubt it's a gallery related issue
Reply With Quote
  #907  
Old 05-20-2006, 03:13 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Zowners: I can make it collapsable, i will include it in the next coming update. A subforum isn't possible atm. But i will look after it.
Reply With Quote
  #908  
Old 05-20-2006, 05:24 PM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a working thumbnailer for this gallery.

step 1,

edit template gallery_attachment and replace the code with

PHP Code:
<if condition="$attachment[filename] == $vboptions[featured_thumbnail]">
<else />
<
a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"target="_blank"</if>>
<
img class="thumbnail" src="tn_image.php?image=$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]border="0" align="center"></a>
&
nbsp;<if condition="$show['br']"><br /><br /></if></if> 
'/' in '$vboptions[bburl]/attachment.php' has to be left out if you've set your forum url ending with '/' in forum options.

Step 2,


Upload tn_image.php to your forum directory and set the following parameters to your specifications
$x = 600; //width
$y = 600; //height

Currently, tn_image.php resizes images that are too small to the paramaters specified. Someone with a bit more php knowledge should be able to fix that easily. The current advantage over the old resizer is that it uses the GD library to create thumbnails, meaning that images will not have the pixelated look that it would otherwise have.

Note that tn_image.php was not written by me. I can't credit the writer since the name was not listed
Reply With Quote
  #909  
Old 05-20-2006, 06:01 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your help Bernd. I will see how i can integrate it completly.
Reply With Quote
  #910  
Old 05-21-2006, 06:53 PM
DrewM DrewM is offline
 
Join Date: Oct 2005
Posts: 564
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why not just use the condition with the extenion field it's alot easier.
Reply With Quote
  #911  
Old 05-21-2006, 07:12 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@LarrySW: But this one only assures that only a picture will be uploaded. But it doesn't check the size of it.
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 11:20 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.08761 seconds
  • Memory Usage 2,313KB
  • 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
  • (2)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