Danny.Domb
👽 Chevereto Freak
This is the answer to the request from Izam2 that can be found Here
Require Very Simple Plugin System
This is a simple mod to keep in a session the recent uploads of a users.
Installation Instructions
Download : http://www.mediafire.com/?237phtatezunm1j
Edit it both files to match your preferences.
Upload uploadedImages.php in content/mods/
Upload myUploads.php in content/themes/yourThemes/pages
open index.php
find
add after
open content/themes/yourThemes/pages/pages_config.php
find
add after
open includes/uploader.php
find
add after
Information given by this add-ons:
Suggestions
None
Known Issues
None.
If you like this add-ons thumbs me up!
Require Very Simple Plugin System
This is a simple mod to keep in a session the recent uploads of a users.
Installation Instructions
Download : http://www.mediafire.com/?237phtatezunm1j
Edit it both files to match your preferences.
Upload uploadedImages.php in content/mods/
Upload myUploads.php in content/themes/yourThemes/pages
open index.php
find
PHP:
<?php
add after
PHP:
define('KEEP_SESSION_IN_DAYS', 10);
ini_set('session.gc_maxlifetime', KEEP_SESSION_IN_DAYS*86400);
open content/themes/yourThemes/pages/pages_config.php
find
PHP:
'contact' => array('live' => true, 'title' => 'Contact'),
add after
PHP:
'myUploads' => array('live' => true, 'title' => 'My Recents Uploads'),
open includes/uploader.php
find
PHP:
$_SESSION['ImagesUp'][str_replace('.', '', $upload->image_info['img_name'])] = $imageInfo;
add after
PHP:
uploadedImages_add($upload->image_info['img_name']);
Information given by this add-ons:
Code:
an array ($_SESSION[__MOD__UPLOADED_IMAGES__NAME__]) of the X recents uploads made by this user
Suggestions
None
Known Issues
None.
If you like this add-ons thumbs me up!