MyBB Community Forums

Full Version: Location of 'missing' template: redirect_registered ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
member.php mentions some 'redirect...' templates that cant find at ACP default or global template lists.
Can only find one, default template: 'redirect'
Where should look for others ?
AdminCP > Templates > Your theme's templates > Redirect Templates > redirect
(2012-03-15, 05:31 AM)Yaldaram Wrote: [ -> ]AdminCP > Templates > Your theme's templates > Redirect Templates > redirect

Thank you for the followup.

Question may have been confusing, am actually looking for...
AdminCP > Templates > Your theme's templates > ______ Templates > redirect_registered

As mentioned in member.php (along with a couple other 'redirects')...
<?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";
...
Or, do they just not exist ?
These are not templates, these are language variables used for redirect() function. You can see these language variables in ./inc/languages/english/member.lang.php.
(2012-03-15, 01:53 PM)Yaldaram Wrote: [ -> ]These are not templates, these are language variables used for redirect() function. You can see these language variables in ./inc/languages/english/member.lang.php.

Yes, thank you, have seen them in member.lang.php, but didnt realize that language variables were included in $templatelist .

Need to add that to the learning curve.