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

Pages: [1]
1
i installed it but i get this error

Parse error: syntax error, unexpected T_LNUMBER in /usr/home/slipxnot/www/boom/includes/page_header.php on line 292

in this line:

elseif($erg == "1"){$user_gb_neu = "<b>".$erg." neuer G?stebucheintrag</b>";}

change
Code: [Select]
   if($erg == "0"){$user_gb_neu = $erg.$lang['user_gb_new'].$lang['user_gb_entry'].";}to
Code: [Select]
  if($erg == "0"){$user_gb_neu = $erg.$lang['user_gb_new'].$lang['user_gb_entry'];}
thats all ;)


thanks bro worked gr8  :D

2
i installed it but i get this error

Parse error: syntax error, unexpected T_LNUMBER in /usr/home/slipxnot/www/boom/includes/page_header.php on line 292

in this line:

elseif($erg == "1"){$user_gb_neu = "<b>".$erg." neuer G?stebucheintrag</b>";}

3
Mods & Plugins (Releases & Support) / Re: [MOD] Category Image v1.0.2
« on: August 14, 2006, 02:13:07 PM »
Then try insert in categories.php  below
Code: [Select]
$random_cat_image = (defined("SHOW_RANDOM_IMAGE") && SHOW_RANDOM_IMAGE == 0) ? "" : get_random_image($cat_id);
This block:
Code: [Select]
$cat_image = "";
if ($cat_cache[$cat_id]['cat_image'])
{
  $sql = "SELECT image_id, image_media_file, image_thumb_file, cat_id
          FROM ".IMAGES_TABLE."
          WHERE image_id = ".$cat_cache[$cat_id]['cat_image'];
  if ($image_row = $site_db->query_firstrow($sql))
  {
    if (!get_file_path($image_row['image_thumb_file'], "thumb", $image_row['cat_id'], 0, 0))
    {
      $cat_image = ICON_PATH."/".get_file_extension($image_row['image_media_file']).".gif";
    }
    else
    {
      $cat_image = get_file_path($image_row['image_thumb_file'], "thumb", $image_row['cat_id'], 0, 1);
    }
  }
}
$site_template->register_vars("cat_image", $cat_image);

i cant get this to work i removed {if cat_image} {endif cat_image} and keept <img src="{cat_image}"> but i get the link of the image to my index page

Pages: [1]