vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Gallery for vBulletin 3.5.X (https://vborg.vbsupport.ru/showthread.php?t=92875)

Harald_T 01-10-2006 03:41 PM

Template anwählen und Wiederherstellen drücken.

Brandon Sheley 01-10-2006 06:32 PM

Quote:

Originally Posted by Harald_T
This is a bug, i made by mistake. Look into the template gallery_attachment, in the IMG-Tag you find a width-tag. Remove and it should work fine.


Much better :)
thank you, and always. Love this hack !

cn_de 01-10-2006 07:02 PM

Quote:

Originally Posted by Harald_T
Template anw?hlen und Wiederherstellen dr?cken.

dankesch?n!

cn_de 01-13-2006 03:09 PM

Quote:

ALTER TABLE `forum` ADD `gallery` TINYINT( 4 ) NOT NULL
was dann sollte man tun, wenn das "Forum" direkt unter Hauptverzeichnis und nicht unter dem Unterverzeichis "forum" installiert ist?

Harald_T 01-13-2006 03:33 PM

Das Query ändert die Datenbank, die Lage des Forums ist dafür irrelevant.

shiva 01-14-2006 12:24 AM

Wow, looked good, so added it, but now...

First off, I'm hoping a uninstaller is available soon. It looks good, but is way to limited, and it looks for all attachments, not just image files, which kind of messes up things.

As to display, nice, but for some strange reason, I get a ugly black background, that hides the links on forum home, so I had to remove the code.

I think the images should be displayed in the main gallery page "spread out" from each other, as opposed to being bunched up in the middle.

Better instructions would be appreicated as well. 40 pages to go through...

There's another gallery type script called Attachment Browser, which has some very cool ideas and effects, and I think would be a quite useful for this system, the features of that while having the seperate category features and features of this. It will also display/search/sort with any file type as well as handle mulitple attachments. Maybe the author can check it out?

LBSources 01-14-2006 02:20 AM

Harald.. any luck with the other file types?

Masiello 01-14-2006 06:37 AM

Nice Hack, it works fine with vbulletin 3.5.3 without problem?

DrewM 01-14-2006 11:23 AM

like I said in a erly post you can make it not display all attachments by editing the forumdisply_query and replace with the fowling code:

PHP Code:

 if ($foruminfo['gallery']=='1'

$gallery true

  

if (
$gallery==true

    
$hook_query_fields .= ", attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid ";  
    
$hook_query_joins .= "LEFT JOIN " TABLE_PREFIX "attachment as attachment ON(attachment.postid = thread.firstpostid) ";  
    
$hook_query_where .= "GROUP BY thread.threadid ";  



Harald_T 01-14-2006 11:33 AM

I've included the code for the next version. This will also be included int the query for the last_images and random_images.

Oh, i don't know when it will be released, atm.


All times are GMT. The time now is 07:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02288 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete