phpBBHacks.com - Allowing all characters
Bad Boy Blog, an unofficial Diddy and Bad Boy fan blog
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Hack Requests and Development
 See a User Guidelines violation? Please contact us.
Author Message

Phoenix1956
New User

Joined: 06 Mar 2010
Posts: 6

PostPosted: March 6th 2010, 2:05 pm    Post subject: Allowing all characters Reply with quote

I hope l got this in the right spot. Here's my questions. I run phpBB2.0.23on my chat site and want to get the add-on that will allow the user to create there nick's with the Char Map letters.( my members have been asking about them. Is there such a add-on? l saw another Admin panal that lets the Admin " allow All Letters " I was also told that l had to change a file or 2 to ansi8 ? ( something about the BB2.0.23 may not be ansi compliant )?I am at a real lost on how to allow the Char letters. Please help me out if you can.

Also, l have a exact copy of my data base on anoter home server that l do testing on, and have tried to migrate to BB3, but l cant get the pages of my site to work properly.

Also been looking for the add on that will allow a user to log on with either there user name or there e-mail address.

I will be forever gratefull for any and all help as l am new at this and still learning.
Back to top
View user's profile Send private message

Phoenix1956
New User

Joined: 06 Mar 2010
Posts: 6

PostPosted: March 9th 2010, 10:24 am    Post subject: Reply with quote

I really didnt realize that the above was such a hard question
Back to top
View user's profile Send private message

Sylver Cheetah 53
Not So New User

Joined: 13 May 2008
Posts: 55
Location: Milky Way

PostPosted: September 3rd 2010, 4:58 pm    Post subject: Re: Allowing all characters Reply with quote

Phoenix1956 wrote:
Also been looking for the add on that will allow a user to log on with either there user name or there e-mail address.

Code:
## MOD Title: Username Or Email Login Mod
## MOD Author: Johnpg82 < webmaster@theindy.net > http://www.theindy.net Code changes by bonelifer and *=Matt=* from Phpbb.com
## MOD Description: This mod allows your users to login using their email address or username
## MOD Version: 1.0.4
##
## Installation Level: Easy
## Installation Time: 3 minutes
## Files To Edit: login.php
##                includes/page_header.php
##                includes/functions.php
##                templates/subSilver/login_body.tpl
##                templates/subSilver/index_body.tpl
##                language/lang_english/lang_main.php
##
##############################################################
## Author Notes:
##
##   Copyright © Johnpg82, 2006-2006
##
##   For any concerns please contact me at http://www.theindy.net
##
##############################################################
## This MOD is released under the GPL License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## MOD History:
##
## v1.0.4
##   - Johnpg82 added email_clean function to handle email addresses longer then 25 charcters.
##     added password check to sql query incase there are duplicate entries for the email address accidently.
##
## v1.0.3
##   - Johnpg82 removed user_email select from the query as it was not necesary.
##
##
## v1.0.2
##   - *=Matt=* made a few changes here is a direct quote See the "'" that makes the php die "Parse error: syntax error, unexpected '=' in ***" so what I did to make this work is" This was a mistake by bonelifter when doing code changes in 1.0.2
##
## v1.0.1
##   - bonelifer made a few changes for better use with easymod
##
## v1.0.0
##   - Initial Release
##
##############################################################
##
## Demo/Discussion Forum:        http://www.phpbb.com or http://www.phpbbhacks.com
##
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
login.php
#
#-----[ FIND ]------------------------------------------
#
      $password = isset($HTTP_POST_VARS['password']) ? $HTTP_POST_VARS['password'] : '';

#
#-----[ AFTER, ADD ]------------------------------------------
#
      $email = isset($HTTP_POST_VARS['username']) ? phpbb_clean_email($HTTP_POST_VARS['username']) : '';
      $password_select = md5($password);

#-----[ FIND ]------------------------------------------
#
WHERE username = '" . str_replace("\\'", "''", $username) . "'";

#
#-----[ REPLACE WITH]------------------------------------------
#
WHERE user_password = '$password_select' AND username = '" . str_replace("\\'", "''", $username) . "' or user_email = '" . str_replace("\\'", "''", $email) . "'";
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
   'L_USERNAME' => $lang['Username'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
   'L_USERNAME_EMAIL' => $lang['Username_Email'],
#
#-----[ FIND ]------------------------------------------
#
   'L_USERNAME' => $lang['Username'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
   'L_USERNAME_EMAIL' => $lang['Username_Email'],
#
#-----[ OPEN ]------------------------------------------
#
includes/includes/functions.php
#
#-----[ FIND ]------------------------------------------
#
// added at phpBB 2.0.11 to properly format the username
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// added for username and email login mod to properly format the email
function phpbb_clean_email($email)
{
   $email = substr(htmlspecialchars(str_replace("\'", "'", trim($email))), 0, 255);
   $email = phpbb_rtrim($email, "\\");
   $email = str_replace("'", "\'", $email);

   return $email;
}

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Username'] = 'Username';
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$lang['Username_Email'] = 'Username or Email Address';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl

#-----[ FIND ]------------------------------------------
#
{L_USERNAME}
#
#-----[ REPLACE WITH ]------------------------------------------
#
{L_USERNAME_EMAIL}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/login_body.tpl

#-----[ FIND ]------------------------------------------
#
{L_USERNAME}
#
#-----[ REPLACE WITH ]------------------------------------------
#
{L_USERNAME_EMAIL}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

_________________
My Forum ||►My Blog ||►My MODs
FREE YOUR MIND!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Hack Requests and Development All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.