On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Users’ nickname issue

UserPost

1:18 pm
29 Jan 2008


angelic007

Member

Bologna, Italy

posts 72

1

 

Hi all,

I noticed that when there is an apostrphe (’) in a user’s nickname the javascript "reply with quote" doesn’t work. I guess it’s because the JS function interpret the user’s apostrophe as the end of the string:

i.e.
onclick
="quotePost(’post65210′, ‘<p>Jane’s Conference ha detto:</p>’, 0);"

I think the "Jane's" should be escaped... 

 Thank you

1:26 pm
29 Jan 2008


angelic007

Member

Bologna, Italy

posts 72

2

 

Similarly, when there is an apostrophe (’) in user’s nickname, that nickname is wrongly rendered into the stats window:

i.e.


Nickname= Jane’s Conference


appears in stats as:


Jane/’s Conference 

 

Maybe for this second issue it would be enougth to put a php stripslashes() call…

3:12 pm
29 Jan 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

3

Whoops. Sorry. I have had a bit of trouble with this. I’ll get it right… honest!

Thanks for the info. 



Reply to Topic: Users’ nickname issue

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 4 + 9        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

16 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)