Posted: Wed 1. Feb 2006, 19:06
Kannst du vielleicht auch noch die install.txt in deutsch schreiben. Mein English ist sehr schlecht! Auf deutsch würde ich dann mehr verstehen was man machen muss.
The phpwcms support forum will help to find answers to your questions. The small but strong community is here since more than 10 years.
https://forum.phpwcms.org/
Findest du neu unter http://www.alpine-davos.ch/phpwcms/ -> Login als Frontenduser -> Downloadsvitalik_1984 wrote:wo finde die Datei die du verändert hast bzw. die komplette Datei.rar
Ist mit phpwcms noch nicht möglich...vitalik_1984 wrote:Eigentlich möchte ich das anders haben, ich weiß nicht ob das geht?
Der User soll auf die Seite kommen und nur das sehen was er sehen soll. Wenn er sich dann Anmeldet soll er z.b Downloads Seiten sehen oder sein Mailordner. Dann soll er sich der User registrieren können und so mit ein Account automatisch angelegt wird.
Schau dir mal http://www.alpine-davos.ch/phpwcms/ an. Du kannst dich auch für's Backend anmelden und schauen wie das Login eingebaut ist. Wenn dir bei den contentparts noch kein Eintrag erschinet, musst du noch den Eintrag in article.contenttype.inc.php machen: 203 => $BL['be_ctype_login'],vitalik_1984 wrote:Dann habe ich noch versucht wie das der jscholtysik beschrieben eine Artikel anzulegen. Leider habe ich bei der Ariklzentrale keine Auswahl das login heißt. Ich habe alle wie Bilder,Html etc. aber nicht die Auswahl loggin. Was mache ich falsch, wie kriege eine Auswahl das loggin heißt.
Probleme beim Provider. Versuchs später noch einmal...jscholtysik wrote:Dein Link funktioniert nicht...
Hi everyone,StudioZ wrote:
Also some way to lock some files' downloads... would be awesome![]()
There is always a solutionmckingtom wrote: files listed in an article with a file list are downloadable even after logging-out, i.e. if one knows the path to a specific file listed under a password-protected level, the download will by-pass the protection.
ThanxStudioZ wrote:We've been waiting for such functionnality for so long now....,
Will proably work on that too..StudioZ wrote:a Sign up form through which submit new accounts, which would then optionnaly have to be revised and approved or rejected by an Admin
Great feedback. Check out the updated zip-File and read the instructions..StudioZ wrote:some way to lock some files' downloads... would be awesome
Code: Select all
// $CNT_TMP .= '<tr><td><img src="img/leer.gif" width="1" height="12"></td></tr>';
$CNT_TMP .= '<tr><td nowrap class="v10">';
$CNT_TMP .= $clogin["cuser"].'</td></tr>';
$CNT_TMP .= '<tr><td class="v10"><input class="v10" name="form_loginname" type="text" id="form_loginname" style="width:'.$clogin["cbreite"].'px;" size="30" maxlength="30" value="'.html_specialchars($wcs_user).'"></td></tr>';
$CNT_TMP .= '<tr><td><img src="img/leer.gif" width="1" height="3"></td></tr>';
$CNT_TMP .= '<tr><td nowrap class="v10">'.$clogin["cpasswort"].'</td></tr>';
$CNT_TMP .= '<tr><td class="v10"><input class="v10" name="form_password" type="password" id="form_password" style="width:'.$clogin["cbreite"].'px;" size="30" maxlength="20"></td></tr>';
if ($clogin["clang"] == "1") {
$CNT_TMP .= '<tr><td nowrap class="v10">'.$BL["login_lang"].'</td></tr>';
$CNT_TMP .= '<tr><td class="v10"><select class="v10" name="form_lang" id="form_lang" style="width:'.$clogin["cbreite"].'px;">';
// check available languages installed and build language selector menu
$lang_dirs = opendir("include/inc_lang/backend");
while($lang_codes = readdir( $lang_dirs )) {
if( $lang_codes != "." && $lang_codes != ".." && file_exists("include/inc_lang/backend/".$lang_codes."/lang.inc.php")) {
$CNT_TMP .= '<option value="'.$lang_codes.'"';
$CNT_TMP .= ($lang_codes == $_SESSION["wcs_user_lang"]) ? " selected" : "";
$CNT_TMP .= '>';
$CNT_TMP .= (isset($BL[strtoupper($lang_codes)])) ? $BL[strtoupper($lang_codes)] : strtoupper($lang_codes);
$CNT_TMP .= "</option>\n";
}
}
closedir( $lang_dirs );
$CNT_TMP .= '</select></td></tr>';
}
$CNT_TMP .= '<tr><td><img src="img/leer.gif" width="1" height="10"></td></tr>';
$CNT_TMP .= '<tr><td><input name="Submit" type="submit" class="formButton" value="'.$BL["login_button"].'"><input name="form_aktion" type="hidden" id="form_aktion" value="login"></td></tr>';
$CNT_TMP .= '<tr><td><img src="img/leer.gif" width="1" height="20"></td></tr>';
$CNT_TMP .= '</table>';
$CNT_TMP .= '</form>';
$CNT_TMP .= '<script language="JavaScript" type="text/JavaScript">';
$CNT_TMP .= 'window.document.login_formular.form_loginname.focus();';
$CNT_TMP .= '</script>';
} else {
//If user is already logged in
// $CNT_TMP .= $BL['be_login_ok'].$_SESSION["wcs_user_name"];
$CNT_TMP .= $BL['be_login_ok'];
$CNT_TMP .= '<b>';
$CNT_TMP .= $_SESSION["wcs_user_name"];
$CNT_TMP .= '</b><br />ID: <b>';
$CNT_TMP .= $_SESSION["wcs_user"];
$CNT_TMP .= '</b>';
}
?>
Thanx Mate! I included this code in my script.StudioZ wrote: Just modified your login form to make it fit in a left box or left column.
So, I simply ajusted the table to make sure the input field would be placed straight below the name of the field, just to save space.
I also added the $_SESSION["wcs_user"] variable to make sure we also show the login ID info, like:
Hello Yves
ID: StudioZ
This is working fine with the {SHOW_CONTENT:ID} RT
Thanks a lot, markoehl!!!markoehl wrote:There is always a solution: I modified the file download.php and inc_front/content/cnt7.article.inc.php.
Check out the updated zip-File and read the instructions..
Weisst Du denn eine Möglichkeit wie man auch die Option Fe & Be User funktionsfähig machen könnte? Ich denke, dass es doch sehr nützlich wäre, wenn bspw. ein Redakteur die Möglichkeit hätte im Backend die ihm zugeordneten Artikel zu bearbeiten und gleichzeitig auf versteckte Menüpunkte zugreifen könnte.Das ist so, ja. Mir ist die Funktion des Frontend&Backenusers eh nicht ganz klar. Für diesen cntpart also Nur Frontend oder Backend auswählen.
Das sollte schon gehen. Du kannst einen User erfassen, nicht admin aber Backenduser. Dann kannst da auf spezielle Folders Berechtigungen (struktur) setzen. Also normaler Benutzer sollte er dann nur die Artikel bearbeiten können welche er erfasst hat..phalancs wrote:Weisst Du denn eine Möglichkeit wie man auch die Option Fe & Be User funktionsfähig machen könnte? Ich denke, dass es doch sehr nützlich wäre, wenn bspw. ein Redakteur die Möglichkeit hätte im Backend die ihm zugeordneten Artikel zu bearbeiten und gleichzeitig auf versteckte Menüpunkte zugreifen könnte.