Author Topic: 4images 1.7.3 - Feedback  (Read 149797 times)

0 Members and 1 Guest are viewing this topic.

Offline Syslord

  • Pre-Newbie
  • Posts: 8
    • View Profile
    • reinigungsforum
Re: 4images 1.7.3 - Feedback
« Reply #30 on: July 20, 2006, 10:32:40 AM »
Super das neue Update

einfach Genial jetzt mit Captcha

und die Bugfixe

Danke für die Super Arbeit  8O


Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: 4images 1.7.3 - Feedback
« Reply #31 on: July 20, 2006, 03:24:32 PM »
Danke. Habs ausgebessert und die Download-Datei aktualisiert.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
Re: 4images 1.7.3 - Feedback
« Reply #32 on: July 20, 2006, 05:50:57 PM »
rss page  <enclosure url="{item_enclosure_url}" length="{item_enclosure_length}" type="{item_enclosure_type}" />

type"" area is blank.

and feed validator 2 errors :(

---
this feed does not validate.

1. type attribute of enclosure must be a valid MIME type ,
2. Your feed appears to be encoded as "iso-8859-9", but your server is reporting "US-ASCII"
<?php echo 'Hello, World!'; ?>

Offline Eschy5

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • Eschys Homepage
Re: 4images 1.7.3 - Feedback
« Reply #33 on: July 20, 2006, 06:03:43 PM »
Hi,

die Captcha-Funktion funktioniert nicht richtig. Der wird immer anzeigt, aber trotzdem wimmelt es in der Galerie von Spam. Ich habe auch geschaut, ob man als Gast einfach so posten kann, ohne den Code einzugeben. Geht aber nicht. Auch mit falschen Code geht es nicht. Die Spambots müssen das irgendwie um gehen, denn bis gestern vor dem Update war die Galerie frei von Spam. Erst danach tauchten massig Spams auf. Das einzige was geholfen hat, war ein Script, dass irgendwie mit Javascript funktioniert. Bei aktivierten Javascript kam das Eingabefeld nicht und man konnte Kommentare schreiben, aber bei deaktiviertem Java kam das Eingabefeld und das konnte auch nicht umgangen werden. Damit war die Galerie wirklich Spam frei.

Der Code müsste das das gewesen sein: http://www.4homepages.de/forum/index.php?topic=12268.0

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: 4images 1.7.3 - Feedback
« Reply #34 on: July 20, 2006, 06:53:04 PM »
Lade Dir nochmal die Zip-Datei herunter und ersetze die Datei "includes/captcha_utils.php". Ich habe den Code etwas optimiert. Außerdem ist es sinnvoll, eigene Hintergund-Bilder und Schriftarten zu verwenden. Einfach die Dateien im Ordner "captcha/backgrounds" und "captcha/fonts" autauschen. Da 4images relativ weit verbreitet ist, werden natürlich sofort Programme entwickelt die versuchen den CAPTCHA-Schutz zu knacken. Deshalb ist es gut, wenn man eigene Grafiken verwendet.

Wenn Du Windows verwendest, kannst Du übrigens die dort installierten Fonts (Schriftarten) verwenden. Diesen befinden sich üblicherweise im Ordner "C:\WINDOWS\Fonts". Achte aber darauf, dass Du nur TrueType-Fonts verwendest.

Sag doch kurz bescheid wenns was geholfen hat.

Gruß Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: 4images 1.7.3 - Feedback
« Reply #35 on: July 20, 2006, 07:14:45 PM »
@ Bugfixed

1. type attribute of enclosure must be a valid MIME type ,
What PHP-Version do you use?

2. Your feed appears to be encoded as "iso-8859-9", but your server is reporting "US-ASCII"
Try to replace
Code: [Select]
header('Content-Type: text/xml');with
Code: [Select]
header("Content-type: text/xml; charset=".$lang['charset']);
in rss.php
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Eschy5

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • Eschys Homepage
Re: 4images 1.7.3 - Feedback
« Reply #36 on: July 20, 2006, 09:41:49 PM »
Lade Dir nochmal die Zip-Datei herunter und ersetze die Datei "includes/captcha_utils.php". Ich habe den Code etwas optimiert. Außerdem ist es sinnvoll, eigene Hintergund-Bilder und Schriftarten zu verwenden. Einfach die Dateien im Ordner "captcha/backgrounds" und "captcha/fonts" autauschen. Da 4images relativ weit verbreitet ist, werden natürlich sofort Programme entwickelt die versuchen den CAPTCHA-Schutz zu knacken. Deshalb ist es gut, wenn man eigene Grafiken verwendet.

Wenn Du Windows verwendest, kannst Du übrigens die dort installierten Fonts (Schriftarten) verwenden. Diesen befinden sich üblicherweise im Ordner "C:\WINDOWS\Fonts". Achte aber darauf, dass Du nur TrueType-Fonts verwendest.

Sag doch kurz bescheid wenns was geholfen hat.

Gruß Jan

Im Moment scheints zu funktionieren. Ich habe die Galerie mal vor langer Zeit in 2 Teile geteilt, weil es normalerweise um ein Spiel ging, aber immer mehr echte Fotos aufgetaucht sind. Die Galerie mit den echten Fotos hat den neuen Code drin, und auch eigene hintergrundbildchen, die ich mal gezaubert habe. Bis jetzt ist diese Galerie spamfrei. In der anderen Galerie habe ich noch nichts gemacht. Dort wurde zur gleichen Zeit fleißig weiter gespammt.
Ich guck morgen mal, ob übernacht vielleicht doch noch was kommt. Ich schreibe dann morgen nochmal hier rein, wie es aussieht.

Eine Verbesserungsmöglichkeit hätte ich noch: Einige User bei mir regen sich immer auf, dass überall der Code eingegeben werden muss. Ist es möglich, den Code so anzupassen, dass die Codes nur noch von Gästen abgetippt werden müssen?

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
Re: 4images 1.7.3 - Feedback
« Reply #37 on: July 20, 2006, 09:42:36 PM »
thanks jan for reply  :wink:

My php version: 4.3.10-14.25 on suse 9.3 and apache 2.0.53-9.10
<?php echo 'Hello, World!'; ?>

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: 4images 1.7.3 - Feedback
« Reply #38 on: July 20, 2006, 10:17:27 PM »
Eine Verbesserungsmöglichkeit hätte ich noch: Einige User bei mir regen sich immer auf, dass überall der Code eingegeben werden muss. Ist es möglich, den Code so anzupassen, dass die Codes nur noch von Gästen abgetippt werden müssen?

Anregung aufgenommen :)
Als kleiner "Hack" vorab:

