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)

mooj 08-04-2005 09:02 PM

Umm, do you have the old instractions so i can install it manully .. ??

:)

tinjon 08-05-2005 01:53 AM

questions.
1)can i disable viewing for guests? allow only members to view pictures?
2) what happens if a thread has multiple attachments? does it stop working or something?

thanks.

Harald_T 08-05-2005 07:07 PM

@mooj: I'll post the instructions at the weekend. At the moment i have not enough time to fix it right, so i decided to post the old instructions. It worked, so i think, it's the best solution.

@tinjon: Yes, you can disable view for guest. The gallery uses the same was as the forum does. The gallery is basicly nothing else than a part of the forum, which looks like a gallery.

vBintense 08-05-2005 07:39 PM

I just installed and it was messin up my norm forums so I looked and found an error.

In plugins forumdisplay_query the gallery hook is wrong it should be
Code:

if ($foruminfo['gallery']=='1')
{
$displaythumbs = true;
}
 

if ($displaythumbs == true)
{
    $hook_query_fields .= ", attachment.attachmentid AS attachmentid";
    $hook_query_joins .= " LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON (attachment.postid = thread.firstpostid)";
}

Before it was
Code:

if ($foruminfo['gallery']=='1')
{
$displaythumbs = true;
}
 

if ($displaythumbs=true)
{
    $hook_query_fields .= ", attachment.attachmentid AS attachmentid";
    $hook_query_joins .= " LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON (attachment.postid = thread.firstpostid)";
}

and it was messing up the forums, works fine with this fix.

mooj 08-06-2005 08:31 AM

insane-topics,

you are >>> :up:

its working fine ..

thanks man .. :)

Joe Gronlund 08-06-2005 03:22 PM

I am having a problem importing the plugin, it just wont upload properly, all my other plugins upload fine??

Anyone else have this problem?

I get invalid argument error???

Harald_T 08-07-2005 02:49 PM

@Insane: Yupp, that it was. Thanks, i didn't notice that '==' instead of '='.

The fixed version is now uploaded.

Harald_T 08-07-2005 03:06 PM

@Joe: Did you upload the included XML-File as an Product? Please do not import it as an plugin, cause it's a kind of package of plugins.

vBintense 08-07-2005 03:28 PM

Quote:

Originally Posted by Harald_T
@Insane: Yupp, that it was. Thanks, i didn't that '=' instead of '='.

The fixed version is now uploaded.

Welcome , and nice hack btw :)

Joe Gronlund 08-07-2005 03:28 PM

Quote:

Originally Posted by Harald_T
@Joe: Did you upload the included XML-File as an Product? Please do not import it as an plugin, cause it's a kind of package of plugins.

How do you go about uploading it as a product?

I just uploaded it directly as an XML file..

Thanks

Joe


All times are GMT. The time now is 04:55 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.01807 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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