Search found 31 matches

by mrw02536
Fri Nov 08, 2013 7:41 pm
Forum: Installation
Topic: Uploading to server
Replies: 4
Views: 4903

Re: Uploading to server

Up and running - thanks for the help.
Thank you for an absolutely wonderful application. It's really been fun and challenging integrating into my website.
Richard
by mrw02536
Fri Nov 08, 2013 7:38 pm
Forum: Installation
Topic: Uploading to server
Replies: 4
Views: 4903

Re: Uploading to server

I may have it now by deleting the serendipity_config_local.inc.php file, I'll let you know.
by mrw02536
Fri Nov 08, 2013 7:32 pm
Forum: Installation
Topic: Uploading to server
Replies: 4
Views: 4903

Re: Uploading to server

I changed the DirectoryIndex path in the .htaccess file (when I delete this file I get an error that says it can't write to a templates_c file (has my local address instead of server address which I don't know how to change). With the .htacess file I get the Internal Service Error. The 'serendipity_...
by mrw02536
Fri Nov 08, 2013 5:57 pm
Forum: Installation
Topic: Uploading to server
Replies: 4
Views: 4903

Uploading to server

I have a working copy of Serendipity on my localhost. I've tried to upload to my server which is 'ipage' but get a Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of t...
by mrw02536
Thu Nov 07, 2013 2:09 pm
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

Ian, acutally, I wrote my own 'add_author' function with adding include 'serendipity_config.inc.php'; but I can see the benefits to that I'll give it a try. Incidentally, I fixed the password encryption difference by setting the 'hashtype' to 0 in the 'serendipity_authors' table. Lately I've been wo...
by mrw02536
Wed Nov 06, 2013 2:51 am
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

Ian, never mind the password question, I figured it out:

serendipity_hash($password) converts plain text to the encrypted password in Serendipity; I just use
MD5($password). I could change mine to match easily enough.
by mrw02536
Wed Nov 06, 2013 2:40 am
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

My modifications worked fine. I open my home page and link to the Serendipity login page. I login with Serendipity which simultaneously logs me in to my website Once logged in a new window opens up to my website home page with the user logged in I have a link on this page to the blog page where I'm ...
by mrw02536
Tue Nov 05, 2013 11:02 pm
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

Ian, this approach seems to work. I modified the 'serendipity_admin.php' file to include my website login validation starting at L24 using the username and password entries from the Serendipity login. At the start of the file I included the necessary input files from my website. The result is that b...
by mrw02536
Tue Nov 05, 2013 12:56 pm
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

Ian, Thanks for the help/advice. I'll dig into it.
I did have another thought. Since I know the inner workings of my own website, perhaps it would be easier to use Serendipity as a portal to my home page. How difficult is it to change the Serendipity front end to incorporate my home page?
by mrw02536
Mon Nov 04, 2013 11:26 pm
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

Ian, your suggestion intrigued me. Can I bypass the 'serendipity_authenticate_author()' function entirely. When my users are logged in and authenticated I have a function which returns true, i.e., 'logged_in() === TRUE' If I used that at the start of serendipity_admin what php statement would I need...
by mrw02536
Mon Nov 04, 2013 6:37 pm
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

I am going to need time to digest this. I've only spent a short time with the Serendipity code and need help. Perhaps you could be more specific in how to setup the externauth plugin. I've started the SESSION and my global variables/arrays are available to Serendipity but how do I get the user_data[...
by mrw02536
Mon Nov 04, 2013 1:32 pm
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

Ian, I have a general idea of what the embed wrapper accomplishes but it's not quite what I intend. I have a website where users register and login using a username and password. I use a database with a large number of tables for various elements of the website. My intent is the use the same databas...
by mrw02536
Mon Nov 04, 2013 3:33 am
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

I'm integrating Serendipity into a website I've already created. My website has it's own Registration and Login process and I want to eliminate the need to login twice. What I've done is assigned the values of username and password when I login to my website to the Serendipity 'index.tpl' template. ...
by mrw02536
Sun Nov 03, 2013 2:49 pm
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

Ian, your post answered my question. After modifying the index.tpl in the templates folder I got the desired results - thanks.
by mrw02536
Sun Nov 03, 2013 2:42 pm
Forum: Installation
Topic: login form
Replies: 22
Views: 19516

Re: login form

That's a real registered user. I want to start the login page with the name and password of the admin. I am uncertain of where to include these starting values in the login form. Modifying the 'serendipity_admin.php' file is obviously not the correct way.