registration

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Guest

Post by Guest »

I installed serendipity as a fresh install from scratch ..

I think I see the problem ... the "add_user" plugin is not even in the list!

Here is what I have installed:

Markup: Serendipity

Apply basic serendipity markup to entry text
version: 1.1

Markup: Emoticate

Convert standard emoticons into graphic images
version: 1.1

Markup: NL2BR

Convert newlines to BR tags
version: 1.2

Spam Protector
A variety of methods to prevent comment spam
version: 1.26

Spartacus
[S]erendipity [P]lugin [A]ccess [R]epository [T]ool [A]nd [C]ustomization/nification [S]ystem - Allows you to download plugins from our online repository
version: 2.5

User Self-Registration
Allows blog visitors to create their own author account. Together with the Event-plugin (index.php?serendipity[subpage]=adduser) you can choose whether only registered users may post comments.
version: 2.12

My Calendar
Maintains a personal calendar
version: 0.6

Extended properties for entries
(cache, non-public articles, sticky posts)
version: 1.6

-- also when I click on the link to install new plugins -- there are several to choose from... but the add_user is not in the list.

I am guessing that is the problem (I need to have add_user) installed?? I can't seem to find it though to install it... can you offer any advice?
fstybrat

sorry

Post by fstybrat »

I forgot to put my name in there...

Thanks again for all your time & help!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: sorry

Post by garvinhicking »

Hi!

Actually, the plugin Iwas speaking of is the "User Self-Registration" plugin. Internally, that one is called "serendipity_event_adduser".

Now, I think the activation can fail because there is a problem with accessing your database.

Could you execute this query from your phpMyAdmin:

Code: Select all

SHOW COLUMNS FROM serendipity_authors
and

Code: Select all

SHOW COLUMNS FROM serendipity_pending_authors
and

Code: Select all

SELECT * FROM serendipity_pending_authors
and either copy the results here or post a screenshot?

That can give me a clue on what is going on. I can also offer to look at your installation, if you want to give me temporary FTP access to your blog. Inthat case, just contact meprivately.

Bestregards,
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/
fstybrat
Posts: 3
Joined: Fri Jan 06, 2006 8:38 pm

Querys

Post by fstybrat »

I hope I did this right ;)

for
SHOW COLUMNS FROM serendipity_authors
Image

for
SHOW COLUMNS FROM serendipity_pending_authors
Image

for
SELECT * FROM serendipity_pending_authors
Image

(I blacked out user names & email address for their privacy)

Thanks again Gavin
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Querys

Post by garvinhicking »

Thanks for your work on this; so far I couldn't find the error, though.

I have created a debugging version of the plugin, can you please copy+paste the script from http://nopaste.php-q.net/183162 and overwrite your serendipity_plugin_adduser/common.inc.php file with that, please?

Then in that file just change

Code: Select all

        static $debug = false;
to

Code: Select all

        static $debug = true;
and try again to self-register a user. You should then get more verbose output!

With that, please report here back again :)

Bestregards,
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/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Querys

Post by garvinhicking »

Guess what:I just registered at your site, got the mail, clicked the link and: it all worked. I now have an account to your blog. No errors at all!

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/
fstybrat
Posts: 3
Joined: Fri Jan 06, 2006 8:38 pm

Post by fstybrat »

Garvin-

Wierd that you were able to register without an error (the error was coming when you try to activate the email address) -

anyway I did as you suggested & overwrote that file...

upon registering a new user I got the activation email right away. When I clicked on the activation link I got:
[debug] QUERY: SELECT * FROM serendipity_pending_authors WHERE hash = 'f62c7131b0e708c70fbacfde5eecf289' LIMIT 1
[debug] RESULT: Array ( [0] => friend [username] => friend [1] => ae879fd7da43a318166c776217a3cdfb [password] => ae879fd7da43a318166c776217a3cdfb [2] => admin@hiddenshadows.com [email] => admin@hiddenshadows.com [3] => 0 [userlevel] => 0 [4] => 1 [right_publish] => 1 [5] => 0 [no_create] => 0 [6] => f62c7131b0e708c70fbacfde5eecf289 [hash] => f62c7131b0e708c70fbacfde5eecf289 )

