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)
-   -   Module CMPS: PhotoPost vBGallery (https://vborg.vbsupport.ru/showthread.php?t=98982)

chrisrixon 01-27-2006 05:00 PM

Can't see any images (as guest)

TbChampions 01-27-2006 05:04 PM

Yes, I just noticed that... hadn't looked at it logged out before.

Hence, I have another problem in addition to the first one. ;-)

Zachariah 01-27-2006 05:18 PM

For now:

- Edit forums/module/vbgallery_block.php
- Remove.

Code:

        if ($privatecatids = fetch_private_categories())
        {
                $privatecatids = explode(',', $privatecatids);
        }

        if ($vba_options['gallery_homeexcats'])
        {
            $vba_options['gallery_homeexcats'] = explode(',', $vba_options['gallery_homeexcats']);
            if(empty($privatecatids))
            {
                $privatecatids = $vba_options['gallery_homeexcats'];
            }
            else
            {
                $privatecatids = array_merge($privatecatids, $vba_options['gallery_homeexcats']);
            }
        }

        if (!empty($privatecatids))
        {
                $privcatids = 'images.catid NOT IN(' . implode(',', $privatecatids) . ') AND ';
        }


TbChampions 01-27-2006 05:38 PM

You're a genius. Thanks!

Now the photos show for someone not logged in. But do you see how I have another gallery block (header only) in there? It gets even more bizarre as you go to the forum, where the gallery block shows up in double, but with no photos in either. Then if you click on a thread, you'll get a "post reply" button under the gallery block.

I've got a mess! Any help most appreciated.

And thanks to Zacchariah for writing this.

TbChampions 01-27-2006 10:04 PM

Anyone have any idea what's going on with my forum and front page? I've spent hours here trying to figure it out -- I'm lost.

Zachariah 01-27-2006 10:26 PM

2 blocks ?
- Edit the gallery Module set Use Module Shell Template: no

I also see you have the block on the Forumhome.
- you will need to make the needed file edits to the forums/index.php also.

BTW: to keep track of updates click Install on the hack. An email is sent out when there is an update.

TbChampions 01-28-2006 07:27 PM

Thanks so much, Zach. That did the trick -- I'm all good now.

Now, to go add the forum home one!

KevNJ 01-28-2006 10:06 PM

*clicks install *

Works great thanks.

How can we change the title instead of "Image Gallery" Or "Photopost vbGallery" ?

Also is it possible to change the sizes of the pictures without it effecting the thumbnails in the actually gallery sections ?

Zachariah 01-28-2006 10:41 PM

Quote:

Originally Posted by KevNJ
*clicks install *

Works great thanks.

How can we change the title instead of "Image Gallery" Or "Photopost vbGallery" ?

Also is it possible to change the sizes of the pictures without it effecting the thumbnails in the actually gallery sections ?

CMPS = > Edit Module
Module Title:

Perhaps later on the image size, but @ the moment it pulls thumbs that the gallery uses.

Trana 01-29-2006 05:25 AM

I'm confused. There seem to be two versions of this hack, I guess an upgrade was added to the file download, but I can't seem to find the right documentation to answer the following:

How do I change it from 4 images to 1?
How do I disable certain parts of the menu options at the top of the module?

Thanks!


All times are GMT. The time now is 11:57 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.01255 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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