desti added a topic in Product FeedbackSearch classes - old style load via require_once...in controller.php..
Change to LoadLibrary(), please!
- 0 replies
- 337 views
desti added a topic in Product FeedbackFeature request - new file storage systemI have over 3Gb monthly uploads, original IPB storage system isn't convenient!
I make my own storage system, but each updating of the forum version it's necessary to waste time on modification of a large quantity of files.
Please, make universal storage!
My idea (it's work on my forum):
All uploads in uploads/monthly*/ , no other special dirs
Under monthly* dirs - system & component dirs:
(based on $type from class_attach)
/monthly/post (image, thumb)
/monthly/profile (avatars, photos, bg's)
/monthly/gallery (image, med, thumb)
Under every components dir - subdirs for images, thumb, screenshots..
Directory setup - in ACP for all components in one settings group.
Only two functions in core:
One returns array of dirs based on file upload time (or time()) and type ( i use IPSLib::getAppUploadPath($time, $type); ).
One for creating new monthly directory structure (with check for installed components, i call it from scheduler in the end of month).
$app_path = IPSLib::getAppUploadPath( $image['idate'], 'gallery' ); @unlink( $app_path['image'] . $image['masked_file_name'] ); @unlink( $app_path['thumb'] . $image['masked_file_name'] );
No tn_, _med and other addition to file name, all file store as is.
No superfluous records in db, one filename for all, thumb (med) saved as tinyint, not as filename, no dirname store.
Easy search, easy backup, easy administration..
- 0 replies
- 523 views
desti added a topic in Product Feedback[Suggestion] 3.0 Application detail1. Add to information.xml structure fields <langsgroups> </langsgroups> for deletion lang files (like <templatesgroups>).
2. Change id structure (member_form.php & group_form.php) to tabtab-MEMBERS|[app_name] (checked, it works, but?)
3. Place application tabs after already created system tabs.
- 6 replies
- 595 views
desti added a topic in Product Feedback[3.0b5] Application & ModulesHas tried to create simple test application (3 modules, 12 sections, ACP modules) all works, but the brain has broken :)
Whether there will be changes in this module? Plans?
Now it's necessary to do 90% of work by hands, there is no automation :(
Q: On the System:System Settings there are two text links:
* Import all APP XML Settings
* Export all APP XML Settings
On any tabs all settings are imported/exported, may be imp/exp settings from active tab only?
- 7 replies
- 650 views
desti added a topic in Product Feedback[IPB3b5] Admin - Manage Languages1. If try to create lang_pack via "Copy language pack" - no new directory created in cache/lang_cache.
2. After search we get table with "Default Value" and "New Value" colunms, but there is no information in what word pack it's found. Whether probably to add colunm with link to pack?
3. php close tag (?>) in lang files - it's not necessary?
4. "Add new entry" from word pack dropdown menu - word pack name not copy to "Pack Name" field.
5. Removal (delete) function is necessary for word and word pack.
- 2 replies
- 523 views