Current time: 05-24-2012, 10:38 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display Name / User Nickname Plugin
02-21-2010, 03:31 PM (This post was last modified: 02-21-2010 03:39 PM by ansar_m.)
Post: #11
RE: Display Name / User Nickname Plugin
Very thanks ZiNgA BuRgA,
I tried again with the above changes and received the following error after entering the e-mail:

Quote:Fatal error: func_get_args(): Can't be used as a function parameter in /home/.../public_html/inc/plugins/dispname.php(16) : eval()'d code on line 11
Find all posts by this user
Quote this message in a reply
02-21-2010, 10:43 PM
Post: #12
RE: Display Name / User Nickname Plugin
Dodgy...
Try this replacement instead:
PHP Code:
$string str_replace("Username: {1}""Username: ".$GLOBALS[user][loginname], $string);
            }
            
$args func_get_args();
            return 
call_user_func_array(array(parent"sprintf"), $args);
        } 
Thanks!
Visit this user's website Find all posts by this user
Quote this message in a reply
02-22-2010, 06:58 AM
Post: #13
RE: Display Name / User Nickname Plugin
Thanks ...
That fixes it Wink
Find all posts by this user
Quote this message in a reply
02-22-2010, 08:48 AM
Post: #14
RE: Display Name / User Nickname Plugin
Thanks, updated.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-05-2010, 06:59 AM
Post: #15
RE: Display Name / User Nickname Plugin
Hey Yumi

Thanks this is just what i needed!

Im using it now but just noticed when i get PM notification emails, it still shows the USERNAME of the sender, not the new Nicknames, how would i change this?
Find all posts by this user
Quote this message in a reply
03-05-2010, 09:19 AM
Post: #16
RE: Display Name / User Nickname Plugin
It shouldn't be doing that. What sort of time interval is this? MyBB/your mail server may delay mail sending, so if the display name was changed between the PM being sent and the mail server sending the actual mail there can be a discrepancy.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-05-2010, 05:07 PM
Post: #17
RE: Display Name / User Nickname Plugin
ah right.. makes sense.

Il test it more tonight and check that is IS what you suggested.
Find all posts by this user
Quote this message in a reply
08-09-2010, 01:44 PM
Post: #18
RE: Display Name / User Nickname Plugin
This is an excellent feature.. Can i request this gets upgraded for 1.6?

I did a test 1.6 forum upgrade with this installed on a 1.4.. it didnt upgrade too well lol.
Find all posts by this user
Quote this message in a reply
08-12-2010, 10:20 PM (This post was last modified: 08-12-2010 10:56 PM by Gum.)
Post: #19
RE: Display Name / User Nickname Plugin
IDk but I cant look for the filed where to put the display name in the UCP. Anyone?
I really need this plugin
There's something odd about this plugin

It wont let me change my login name in the ACP evne if I put in my password. It actually logged me out then I tried my login name, it wouldnt let me so I used my username instead then it let me. Then I looked at my login name, it was reverted back to the old one
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication