Disappearing Edit and Delete Links

Creating and modifying plugins.
Post Reply
JeffBlogworthy

Disappearing Edit and Delete Links

Post by JeffBlogworthy »

Hello,

Using: Serendipity 0.8.2 and PHP 4.3.10

With: delete and edit link v 1.10

Delete and edit links appear immediately after logging into administration panel only. Otherwise, they disappear on next visit.

P.S. I wanted to say how much I love the random quote generator. Awesome plugin!
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post by gwilsonmail »

they only appear if you are logged in.

readers of your blog don't see them.
gw
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post by gwilsonmail »

if you want to make them permanent you can change the template so it's not conditional on being logged in - see entries.tpl
gw
JeffBlogworthy

Post by JeffBlogworthy »

I see. In the past, serendipity planted a cookie so it recognized me on return. Is this a security risk? Having to log in seems to defeat the purpose of having the edit button shortcut in the first place.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

It's not a huge security risk if you can physically control who has access to your computer/user account.

Serendipity does indeed still support this. You just need to check the "Save information" box on the login page when you login.

If that is not working, we will need to further troubleshoot the problem.
Post if you have troubles.

Matt
JeffBlogworthy

Post by JeffBlogworthy »

I appear to already be logged in. When I go to login page, it says "Welcome Back" yet, there are still no "edit" buttons on posts unless I go to administration page, then back to weblog. The cookie does not seem to work for the edit link.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Jeff, did you make sure that the URL you use to enter your Admin panel is the same you use like your frontend page?

Because if you go to http://yourblog/ it will not recognize you as logged in if your admin panel is access via http://www.yourblog/...

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/
Guest

Post by Guest »

Garvin,
That was a very good catch. That is exactly what I was doing. Thanks.
Post Reply