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

Pages: [1]
1
So? uset it inside your html...
I think the {userpic}-Tag should print the whole image-path....but it prints olny the image-name
(http://www.ring-action.de/details.php?image_id=21651)

I´ve wrote {userpic} into the details.html...see my post befor

2
Try add
Code: [Select]
global $additional_user_fields;above the new code you've added into functions.php
Thanks Veno...but now i see olny the image name, like 1.jpg

3
Hi,



i have installed this Mod and it works fine.

But now I tried to show the userpic into the details.html.
So I make the steps 10 and 11 and insert the {userpic} tag into the details.html
Quote
functions.php
...
   if (!empty($additional_user_fields)) {
    $additional_field_array = array();
    foreach ($additional_user_fields as $key => $val) {
      if ($key != "userpic" || ($key == "userpic" && $config['userpic']))
      {
        $additional_field_array[$key] = (!empty($image_row[$key])) ? format_text($image_row[$key], 1) : REPLACE_EMPTY;
        $additional_field_array['lang_'.$key] = $val[0];
      }
    }
    if (!empty($additional_field_array)) {
      $site_template->register_vars($additional_field_array);
    }
  }


  if (!empty($additional_image_fields)) {
    $additional_field_array = array();
    foreach ($additional_image_fields as $key => $val) {
      $additional_field_array[$key] = (!empty($image_row[$key])) ? format_text($image_row[$key], 1) : REPLACE_EMPTY;
      $additional_field_array['lang_'.$key] = $val[0];
    }
    if (!empty($additional_field_array)) {
      $site_template->register_vars($additional_field_array);
    }
  }
...
Quote
details.php
...
if (!$image_id) {
  header("Location: ".$site_sess->url($url, "&"));
  exit;
}

$additional_sql = "";
if (!empty($additional_user_fields)) {
  foreach ($additional_user_fields as $key => $val) {
    $additional_sql .= ", u.".$key;
  }
}

if (!empty($additional_image_fields)) {
  foreach ($additional_image_fields as $key => $val) {
    $additional_sql .= ", i.".$key;
  }
}
...
Quote
details.html
<td valign="top" class="row2">{user_name_link}<br>{userpic}</td>

if I got to the details of a picture I do´nt see an image  :(
I get no error or something else.

can anyone help me.

regards
Alex

4
Installation, Update & Configuration / andere Startseite
« on: May 22, 2003, 12:57:35 PM »
Hallo zusammen, ich möchte gerne beim aufrufen von 4images eine andere "Startseite" angezeigt bekommen, welche ich selber erstellt habe(zb. ?template=test).
Und dann kann der User durch eine Menüleiste sich die Kategorien anzeigen lassen.
Daher auch die Frage, welche Seite muß ich aufrufen um alle Kategorien angezeigt zu bekommen?

Schon mal Danke

Gruß
Alex

http://www.planet-125.com

5
Kein Problem.....

Aber nochmal Danke für die schnelle Antwort

6
Hallo,

hat hier keiner eine Lösung für????

würde mich auch interessieren


Guß
Alex

7
Hallo zusammen,

ich möchte gerne meinen Usern erlauben, in bestimmten Hauptkategorien, neue Unterkategorien zu erstellen.

Ist das irgendwie möglich.

Ich benutze die Ver. 1.6

Schon mal Danke für die Antworten.

MFG
Alex

8
Feedback & Suggestions / Warum nur ?
« on: July 06, 2002, 12:25:30 PM »
leo:

zu deinem Loginproblem.

überprüfe mal die gültigkeit deiner Cookies.

Ich hatte auch dieses Problem und nicht nur mit 4images.
Es lag daran, das meine Firewall auf dem lokalen Rechner die Cookies nicht richtig durchkommen lassen.
D.h. Cookie war nur ein paar Sec. gültig und danach war ich wieder Gast.

Damit siehst du, nicht alle Probleme müssen an 4images liegen!

9
Discussion & Troubleshooting / Nuke Integration
« on: May 08, 2002, 12:44:19 AM »
Mich würde es freuen, wenn es eine Möglichkeit gäben würde 4images in phpnuke zu intrigieren (user übernehmen usw).

mfg
alex

10
Hallo,

die Ver. 1.5B ist super.

Was mir noch fehlt, das man den Usergruppen auch noch das Recht geben kann Kategorien zu erstellen.

Kann man die noch einbauen????

Gruß
Alex

http://www.planet-125.de

11
Feedback & Suggestions / Kurzinfo Update
« on: April 24, 2002, 01:14:09 AM »
Hallo,

wann kann man den mit dieser Superversion rechnen.

Schon mal Danke im vorraus.

Gruß
Alex

Pages: [1]