Collective blog plugin needed

Creating and modifying plugins.
Post Reply
marshall
Posts: 1
Joined: Mon Jan 17, 2005 5:01 am

Collective blog plugin needed

Post by marshall »

Hi, I was using serendipity about 2 months ago for www.livearticles.org but found out that users can't create accounts, leaving me to create all the accounts so I decided to upgrade to article management software. I was wondering if there are any plugins/mods to make this wonderful software act as a collective blog, if not who could make one for me?

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

Re: Collective blog plugin needed

Post by garvinhicking »

Hi marshall!

Since this request comes from time to time, I was about to post my usual mumble: You don't want that feature, because you then allow any strange guy to post and spam your blog. One should better manually hand out logins, which is quite easy.

But as this request really comes in often, I created a plugin for all of you to play with.

It offers a form where you just enter your username, email and password and you'll receive an activation E-Mail with a link to click. After that is clicked, the user can log on to the blog with Editor privileges.

The plugin should be available in the next 24 hours here: http://cvs.sourceforge.net/viewcvs.py/p ... in_adduser

Have fun,
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/
CapriSkye
Regular
Posts: 119
Joined: Sun Oct 31, 2004 4:42 am
Location: Taiwan
Contact:

Post by CapriSkye »

thanks garvin, for all the great work :D
Untamed
Regular
Posts: 11
Joined: Thu Sep 08, 2005 9:37 pm

Post by Untamed »

Hi garvin - sure could use some help here...

I went to the link you provided... found the "download"...

Went to my html editor and created a file with the information provided. Saved it as serendipity_event_adduser.php in a file named the same (well, minus the file extension).

Uploaded this file into my plug ins...

When I go to the add events I get a strange looking page with an error on the top and when I add this event I get this error:

Warning: main(/home/content/U/n/t/Untamed/html/serendipity/plugins/serendipity_event_adduser/common.inc.php): failed to open stream: No such file or directory in /home/content/U/n/t/Untamed/html/serendipity/plugins/serendipity_event_adduser/serendipity_event_adduser.php on line 3

Warning: main(): Failed opening '/home/content/U/n/t/Untamed/html/serendipity/plugins/serendipity_event_adduser/common.inc.php' for inclusion (include_path='/home/content/U/n/t/Untamed/html/serendipity/:/home/content/U/n/t/Untamed/html/serendipity/bundled-libs/:.:/usr/local/lib/php') in /home/content/U/n/t/Untamed/html/serendipity/plugins/serendipity_event_adduser/serendipity_event_adduser.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /home/content/U/n/t/Untamed/html/serendipity/plugins/serendipity_event_adduser/serendipity_event_adduser.php:3) in /home/content/U/n/t/Untamed/html/serendipity/serendipity_admin.php on line 9


My home page also has this error at the bottom of the page: (Hmmm... I think it's the same error!)

Warning: main(/home/content/U/n/t/Untamed/html/serendipity/plugins/serendipity_event_adduser/common.inc.php): failed to open stream: No such file or directory in /home/content/U/n/t/Untamed/html/serendipity/plugins/serendipity_event_adduser/serendipity_event_adduser.php on line 3

Warning: main(): Failed opening '/home/content/U/n/t/Untamed/html/serendipity/plugins/serendipity_event_adduser/common.inc.php' for inclusion (include_path='/home/content/U/n/t/Untamed/html/serendipity/:/home/content/U/n/t/Untamed/html/serendipity/bundled-libs/:.:/usr/local/lib/php') in /home/content/U/n/t/Untamed/html/serendipity/plugins/serendipity_event_adduser/serendipity_event_adduser.php on line 3




as you can imagine - I"m pretty lost...
Any help?

Many thanks to you for all you're doing...
Blessings,
Lissa
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You were missing some file(s?), you also need to download the common.inc.php file frmo the CVS repository.

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/
Untamed
Regular
Posts: 11
Joined: Thu Sep 08, 2005 9:37 pm

Post by Untamed »

ok - where might one find the cvs repository and how would I locate this file? lol

Thanks!


edited - found the common file - where do I put it in the code?

OR:

should I have another file in the serendipity_event_adduser folder called common.inc.php ??
Blessings,
Lissa
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Just download the files into the same dir sturcutre as you found it on the CVS. Or use the Spartacus plugin to download the plugin much easier. ;)

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/
Untamed
Regular
Posts: 11
Joined: Thu Sep 08, 2005 9:37 pm

Post by Untamed »

Anybody ever told you you're awesome? Well, You're Awesome!

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

Post by garvinhicking »

Oh, thanks a lot! :oops: Glad you like it :-)

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