121
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« on: July 22, 2006, 12:43:02 PM »thanks.
I Have done your said but there is an error. Can you give edited file (functions.php) me pls.
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.
thanks.
I Have done your said but there is an error. Can you give edited file (functions.php) me pls.
$captcha_enable = 0;
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
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
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;
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']);
<a name="comment{comment_id}"></a>
{if captcha_comments}
<tr>
<td width="90" valign="top"><b>{lang_captcha}</b></td>
<td>
<a href="javascript:new_captcha_image();"><img src="{url_captcha_image}" border="0" id="captcha_image" /></a>
<br />
<input type="text" name="captcha" size="30" value="" class="commentinput" id="captcha_input" />
<br />
{lang_captcha_desc}
</td>
</tr>
{endif captcha_comments}
{if exif_info}
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td class="bordercolor">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td class="head1" valign="top" colspan="2">EXIF Info</td>
</tr>
{exif_info}
</table>
</td>
</tr>
</table>
{endif exif_info}
<a name="comments"></a>
{if has_rss}
<p align="center">
<a href="{rss_url}"><img src="{template_url}/images/rss.gif" border="0" width="15" height="15" alt="{rss_title}" /></a>
</p>
{endif has_rss}
<p align="center">
Powered by <b>4images</b> {script_version}
<br />
Copyright © 2002 <a href="http://www.4homepages.de" target="_blank">4homepages.de</a>
</p>
<!--
<p align="center">
<a href="http://validator.w3.org/check/referer"><img src="http://validator.w3.org/images/vxhtml10" height="31" width="88" alt="Valid XHTML 1.0!" border="0" /></a>
</p>
// -->
{copyright}
<script language="javascript" type="text/javascript">
<!--
function opendetailwindow() {
window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
}
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;
// -->
</script>
<script language="javascript" type="text/javascript">
<!--
var captcha_reload_count = 0;
var captcha_image_url = "{url_captcha_image}";
function new_captcha_image() {
if (captcha_image_url.indexOf('?') == -1) {
document.getElementById('captcha_image').src= captcha_image_url+'?c='+captcha_reload_count;
}
else {
document.getElementById('captcha_image').src= captcha_image_url+'&c='+captcha_reload_count;
}
document.getElementById('captcha_input').value="";
document.getElementById('captcha_input').focus();
captcha_reload_count++;
}
function opendetailwindow() {
window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
}
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");
// -->
</script>
{if has_rss}
<link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" />
{endif has_rss}
<td class="row2">{if user_icq}<a href="http://wwp.icq.com/scripts/search.dll?to={user_icq}">{user_icq}</a> (<b>{user_icq_status}</b>){endif user_icq}</td>
<td class="row2">{if user_icq}<a href="http://www.icq.com/people/about_me.php?uin={user_icq}" target="_blank">{user_icq}</a> (<b>{user_icq_status}</b>){endif user_icq}</td>
{if captcha_upload}
<tr>
<td class="row1" valign="top"><b>{lang_captcha}</b></td>
<td class="row1">
<a href="javascript:new_captcha_image();"><img src="{url_captcha_image}" border="0" id="captcha_image" /></a> <br />
<input type="text" name="captcha" size="30" value="" class="commentinput" id="captcha_input" />
<br />
{lang_captcha_desc}
</td>
</tr>
{endif captcha_upload}
{if captcha_postcards}
<br />
<table width="450" border="0" cellspacing="0" cellpadding="1" align="center">
<tr>
<td valign="top" class="head1">
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<tr>
<td class="row1" valign="top"><b>{lang_captcha}</b></td>
<td class="row1">
<a href="javascript:new_captcha_image();"><img src="{url_captcha_image}" border="0" id="captcha_image" /></a> <br />
<input type="text" name="captcha" size="30" value="" class="commentinput" id="captcha_input" />
<br />
{lang_captcha_desc}
</td>
</tr>
</table>
</td>
</tr>
</table>
{endif captcha_postcards}
{if captcha_registration}
<tr>
<td class="row1" valign="top"><b>{lang_captcha}</b></td>
<td class="row1">
<a href="javascript:new_captcha_image();"><img src="{url_captcha_image}" border="0" id="captcha_image" /></a> <br />
<input type="text" name="captcha" size="30" value="" class="commentinput" id="captcha_input" />
<br />
{lang_captcha_desc}
</td>
</tr>
{endif captcha_registration}
Jan, is it possible to make changes manually? becouse i have installes mods and dont want to lost themYou can use tools like ExamDiff for comparing files and check what changes have been made.