Author Topic: Uploadbutton in Logged-In Area to ONE Cat  (Read 6035 times)

0 Members and 1 Guest are viewing this topic.

Offline mato72

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Brick-Cinema
Uploadbutton in Logged-In Area to ONE Cat
« on: January 11, 2008, 05:25:42 PM »
Hi there....
How can I put an Upload-Button - which is only visible when logged-in - into the Log-In-Area?
The Url is static, because there is only one Cat_ID for the user to upload the files.

Il tried this to set in the home.html, but it´s not working:
Code: [Select]
$upload_url = http://www.brick-cinema.com/member.php?action=uploadform&cat_id=24;
$upload_button = "<a href=\"".$upload_url."\"><img src=\"".get_gallery_image("upload.gif")."\" border=\"0\" alt=\"\" /></a>";
Please can somebody help me...

Hallo
Ich möchte im Feld "Logged In" einen Upload-Button NACH dem einloggen erscheinen lassen.
Dieser soll dann auch immer nur zu einer bestimmten Cat_ID führen, da es nur eine Cat. gibt in der User uploaden können/dürfen.
Folgenden Code habe ich versucht in die home.html einzufügen, aber leider ohne Erfolg:
Code: [Select]
$upload_url = http://www.brick-cinema.com/member.php?action=uploadform&cat_id=24;
$upload_button = "<a href=\"".$upload_url."\"><img src=\"".get_gallery_image("upload.gif")."\" border=\"0\" alt=\"\" /></a>";

Kann mir bitte jemand helfen...

Offline mato72

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Brick-Cinema
Re: Uploadbutton in Logged-In Area to ONE Cat
« Reply #1 on: January 11, 2008, 06:05:53 PM »
Ok, it´s done. its in the user_logininfo.html, where you can edit some things which will only be shown if you are logged-in

Ok, hat sich erledigt, kann in der user_logininfo.html editiert werden, da hier schon selber so eingestellt ist dass diese html nur zusehen ist wenn man eingelogged ist.

Danke trotzdem