Page 1 of 1
collision between two plugins
Posted: Fri May 26, 2006 7:54 pm
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?
Re: collision between two plugins
Posted: Fri May 26, 2006 8:30 pm
by garvinhicking
Can you be more specific? What happens?
And of course the usual questions: Serendipity version, Plugin version, exact plugin names.
Regards,
Garvin
Posted: Fri May 26, 2006 11:10 pm
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
Posted: Sat May 27, 2006 11:47 am
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
Posted: Sun May 28, 2006 1:12 pm
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
Posted: Sun May 28, 2006 9:34 pm
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
Posted: Mon May 29, 2006 9:53 am
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.
Regards,
Ian
Posted: Mon May 29, 2006 11:05 am
by garvinhicking
Hi!
Oh, no problem! It could have very well been a bug! No offense taken.
Best regards,
Garvin