collision between two plugins

Found a bug? Tell us!!
Post Reply
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

collision between two plugins

Post by Timbalu »

Hi

I recognized that the username of contactform plugin gets in collision
with the autors users name, when taking a registered users name.
The plugin contactform complains sending.

These 2 scripts should not get into any mix, but I cannot imagine where they do. Any ideas?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: collision between two plugins

Post by garvinhicking »

Can you be more specific? What happens?

And of course the usual questions: Serendipity version, Plugin version, exact plugin names.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post by Timbalu »

sorry

v. 1.1-alpha5
serendipity_event_contactform.php,v 1.17 2006/01/23

I expect its one of these....

serendipity_plugin_loginform.php,v 1.13
serendipity_plugin_adduser.php,v 1.15
serendipity_event_adduser.php,v 1.9

well, the contactform wants name, email, homepage and text

this error appears:

Name, E-Mail und ihre Nachricht dürfen nicht leer gelassen werden.

Der angegebene Benutzername wird bereits von einem Autoren dieses Blogs verwendet. Bitte loggen Sie sich ein (http://domain.tld/index.php?/plugin/loginbox) um das Kommentar abzuschicken oder benutzen einen anderen Benutzernamen.

Its simple to change username to something else and the error is gone. But maybe some of the blog authors want to use the contactform and they can't do it ... at least it seems they can't without login. (The loginbox following the link above is just a plain loginpage without s9y sidebars.)

Regards,
Ian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I have installed the recent versions of those plugins:

plugin_loginform: 1.05
event_loginform: 1.01

plugin_adduser: 1.9
event_adduser: 2.13

event_contactform: 1.7

There, I open the permalink for my contactform page, then I enter the fields there, and then I send the contactform. And it works without any errors or messages.

What is your URL so I can see your problem? And please make sure you're using the plugin versions mentioned above. The CVS-version ID tags sadly help me little. :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post by Timbalu »

Hi Garvin, thanks for helping...
garvinhicking wrote: plugin_loginform: 1.05
event_loginform: 1.01

plugin_adduser: 1.9
event_adduser: 2.13

event_contactform: 1.7
The second one was missing, but it makes no difference for my problem.
The same error appears.
garvinhicking wrote:There, I open the permalink for my contactform page, then I enter the fields there, and then I send the contactform. And it works without any errors or messages.
Where you logged in? If you are, there is no problem.
Did you write the full authors name in the name field of your contact.html page? Please, try admins name!
If so, and it still works for you, how is your arrangement of these plugins on plugin page?

I can't understand why authors full name and contactform name get mixed up. Maybe they use the same var?

In addition, the validition of contactfields tells me that it is forbidden to leave a field (I expect the name field) empty. But it appears as written.

Regards, Ian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Enter the configuration of your User Self-Registraion plugin. Disable the option "Autoren-Identitäten schützen".

You can only post using a user's name, if you are logged in with that and have the option enabled.

So what you describe is desired behaviour, because the setting of the user self-registraion plugin is enforced in all places where the serendipity comment facility is used. The contactform uses it, so the check is performed then.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post by Timbalu »

Garvin! Thank you very much.

How could I have doubts about serendipitys well structured programming.
I'll go and sit in my corner for a while. :oops:

Regards,
Ian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Oh, no problem! It could have very well been a bug! No offense taken. :-)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply