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)

GrendelKhan{TSU 01-22-2006 03:40 AM

ok... took a guess as to the edit (just copied that into where it looked like it might go), but now:

1. doesn't show up at all on CMPS page (on my default custom skin).
Does it call some code from the CMPS default page that I may have changed so that it isn't appearing?

2. doesn't show up at all on CMPS page (on my default skin), but it IS showing up on the FORUMHOME!! next to your gallery on forumhome hack. :/

running:
vbPhotopost Gallery on Forumhome hack
vb3.5.3
Gallery v1.0.1 (vB 3.5)
CMPS v2.0.0 (vB 3.5)

Zachariah 01-22-2006 08:32 AM

Quote:

Originally Posted by GrendelKhan{TSU
ok... took a guess as to the edit (just copied that into where it looked like it might go), but now:

1. doesn't show up at all on CMPS page (on my default custom skin).
Does it call some code from the CMPS default page that I may have changed so that it isn't appearing?

2. doesn't show up at all on CMPS page (on my default skin), but it IS showing up on the FORUMHOME!! next to your gallery on forumhome hack. :/


running:
vbPhotopost Gallery on Forumhome hack
vb3.5.3
Gallery v1.0.1 (vB 3.5)
CMPS v2.0.0 (vB 3.5)

Not realy sure what you have done.
- Demo x2

*** How to Install:
======================

In your Admin Control Panel

1)
Admincp => Plugin System => Manage Products
Click [Add/Import Product]
Browse for the file "product-gallery_cmps.xml"
Allow Overwrite: On
Import

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

2)
Edit your vBadvanced CMPS: (not the forums/index.php)
- cmps_index.php file (you may have a different name)

// ============================================
// No Further Editing Necessary!
// ============================================
$phrasegroups = array('adv_gallery');
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array('gallery_c_cache','adv_gallery_opt','gallery _ugroups');

Default vBAdvanced CMPS is:


$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array()
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

3)
AdminCP => vBa CMPS => Add Module => [PHP FILE]

Module Title: Image Gallery
Active: yes
Update All Pages: your choice
File to Include: vbgallery_block.php
Identifier: gallery_image
Templates Used: adv_portal_vbgallery,adv_gallery_imagebit,adv_port al_vbgallery_nav,adv_portal_vbgallery_newestbits
Clean File Output: no
Use Module Shell Template: no
Usergroups: you choose who
[SAVE]


If you did not put the Module on all pages you need to:
AdminCP => vBa CMPS => Edit Pages => Choose the page => Edit => Modules Enabled => add Check to => Image Gallery

Save

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

4)
Admincp => vBulletin Options => vBGallery - CMPS
Change setting
Save

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Lea Verou 01-25-2006 11:48 PM

I just upgraded to vba cmps 2.1 and it gave 4 warnings at the top so I disabled it.
I'll come back later with the exact warnings...

Zachariah 01-26-2006 01:57 AM

Quote:

Originally Posted by Michelle
I just upgraded to vba cmps 2.1 and it gave 4 warnings at the top so I disabled it.
I'll come back later with the exact warnings...

Without knowing my guess: Redo file edit to index CMPS file. ? :ninja:

Edit your vBadvanced CMPS: (not the forums/index.php)
- cmps_index.php file (you may have a different name)

// ============================================
// No Further Editing Necessary!
// ============================================
$phrasegroups = array('adv_gallery');
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array('gallery_c_cache','adv_gallery_opt','gallery _ugroups');

Default vBAdvanced CMPS is:

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array()

Lea Verou 01-26-2006 05:43 AM

Nope...
You were right, I had forgotten the edit (:o :o :o) but the problem was not solved...
Here are the exact warnings...

Warning: Invalid argument supplied for foreach() in /modules/gallery_random.php on line 83

Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 427

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 427

Warning: Division by zero in /includes/functions_gallery.php on line 1134

Lea Verou 01-26-2006 06:00 AM

I found the problem, I had a very old version of the hack :o (shoot me now for acting like a total n00b, I haven't slept at all :nervous: )
I now have another problem... Although I set everything correctly, updated the pages I wanted to include it, adjusted it's settings etc etc etc nothing shows up...
Sorry if this has been asked before but I'm writing exams in a few hours so my time at the moment is extremely limited... I just sat on the pc to drink a coffee... :nervous:

Zachariah 01-26-2006 02:15 PM

Quote:

Originally Posted by Michelle
I found the problem, I had a very old version of the hack :o (shoot me now for acting like a total n00b, I haven't slept at all :nervous: )
I now have another problem... Although I set everything correctly, updated the pages I wanted to include it, adjusted it's settings etc etc etc nothing shows up...
Sorry if this has been asked before but I'm writing exams in a few hours so my time at the moment is extremely limited... I just sat on the pc to drink a coffee... :nervous:

http://www.photopost.com/forum/showp...1&postcount=20

Injektilo 01-27-2006 04:19 AM

i've checked EVERYTHING (i think) ... and every usergroup is allowed to view images (thumbs and full) but for "not logged in" users the module doesnt show up...any guess?

Zachariah 01-27-2006 11:33 AM

@Injektilo

try link in post above yours.

TbChampions 01-27-2006 04:34 PM

I'm getting a double attempt to show this thumbnail block.

Here's my site if you want to see. I've just started its construction, so please excuse the mess. Please note the front page and the forum front page.

http://www.turfclubusa.com/


All times are GMT. The time now is 09:24 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.01560 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)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