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

Pages: [1]
1
Installation, Update & Configuration / cross server setup
« on: October 31, 2002, 04:42:02 PM »
Dear Jan & Nicky,
beacuse of bandwidth problems I would like to place my images (data) folder on another server, is this possible?

Where should I change the server paths?

Thank youvery much for your help,
best regards,

Harry

2
Chit Chat / deleted?
« on: October 02, 2002, 10:33:48 PM »

3
Mods & Plugins (Requests & Discussions) / wishlist -> Postcards
« on: August 09, 2002, 10:00:23 AM »
Hi Nicky and Jan,

If you have not finished the next version yet, here is what I would like to see most in it...  8)

I like the postcards feature and was wondering if this can be added:

- admin: see how many postcards have been sent, which image is sent most etc.
- user: (choose to) get a notification if the card is being picked up

By the way, where is the #days the card is kept in the dbase defined?

Thanks,
best regards,
Harry

4
Feedback & Suggestions / Auto resize for non admin users?
« on: July 25, 2002, 03:53:54 PM »
Hi Jan  & Nicky,

first of all my compliments for staying so polite when too many posters are just simply demanding support for their problems...

If I were you, I would have ingored many posts..

Anyway, what I would like to ask or suggest is:
When somebody uploads a picture larger than my max size (650 wide, so it won't ruin my 800 wide tabled site) they wil get an error message saying it's too large.

Is there a way these pictures can be resized to the max size automatically (only if they are too large, not enlargen the pics if they are smaller)?

If you upload a picture as an admin you do not have the size restrictions and you can resize the image afterwards, but I would like to do it automatically. (see http://summitpost.com for an example of how this coul look like. These guys wrote their own code as well)

One other option would be to allow every size picture and be able to resize them when validating.

I welcome your thoughts,
thanks in advance,
best regards,

Harry

5
Discussion & Troubleshooting / Bug in dropdown function?
« on: July 17, 2002, 09:01:35 AM »
Hello Jan & Nicky,

While working on getting the  templates right for my site I noticed that there is a problem with the dropdown list of categories (jump buttons)

I cleaned out the My Sql and did a new install, but the problem remains ( I did not re-upload the programfiles as I changed some of them, but none of the dropdown files)

Anyway after adding a 1st category (Kilimanjaro) the dropdown list looks like this:


You can not choose for the category, the name of the category seems switched somehow with the text next to the option?

When I add a 2nd category, the dropdown in the admin panel has the same problem:

So I cannot choose to create a subdirectory under the 1st category

So I add it as a new category, bu then the dropdown list (home) looks like this:

The top drowdown is teh same, a new on is added as shown.

Is this a bug?
Where should I look for the code?

This is the code I could find in functions.php, bu tdo not know if this is the problem:

Code: [Select]
function get_category_dropdown_bits($cat_id, $cid = 0, $depth = 1) {
  global $site_db, $drop_down_cat_cache, $cat_cache;

  if (!isset($drop_down_cat_cache[$cid])) {
    return "";
  }
  $category_list = "";
  foreach ($drop_down_cat_cache[$cid] as $key => $category_id) {
    if (check_permission("auth_viewcat", $category_id)) {
      $category_list .= "<select>
<option value=\"".$category_id."\"";
      if ($cat_id == $category_id) {
        $category_list .= " selected=\"selected\"";
      }
      if ($cat_cache[$category_id]['cat_parent_id'] == 0) {
        $category_list .= " class=\"dropdownmarker\"";
      }

      if ($depth > 1) {
        $category_list .= ">".str_repeat("--", $depth - 1)." ".$cat_cache[$category_id]['cat_name']."</option>\n";
      }
      else {
        $category_list .= ">".$cat_cache[$category_id]['cat_name']."</option>\n";
      }
      $category_list .= get_category_dropdown_bits($cat_id, $category_id, $depth + 1);
    }
  }
  unset($drop_down_cat_cache[$cid]);
  return $category_list;
}

function get_category_dropdown($cat_id, $jump = 0, $admin = 0, $i = 0) {
  global $lang, $drop_down_cat_cache, $cat_parent_cache;
  // $admin = 1  Main Cat (update/add cats)
  // $admin = 2  All Cats (find/validate images...)
  // $admin = 3  Select Cat (update/add image)
  // $admin = 4  No Cat (check new images)

  switch ($admin) {
  case 1:
    $category = "\n
</select><select name=\"cat_parent_id\" class=\"categoryselect\">\n";
    $category .= "<option value=\"0\">".$lang['main_category']."</option>\n";
    $category .= "<option value=\"0\">--------------</option>\n";
    break;

  case 2:
    $category = "\n
</select><select name=\"cat_id\" class=\"categoryselect\">\n";
    $category .= "<option value=\"0\">".$lang['all_categories']."</option>\n";
    $category .= "<option value=\"0\">-------------------------------</option>\n";
    break;

  case 3:
    $i = ($i) ? "_".$i : "";
    $category = "\n
</select><select name=\"cat_id".$i."\" class=\"categoryselect\">\n";
    $category .= "<option value=\"0\">".$lang['select_category']."</option>\n";
    $category .= "<option value=\"0\">-------------------------------</option>\n";
    break;

  case 4:
    $category = "\n
</select><select name=\"cat_id\" class=\"categoryselect\">\n";
    $category .= "<option value=\"0\">".$lang['no_category']."</option>\n";
    $category .= "<option value=\"0\">-------------------------------</option>\n";
    break;

  case 0:
  default:
    if ($jump) {
      $category = "\n
</select><select name=\"".URL_CAT_ID."\" onchange=\"if (this.options[this.selectedIndex].value != 0){ forms['jumpbox'].submit() }\" class=\"categoryselect\">\n";
    }
    else {
      $category = "\n
</select><select name=\"".URL_CAT_ID."\" class=\"categoryselect\">\n";
    }
    $category .= "<option value=\"0\">".$lang['select_category']."</option>\n";
    $category .= "<option value=\"0\">-------------------------------</option>\n";
  } // end switch

  $drop_down_cat_cache = array();
  $drop_down_cat_cache = $cat_parent_cache;
  $category .= get_category_dropdown_bits($cat_id);
  $category .= "</select>\n";
  return $category;
}


(I have not changed anything in here)

Thanks in advance for your help,


best regards

6
Chit Chat / Installing and pointingto Image Magick
« on: July 12, 2002, 09:18:20 PM »
Hi Guys,

as Image magick is not installed on my virtual server I tried to install it myself, but got all kinds of error messages.

Does any one of you have a tip on how to install it ?
And if installed what is the path (to a file or directory?) I need to put in the settings?

Thanks a lot for any help,

best regards,

Harry

7
Discussion & Troubleshooting / Multiple CSS & templates ?
« on: July 12, 2002, 02:51:24 PM »
Hello, thanks for what seems to be a great product!

Before I do a test install, can you let me know if it is possible to have different templates and CSSs per category?

Or do I need to do multiple installs (hope not than people need to register for each category)

Thank a lot, best regards,
Harry

Pages: [1]