SYSTEM REQUIRMENTS: ------------------- - PHP 4.3 or higher - MySQL 3+ database - FTP server access INSTALLATION: ------------- 1. Create a mysql database 2. Fill in server information in the config.inc.php file, including database user/pass, admin password, as well paths to various components 3. Make /thumbs folder writable (777) 4. Run install.php from the web, for example, http://www.yoursite.com/galleries/install.php 5. Delete install.php from the server, it's no longer needed 6. Ask your host to cron gotd.cron.php once per day (see gallery of the day section below) 7. Installation is complete! ADDING GALLERIES: ----------------- When adding galleries add {id} wherever you want the webmasters id to go, for example: http://www.yoursite.com/galleries/gal01/?id={id} http://www.yoursite.com/galleries/gal1.php?id={id} PREPARING GALLERIES: -------------------- Galleries need to passthrough the affiliate id variable, this is usually done by naming the gallery page ___.php and then inserting wherever you want the gallery id to go, so for example: ">Link To your site THUMBS: ------- The script supports unlimited number of thumb sizes, the default ones are 88x88 and 90x120 To enable additional sizes in config.inc.php add additional sizes in the form: $THUMB_SIZE['ID']='DESCRIPTION'; for example: $THUMB_SIZE['88x88']='88x88'; Note: thumbs are completely optional. Script will function correctly even if only some galleries have thumbs uploaded. RANDOM GALLERY: --------------- Optional 'Random Gallery' feature can be enabled by setting $RANDOM_GALLERY_ENABLED=1 Random Gallery sends the visitor to a random gallery within a given category. Note: Each category has it's own random gallery. GALLERY OF THE DAY: ------------------- To enable the 'gallery of the day' feature, gotd.cron.php needs to be cronned once per day. Note: gotd.cron.php needs to be run at least once to initilize the gotd module. cron once per day: http://www.yoursite.com/galleries/gotd.cron.php?pass=password where password is the $CRON_PASS selected in the config.inc.php for example: 1 1 * * * /usr/bin/curl http://www.yoursite.com/galleries/gotd.cron.php?pass=password CCBILL LINK: ----------------------- http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=YOURCODE&PA=&HTML=http://www.YOUR SITE.com ADMIN PASSWORD: ---------------- default admin password is: u:woj p:php this password can be changed by modifying the config.inc.php file RSS FEEDS --------- Hosted galleries manager includes an rss feed feature, which allows your affiliates to easilly import your galleries into their blogs or other scripts supporting rss. The rss template is stored in the /feed_templates/ Following 'variables' can be used in the rss template: {description} - 'description' from the admin {description2} - 'description2' from the admin {description3} - 'description3' from the admin {description_sel} - description that was selected by the affiliate on the generate rss page, if "short description" is selected, then description2 is used, if "long description" is selected then description3 is used {url} - url to your hosted gallery {thumb_url} - url of the thumb {id} - affiliate id What you will most likely need to edit is the description field of the rss:

{description_sel} ]]> Everything between {customchoices1} (or you can manually include search terms) for custom 2, c2d needs to be added, and for custom 3, c3d ADDITIONAL HELP/SUPPORT ----------------------- If you have any questions contact woj @ icq: 33375924 or woj@wojfun.com