vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Attachment Gallery (https://vborg.vbsupport.ru/showthread.php?t=264966)

hugh_ 02-07-2012 10:19 PM

Does anyone know how to give this mod's different galleries page numbers in titles such as:

<vb:if condition="$pagenumber > 1">- {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if> - Attachments Gallery</title>

ttran 02-07-2012 11:40 PM

hi guys
this only works for attachment how about image from other website like photobucket with [img] code?

Alfa1 02-08-2012 03:41 PM

Quote:

Originally Posted by ttran (Post 2297350)
hi guys
this only works for attachment how about image from other website like photobucket with [img] code?

Good point. External images should be imported into the attachment system somehow.

Speedy131 02-16-2012 12:36 PM

nevermind, issue i was having was a problem on my end

Kraxell 02-16-2012 08:13 PM

Is it possible to inlcude images from CMS (attached)?

Speedy131 02-20-2012 01:56 PM

It's a nice mod for sure, but on our forum, witch over 350.000 attachments, it takes too much resources and navigating through pages is very slow.

Perhaps a "lite" version would be good for those with a lot of attachments?

gezuvor 03-02-2012 10:54 PM

Really love using this mod.

Some questions:
1. Can it be integrated into the stock Album system? Really like the features in this, but having Attachment Gallery and Album isn't as clean as I would like.
2. Can the attachments pull tags from the thread?
3. Can the width be based on the thumbnail value rather than be set independently? Having my thumbnail size overflow the div isn't too sexy.

Thanks!

xertox 04-09-2012 03:50 PM

Every time I try to access attachment.php I get the following message on the page... and an vbulleting database error email with the same message. It references vb_blog which i don't use. Is there a way to disable the vb_blog reference?

Code:

Database error in vBulletin 4.1.11:

Invalid SQL:

                SELECT
                        IF(a.votenum >= 1, a.votenum, 0) AS votenum,
                        IF(a.votenum >= 1 AND a.votenum > 0, a.votetotal / a.votenum, 0) AS voteavg,
                        a.*, fd.extension AS extension, IF(r.attachrateid >= 1, 1, 0) AS hasvoted,
                        p.title AS posttitle, p.postid, u.username, p.threadid, t.title AS threadtitle, b.title AS blogtitle, b.blogid
                FROM VB_attachment AS a
                LEFT JOIN VB_post AS p
                        ON (a.contenttypeid = 1 AND a.contentid = p.postid)
                LEFT JOIN VB_user AS u
                        ON (a.userid = u.userid)
                LEFT JOIN VB_thread AS t
                        ON (a.contenttypeid = 1 AND p.threadid = t.threadid)
                LEFT JOIN VB_blog AS b
                        ON (a.contenttypeid = 15 AND a.contentid = b.blogid)
                LEFT JOIN VB_filedata AS fd
                        ON (fd.filedataid = a.filedataid)
                LEFT JOIN VB_attachrate AS r
                        ON (a.attachmentid = r.attachid AND r.userid = '1')
                WHERE fd.extension IS NOT NULL
                       
                        AND (t.forumid IN (1,2,4,8,15,3,5,25,14,9,7,6) OR a.contenttypeid != 1)
                       
                ORDER BY a.attachmentid DESC
                LIMIT 0, 15;

MySQL Error  : Table 'fatwillie.VB_blog' doesn't exist
Error Number  : 1146
Request Date  : Monday, April 9th 2012 @ 09:45:25 AM
Error Date    : Monday, April 9th 2012 @ 09:45:25 AM
Script        : http://www.fatwillie.net/forum/attachmentgallery.php
Referrer      : http://www.fatwillie.net/
IP Address    : 74.214.136.151
Username      : xero
Classname    : vB_Database
MySQL Version : 5.0.92-log


ywwz 04-11-2012 01:08 PM

So good!

BadgerDog 04-27-2012 11:31 AM

Un-installed with thanks to author for how work ... :)

We could never get it working properly with our site ...

Regards,
Doug


All times are GMT. The time now is 09:43 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.01268 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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