The account has been successfully enabled. You can now log in to the administative panel of this blog, the link to there is contained in your activation email.
SO... I thought it was gonna be ok. HOWEVER ... (yes there is a however) when you click on the link from the main page to login you get the error: You appear to have entered an invalid username or password

will we ever figure this out?? lol

Thanks Again!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

But I can login with the username and password I entered! Register a user with username "friend2" and password "friend2". You should be able to login as well. In your case it just seems your password was not entered correctly.

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/
fstybrat
Posts: 3
Joined: Fri Jan 06, 2006 8:38 pm

Post by fstybrat »

WOO HOO Garvin! It worked! :)

So can I set the debug back to false then so members don't see that when they register??

I can't thank you enough for your help! 8)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Yeah, you can remove the debugging again :)

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/
tspcdoc
Regular
Posts: 6
Joined: Wed Feb 11, 2009 10:41 pm

Re: registration

Post by tspcdoc »

Hi Garvin I have ALL my files but I get this error instead:

Warning: mail() [function.mail]: Bad parameters to mail() function, mail not sent. in ../plugins/serendipity_plugin_adduser/common.inc.php on line 73
Your account has been created. You should receive an E-Mail with all the necessary information after an Administrator has reviewed your request.

IF I get the regular registration without the administrator requirement to check the request first then everything is ok, BUT when I select "Registered users need admin approval?" option checked on the User Self-Registration THAT IS when I get the error.
Please help...!

Thanks.

P.S.- As another issue I am running the blog on IE7 and Mozilla Firefox 3.0.6 and on IE7 looks great and the way it's supposed to but damn mozilla looks screwed up, the fonts, the spacing, the screen, it's all out of whack... any ideas??
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: registration

Post by garvinhicking »

Hi!

What is your "blog's mail address" set to? (serendipity configuration)?
P.S.- As another issue I am running the blog on IE7 and Mozilla Firefox 3.0.6 and on IE7 looks great and the way it's supposed to but damn mozilla looks screwed up, the fonts, the spacing, the screen, it's all out of whack... any ideas??
That might depend on your blog's template and/or CSS.

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/
tspcdoc
Regular
Posts: 6
Joined: Wed Feb 11, 2009 10:41 pm

Re: registration

Post by tspcdoc »

hey, the "blog's mail address" is set to SUPPORT@WEBSMARTDEALS.COM according to the domain I opened a few days ago and in which the blog is in as well, the domain is live and fully functional with that email set up, the blog resides on http://blog.websmartdeals.com so you can try it yourself.
Let me know please.

Regarding the other issue about the blog being seeing all wrong using mozilla, can you tell me some settings to adjust?
Thanks

Tony
tspcdoc
Regular
Posts: 6
Joined: Wed Feb 11, 2009 10:41 pm

Re: registration

Post by tspcdoc »

... anything Garvin??? a response will be appreciated.
Thanks.

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

Re: registration

Post by garvinhicking »

Hi!

You could try to write a simple "test.php" script in your s9y directory with this code:

Code: Select all

<?php
$headers = array();
$headers[] = 'Message-ID: <' . md5(microtime() . uniqid(time())) .'@'. $_SERVER['HTTP_HOST'] . '>';
$headers[] = 'MIME-Version: 1.0';
$headers[] = 'Content-Type: text/plain; charset="UTF-8"';
$headers[] = 'From: yourblog <support@websmartdeals.com>';
$headers[] = 'Reply-To: youruser <test@example.com>';
echo mail('support@websmartdeals.com', 'Testmail, Subject', 'Testmail, body', implode("\n", $headers);
This is actually the same code like the plugin uses. Maybe your local mail server is configured not to accept mails that come from the same email adress like the target address (which is the case when your blog sends an email to your blog's mail address).
Regarding the other issue about the blog being seeing all wrong using mozilla, can you tell me some settings to adjust?
Sure, now that I have the URL. :-)

You are using sponsored hosting, and your provider insert javascript into the CSS stylesheet. This destroy the rendering in usually all browsers, so you can be happy that the IE actually does display it properly. The ads must be removed inside the CSS, so you might need to contact your hosting provider and kindly ask them not to inject javascript in files that are served as CSS.

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