Bugtracker
Guild project issue tracking and management
star_faded.png
OPEN  Bug report #5  -  Login link does not work
Posted Dec 22, 2011 - updated Feb 18, 2012
action_vote_minus_faded.png
-1
Votes
action_vote_plus.png
bug_report_small.png Bug report
 
Ready for testing / QA
Assigned to
Not assigned to anyone
Progress
   
Posted by
 Kothnok
Owned by
Not owned by anyone
Estimated time
Not estimated
Time spent
369318 hours
Category
User interface
Resolution
Not determined
Priority
Not determined
Reproducability
Always
Severity
Not determined
Targetted for
icon_milestones.png Not determined



#4
Comment posted by
 Kothnok
Dec 22, 16:30
Joomla Module Manager > Welcome Module > ssi_welcome; line is supposed to construct the html for the forum login link. Unfortunately, the way it's written, it takes the host and appends "?action=login", which in this case is "www.twguild.org" and is wrong because the forum resides in "forum.twguild.org".

It may be possible to update a variable before calling ssi_welcome to fix this, but needs to be researched.
#10
Comment posted by
 Shadowwolf
Dec 23, 12:14
Changed Site Version affected. 3.x is current, 4.0 is the next revision for future expansion.
#14
Comment posted by
 Kothnok
Feb 18, 14:46
Changed the custom PHP code to the following: (replaced $scripturl that was in Themes/default/languages/index.english.php) <?php global $txt; $txt'welcome_guest' = 'Welcome, <strong>%1$s</strong>. Please <a href="http://forum.twguild.org/?action=login">login</a> or <a href="http://forum.twguild.org/?action=register">register</a>.';

$txt'login_or_register' = 'Please <a href="http://forum.twguild.org/?action=login">login</a> or <a href="http://forum.twguild.org/?action=register">register</a>.';

$txt'welcome_guest_activate' = 'Did you miss your <a href="http://forum.twguild.org/?action=activate">activation email</a>?';

ssi_welcome(); ?> <?php ssi_logout(); ?>