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.


Topics - KurtW

Pages: [1]
1
Discussion & Troubleshooting / Bug or ?- declaration
« on: December 30, 2007, 06:29:40 PM »
HI,

one question:

i found a code in details.php (Version 1.7.4):

Code: [Select]
    $cat_id_sql = $cat_id_sql !== 0 ? "AND cat_id IN ($cat_id_sql)" : "";
  }
  else {
    $cat_id_sql = get_auth_cat_sql("auth_viewcat", "NOTIN");
    $cat_id_sql = $cat_id_sql !== 0 ? "AND cat_id NOT IN (".$cat_id_sql.")" : "";
  }


I don't understund it.
Bug, or what is the declaration about:
Code: [Select]
!==


Thanks
KurtW

2
Discussion & Troubleshooting / Problem with login and cat_cache
« on: December 27, 2007, 07:43:48 PM »
Hi,



Page:
http://www.malediven-bilder.de/category_list.php

I use a modified includes/category_list_table.php with geo maps for my categories.
Code inside category_list_table.php:
Code: [Select]
<a href=\"".$site_sess->url(ROOT_PATH."categories.php?action=geocat&cat_id=".$cat_cache[$category_id]['cat_id'])."\" target=\"geoframe\"><img src=\"pageimages/geo/".$cat_cache[$category_id]['cat_gmap_show']."_statik.gif\" alt=\"Zum GeoBild und den Infos dieser Kategorie\" border=\"0\"></a>
Tables added in db
in includes/db_field_definitions.php added:

Code: [Select]
$additional_cat_fields['cat_gmap_latitude'] = array($lang['cat_gmap_latitude'], "text", 0);
$additional_cat_fields['cat_gmap_longitude'] = array($lang['cat_gmap_longitude'], "text", 0);
$additional_cat_fields['cat_gmap_zoom'] = array($lang['cat_gmap_zoom'], "text", 0);
$additional_cat_fields['cat_gmap_show'] = array($lang['image_gmap_show'], "tinyint", 0);

The Problem:
To use this addons i must change also the global.php to become the chache from the new db-tables:
Code: [Select]
if (defined("GET_CACHES")) {
  $sql = "SELECT cat_id, cat_name, cat_description, cat_parent_id, cat_hits, cat_order, auth_viewcat, auth_viewimage, auth_download, auth_upload, auth_directupload, auth_vote, auth_sendpostcard, auth_readcomment, auth_postcomment, cat_gmap_longitude, cat_gmap_latitude, cat_gmap_zoom, cat_gmap_show
          FROM ".CATEGORIES_TABLE."
          ORDER BY cat_order, cat_name ASC";
  $result = $site_db->query($sql);

But when i add the last 4 tablenames into this code like the code posting before:
Quote
cat_gmap_latitude, cat_gmap_zoom, cat_gmap_show
i can't login with FF. FF don't show me the user_logininfo.html.  :? Always the user_loginform.html
With IE and opera no problems...

Testaccount:

ID: test
PW: test

Can anyone help me please :?:
Thanks


cu
KurtW

3
Chit Chat / Script in t-online Homepageaward
« on: December 22, 2007, 09:18:06 AM »
Hi,

Homepageaward 2007

At the moment my page with the 4images script:





I hope, you vote for my page  :wink:
:!: :!: :!: Thanks  :!: :!: :!:



cu
KurtW


4
Discussion & Troubleshooting / .htaccess Problem mit .eu Domain
« on: July 10, 2006, 04:30:42 PM »
Hallo,

komme mit meinem Problem nicht weiter, und find auch keinen passenden Thread dazu:

Verwende folgende .htaccess Datei in den verschiedenen Ordnern:

Code: [Select]
RewriteEngine on

RewriteCond %{HTTP_REFERER} !^http://(www\.)?auf-reisen\.eu(/.*)?$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?malediven-bilder\.de(/.*)?$ [NC]
RewriteRule [^/]+.(gif|jpg|JPG|JPEG|jpeg|css|js|png)$ http://www.malediven-bilder.de/logo_images.gif [R,L]


Das klappt auch toll für die Domain:
http://www.malediven-bilder.de,
jedoch für die Domain:
http://www.auf-reisen.eu ist dann kein Zugriff auf die Dateien möglich.
Nach dem Löschen der .htaccess klappt wieder alles einwandfrei.


Hat jemand eine Idee?

Danke
Kurt






Pages: [1]
Post your comments here