[Update] Fix registration display with 'redirect_registered' ?
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #1
Question [Update] Fix registration display with 'redirect_registered' ?
Its listed at member.php, but cant find at ACP templates list, global or default.
Tried browsing for a list of MyBB templates, but couldnt find.
What am missing ?

Thanks again for your help !
(This post was last modified: 03-15-2012 11:15 AM by akm.)
03-04-2012 07:42 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: Where to find template 'redirect_registered' ?
As far as I know, there is no redirect_registered template.

03-04-2012 09:38 AM
Find all posts by this user Quote this message in a reply
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #3
RE: Where to find template 'redirect_registered' ?
(03-04-2012 09:38 AM)RateU Wrote:  As far as I know, there is no redirect_registered template.

Thank you for the feedback.
Seems that way, but wonder what member.php referring to ?
Have found a couple other template name errors in some other php files, so maybe this is another one ?

Code:
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
<?php
/**
 * MyBB 1.6
 * Copyright 2010 MyBB Group, All Rights Reserved
 *
 * Website: http://mybb.com
 * License: http://mybb.com/about/license
 *
 * $Id: member.php 5616 2011-09-20 13:24:59Z Tomm $
 */
define("IN_MYBB", 1);
define('THIS_SCRIPT', 'member.php');
define("ALLOWABLE_PAGE", "register,do_register,login,do_login,logout,lostpw,do_lostpw,activate,resendactivation,do_resendactivation,resetpassword");
$nosession['avatar'] = 1;
$templatelist = "member_register,error_nousername,error_nopassword,error_passwordmismatch,error_invalidemail,error_usernametaken,error_emailmismatch,error_noemail,redirect_registered,member_register_hiddencaptcha";
$templatelist .= ",redirect_loggedout,login,redirect_loggedin,error_invalidusername,error_invalidpassword,member_profile_email,member_profile_offline,member_profile_reputation,member_profile_warn,member_profile_warninglevel,member_profile_customfields_field,member_profile_customfields,member_profile_adminoptions,member_profile,member_login,member_profile_online,member_profile_modoptions,member_profile_signature,member_profile_groupimage,member_profile_referrals";
require_once "./global.php";
require_once MYBB_ROOT."inc/functions_post.php";
require_once MYBB_ROOT."inc/functions_user.php";
require_once MYBB_ROOT."inc/class_parser.php";
$parser = new postParser;
// Load global language phrases
$lang->load("member");
// Make navigation
switch($mybb->input['action'])
...


Thanks again for your help !
03-04-2012 11:56 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: Where to find template 'redirect_registered' ?
The mention of that in the templatelist is probably a bug.  I'm guessing it really should be 'redirect'

My Blog
03-04-2012 11:59 AM
Find all posts by this user Quote this message in a reply
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #5
[Update3] RE: Where to find template 'redirect_registered' ?
(03-04-2012 11:59 AM)ZiNgA BuRgA Wrote:  The mention of that in the templatelist is probably a bug.  I'm guessing it really should be 'redirect'

Darn, am trying to fix the email activation (redirect) message display (scrnshot attached), and running out of possibilities for where might fix.

No idea how it got the way it did.

The redirect display field is about 1/3rd wider than all other display layout on the page.

Any suggestion on where to look ?

Ps:  
Sorry, should have mentioned main question in 1st post, but thought (mistakenly of course) that was on the path to figuring out with the 'lost template'.

Ps2:
Just received a reply to 'lost template:' question at MyBB forum, and word was that redirect_registered, in the following member.php code, is listing a language variable...

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
 * MyBB 1.6
 * Copyright 2010 MyBB Group, All Rights Reserved
 *
 * Website: http://mybb.com
 * License: http://mybb.com/about/license
 *
 * $Id: member.php 5616 2011-09-20 13:24:59Z Tomm $
 */
define("IN_MYBB", 1);
define('THIS_SCRIPT', 'member.php');
define("ALLOWABLE_PAGE", "register,do_register,login,do_login,logout,lostpw,do_lostpw,activate,resendactivation,do_resendactivation,resetpassword");
$nosession['avatar'] = 1;

$templatelist = "member_register,error_nousername,error_nopassword,error_passwordmismatch,error_invalidemail,error_usernametaken,error_emailmismatch,error_noemail,redirect_registered,member_register_hiddencaptcha";

$templatelist .= ",redirect_loggedout,login,redirect_loggedin,error_invalidusername,error_invalidpassword,member_profile_email,member_profile_offline,member_profile_reputation,member_profile_warn,member_profile_warninglevel,member_profile_customfields_field,member_profile_customfields,member_profile_adminoptions,member_profile,member_login,member_profile_online,member_profile_modoptions,member_profile_signature,member_profile_groupimage,member_profile_referrals";

Does that make sense ?
If so, then will update my grey-cells database.

Ps3:
Display error caused by language text edit error at...
$l['redirect_registered_activation'] =
Still curious about template for that activation display, and what of template: 'redirect_registered' ?  
But maybe discover some day... seems like an unanswerable question at this point ?



Attached File(s) Thumbnail(s)
   

Thanks again for your help !
(This post was last modified: 03-17-2012 09:59 AM by akm.)
03-15-2012 11:13 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: