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 12-22-2005 05:58 PM

Does vbgallery accept more than one image attached? Just for interest?

ScottC20 12-22-2005 08:48 PM

Quote:

Originally Posted by Harald_T
Scott, was it something like shown in the attachment, what you wanted?

Yes exactly very good. On a side note though I think it would be worth to make sure all the phrases have a colon next to them for consistency.

Harald_T 12-22-2005 09:15 PM

Btw., theoretically the gallery-hack could also be modified for a kind of article-system, i think. Not 100% sure, i'm testing at the moment. For those, who have interest in this, let me know.

DrewM 12-23-2005 01:04 PM

Harald_T I have edited 1 plugin and now you can upload multy pics with out double posting. The plugin forumdisplay_query the new code is:


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 12-23-2005 07:28 PM

That's great! Thanks a lot.

wrang 12-25-2005 06:14 AM

Can someone help me with this. When i run the Query i get a error that says
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'db00XXXXXX.forum' doesn't exist

What do i do wrong?

I dosent now how i can do it on the phpadmin instead but i find a text vb3_forum

Harald_T 12-25-2005 08:00 AM

You must use the prefix in the query. Instead of

ALTER table 'forum'

you must write

ALTER table 'vb3_forum'

That should do it.

tuanluu 12-26-2005 03:24 AM

Merry X-Mass and happy new.... hope the new version release soon

Harald_T 12-26-2005 06:26 AM

At the moment i'm thinking of how to implement other files like .doc, .pdf, and so on.

Also i try to find out, how to integrate in Joomla.

Brandon Sheley 12-26-2005 06:49 AM

imo i don't know why you keep changing Harald.
the version i have on my board is the 2nd you came out with,, 1.0.3 i think ?
maybe its getting to complicated, but i haven't read thu the last 20 pages of post..
either way I love the way it looks on my board and I Am glad you still give support for it :)


All times are GMT. The time now is 08:05 AM.

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.04298 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)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