You're looking for some 4images templates and styles? Then visit this thread to show websites with 4images templates to download.
0 Members and 1 Guest are viewing this topic.
################################################################################################## Title: User Upload Limits for 4images - Image Gallery Management System.## Version: 1.2## Author: Silly Little Lamer <sll@dalnet.ru>## Description: This Mod sets limits to the number of images, that user could upload to the gallery.## Default limit is set to all existing users during installation of this MOD, and can## be changed later via Control Panel. Individual upload limits for every user can also## be changed via Edit User Panel. #### New in v.1.2 - Daily limits + ability to check uploaded but not yet validated images.###### Installation Level: Medium## Installation Time: 20 Minutes#### Files To Edit: 6## /4images/member.php## /4images/register.php## /4images/admin/users.php## /4images/admin/settings.php## /4images/lang/english/admin.php## /4images/lang/english/main.php##################################################################################################
($user_id, $user_level, '$user_name', '$user_password', '$user_email', $user_showemail, $user_allowemails, $user_invisible, $current_time, '$activationkey', $current_time, $current_time, 0, '$user_homepage', '$user_icq', $user_limit".$additional_value_sql.")";
($user_id, $user_level, '$user_name', '$user_password', '$user_email', $user_showemail, $user_allowemails, $user_invisible, $current_time, '$activationkey', $current_time, $current_time, 0, '$user_homepage', '$user_icq', '$user_limit'".$additional_value_sql.")";
Maybe with this code someone will be able to do the same for download limits and change limits per user ?
My idea is that a medium sized image is on but it limits you to the full size image which is available via the download button.
Where do I do that ? Can you do the code for it ? Im no php coder
Is this a limit for ever, or just a dailly limit. I need a dailly limit as people might upload as much as they want but no more the 3 per day, is there a way to do that with this mod?
# Unpack install_user_limits.php to your 4images root directory and run it. If you see "Success!"# message, than all required fields and records were added to your database. Close this file, do# not try to run in twice!## Alternatively, you can perform these two queries manualy:
# Alternatively, you can perform these two queries manualy:## ALTER TABLE `4images_users` ADD `user_limit` SMALLINT(3) DEFAULT '5' NOT NULL; # INSERT INTO `4images_settings` (`setting_name`, `setting_value`) VALUES ('default_upload_limit', '5');#