Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #11  
Old 12-07-2005, 04:41 PM
Connie
Guest
 
Posts: n/a
let's try to keep PP a simple tool, not an overloaded monster!

Because other programs have something, we must not follow every thing which can be done otherwise as well
Reply With Quote
  #12  
Old 12-07-2005, 05:46 PM
ttlive Offline
pp regular
 
Join Date: Oct 2005
Location: Frankfurt Germany
Posts: 31
Quote:
Originally Posted by blinking8s
no, i think ttlive means like with wordpress, where under each entry if still logged into admin, it says 'edit' and you can go straight to editing that post from there.
Yes... a quick option to edit already published posts, specially older post.

Quote:
Originally Posted by blinking8s
it's not something we have had high demand for, and i think the pixelpost cookie clears in a time-frame after login...
In my experience the cooky only expires when I really logout of the admin section. If I leave the admin section without logout I don't need to login again the next time.
Well if the cookie is not valid anymore, than the Log-in page appears and than I get directly to the post to edit the category, picture information...

To edit posts, published a while ago and if they are not on the first pages in the section "Images / Posts" anymore, is for me sometimes frustrating (its not a critic its just an emotion).

Quote:
Originally Posted by Joe[y]
AJAXY? i don't see why this should be a problem in a future release - as far as i see it just requires a cookie which already exists anyway i think - and a tag that recognises this cookie and then displays either an edit link or not depending on if the admin is viewing. but yeah - not in 1.5
That's how I thought it could work.
In WordPress (sorry if I compare) it is done with a Tag "<?php edit_post_link('(edit this)'); ?>.
My idea is to add a tag like "edit this" (like <IMAGE_PREVIOUS_LINK>), somewhere in the image template. The option only appears when the logged-in in the Adminsection is still valid.

With an click on the "edit this" option I will be directed directly to the page http://www.domain.com/admin/index.ph...images&id=1234
After I edited the post and pressed the save button I get back to the
http://www.domain.com/index.php?showimage=1234

I am not a programmer, so I can not estimate the workload and possibilities to implement a function like this but as a user it would be a great advantage.

If it is to complicated for some users they don't have to us or to implemt it. I don't have any knowlege in PHP or SQL yet but it was not an big issue for me as a new WP user to feel quickly very comfortable with this functionality.

Is a functionality like this really to complicated for the PP users or will it creat an useless "overloaded monster"
Reply With Quote
  #13  
Old 12-07-2005, 05:53 PM
tinyblob's Avatar
tinyblob Offline
team pixelpost
 
Join Date: Nov 2005
Location: scotland
Posts: 523
The problem isn't the technicalities of cookies, php or sql, we can do that in our sleep. It's that we need to make the solution compatible with the addon system, and the template system. If we end up having to add more tags or cookie support then that's just another issue that can go wrong, and will end up with users on the forum looking for support.

When the time comes, i'll look into doing this as an addon.
__________________
touchnothing.net
Reply With Quote
  #14  
Old 12-09-2005, 04:47 PM
eon's Avatar
eon Offline
pixelpost guru
 
Join Date: Nov 2005
Location: Ned
Posts: 280
Send a message via ICQ to eon
I made a "edit this"-button.

Place this in your template:
Code:
<a href="/admin/index.php?view=images&id=<IMAGE_ID>">Admin</a>
Is this what you mean?

Oke, you still see the link when you are not logged in, but edit a picture goes a lot faster! When you not logged in the login-screen is popup.
__________________
Northing.nl
Reply With Quote
  #15  
Old 12-10-2005, 03:30 PM
sal Offline
forum loafer
 
Join Date: Sep 2005
Posts: 14
Quote:
Originally Posted by Connie
let's try to keep PP a simple tool, not an overloaded monster!

Because other programs have something, we must not follow every thing which can be done otherwise as well
I think, Connie is right. There a lots of nice addons wich could give almost everything you want and the main PP keep simple in a very lovely way...

@eon
Hi eon, your idea is cool.
No, I would not add this to the visible site, but i put it to my bookmarks/favorites of the browser (without the potonumber). If I'm already logged in to the admin page I only have to add the number and there we go...

Perhaps it might be possible to write a bookmarklet like that "Photoblogs.org - Photoblog Profil" bookmarklet or that "del.icio.us" thing... So you have that comfortable function and the PP code itself stays clean and simple...
__________________
fighting-with-light.com
Reply With Quote
  #16  
Old 12-14-2005, 10:54 PM
ttlive Offline
pp regular
 
Join Date: Oct 2005
Location: Frankfurt Germany
Posts: 31
Quote:
Originally Posted by eon
I made a "edit this"-button.

Place this in your template:
Code:
<a href="/admin/index.php?view=images&id=<IMAGE_ID>">Admin</a>
Is this what you mean?

Oke, you still see the link when you are not logged in, but edit a picture goes a lot faster! When you not logged in the login-screen is popup.
I didn't put it in my template yet, but as I understand the text, it is exactly what I am looking for. Except, as you mentioned, that it should be only visible when I am logged in and not for everybody.
Thanks for your help and as soon I have to adjust more pics I will put this temporarily in my template, until there will be an Addon or funktion like this available. Thanks again for this option.


Quote:
Originally Posted by tinyblob
The problem isn't the technicalities of cookies, php or sql, we can do that in our sleep. It's that we need to make the solution compatible with the addon system, and the template system. If we end up having to add more tags or cookie support then that's just another issue that can go wrong, and will end up with users on the forum looking for support.

When the time comes, i'll look into doing this as an addon.
Great!, I will wait until the time comes. Until that I can use the workaround eon published.

Many thanks to all of you for your feedback and support....
Reply With Quote
  #17  
Old 12-15-2005, 05:43 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Pixelpost sets cookie. in an addon, you can check if the valid cookie exists then show that html code,
HTML Code:
<a href="/admin/index.php?view=images&id=<IMAGE_ID>">Admin</a>
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #18  
Old 12-15-2005, 03:11 PM
eon's Avatar
eon Offline
pixelpost guru
 
Join Date: Nov 2005
Location: Ned
Posts: 280
Send a message via ICQ to eon
Smile

I wrote a small addon. You can find it here:
http://forum.pixelpost.org/showthread.php?t=2902
__________________
Northing.nl
Reply With Quote
  #19  
Old 12-21-2005, 11:19 PM
ttlive Offline
pp regular
 
Join Date: Oct 2005
Location: Frankfurt Germany
Posts: 31
Quote:
Originally Posted by eon
I wrote a small addon. You can find it here:
http://forum.pixelpost.org/showthread.php?t=2902
Cool, thank you a lot, it is exactly what I have been looking for.

It is working fine with Konqueror, Epiphany and Mozialla, but somehow not with my current Firefox Version (Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1).

I will try tomorrow with the IE and Firefox at work and give Feedback how it is working with those browsers.
Reply With Quote
  #20  
Old 12-22-2005, 12:13 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Quote:
Originally Posted by Connie
let's try to keep PP a simple tool, not an overloaded monster!
Amen!

On a more serious note - I would really like to see that PP remains a photoblog script and does not morph into a gallery script as it is threatening to do...
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:29 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs