how to update if i have already installed mods... and is it worth if i have already installed mods...?
template does not changeDoes the folder "tem02" exists in the "templates" directory? And are there any files in it?
even tried to change chmod 777 chmod 666 to /media dir
Warning: opendir(./../templates/tem02/media): failed to open dir: Permission denied in /home/user1/public_html/admin/templates.php on line 62
Warning: closedir(): supplied argument is not a valid Directory resource in /home/user1/public_html/admin/templates.php on line 68
No template found
templates
|- default
|- icons
|- images
|- image_english
|- media
|- bbcode.html
|- etc.....
|- tem02
|- icons
|- images
|- image_english
|- media
|- bbcode.html
|- etc.....
Jan, is it possible to make changes manually? becouse i have installes mods and dont want to lost them :evil:You can use tools like ExamDiff (http://www.prestosoft.com/ps.asp?page=edp_examdiffpro) for comparing files and check what changes have been made.
@wally: Es wurden einige Templates geändert. Da Du noch alte Templates verwendest, musst Du die neuen Code und die neuen Tags dort einfügen. Welche Dateien geändert wurden, steht in docs/Changelog.txt
hello.Here is program you can use:
which codes have changed or added from 1.7.2 to 1.7.3.
example:
line: 23
find
$additional_sql = "";
after add
if (!empty($additional_image_fields)) {
.....
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
header('Content-Type: text/xml');
withheader("Content-type: text/xml; charset=".$lang['charset']);
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
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?
//-----------------------------------------------------
//--- User Box ----------------------------------------
//-----------------------------------------------------
if ($user_info['user_level'] >= USER) {
$captcha_enable_comments = 0;
$captcha_enable_upload = 0;
$captcha_enable_postcards = 0;
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 nachCode: [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.
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
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.
if (!function_exists('mime_content_type')) {
}
mime_content_type
get_mime_content_type
Hello. .
After I upgrade my script from version 1.7.2 To 1.7.3
I get 2 problems:
1- This massageQuoteDB 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
Please use this thread for feedback and comments about the 4images 1.7.3 release.
For bug reporting and troubleshooting please use this forum.
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 includingCode: [Select]if (!function_exists('mime_content_type')) {
and the lastCode: [Select]}
with the contents of the text file attached to this post.
Then open rss.php and replaceCode: [Select]mime_content_type
withCode: [Select]get_mime_content_type
The captcha requires GD2 (GD1 is supported but was not fully tested), so if GD2 is not installed on your server you wont be able to use it.
thanks.
I Have done your said but there is an error. Can you give edited file (functions.php) me pls.
function right(e) {
if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
alert("© Copyright by {site_name}");
return false;
}
else if (event.button == 2 || event.button == 3) {
alert("© Copyright by {site_name}");
return false;
}
return true;
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = right;
}
else if (document.all && !document.getElementById){
document.onmousedown = right;
}
document.oncontextmenu = new Function("alert('© Copyright by {site_name}');return false");
function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
alert("© Copyright by {site_name}");
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
alert("© Copyright by {site_name}");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
Any idea what goes wrong? Anyone has it working on both IE and firefox?
document.oncontextmenu = new Function("alert('© Copyright by Ciprian's Personal Photo Gallery');return false");
document.oncontextmenu = new Function("alert('© Copyright by Ciprian\'s Personal Photo Gallery');return false");
Read docs/CAPTCHA.english.txt for a detailed description of the CAPTCHA configuration options.
You can set the name directly in the template by escaping the ':Code: [Select]document.oncontextmenu = new Function("alert('© Copyright by Ciprian\'s Personal Photo Gallery');return false");
Read docs/CAPTCHA.english.txt for a detailed description of the CAPTCHA configuration options.
----------------------------------------------------------
How to enable the CAPTCHA system:
----------------------------------------------------------
The CAPTCHA System is enabled by default.
-- Advanced control of the CAPTCHA system ----------------
You can control the CAPTCHA system in yourconfig.phpglobal.php with
the following configuration variables:
- $cache_enable = 1;
A value of 1 enables the CAPTCHA system, 0 disables it.
Default value is 0.
- $captcha_enable_comments = 1;
A value of 1 enables the CAPTCHA system for the comments
form, 0 disables it.
Default value is 1.
That doesnt give much help on how to configure it
unless 4images 1.7.3 are for DEVELOPERS and PHP GURUS only ?
simple: where do we change and configure the CAPTCHA and where in config.php to add/alter/delete code ?
Digi-foto, it is in global.php not config.php. Check there :mrgreen:
If you tell what do you want to change i can give you an example how to do it.Read docs/CAPTCHA.english.txt for a detailed description of the CAPTCHA configuration options.
----------------------------------------------------------
How to enable the CAPTCHA system:
----------------------------------------------------------
The CAPTCHA System is enabled by default.
-- Advanced control of the CAPTCHA system ----------------
You can control the CAPTCHA system in your config.php with
the following configuration variables:
- $cache_enable = 1;
A value of 1 enables the CAPTCHA system, 0 disables it.
Default value is 0.
- $captcha_enable_comments = 1;
A value of 1 enables the CAPTCHA system for the comments
form, 0 disables it.
Default value is 1.
That doesnt give much help on how to configure it
unless 4images 1.7.3 are for DEVELOPERS and PHP GURUS only ?
simple: where do we change and configure the CAPTCHA and where in config.php to add/alter/delete code ?
Digi-foto, it is in global.php not config.php. Check there :mrgreen:
No, the variables must be set in config.php. Just the default values are set in global.php
jan re thanks rss problem solved. but other link eg: click to category links, image links below error :(
Fatal error: Call to undefined function: get_category_path_nohtml() in .../httpdocs/galeri/details.php on line 529
There are no variables in by default because the config.php is created during installation and cant be updated. The variablea are set to default values like described in docs/CAPTCHA.engish.txt. If you want to change a configuration option, just add the line to your config.php. If you like to disable CPATCHA for uploads, just add the following line:Digi-foto, it is in global.php not config.php. Check there :mrgreen:
No, the variables must be set in config.php. Just the default values are set in global.php
Well Jan, there is something missing in your config.new.php. There are no variables defined for capcha...
$captcha_enable_upload = 0;
it seems that captcha works fine with FF 1.5 but with IE 6, user can bypass the captcha !!
can someone confirm that please ?
it seems that captcha works fine with FF 1.5 but with IE 6, user can bypass the captcha !!
can someone confirm that please ?
Please note that you dont have to type the code when you are logged in as admin.
it seems that captcha works fine with FF 1.5 but with IE 6, user can bypass the captcha !!
can someone confirm that please ?
XML-Verarbeitungsfehler: XML-Deklaration nicht am Beginn von externer Entität
Adresse: http://photos.00000.XX/rss.php?action=images
Zeile Nr. 4, Spalte 1:<?xml version="1.0" encoding="iso-8859-1"?>
^
$captcha_enable = 0;
URL: http://photos.collie.ch (CAPTCHA wieder aktiviert)
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
ÿØÿàJFIFÿþ>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality
ÿÛC
PHP Version: phpMyAdmin - 2.8.0.4 (ist dies was du meinst?)
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
Dann aber noch ne kleine Frage: Ist meine Installation trotzdem sicher, wenn ich 1.7.2 benutze und die security patches hier aus dem Forum alle eingefügt habe?
is anybody there who can tell me the changes (in the files) ?http://www.4homepages.de/forum/index.php?topic=13733.msg73994#msg73994
from Version 1.72 to 1.73...?
is anybody there who can tell me the changes (in the files) ?http://www.4homepages.de/forum/index.php?topic=13733.msg73994#msg73994
from Version 1.72 to 1.73...?
not the templates...:arrow: same answer :!:
the *.php files... :(
Here is program you can use:you mean this??
ExamDiff (http://www.prestosoft.com/ps.asp?page=edp_examdiffpro)
Feel free to post the detailed changes...and see how long it will take you write it down for everyone to understand...;)
what can i do with this program?
this interesting software can compare dir ... and files... also *.php files :wink:i can not be more explicit :!:
what can i do with this program?this interesting software can compare dir ... and files... also *.php files :wink:i can not be more explicit :!:
:arrow: this program can open 2 files or dir and it shows all differences between them...
Das Feld mit dem Bestätigungs-Code muss ausgefüllt werden
hallo zusammen,
also ich habe jetzt 1.7.3 bei mir draufgetan (www.winterlife.com/4images) doch sehe ich weder das captcha noch das rss. was hab ich vergessen (sicherlich was sehr simples) bzw muss ich noch machen. habe im forum gesucht, aber da steht nur, wie man das captcha deaktiviert.
Ich habe immer noch ein Problem mit CAPTCHA. Die Bildchen erscheinen, den Text kann ich eingeben, doch dann kommt immer die Meldung:QuoteDas Feld mit dem Bestätigungs-Code muss ausgefüllt werden
Momentan ist CAPTCHA nur beim Kommentar aktiviert.
Gruss
Ursula
$site_sess->set_session_var('captcha', $code);
ChangeLog Version 1.7.3
xxxx
Geänderte Templates / Changed Templates:
---------------------------------------
- comment_bit.html
- comment_form.html
- details.html
- footer.html
- header.html
- member_profile.html
- member_uploadform.html
- postcard_preview.html
- register_form.html
Neue Templates / New Templates:
---------------------------------------
- exif_bit.html
- rss.xml
- rss_item.xml
- images/rss.gif
$user_showemail = (isset($HTTP_POST_VARS['user_showemail'])) ? intval($HTTP_POST_VARS['user_showemail']) : 0;
$user_showemail = (isset($HTTP_POST_VARS['user_showemail'])) ? intval($HTTP_POST_VARS['user_showemail']) : 1;