PDA

View Full Version : Upgraded 3.0RC2, I got problem.


nostalgia
09-11-2007, 01:25 PM
Hi, Brian.

I Upgraded 3.0RC1 --> 3.0RC2, I got problem.

I have some 'Portal Output Global Variables'.
navbaravatar
mgc_chatbox
This is no problem with 3.0 RC1.

But, This is not display after 3.0RC2 upgraded.

I try find out what is the problem...
I found some strange code from vba_cmps_include_bottom.php RC1 version.
// ##### Advanced page options
if (!empty($pages['advanced']))
{
foreach ($pages['advanced'] AS $sgroup => $sgvalue)
{
foreach ($sgvalue AS $vname => $valu)
{
switch ($sgroup)
{
case 'adv_portal_main':
$vba_options[$vname] = $valu;
break;

case 'adv_portal_style':
$vba_style[$vname] = $valu;
break;

default:
$cmps_options[$sgroup][$vname] = $valu;
}
}
}
}

I copy and paste the code to the vba_cmps_include_bottom.php RC2 version's same place.
Then all 'Portal Output Global Variables' is no problem. I mean all display is perfect.
Is this correct?
I think this is not correct...
What is problem?
Do you have correct process then this process?
How can I fix?

Thanks for New version CMPS !! :)


* Ps: This is another question.
I have branding free license for CMPS.
I can not found your copyright at bottom of main CMPS page after upgraded RC2.
Is this caused by branding free?
Did you deleted copyright for my download?
Is this correct?

Brian
09-11-2007, 01:34 PM
The only thing that code does is change any default settings to the value set for a specific page (if applicable), so it shouldn't have anything to do with the portal output variables.

Yes, the copyright notice is automatically removed from the phrases when you have a branding free license.

Our Sponsors
 

nostalgia
09-11-2007, 02:08 PM
Thanks for your reply.

I'm sorry. I can't understand perfectly.
I mean,
How can I display 'navbaravatar, mgc_chatbox' at cmps page with original RC2 code?
I mean, I want not to change your RC2 code. And I want use 'navbaravatar, mgc_chatbox'.

You mean, Do I must change the code for use 'navbaravatar, mgc_chatbox' ?

How do I? What process is correct?
Sorry my English...
Thanks... :)

nostalgia
09-11-2007, 04:02 PM
I founded what is problem!!

I pasted 'navbaravatar, mgc_chatbox' to the only custom page's 'Portal Output Global Variables'. This is my mistake.
Now I pasted 'navbaravatar, mgc_chatbox' to the vBadvanced CMPS Options, Then works perfectly.