Such in includes/page_header.php nach
Code: [Select]
//-----------------------------------------------------
//--- User Box ----------------------------------------
//-----------------------------------------------------
if ($user_info['user_level'] >= USER) {

und füge darunter ein:
Code: [Select]
$captcha_enable_comments     = 0;
$captcha_enable_upload       = 0;
$captcha_enable_postcards    = 0;

In diesem Falle wird CAPTCHA für Kommentare, Upload und E-Cards abgeschaltet wenn der User eingeloggt ist.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
Re: 4images 1.7.3 - Feedback
« Reply #39 on: July 20, 2006, 10:26:57 PM »
jan  :(

My php version: 4.3.10-14.25 on suse 9.3 and apache 2.0.53-9.10

in my rss page "type" area blank pls help.
<?php echo 'Hello, World!'; ?>

Offline Eschy5

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • Eschys Homepage
Re: 4images 1.7.3 - Feedback
« Reply #40 on: July 21, 2006, 12:49:18 AM »
Eine Verbesserungsmöglichkeit hätte ich noch: Einige User bei mir regen sich immer auf, dass überall der Code eingegeben werden muss. Ist es möglich, den Code so anzupassen, dass die Codes nur noch von Gästen abgetippt werden müssen?

Anregung aufgenommen :)
Als kleiner "Hack" vorab:

Such in includes/page_header.php nach
Code: [Select]
//-----------------------------------------------------
//--- User Box ----------------------------------------
//-----------------------------------------------------
if ($user_info['user_level'] >= USER) {

und füge darunter ein:
Code: [Select]
$captcha_enable_comments     = 0;
$captcha_enable_upload       = 0;
$captcha_enable_postcards    = 0;

In diesem Falle wird CAPTCHA für Kommentare, Upload und E-Cards abgeschaltet wenn der User eingeloggt ist.

Vielen Dank für die zügige Antwort.  :D

Offline Zhra

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Zhra Net
Re: 4images 1.7.3 - Feedback
« Reply #41 on: July 21, 2006, 03:01:45 AM »
Hello. .
After I upgrade my script from version 1.7.2 To 1.7.3

I get 2 problems:
1- This massage

Quote
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY DESC LIMIT 1
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC LIMIT 1' at line 5



2- I was running country flag on my previous script no isn't show (who's online) by flags

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: 4images 1.7.3 - Feedback
« Reply #42 on: July 21, 2006, 11:22:32 AM »
jan :(

My php version: 4.3.10-14.25 on suse 9.3 and apache 2.0.53-9.10

in my rss page "type" area blank pls help.

It seems that there is a bug in the PHP function mime_content_type(). Try the following:

Open includes/functions.php and replace everything between and including

Code: [Select]
if (!function_exists('mime_content_type')) {
and the last

Code: [Select]
}
with the contents of the text file attached to this post.

Then open rss.php and replace

Code: [Select]
mime_content_type
with

Code: [Select]
get_mime_content_type
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: 4images 1.7.3 - Feedback
« Reply #43 on: July 21, 2006, 11:29:00 AM »
Hello. .
After I upgrade my script from version 1.7.2 To 1.7.3

I get 2 problems:
1- This massage

Quote
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY DESC LIMIT 1
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC LIMIT 1' at line 5


The copyright notice at your gallery says "Powered by 4images v1.7". Are you sure that you've updated all files correctly. Please read "docs/update.english.txt" for detailed instructions.

2- I was running country flag on my previous script no isn't show (who's online) by flags

Replacing you installed files with the new files means that modifications you've done at your code are gone. You have to re-apply all modifications.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline bunelul

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: 4images 1.7.3 - Feedback
« Reply #44 on: July 21, 2006, 11:54:12 AM »
Please use this thread for feedback and comments about the 4images 1.7.3 release.
For bug reporting and troubleshooting please use this forum.

Hello,

on the test gallery i`m working with the new, 1.7.3 version.

I`d like to share my experience with the process of installing mods within this version.


  1. Toplist altered  - OK
  2. Last comments v1 - OK
  3. eCard Counter - OK
  4. Dynamic Page Title - OK (few places needs to analyze the code from php files as it doesn`t match ideally)
  5. Postcard viewer - OK
  6. Adjustments to postcards.php for preventing yahoo bulk mail filter - OK
  7. "Ecards received" notification - OK (again, few places needs to analyze the code from php files as it doesn`t match ideally)
  8. Last comments on index page - OK
  9. Batch annotate - OK

OK means after installing these mods the gallery and mods works great.
My rating so far for 1.7.3 "9.5" / 10

I`d like to ask here 1 question:

Is possible to disable the "verification code" for uploading image, sending postcards until it will be needed? so far i still didn`t encounter spam problems with this. And if it is possible to simplify the code to 2-3 letter with a smaller "image of verification code"? (to be honest i didn`t look yet the php code for this aspect).

Thanks for great script!