PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   How Do I? - vBulletin 3.0.X (http://www.photopost.com/forum/how-do-i-vbulletin-3-0-x/)
-   -   Show CMPS modules on Gallery pages (http://www.photopost.com/forum/how-do-i-vbulletin-3-0-x/116915-show-cmps-modules-gallery-pages.html)

peprice December 9th, 2004 11:33 PM

Show CMPS modules on Gallery pages
 
Evening,

I can't find the answer to this anywhere... How do I modify the gallery script so that I can display my CMPS modules?

In index.php there appears to be a reference to CMPS;

Code:

Content visible to verified customers only.
So can anyone tell me where I should define VBA_PORTAL?

Many thanks in advance,
Peter.

Brian December 9th, 2004 11:35 PM

Re: Show CMPS modules on Gallery pages
 
At the very top of the file just as you would with your forum's files. The gallery already has the other steps done to make them a little easier to integrate.
Also, if you want to just integrate all pages, you can add the code to your gallery_global.php and that should cover them all. :)

peprice December 9th, 2004 11:37 PM

Re: Show CMPS modules on Gallery pages
 
Appologies for my post, but I've managed to get it working!

The answer is to define VBA_PORTAL. I'm not sure where it's supposed to be done but it works by putting
Code:

Content visible to verified customers only.
in index.php

Pete.

Brian December 9th, 2004 11:51 PM

Re: Show CMPS modules on Gallery pages
 
Yup... You basically need this:

define('VBA_PORTAL', true);
define('VBA_PAGE', 'pagename');

Jester December 19th, 2004 01:34 PM

Re: Show CMPS modules on Gallery pages
 
Quote:

Originally Posted by Brian
Yup... You basically need this:

define('VBA_PORTAL', true);
define('VBA_PAGE', 'pagename');

Pardon my lack of knowledge, but where exactly would you put this in the gallery_global.php file? I found one section that has:

Code:

Content visible to verified customers only.

Brian December 19th, 2004 02:42 PM

Re: Show CMPS modules on Gallery pages
 
At the top of the file, just below <?php

Jester December 19th, 2004 03:22 PM

Re: Show CMPS modules on Gallery pages
 
Next question, how do I eliminate the News from the bottom. All I want to show is the left and right menus.

Brian December 19th, 2004 03:24 PM

Re: Show CMPS modules on Gallery pages
 
Turn off the news for that page.

peprice January 4th, 2005 04:42 PM

Re: Show CMPS modules on Gallery pages
 
I've made the changes mentioned above to allow CMPS modules to be available on my gallery pages.

However, I've discovered a very odd bug -

after setting

Code:

Content visible to verified customers only.
in gallery_global.php, the footer fails to be displayed. For example, the problem can be seen on this page http://www.linkaster.co.uk/gallery/showimage.php?i=1053

The output stops straight after the line Powered by vBadvanced Gallery v1.0 RC2. Also, the drop down menus fail to work.

Does anybody have any ideas why this may be?

Thanks in advance,
Pete.

Regs January 4th, 2005 05:54 PM

Re: Show CMPS modules on Gallery pages
 
Just posting to say that I've got the same odd footer problem as Pete above.

Cheers,

~Regs.

Brian January 4th, 2005 05:54 PM

Re: Show CMPS modules on Gallery pages
 
Strange... Would you mind submitting a support ticket so I can have a look?

robert_2004 January 17th, 2005 12:29 AM

Re: Show CMPS modules on Gallery pages
 
hey - have you been able to fix this problem?

i'm having the same footer problem, but also, i've turned the news off on the page, yet the news is still displaying at the top, then at the bottom of the news starts my gallery's index page.
Also now it's playing up and showing the right column, too. :S

Andy R January 24th, 2005 09:26 PM

Re: Show CMPS modules on Gallery pages
 
I am getting this same issue too..
http://www.airstreamforums.com/gallery/

Andy R January 31st, 2005 09:11 PM

Re: Show CMPS modules on Gallery pages
 
Anyone get this resolved? My pages are still coming up without the footer?


All times are GMT -5. The time now is 04:42 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97