|
#1
|
|||
|
|||
|
Images can be viewed too early
I tend to upload a bunch of images to my photoblog at a time and then set the appropriate posting times in the admin interface. This should make sure, that the images would only be seen, when I set the to. However, one of my friends discovered this bug:
If you click on any of the old images, the url will change to something like http://fotoblog.xerxes.dk/index.php?showimage=xx, where xx is the id of the image. He found out that you can easily alter the id into a bigger number and see the newer images. I solved the bug by replacing line 135 with this: Code:
$row = sql_array("select * from ".$pixelpost_db_prefix."pixelpost where (id='".$_GET['showimage']."') AND datetime<='$cdate'");
|
|
#2
|
||||
|
||||
|
yeah!
thanks
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#3
|
|||
|
|||
|
You're welcome :-)
|
|
#4
|
||||
|
||||
|
I made this correction in the CVS version.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#5
|
||||
|
||||
|
The funny thing is that I kinda like being able to see ahead on my own blog. I often forget what pictures I've uploaded for future days and like to look at them full size within the template to see how they look.
It would be cool if this was something we could turn off or on in the admin. |
|
#6
|
|||
|
|||
|
I'm with fauxtog.
I preview all my posts before they go live to correct my terrible writing and I would really hate if I couldn't do that in a new version of pp. If the previewing is removed I would really really want some other kind of previewing. A preview feature from inside the admin section would rock. ![]() Kenneth
__________________
http://www.pinx.dk/photoblog/ |
|
#7
|
|||
|
|||
|
Kenneth,
if you set the date in future and then in admin, go to IMAGES you can edit all images, you will see the text etc. that is kind of "preview"... but not the complete view, I know |
|
#8
|
||||
|
||||
|
try previewing after pressing edit button for that image when you set 12CropImage tool in the admin >> Thumbnail >> Crop Images. It works.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#9
|
|||
|
|||
|
raminia, Connie: I know but it's still not a true preview. If I make any links I would like to see them formatted and not just the code.
__________________
http://www.pinx.dk/photoblog/ |
|
#10
|
||||
|
||||
|
I underestand good point. :wink:
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
| Post Reply |
| Thread Tools | |
|
|