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

Pages: 1 ... 5 6 7 8 [9] 10 11 12 13 ... 287
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.

122
Discussion & Troubleshooting / Re: 4images 1.7.3 - Feedback
« on: July 21, 2006, 09:21:59 PM »
This is a problem with the modification, not with 1.7.3 itself. You should post at the apropriate MOD thread.

123
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« on: July 21, 2006, 04:19:09 PM »
Read docs/CAPTCHA.english.txt for a detailed description of the CAPTCHA configuration options.

124
Vermutlich benutzt Du ein angepasstes Template Pack. Darin fehlen die Code-Teile für das CAPTCHA-Bild. Solange Du das nicht angepasst hast, kannst Du nur CAPTCHA deaktivieren. Dazu einfach folgende Zeile in die config.php einfügen:

Code: [Select]
$captcha_enable = 0;
Eine Liste mit geänderten Template findest Du in docs/Changelog.txt.

Alle Änderungen genau aufgelistet findest Du hier:
http://www.4homepages.de/forum/index.php?topic=13732.msg73982#msg73982

125
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« 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.

126
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« 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

127
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« 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.

128
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« 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

129
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« 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

130
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« on: July 20, 2006, 03:24:32 PM »
Danke. Habs ausgebessert und die Download-Datei aktualisiert.

131
To all Template Developers:

We would appreciate if you update your templates to make it compatible with version the current version.

You'll find a full list of what changed from version to version in the threads listed here:
http://www.4homepages.de/forum/index.php?board=1.0

132
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« on: July 19, 2006, 10:45:24 AM »
Hier gibts eine Liste mit Änderungen an den Templates:
http://www.4homepages.de/forum/index.php?topic=13732.msg73982#msg73982

Here's a list of what changed in the templates:
http://www.4homepages.de/forum/index.php?topic=13732.msg73982#msg73982

133
News & Announcements / Re: 4images 1.7.3
« on: July 19, 2006, 10:42:37 AM »
Heres a detailed list of what changed in templates. If you use a  custom template pack, don't forget to add the new template files (exif_bit.html, rss.xml, rss_item.xml, images/rss.gif).


comment_bit.html

New (line 3):
Code: [Select]
   <a name="comment{comment_id}"></a>


comment_form.html

New (line 28):
Code: [Select]
                {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}


details.html

New (line 163, after {endif iptc_info}):

Code: [Select]
                  {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}

New (line 183, after {if allow_comments}):

Code: [Select]
                  <a name="comments"></a>


footer.html

New (line 1):

Code: [Select]
{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}


Replacement (line 29):

Code: [Select]
<p align="center">
  Powered by <b>4images</b> {script_version}
  <br />
  Copyright &copy; 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>
// -->

replaced by

Code: [Select]
{copyright}


header.html

Replacement (line 7):

Code: [Select]
<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>

replaced by

Code: [Select]
<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>

New (line 52):

Code: [Select]
{if has_rss}
<link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" />
{endif has_rss}


member_profile.html

Replacement (line 31):

Code: [Select]
          <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>

replaced by

Code: [Select]
          <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>


member_uploadform.html

New (line 65):

Code: [Select]
          {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}


postcard_preview.html

New (line 35):

Code: [Select]
  {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}


register_form.html

New (line 65):

Code: [Select]
          {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}

135
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« on: July 18, 2006, 11:13:07 PM »
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 for comparing files and check what changes have been made.

Pages: 1 ... 5 6 7 8 [9] 10 11 12 13 ... 287