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 - webmaster73

Pages: 1 2 3 [4] 5
46
FAQ, Tips / Re: How can I show more new images on home page?
« on: August 09, 2007, 04:29:51 PM »
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:
Code: [Select]
$num_new_images = $config['image_cells'];Replace it with:
Code: [Select]
$num_new_images = XX;Where XX is the number of images.

this is nice, but should be a setting in the admin panel, not a mod....


47
strange... 

both IE7 and FireFox started yesterday hanging on this checkimages.php

In windows task manager, I can see the browser is taking 50% of cpu and about 500,000K RAM!

Is it my ram or the modded script ?



48
Still find some line of this:

Quote
$image_name = un_htmlspecialchars(trim($_POST['image_name']));

No pre-define. ;)

forgive me, but I don't understand what you mean.


49
oooooooooooh. disappointing.

even members with non-ascii chars in their names are not able to log-in and they receive no error message whatsoever...


50
AND ......

to confirm to you that it is an absolutely Image Name problem, with the same user, same time, same system, same browser, I upload the same image, only difference being that I would use ascii/ansi chars for file name, and upload is successful....


51
No get .. I only two ...  :|

Use my diagnostic:

http://www.4homepages.de/forum/index.php?topic=18308.0

Set:

Quote
// Assistance
... image_name line
// End of assistance

in member.php file for all 4 and send attach file. Will look. ;)

 :D :D :D :D I was faster than you .....   I attached before you requested..  :mrgreen: :mrgreen:

52
Ok, found it.

In member.php file,

find (2 time):

Quote
$image_name = un_htmlspecialchars(trim($HTTP_POST_VARS['image_name']));
$image_description = un_htmlspecialchars(trim($HTTP_POST_VARS['image_description']));
$image_keywords = un_htmlspecialchars(trim($HTTP_POST_VARS['image_keywords']));

replace:

Quote
$image_name = (isset($HTTP_POST_VARS['image_name'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['image_name'])) : "";
$image_description = (isset($HTTP_POST_VARS['image_description'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['image_description'])) : "";
$image_keywords = (isset($HTTP_POST_VARS['image_keywords'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['image_keywords'])) : "";

Should work. ;)


No friend, sorry. it does not work.

when I enter non-ascii (arabic) chars into the image name field, I get this error:

Please fill out the Image Name field

which of course I did.....


any help would be appreciated.


53
Intrst ... which line in member.php for $HTTP_POST_VARS['image_name'] ? May be bug for pre-define.

4 occurences.

line 343    $image_name = un_htmlspecialchars(trim($HTTP_POST_VARS['image_name']));

twice on line 430   $image_name = (isset($HTTP_POST_VARS['image_name'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['image_name']))) :

line 495    $image_name = un_htmlspecialchars(trim($HTTP_POST_VARS['image_name']));


am attaching both files.

54
hello.

After a lot of painful research and trial and error, I found out that when the Image Name field is in non-ascii chars, the upload fails (captcha deactivated in global.php)

After additional painful research, found out that this problem could be avoided by replacing the 4 occurences of $HTTP_POST_VARS['image_name'] in member.php by $_POST['image_name']

Now I also found out that users are not able to use non-ascii chars in comment title..... grrrh.

I searched details.php for any occurences of $HTTP_POST_VARS['image_name'], but there were none.

Any solution?


Linux server RedHat 9 PHP 5 mysql 4 Cpanel 11 4images1.7.4 latest.

55
FAQ, Tips / Re: How can I show more new images on home page?
« on: August 08, 2007, 11:45:08 PM »
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:
Code: [Select]
$num_new_images = $config['image_cells'];Replace it with:
Code: [Select]
$num_new_images = XX;Where XX is the number of images.

am thankful to this very helpful post V@no


56
i have a problem using this mod... dont know why...
i just got this error 3 days ago using version.1.7.2 now just upgraded to 1.7.4...
and still got problem with the new checknew images downloaded from here.

Check new images log 
 
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 13056 bytes) in /home2/choadaoo/public_html/lienhoa/gallery/includes/image_utils.php on line 80

 
 
when i checked, it's shown images, but when i added and it's shown this problem.


this is not a problem with the mod but with your php settings.

ask your host to increase your memory or reduce the number of images to look for at one time.

57

  • check in all categories at once
  • check in a category including its subcategories
  • auto resize
  • auto create thumbnails
  • auto insert IPTC info of name, description, keywords and date
  • if no thumbnails found, creates temp thumbnails in preview list
how can I thank you for this?

please tell me.


58
Français / Re: je suis fier de ma galerie.
« on: August 01, 2007, 03:59:00 AM »
.......ooooops.

et j'ai bien sûr attribué à César (bon là c'est décopix) ce qui est à César...

et le bon lien vers la page francaise est http://kaninchen-lapin.ch/index-fr.php

59
Français / Re: je suis fier de ma galerie.
« on: August 01, 2007, 03:57:34 AM »
pour le lien de décopix...... sincèrement, il mérite un paiement pour ce beau travail.
Je signe des deux mains! :D

pour vous montrer à quel point j'admire le travail sincèrement artistique et authentique de ce créateur, j'ai généralisé son template à tout mon site, même les pages en dehors du script de la galérie...... et regardez le résultat...

http://kaninchen-lapin.ch/abandon-fr.php

chic........ vraiment chic.....

pour vous dire sincèrement, j'aimerais confier à décopix le design de tout mes sites web ...... j'aimerais presque lui donner un salaire mensuel.......  :)

je ne peux pas vous remercier assez pour le lien ......... j'y vais tout de suite.....


60
Français / Re: je suis fier de ma galerie.
« on: August 01, 2007, 02:46:32 AM »
Bonjour;

nombre d'images dans la page d'accueil: FAQ: How can I show more new images on home page?

Ne montrer que les nouvelles images de certaines catégories: {new_images} from specific category et Exclude Category from New Images

Je suis certain que vous ferez bon usage de tout cela. :wink:
Je suivrai avec attention l'évolution de votre site.
Merci pour decopix d'avoir laissé le lien vers son site. Certains utilisateurs de templates n'ont malheureusement pas cette délicatesse.
Salutations.

merci énormement. vous êtes vraiment généreux.

enfin, résolu.... j'ai apparement mal cherché

pour le lien de décopix...... sincèrement, il mérite un paiement pour ce beau travail.




Pages: 1 2 3 [4] 5