Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
who @username and display name at the same time
Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Apr 23, 2013 - 3:20 pm

Hi, on the normal forum.. on every post... any chance to show the username (@username) at the same time of the name the member display name?  

on example, my user name here is @Sambora51 but my display name is Carlos, i would like to show both 

 

¿Why? I have a large user with around 30.000 users... is quite difficult to made mentions if you dont know exactly the @username

 

thanks in advance

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 23, 2013 - 3:27 pm

the latest version of the mentions plugin does that... will release when wp releases the v3.6 currently in beta...

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Apr 28, 2013 - 2:53 pm

Another "bug" is that... for example, on my forum my username is @carlosasensio but my screen name is Carlos Asensio  if someone mentions me the "link" of the mention links to the user @carlos and not for carlos asensio... Do you know what i mean?

 

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 28, 2013 - 8:54 pm

not a bug, but design...  you MUST type in @user_nicename...  you cannot use a display name because the regex to recognize (any where in a string) a space is very complex and expensive...

so if you use the popup and click a name, it handles it for you.. if you just type it manually, it had better be the user nicename...

if I am missing the point here, please elaborate further...

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Apr 29, 2013 - 1:37 am

yep, thats what happens... you write @CarlosAsensio and appears @carlos asensio so only mentions @carlos

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Apr 29, 2013 - 1:55 am

Check it here:

Step 1 ( user starts writing the name of mine @carlosasensio )

1.jpgImage Enlarger

 

 

 

Step2: User clicks on the login name so appears the entire @carlosasensio

2.jpgImage Enlarger

 

 

 

Step 3 : Click on save post and this is what appears... 

3.jpgImage Enlarger

So the link that appears doesn link to my profile and seems to be mention the other user too....

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 29, 2013 - 12:57 pm

so the last image is what is shown on display after saving?  and the image by step 3 was exactly as saved?

I will need to create an exact test case like this... couldnt duplicate it with similar, but best to use real data...

my plate overflow'ith, so might be few days...  tweak me in couple days if you havent heard anything back...

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Apr 29, 2013 - 2:18 pm

Hi Mr Papa, i can give you FTP access and admin if you want ! 

 

the last image is after saving... yes.. is exactly as saved... 

 

If you want i can give you access via FTP so you can check this and if you like check why crashes when installing buddypress plugin... :)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 29, 2013 - 6:44 pm

okay, seems I can duplicate this now...  so just need to figure out what is wrong...  oh boy, more regex work! ;)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 29, 2013 - 7:21 pm

actually, this is not a simple press issue...  its a BuddyPress issue...  its parsing the forum post content and incorrectly doing the mentions...

this is because we properly change the @name to a link to the profile using the display name...  but then BP comes along and dorks it up... take a look at the link to the Carlos name...   it actually points to your buddypress profile...  we dont do that...

so long story short, I cannot correct buddypress incorrectly doing mentions (it assumes the space in the link breaks the mention check)...  but what I can look into is seeing if I can remove the hook from buddypress and keep it from checking our post content...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625