| 27.12.2008 um 00:17 | #5911 |
|
micha777 Mitglied Registriert: 17.07.2008 Beiträge: 29 |
Titel: IHS Haltbarkeit Usergruppen abhängig Besteht irgendwie/irgendwo die Möglichkeit die Haltbarkeit der Bilder nicht "global" einzustellen, sondern gruppenabhängig? Beispiel: Gäste: 1 Woche | 4 Wochen User: 1 Woche | 4 Wochen | 3 Monate | 1 Jahr Mod/Admin: 1 Woche | 4 Wochen | 3 Monate | 1 Jahr | unendlich |
| Offline |
|
| 27.12.2008 um 17:53 | #5912 |
|
Mitch Mitglied Registriert: 10.11.2006 Beiträge: 1379 |
Titel: IHS Haltbarkeit Usergruppen abhängig Nein _____________________ Matpo.de Co-Admin | Just for fun Coder |
| Offline |
|
| 28.12.2008 um 10:54 | #5913 |
|
micha777 Mitglied Registriert: 17.07.2008 Beiträge: 29 |
Titel: IHS Haltbarkeit Usergruppen abhängig Ok, werd ich mir das eben selbst machen müssen... |
| Offline |
|
| 30.12.2008 um 07:39 | #5914 |
|
schokocappu Mitglied Registriert: 28.09.2007 Beiträge: 90 |
Titel: IHS Haltbarkeit Usergruppen abhängig Klar geht das... du musst alle möglichen Haltbarkeiten im ACP angeben die du zur Verfügung stellst... dann habe ich das so gelöst bei ausgelogt und eingelogt Du musst in der index_body.tpl von deinem Design arbeiten und die ursprüngliche auswahl der Haltbarkeit löschen und das unten einfügen... Code:
<!-- user_ausgelogt -->
<input type="radio" name="tage" value="14" checked="checked" />14 Tage <input type="radio" name="tage" value="30" />1 Monat <input type="radio" name="tage" value="90" />3 Monate <!-- /user_ausgelogt --> Code:
<!-- user_eingelogt -->
<input type="radio" name="tage" value="14" />14 Tage <input type="radio" name="tage" value="30" />1 Monat <input type="radio" name="tage" value="90" checked="checked" />3 Monate <input type="radio" name="tage" value="180" />6 Monate <input type="radio" name="tage" value="365" />1 Jahr <input type="radio" name="tage" value="0" />unbegrenzt <!-- /user_eingelogt --> Für den Admin nimmst du das: Code:
<!-- admin_eingelogt -->
passender Inhalt <!-- /admin_eingelogt --> So sieht jeweils nur die entsprechende Usergruppe diese Felder Codes in [code] Tags eingefasst - michfrm |
| Offline |
|
| 30.12.2008 um 20:15 | #5915 |
|
micha777 Mitglied Registriert: 17.07.2008 Beiträge: 29 |
Titel: IHS Haltbarkeit Usergruppen abhängig Ich dank dir schokocappu, das erspart mir ein Haufen Arbeit. |
| Offline |
|
| 11.03.2009 um 00:13 | #5916 |
|
Frank-Bremen Mitglied Registriert: 27.10.2008 Beiträge: 171 |
Titel: IHS Haltbarkeit Usergruppen abhängig hi. ich habe das jetzt eingefügt mit den zeiten die ich gerne pro gruppe hätte. aber nun habe ich ein design problem. der zeigt mir die verschiednen zeiten oben im header auch an. und die sogar unterschiedlich. also wenn ich als gast drinnen bin zeigt er sie im header als gast ein und unten bei der auswahl zum hochladen die zeiten vom admin. schokocappu ich hoffe du kannst mir helfen und sagen was ich falsch gemacht habe. hier mal ein screen als gast und meine veränderte tpl.
Code:
<!-- header -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>MatPo.de | {webseiten_titel_wo}Kostenlose PHP Scripts für Eure Homepage</title> <meta name="author" content="Mathias Possinke" /> <meta name="language" content="german,deutsch,DE,AT,CH,US" /> <meta http-equiv="content-language" content="de"/> <meta http-equiv="content-type" content="application/xhtml+xml charset=ISO-8859-1"/> <link rel="stylesheet" href="{script_ordner}/designdesign/modern/css/styles.css" type="text/css" /> <link rel="alternate" type="application/rss+xml" title="{seiten_name} RSS News" href="{script_ordner}/feed.php" /> <link rel="alternate" type="application/rss+xml" title="MatPo News RSS" href="http://www.MatPo.de/news.xml" /> <script type="text/javascript" src="{script_ordner}/js/javascript.js"></script> </head> <body> <table cellpadding="0" cellspacing="0" class="table_rahmen" align="center"> <tr> <td class="header_logo"> <img src="{script_ordner}/designdesign/modern/images/logo.png" alt="" /> </td> </tr> <tr> <td class="header_topleiste"> <a href="{script_ordner}/index.html" title="Startseite" class="header_topleiste">Startseite</a> <!-- newsanzeigen --><a href="{script_ordner}/news.html" title="News" class="header_topleiste">News</a><!-- /newsanzeigen --> <a href="{script_ordner}/{GRUPPEN_PHP}" title="Gruppen" class="header_topleiste">Gruppen</a> <a href="{script_ordner}/faq.html" title="FAQ" class="header_topleiste">FAQ</a> <a href="{script_ordner}/mitglieder.html" title="Mitglieder" class="header_topleiste">Mitglieder</a> <!-- user_ausgelogt --> <a href="{script_ordner}/login.html" title="Login" class="header_topleiste">Login</a> <!-- registrierung_true --><a href="{script_ordner}/registrieren.html" title="Registrieren" class="header_topleiste">Registrieren</a> <!-- /registrierung_true --> <input type="radio" name="tage" value="7" />7 Tage <input type="radio" name="tage" value="14" checked="checked" />14 Tage <input type="radio" name="tage" value="30" />1 Monat <input type="radio" name="tage" value="60" />2 Monate <input type="radio" name="tage" value="90" />3 Monate <!-- /user_ausgelogt --> <!-- user_eingelogt --> <!-- archiv_sichtbar --><a href="{script_ordner}/{ARCHIV_PHP}" title="My Archive" class="header_topleiste">My Archive</a> <!-- /archiv_sichtbar --> <a href="{script_ordner}/profil.html" title="Profil" class="header_topleiste">Profil</a> <!-- admin_eingelogt --><a href="{script_ordner}/admin/admin.php" class="header_topleiste">ACP</a><!-- /admin_eingelogt --> <a href="{script_ordner}/login.html?logout" title="Logout Frank-Bremen" class="header_topleiste">Logout (Frank-Bremen)</a> <input type="radio" name="tage" value="14" />14 Tage <input type="radio" name="tage" value="30" />1 Monat <input type="radio" name="tage" value="90" checked="checked" />3 Monate <input type="radio" name="tage" value="180" />6 Monate <input type="radio" name="tage" value="365" />1 Jahr <input type="radio" name="tage" value="0" />unbegrenzt <!-- /user_eingelogt --> <!-- admin_eingelogt --> <input type="radio" name="tage" value="7" />7 Tage <input type="radio" name="tage" value="14" checked="checked" />14 Tage <input type="radio" name="tage" value="30" />1 Monat <input type="radio" name="tage" value="60" />2 Monate <input type="radio" name="tage" value="90" />3 Monate <input type="radio" name="tage" value="180" />6 Monate <input type="radio" name="tage" value="365" />1 Jahr <input type="radio" name="tage" value="0" />unbegrenzt <!-- /admin_eingelogt --> </td> </tr> <tr> <td class="header_untere_leiste"> </td> </tr> <tr> <td class="inhalt_body"> <!-- /header --> <!-- index_body --> <table class="table_inhalt" cellpadding="0" cellspacing="0"> <tr> <td> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="box_titel_a"></td> <td class="box_titel_b">Willkommen bei {seiten_name}</td> <td class="box_titel_c"></td> </tr> </table> </td> </tr> <tr> <td class="box_text"> Hier können Sie einfach und bequem Bilder ins Internet stellen.<br /> Mit einem Klick können Sie Bilder online speichern.<br /> Wählen Sie einfach nur Ihr gewünschtes Bild aus und klicken auf "Bild hochladen".<br /> Es eignet sich perfekt für Foren, Blogger, eBay Auktionen oder für Communities und Webseiten. </td> </tr> </table> <br /> <table class="table_inhalt" cellpadding="0" cellspacing="0"> <tr> <td colspan="2"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="box_titel_a"></td> <td class="box_titel_b">Bild Hochladen</td> <td class="box_titel_c"></td> </tr> </table> </td> </tr> <tr> <td class="box_upload_links"> <!-- upload_box --> <div id="BitteWarten" style="display:none;cursor: wait;"><img src="{script_ordner}/designdesign/modern/images/lade.gif" alt="" style="padding-left: 40%; padding-top: 50px;padding-bottom:50px;" /></div> <form name="upload_bild" method="post" enctype="multipart/form-data" action="{script_ordner}/index.html"> <input type="hidden" name="upload" value=""></input> <input type="hidden" name="MAX_FILE_SIZE" value="{max_groese_bb}"></input> Bilder Datei auswählen die Sie online stellen möchten:<br /> <!-- allow_url_fopen_aus --> <b>Upload Typ:</b> <input type="radio" name="upload_von" value="computer" onclick="javascript:ausblenden ('upload_link', 'upload_datei');document.getElementById('pcupload').name='datei';" checked="checked"></input>Computerupload <input type="radio" name="upload_von" value="link" onclick="javascript:ausblenden ('upload_datei', 'upload_link');document.getElementById('pcupload').name='';"></input>Remoteupload<br /> <!-- /allow_url_fopen_aus --> <br /> <div id="upload_datei" style="display:block;"> <b>*Bild auswählen [<a href="javascript:void(0)" onclick="javascript:FeldNrPC++;matpo_upload_plus (FeldNrPC, 'COMPUTER');">Mehr Bilder</a>|<a href="javascript:void(0)"onclick="javascript:FeldNrPC--;matpo_upload_minus (FeldNrPC, 'COMPUTER');">Weniger Bilder</a>]:</b><br /> <input id="pcupload" type="file" name="datei[]" size="32" onchange="javascript:matpo_datei ();"></input><br /> <div id="COMPUTER_1" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> <div id="COMPUTER_2" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> <div id="COMPUTER_3" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> <div id="COMPUTER_4" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> <div id="COMPUTER_5" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> <div id="COMPUTER_6" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> <div id="COMPUTER_7" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> <div id="COMPUTER_8" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> <div id="COMPUTER_9" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> <div id="COMPUTER_10" style="display:none;"><input id="pcupload" type="file" name="datei[]" size="32"></input></div> </div> <div id="upload_link" style="display:none;"> <b>*Remoteupload [<a href="javascript:void(0)" onclick="javascript:FeldNrURL++;matpo_upload_plus (FeldNrURL, 'LINK');">Mehr Bilder</a>|<a href="javascript:void(0)"onclick="javascript:FeldNrURL--;matpo_upload_minus (FeldNrURL, 'LINK');">Weniger Bilder</a>]:</b><br /> <input type="text" name="datei" value="http://" onchange="javascript:matpo_datei ()" size="53"></input> <div id="LINK_1" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> <div id="LINK_2" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> <div id="LINK_3" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> <div id="LINK_4" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> <div id="LINK_5" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> <div id="LINK_6" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> <div id="LINK_7" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> <div id="LINK_8" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> <div id="LINK_9" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> <div id="LINK_10" style="display:none;"><input type="text" name="datei[]" value="http://" size="53"></input></div> </div> <br /> <div id="Einstellungen"> <!-- auto_loeschen --> <b>Haltbarkeit:</b> <!-- input_tage --><input type="radio" name="tage" value="{tage}" checked="checked"></input>{tage_name}<!-- /input_tage --><br /><br /> <!-- /auto_loeschen --> <!-- <input type="checkbox" name="check_bild_groesse" onclick="javascript:matpo_bildgroesse ();"/> <b>Bildgröße ändern:</b> <select name="bild_groesse" disabled="true"> <option value="80x80">80x80 (klein Thumbnail)</option> <option value="100x100">100x100 (mittel Thumbnail)</option> <option value="150x150">150x150 (groß Thumbnail)</option> <option value="320x240">320x240 (Webseiten und eMail)</option> <option value="640x480">640x480 (für Forum)</option> <option value="800x600">800x600</option> <option value="1024x768">1024x768</option> <option value="1280x1024">1280x1024</option> <option value="1600x1200">1600x1200</option> </select><br /> <br /> --> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="100" height="25"><b>eMail senden:</b></td> <td height="25"><!-- user_ausgelogt --><input type="text" name="email" size="30"></input><!-- /user_ausgelogt --><!-- user_eingelogt --><input type="checkbox" name="email" value="{mitglied_email}"></input><!-- /user_eingelogt --></td> </tr> <tr> <td height="25" class="100"><b>Beschreibung:</b></td> <td height="25"><input type="text" name="text" size="30"></input></td> </tr> </table> </div> <b>*Regeln:</b> <input type="checkbox" name="agb" onclick="javascript:matpo_agb ()" disabled="true"></input>ja, ich habe die <a href="{script_ordner}/agb.php" class="hover">Regeln</a> gelesen und akzeptiere diese.<br /> <br /> <input type="submit" name="upload_a" value="Bild hochladen" onclick="javascript:matpo_upload ('Bitte Warten...');" disabled="true"></input> </form> <!-- /upload_box --> <!-- gast_upload_aus --> Hallo Besucher!<br /> <br /> Es können nur Mitglieder Bilder Hochladen.<br /> <br /> <!-- registrierung_true --> <b>Sie sind noch nicht registriert?</b><br /> <a href="{script_ordner}/registrieren.html" title="Registrieren">Klick Hier</a>, eine Registrierung dauert nur wenige Minuten.<br /> <br /> <!-- /registrierung_true --> Mit freundlichen Grüßen<br /> {seiten_name} <!-- /gast_upload_aus --> </td> <td class="box_upload_rechts"> Hinweis: Es dürfen keine Bilder die gegen Gesetz oder die Regeln verstoßen hochgeladen werden bei einem Verstoß wird eine Anzeige auf sie zukommen.<br /> <br /> Ihre IP wird bei uns gemäß gesetzlichen Bestimmungen gespeichert.<br /> <br /> - erlaubte Bildformate: gif, jpg, jpeg, png<br /> - maximale Bildgröße: {max_groese_kb} KB<br /> </td> </tr> </table> <!-- /index_body --> <!-- box_1 --> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="box_titel_a"></td> <td class="box_titel_b">{titel}</td> <td class="box_titel_c"></td> </tr> </table> </td> </tr> <tr> <td class="box_text">{text}</td> </tr> </table> <!-- /box_1 --> <!-- bild_hochgeladen_box --> <table class="table_inhalt" cellpadding="0" cellspacing="0"> <tr> <td> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="box_titel_a"></td> <td class="box_titel_b" align="center">Information</td> <td class="box_titel_c"></td> </tr> </table> </td> </tr> <tr> <td class="box_text"> <a href="{script_ordner}/download,{download_versionen_id}.html?info"><h2>Bild wurde erfolgreich hochgeladen.</h2></a> <!-- email_versenden_text -->{info_mail_text}<br /><!-- /email_versenden_text --> <p align="center"> <a href="{script_ordner}/{BILD_LINK}"><img src="{script_ordner}/{BILD_LINK}" class="{bild_breite}" height="{bild_hoehe}" border="0" alt="{bild_name}" /></a> <br /> <b>Thumbnail für Webseiten</b><br /> <textarea cols="80" rows="3" onclick="this.select()">{link_thumbnail_webseite}</textarea><br /> <br /> <b>Hotlink für Webseiten</b> <br /> <textarea cols="80" rows="3" onclick="this.select()">{link_bild_webseite}</textarea><br /> <br /> <b>Thumbnail für Foren</b><br /> <textarea cols="80" rows="3" onclick="this.select()">{link_thumbnail_forum}</textarea><br /> <br /> <b>Hotlink für Foren</b><br /> <textarea cols="80" rows="3" onclick="this.select()">{link_bild_forum}</textarea><br /> <br /> <b>Bild ein Freunden zeigen</b><br /> <textarea cols="80" rows="2" onclick="this.select()">{link_bild_freund}</textarea><br /> <br /> <b>Direkter Link zum Bild</b><br /> <textarea cols="80" rows="2" onclick="this.select()">{link_bild}</textarea><br /> </p> </td> </tr> <tr> <td class="box_fuss"> <a href="javascript:window.external.AddFavorite('{link_bild_freund}', 'Mein Bilder von {seiten_name}')">Das Bild zu den Favoriten hinzufügen </a> </td> </tr> </table> <br /> <!-- /bild_hochgeladen_box --> <!-- footer --> </td> </tr> <tr> <td class="box_footer"> <!-- impressumanzeigen --><a href="{script_ordner}/impressum.html" title="Impressum" class="box_footer">Impressum</a> | <!-- /impressumanzeigen --><!-- kontaktanzeigen --><a href="{script_ordner}/kontakt.html" title="Kontakt" class="box_footer">Kontakt</a> | <!-- /kontaktanzeigen --><a href="{script_ordner}/agb.html" title="Regeln" class="box_footer">Regeln</a> | <a href="{script_ordner}/online.html" title="Online Statik" class="box_footer">7 Online</a> | <!-- Dies Copyright darf nicht entfernt oder ge?ert werden -->Copyright © 2008 by <a href="http://www.MatPo.de" class="box_footer" target="_blank">MatPo.de</a><!-- Ende Copyright --> </td> </tr> </table> </body> </html> <!-- /footer --> _____________________ Ich habe kostenlos TS Channels zu vergeben an vernünftige User. Einfach ne PN schreiben. >>>>> www.picsave.de.vu Mein kostenloser Bilder Hoster für dich <<<<< |
| Offline |
|
| 11.03.2009 um 13:45 | #5917 |
|
Gast Irgendjemand Gast |
Titel: IHS Haltbarkeit Usergruppen abhängig du hast den code ja auch im header drin, schau dir dein template mal nochma an |
|
| 11.03.2009 um 15:11 | #5918 |
|
Frank-Bremen Mitglied Registriert: 27.10.2008 Beiträge: 171 |
Titel: IHS Haltbarkeit Usergruppen abhängig hm, also habe es mir jetzt zum 10. mal genau durchgesehen und kann nirgends was finden wo es noch rein passen könnte. naja aber deine aussage hilft mir auch nicht wirklich weiter. _____________________ Ich habe kostenlos TS Channels zu vergeben an vernünftige User. Einfach ne PN schreiben. >>>>> www.picsave.de.vu Mein kostenloser Bilder Hoster für dich <<<<< |
| Offline |
|
| 11.03.2009 um 15:23 | #5919 |
| 11.03.2009 um 17:59 | #5920 |




