CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> v0.8 changelog and download instructions
usr.c
post May 25 2005, 08:29 PM
Post #1


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Zenith Picture Gallery v0.8 Changelog and Download Instructions

Note: v0.8.6 DEV released!

Bug fixes and minor to moderate changes

+ Thumbnails creation code updated to allow pictures of varying widths and heights to be resized according to their relative dimensions instead of being forcefully resized to a set w x h.
+ Cookie names are appended with a pseudo-random tag.
+ Batch Add no longer needs a 'thumbs' directory. Thumbs are now directly piped to the browser.
+ 'Batch Add' and 'Rebuild Thumbnails' now work in cycles to prevent timeouts or the 'Go' button not appearing for large batches.
+ Double quotes in the news bar are converted to single quotes.
+ File names may now have .'s in them.
+ Adding single quotes in edit.php no longer truncates the string up to the single quote.
+ Single quotes are handled properly everywhere except for user account, category and picture names where they are currently illegal. Pictures with keywords that have single quotes in them are currently searchable, but do not show consistent behavior.
+ 'Escape characters' changed to 'Strip characters' in Admin CP.
+ A single quote may now be added to the array of Strip Characters.
+ User-input sanitizing methods for search and logins updated.
+ Batch added pictures, which don't store the name of the submitter, were not searchable on some machines.
+ The row for 'Other' removed in Edit Categories.
+ Editing categories reloads the page with the success/error message at the top.
+ Choosing 'Select a Category' on the main page now just loads display.php's default view.
+ Table rows in Admin CP are colored with alternate colors.
+ Better handling of search queries and category names between pages.
+ Full-size pictures are auto-centered and their window sizes are adjusted before the window is loaded.
+ Sorting of categories is now done case-insensitively.
+ Usernames and passwords can only be made up of alphanumeric characters and the underscore.
+ After adding a user account, the success or error message is displayed along with the original form.
+ User account names and passwords are required to be made up of alphanumeric characters and the underscore character.
+ Root admin password could not be changed.
+ User account names during login (and registration) are matched case-insensitively.
+ Dropdown box options in Admin CP may not have worked if the option values had been translated to another language.
+ Search author field maxlength changed from 12 to 32 and search query field maxlength set to 128.
+ Two user accounts with the same name cause problems in 'Manage User Accounts'.
+ Improved security precautions.
+ 'Pending Pictures; now shows the number of pending pictures, comments and users.
+ 'Go' button on main page style improved.
+ Admin CP option allows all member stats (currently, only submissions) to be recounted.
+ 'Rebuild Thumbnails' didn't recreate the thumbnail for the first picture.
+ Deleting a picture in 'Approve Pictures' didn't delete its thumbnail.

New features

+ Sub-categories that are fully configurable in the Admin CP.
+ Pictures in pic_details.php can be displayed in three different sizes. A default size can be set in the Admin CP. When the size is set to original, the picture doesn't need to be clicked to increment its views counter.
+ Display permissions can be set for categories to show or hide them.
+ User accounts that allow users to register and manage their own profile. Admins can turn this feature on or off or require users to verify their email address or wait for approval before being registered.
+ Members list.

Delayed for v0.8.2

- Mapping categories to the file structure
- Allow the user to choose the gallery's language
- Allow the admin to edit users' profiles


Upgrade instructions for previous versions are in the zip file.

=======================================
UPGRADE FROM v0.7/v0.7.2 to v0.8
=======================================


1. Upload the following files to your main Zenith directory:

add.php
admin_functions.php
admin_navbar.php
admincp.php
comment_man.php
delete.php
display.php
edit.php
functions.php
head.php
image_man.php
index.php
login.php
logout.php
members.php
my.php
my_navbar.php
pic_details.php
profile.php
redirecting.php
register.php
search.php
show.php
thumbify.php
zipfile.php

lang/english.php
skins/default/stylesheet.css (large_text_dark, copyright, submitButton, rowcolor1, rowcolor2, submitButtonTiny)
skins/default/images/folder.gif
upgrade_tools/upgrader4.php

If you have customized your default skin, please back it up because you will need to overwrite its stylesheet file.

2. Run the file upgrade_tools/upgrader4.php from the browser to update your MySQL tables.

3. Log in to your Admin CP and click on 'Recalculate user stats'. Click on 'Go'. Now click on 'Manage User Accounts' and approve all your existing members. Now click on 'Setup and Configuration', scroll to the bottom and click on 'Update Settings'.

4. Finally, download and run the file zenith08_update_join_dates_etc.php from the address below to update all your current users so that their join dates aren't the epoch year of 1970. Please make sure you remove the file after you run it in order to prevent anyone else from running it again.

Congratulations, you should now be running v0.8!

The files below are hosted on CyberiaPC.com. An alternative download location is provided by SourceForge.net here.
Attached File(s)
Attached File  zenith08_update_join_dates_etc.php ( 1.54K ) Number of downloads: 292
Attached File  zenithv08_080605.zip ( 132.94K ) Number of downloads: 1656
 


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com
Go to the top of the page
 
+Quote Post
usr.c
post Jun 6 2005, 07:35 PM
Post #2


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Note: If you downloaded the zip file before June 6 10:30PM GMT please redownload and upload the modified admincp.php file. The file in the old zip file displayed category IDs instead of names in Approve Pictures.


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com
Go to the top of the page
 
+Quote Post
FiShMaStEr
post Jun 7 2005, 01:09 PM
Post #3


New Member
Group Icon

Group: +Zenith User
Posts: 33
Joined: 25-April 04
Member No.: 1,073

Australia




downloading now. have to install it again on one of my sites anyway.

looks good sofar Ali keep up the excellent work! this is for sure the best gallery i hve seen.


--------------------
user posted image
image on right courtesy of Gerardo Sandoval
Go to the top of the page
 
+Quote Post
usr.c
post Jun 8 2005, 09:43 AM
Post #4


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




If you downloaded the file before June 9 2:30PM GMT please redownload it and upload the modified admin_functions.php, edit.php, add.php, display.php, functions.php and zipfile.php files.

Thanks to justjulie for reporting the problems here: http://cyberiapc.com/forums/index.php?show...=7620&pid=34686


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com
Go to the top of the page
 
+Quote Post
ricsbride
post Jun 8 2005, 02:30 PM
Post #5


New Member
*

Group: Members
Posts: 19
Joined: 12-May 05
From: Perth, Australia
Member No.: 2,588

Australia




Thanks Ali, all installed and working a charm!

have a look: http://www.keepitsimplescrapping.com.au/ze...00105/index.php




and the Thumbnail's look fantastic now! dance.gif dance.gif

This post has been edited by ricsbride: Jun 8 2005, 02:36 PM
Go to the top of the page
 
+Quote Post
Prim3r
post Jun 14 2005, 09:39 PM
Post #6


New Member
*

Group: Members
Posts: 13
Joined: 9-April 05
Member No.: 2,499

Nothing Selected




It just keeps better and better! Keep up the exelent work!

One question..Has this gallery been submited to hotscripts.com? i cant find it to vote on it.
Go to the top of the page
 
+Quote Post
Rebell
post Jul 8 2005, 10:26 AM
Post #7


New Member
Group Icon

Group: +Zenith User
Posts: 8
Joined: 26-January 05
Member No.: 2,222

Nothing Selected




Your updatedocumantation is great ! All successfull !

And tnx to add the viewmodes: small - medium - original wink.gif

*GOOD*WORK*


--------------------
my little gallery: T-O-M-B
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th May 2013 - 04:01 AM