 | |  | |
December 9th, 2004, 11:33 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2004
Posts: 4
| 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.
|
| |
December 9th, 2004, 11:35 PM
|
#2 (permalink)
| | Guest | 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. | |
| |
December 9th, 2004, 11:37 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2004
Posts: 4
| 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.
|
| |
December 9th, 2004, 11:51 PM
|
#4 (permalink)
| | Guest | Re: Show CMPS modules on Gallery pages
Yup... You basically need this:
define('VBA_PORTAL', true);
define('VBA_PAGE', 'pagename');
| |
| |
December 19th, 2004, 01:34 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 60
| 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.
|
| |
December 19th, 2004, 02:42 PM
|
#6 (permalink)
| | Guest | Re: Show CMPS modules on Gallery pages
At the top of the file, just below <?php
| |
| |
December 19th, 2004, 03:22 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 60
| 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.
|
| |
December 19th, 2004, 03:24 PM
|
#8 (permalink)
| | Guest | Re: Show CMPS modules on Gallery pages
Turn off the news for that page.
| |
| |
January 4th, 2005, 04:42 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2004
Posts: 4
| 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.
|
| |
January 4th, 2005, 05:54 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Oct 2002
Posts: 180
| 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.
|
| |
January 4th, 2005, 05:54 PM
|
#11 (permalink)
| | Guest | Re: Show CMPS modules on Gallery pages
Strange... Would you mind submitting a support ticket so I can have a look?
| |
| |
January 17th, 2005, 12:29 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Oct 2004
Posts: 151
| 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
|
| |
January 24th, 2005, 09:26 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 181
| Re: Show CMPS modules on Gallery pages |
| |
January 31st, 2005, 09:11 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 181
| Re: Show CMPS modules on Gallery pages
Anyone get this resolved? My pages are still coming up without the footer?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:50 PM. | |