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
  #252  
Old 10-29-2005, 02:16 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just create those two phrases, that's all.

Permissions: If you want to show guests an thumbnail which tells them, that they should register first, you have to change the code. I've already posted this, i think it was about page 8, or so.
Reply With Quote
  #253  
Old 10-29-2005, 07:34 PM
ScottC20 ScottC20 is offline
 
Join Date: Oct 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will do that then. Do you know if I can make it so when a new picture is uploaded it isn't displayed in the New Posts area, my members are getting terribly confused by the short threads??
Reply With Quote
  #254  
Old 10-31-2005, 05:00 PM
ScottC20 ScottC20 is offline
 
Join Date: Oct 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Think I have that sorted ^^ but how can I increase the amount of thumbnails displayed on the forum index to say six or seven?
Reply With Quote
  #255  
Old 10-31-2005, 09:03 PM
lexx27's Avatar
lexx27 lexx27 is offline
 
Join Date: May 2005
Location: Athens
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Harald_T
I haven't done yet. As i said, it shouldn't be much work. It's mostly template-work (normaly you only have to copy most of the code into the template-code of those boxes of vBadvanced). I will install vBadvanced on Wednesday and fix the problem.
I know you havent install it yet but can you give me some hypothetical solution to start. Like which templates to use, if i willl need a php file. Thank you
Reply With Quote
  #256  
Old 11-01-2005, 02:38 PM
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to set a default thumbnail? For example, most users aren't the brightest bulb in the bunch, and I frequently get people posting incorrectly, or posting topics in the gallery forums... and what happens is that a broken "Red X" image is displayed in those posts on the gallery as well as on the ForumHome page. I'm wondering if there's a way to detect improperly posted / no image topics and replace the thumbnail with a default graphic?
Reply With Quote
  #257  
Old 11-01-2005, 02:52 PM
dreck's Avatar
dreck dreck is offline
 
Join Date: Nov 2004
Location: Pickens SC
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThePimp
Is there a way to set a default thumbnail? For example, most users aren't the brightest bulb in the bunch, and I frequently get people posting incorrectly, or posting topics in the gallery forums... and what happens is that a broken "Red X" image is displayed in those posts on the gallery as well as on the ForumHome page. I'm wondering if there's a way to detect improperly posted / no image topics and replace the thumbnail with a default graphic?
Thats a great ideas. I can see my members do the same thing.
Reply With Quote
  #258  
Old 11-01-2005, 03:16 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for late reply.

O.k., if you want to to have a thumb displayed, if no picture is attached, then you have to change the code in threadbit_gallery:

Find

Code:
<td width="170" height="170" align="center">
			     <if condition="$displaythumbs">
			     	<a HREF="attachment.php?attachmentid=$thread[attachmentid]">
			          	<img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" border=0 align="center">
			        </a><br>
			     <else />
			        <img src="$stylevar[imgdir_misc]/nothumb.gif" width=75 height=56 border="0">
			     </if>
<br />
</td>
and replace it with:

Code:
<td width="170" height="170" align="center">
			     <if condition="$displaythumbs">
<if condition="$thread[attachmentid]">
			     	<a HREF="attachment.php?attachmentid=$thread[attachmentid]">
			          	<img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" border=0 align="center">
			        </a><br>
			     <else />
			        <img src="$stylevar[imgdir_misc]/nothumb.gif" width=75 height=56 border="0">
			     </if>
</if>
<br />
</td>
And don't forget to upload an :gif-File called "nothumbs.gif". That should do it.
Reply With Quote
  #259  
Old 11-01-2005, 04:04 PM
ScottC20 ScottC20 is offline
 
Join Date: Oct 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ScottC20
how can I increase the amount of thumbnails displayed on the forum index to say six or seven?
????
Reply With Quote
  #260  
Old 11-01-2005, 04:09 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You just have to change the plugin: latest_gallery_images_forumhome.

Inside the query you find

Code:
ORDER BY ". TABLE_PREFIX . "attachment.dateline DESC LIMIT 5");
Just change the letter 5 to your prefered amount. That's all.
Reply With Quote
  #261  
Old 11-01-2005, 05:14 PM
dreck's Avatar
dreck dreck is offline
 
Join Date: Nov 2004
Location: Pickens SC
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if I wanted to put a bit more space between the 5 forum home thumbnails?
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 04:31 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.05346 seconds
  • Memory Usage 2,315KB
  • 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
  • (3)bbcode_code
  • (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
  • (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_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