SimplePortal

Support => English Support => Topic started by: AngelinaBelle on March 07, 2010, 09:14:06 AM

Title: $txt['welcome_guest_activate'] twice on standalone portal page
Post by: AngelinaBelle on March 07, 2010, 09:14:06 AM
I am using Simpleportal 2.3.1, SMF 1.1.11, with standalone portal.
On my standalone portal page, I get the $txt['welcome_guest_activate'] message twice. On the forum page, I get it once. If I switch the portal to "Front Page" mode, I only get it once.
 
Which I thought was funny, since I don't have it in any of my templates....
Turns out, it was concatenated int $txt['welcome_guest']
I think that happens here:
 
Code: (setupThemeContext in Subs.php) [Select]
if (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 1)
$txt['welcome_guest'] .= $txt['welcome_guest_activate'];

 
The question is -- why does this concatenation step happen twice on my portal page?
 
setupThemeContext is called twice for a standalone portal page?
Title: Re: $txt['welcome_guest_activate'] twice on standalone portal page
Post by: ccbtimewiz on March 07, 2010, 04:11:19 PM
This has been already reported.
Title: Re: $txt['welcome_guest_activate'] twice on standalone portal page
Post by: AngelinaBelle on March 07, 2010, 07:55:15 PM
oops.  I only searched on "welcome_guest_activate" and "activation". Should have done better than that, I guess.
 
Glad I'm not the only one!
SimplePortal 2.3.8 © 2008-2024, SimplePortal