Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - V@no

Pages: 1 2 [3] 4 5 6 7 ... 741
31
How can I add more allowed file extensions?

In addition if you don't want your members upload these files you can use this snippet:
Re: Adding an msexcel created webpage

33
Hello and welcome to 4images forum.

You can access your accounts information through your host's database manager (most probably phpmyadmin). From there try find your admin account, if it doesn't exist you can change any other user accounts to admin privileges by changing "user_level" value to "9"


Also, this might be useful:
Lost admin password - what to do?

35
Plugins / Re: [Plugin] Rebuild Thumbnails v1.2 (2012-02-05)
« on: February 05, 2012, 06:14:28 AM »
v1.2 released

Quote from: changes log
- Added: include subcategories
- Added: form settings are stored in session
- Added: all text is now uses $lang array (can be translated)
- Added: show thumbnails
- Added: auto redirect coundown
- Fixed: [MOD] Media Sites support

36
The mentioned plugin as well as the uploading through members upload page uses 4images settings for it's auto thumbnail size. The plugin however allow you change that number at it's initial page (where you chose category, etc) without changing any "global" settings.

The only way your thumbnails generated smaller then the set dimensions in the the settings is when your original image is too small. 4images does not scale images. Or something changed in your 4images code.

37
Plugins / Re: [Plugin] Batch Import
« on: February 03, 2012, 03:13:48 AM »
the date were wrongly recorded for all images that i imported.

For eg: Today i imported images to my category it should showed today date but it was shown last year July 2011 instead.

Replace:
$use_image_filemtime 1;

with:
$use_image_filemtime 0;


Another issue here all the keywords were in hyperlinked in straight line. Can we have those keywords in comma instead

The plugin was made for v1.7...quite outdated.
Replace:
$default_image_keywords str_replace(","" "$default_image_keywords);
$default_image_keywords ereg_replace("( ){2,}"" "$default_image_keywords);


With:
if (version_compare(SCRIPT_VERSION"1.7.8" "<"))
{
	
$default_image_keywords str_replace(","" "$default_image_keywords);
	
$default_image_keywords ereg_replace("( ){2,}"" "$default_image_keywords);
}
else
{
  
$default_image_keywords preg_replace("/[\n\r]/is"","$default_image_keywords);
  
$image_keywords_arr explode(','$default_image_keywords);
  
array_walk($image_keywords_arr'trim_value');
  
$default_image_keywords implode(','array_unique(array_filter($image_keywords_arr)));
}


38
These settings only apply if 4images automatically create thumbnails from uploaded image, it does not resize uploaded thumbnails.

39
Discussion & Troubleshooting / Re: Download Button URL not working
« on: February 02, 2012, 04:56:49 AM »
Looks like your gallery wasn't properly upgraded. In v1.7.10 every "main" php file in the 4imagers root directory has MAIN_SCRIPT defined. Your files seems to missing that line.

40
Make sure "Thumbnail size in pixel" set to 140

41
You'll need rebuild thumbnails. There is a plugin for that.

42
DefaultLanguage ru
AddDefaultCharset windows-1251
php_value default_charset "cp1251"
That didn't work?

43
Why not just upgrade your old gallery by copying all files from new version over the old files?

44
Ok, on your website when image information (name, description, keywords) has a word that present more then once, and one of these words has a capital letter, it produces this error.
For example a name "Проба проба" will cause the error.

I believe it has something to do with MySQL configuration rather then PHP/Apache/4images

Unfortunately I still can't reproduce this error on my local server.
Try execute this mysql query in phpmyadmin:
Code: [Select]
INSERT INTO 4images_wordmatch (image_id, word_id, name_match, desc_match, keys_match) SELECT DISTINCT 636, word_id, 1, 0, 0 FROM 4images_wordlist WHERE word_text = 'ïðîáà'will it give you error?

45
Discussion & Troubleshooting / Re: GD Library
« on: January 15, 2012, 12:04:36 AM »
By default 4images doesn't have automatic image resize on upload. There is a mod for that though. However if you activate auto thumbnails in the settings then it should automatically create thumbnails.

Pages: 1 2 [3] 4 5 6 7 ... 741