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)

docvader 01-03-2006 03:05 AM

Any way of making this work with Photopost PHP Pro??

I'm not using the Photopost VbGallery..

MB Dreamz 01-04-2006 03:25 AM

Quote:

Originally Posted by Synth
Same problem here.
Love the hack and know you'll have it sorted out in no time:)

I did this, and it worked. (Find in module file)

//if ($privatecatids = fetch_private_categories())
//{
// $privcatids = 'images.catid NOT IN(' . $privatecatids . ') AND ';
//}

sydude 01-04-2006 03:34 AM

Thank you very much for the help, but I'm not that verse in php and I'm not sure exactly what to replace, and what to replace it with.. The code you gave doesn't match what I have. Here is what I have in my module that I think you're referring to:

Quote:

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 ';
}
Thank you again.

Sy

Reeve of shinra 01-04-2006 04:50 AM

When I try to use this as a left side module, its breaking up the tables and the layout. How can I get this to list 1 or perhaps 3 images vertically? Do the instructions from this post still work or is something different needed here?

https://vborg.vbsupport.ru/showpost....5&postcount=10

Thanks

AshokForums.com 01-04-2006 05:08 AM

Quote:

Originally Posted by sydude
Thank you very much for the help, but I'm not that verse in php and I'm not sure exactly what to replace, and what to replace it with.. The code you gave doesn't match what I have. Here is what I have in my module that I think you're referring to:



Thank you again.

Sy

Just check out the First and last but one line.. just have a close look dude.. just add // before those 4 lines

sydude 01-04-2006 07:35 AM

Quote:

Originally Posted by AshokForums.com
Just check out the First and last but one line.. just have a close look dude.. just add // before those 4 lines

YES!!! That did it! Thank you very very much. You guys are the best!

Synth 01-04-2006 10:15 AM

Quote:

Originally Posted by DanKao
I did this, and it worked. (Find in module file)

//if ($privatecatids = fetch_private_categories())
//{
// $privcatids = 'images.catid NOT IN(' . $privatecatids . ') AND ';
//}


That worked for me too
Thanks!

chrisrixon 01-04-2006 11:51 AM

Quote:

Originally Posted by Synth
That worked for me too
Thanks!

Sorry to be dim but can someone tell me more precisly what to do I'm still confused :ermm:

Synth 01-04-2006 12:06 PM

Quote:

Originally Posted by chrisrixon
Sorry to be dim but can someone tell me more precisly what to do I'm still confused :ermm:

you will need to open the vbgallery_block.php in you ftp program.

Find that code and put the // in front

chrisrixon 01-04-2006 12:16 PM

My code looks exactly like sydude's, which isn't quite the same as the patch, but I guess I'm missing something :ermm:


All times are GMT. The time now is 11:59 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.01394 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)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