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
  #92  
Old 08-10-2005, 04:54 PM
Joe Gronlund Joe Gronlund is offline
 
Join Date: Jun 2005
Location: Toronto, Ontario, Canada
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Harald_T

@Joe: Can you show me an example for this?
Sure

Here is a screenshot with the stickies thread hack, without the gallery XML uploaded..

http://www.jadedsouls.net/joe/gallery_prob_1.jpg

Here is a screenshot with the stickies thread hack, with the gallery XML uploaded.. Note the threads are all together...

http://www.jadedsouls.net/joe/gallery_prob_2.jpg

-Forums are ver 3.5.0 RC2-


Thanks for any help you can provide...

Joe
Reply With Quote
  #93  
Old 08-10-2005, 09:01 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it must be a problem of the threadbit. I'll have a look after it.
Reply With Quote
  #94  
Old 08-11-2005, 12:50 PM
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Harald_T
@Pimp: Rating - Atm it uses the normal rating system of vB. I'm planing of adding more rating points.

Only upload: That's a problem at the moment, as Jelsoft changed the way to build up the postbit. I'm trying to find out how the new function works.

The page breaks after a couple of postings (in my forum it's set to 20). Check out your normal vBulletin-Options, there you can set it.

@Gizmo: Yup, you're right. I think i'll make another plugin for this.

@Joe: Can you show me an example for this?
I'm not sure if I caught the answer to this...
Is there a way to add this to the ForumDisplay?

Also, I checked my vbOptions... And have all of my page splits set to 50. My current gallery is displaying 120 (approx) with no split yet.

Any ideas?
Reply With Quote
  #95  
Old 08-11-2005, 03:30 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's strange. I've checked it twice, and it works fine. Check out my gallery for it:

http://www.scifi-fan.net/forumdisplay.php?f=60

Otherwise, is it possible to have a look inside your forum? Or is it a local installation?
Reply With Quote
  #96  
Old 08-12-2005, 12:55 AM
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll dig around and see if I can figure out what's going on with the pages.

*Also.....
My Unregistered / Not Logged in users see RedXs, as I don't want to allow them to view attachments. Is there a way to show them a default graphic instead, that tells them to register to view the images?
Reply With Quote
  #97  
Old 08-12-2005, 03:39 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think there is a way to do this, yes.

My Todo-List is getting bigger. Thanks god i have a free week next week...
Reply With Quote
  #98  
Old 08-13-2005, 02:55 AM
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Harald_T
I think there is a way to do this, yes.

My Todo-List is getting bigger. Thanks god i have a free week next week...
YAY! LOL... I'll look foward to it. I think the Unregistered thing has something to do with the permissions, but I just don't know which variable to pull from, otherwise, I'd do it myself.
Reply With Quote
  #99  
Old 08-13-2005, 10:39 AM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you thought on something like this (see attachment)?

Then you have to change the template "threadbit_gallery" to the following:

Code:
$ids[forumids]
	<if condition="$rows">
	<if condition="$rows == 1">
	</tr><tr>
	</if>	
	<td class="alt1Active" id="t$thread[threadid]" title="$thread[preview]" align="center" width="170" height="170">
<table>
<tr>
<if condition="$show['member']">
<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>
</tr>
<tr>
<td class="tborder">
		<table width="100%" cellpadding="3" cellspacing="0">
	<tr class="tcat">
	<td colspan='2' align="center">
	<div class="smallfont" align="center">
			$thread[movedprefix]
			$thread[typeprefix]
		
			<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]">
			$thread[threadtitle]
			</a>
		</div>
	</td>
	</tr>
	<tr class="thead">
	<td class="smallfont" align="left">
	Benutzer:
	</div>
	</td>
				<td>
	<div class="smallfont">
			<if condition="$show['guestuser']">
				$thread[postusername]
			<else />
				<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
			</if>
		</div>
	</td>
			</tr>
<tr class="alt1">
<td class="smallfont">$vbphrase[gallery_comments]</td>
<td class="smallfont">$thread[replycount]</td>
</tr>
<tr class="alt1">
<td class="smallfont">$vbphrase[gallery_views]</td>
<td class="smallfont">$thread[views]</td>
</tr>			
<tr class="alt2">
<td>
<div class="smallfont">
Bewertung:
</div>
</td>
<td>
<if condition="$show['threadratings'] AND $show['threadrating']">
			<span style="float:$stylevar[right]">
			<img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" />
			</span>
</if>
</td>
</tr>
<tr class="alt2">
<td>
<div class="smallfont">
Filesize: $attachment[filesize]
</div>
</td>
<td>
&nbsp;
</td>
</tr>
</table>
</td>
<else />
<td>
<img src="images/misc/register.jpg">
</td>
</if>
</tr>
</table>
</td>
</if>
and for the review on forumhome you have to change the template "latestgallery" to:

Code:
<td class="thead" align="center">
<table align="center">
<tr>
<if condition="$show['member']">
<td align="center">
<a HREF="attachment.php?attachmentid=$gallery[attachmentid]">
<img src="attachment.php?attachmentid=$gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
</td>
</tr>
<tr>
<td align="center">
<br />
<a href="showthread.php?t=$gallery[threadid]">
$gallery[title]
</a>
</td>
<else />
<td>
<img src="images/misc/register.jpg">
</td>
</if>
</tr>
</table>
</td>
be sure to upload picture called "register.jpg" to /images/misc/.
Reply With Quote
  #100  
Old 08-14-2005, 09:10 AM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Joe:

To remove the sticky-problem change the code for the gallery-plugin: hook->threadbit_gallery (it should be the last one in the plugin-list)

Code:
//####################Gallery-Modification######################
$pics_per_row=$foruminfo[gallery_rows];
//####################End Gallery-Modification##################


if ($thread['sticky'])
			{
				$threadbit =& $threadbits_sticky;
			}
			else if ($displaythumbs == true)
			{		
				$threadbit = &$threadbit_gallery;
			}
			else
			{
				$threadbit = &$threadbits;
			}

			
		if ($rows>=$pics_per_row)
{
		$rows=0;
		}
		$rows=$rows+1;
Now it should work fine again.
Reply With Quote
  #101  
Old 08-15-2005, 11:51 AM
Vizionz Vizionz is offline
 
Join Date: Jul 2003
Location: Chicago
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if i missed something sorry but how can i change the thumbnails shown on forum and how to make that a closeable table. *note i guess i found out how just editing the rows thought that was for the main gallery page and how many rows down it goes ..

okay now with that how many pictures will actually go in there will it just keep going and going and going. or is this script have pages so like 20 to 40 pictures per page ? if not should be next addition
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 02:21 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.05453 seconds
  • Memory Usage 2,319KB
  • 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
  • (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