PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3143
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sun Oct 07, 2007 8:07 pm Reply with quote Back to top

Many of my users prefer long names.
Within the block there is a limit to display such long names.
So far so good but I believe something isn´t correct or I don´t understand the logic.
The latest registered username displays 12 letter and behind...
the username contains all in all 13 letter.
Online Now
At the same time is an other user online the name is with an underscore plus 12 letter. The name is full displayed and behind also ...
Why ... ?
View user's profile Send private message Visit poster's website
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Thu Oct 11, 2007 1:31 pm Reply with quote Back to top

<bump>
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Thu Oct 11, 2007 5:45 pm Reply with quote Back to top

Not sure I follow, but it appears that the username is being limited by the value of $nameMaxLength in the block. You can change that and see what that does.

Code:

$nameMaxLength           = 13; //Max length for username display.  Will truncate with ....
View user's profile Send private message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3143
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Oct 11, 2007 6:15 pm Reply with quote Back to top

How are underscores and other characters within usernames handled ?
There shouldn´t be nothing after the username I mean the member which was Online Now in my example above.


Last edited by Susann on Thu Oct 11, 2007 6:18 pm; edited 2 times in total
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Oct 11, 2007 6:16 pm Reply with quote Back to top

The reason I added that switch was so the user could adjust the length to keep the block width from being stretched.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum