Hallo,
ich habe ein neues Modul eingebaut "member_photo_upload" und seit dem können sich keine neuen user neu registrieren.
Die User geben Ihre Daten ein und senden sie ab.. dann kommt ja nochmal die Kontrolle der eingegebenen Daten.. und dann schick ich sie ab
dort erscheint dann _ERROR
www.celestinevision.de
Diese Änderungen hab ich durchgeführt:
1. EDIT modules/Members_Photo_Upload/index.php
Line 41
echo "<INPUT TYPE=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"10000\">\n";
You can change the value to allow larger files if you want.
2. EDIT modules/Members_Photo_Upload/upload.php
Line 32
$server_dir = "/home/pathto/images/members";
Absolute path to your image directory
Line 38
$emailmessages = "0";
If you want to be informed when images are uploaded change 0 to 1.
3. EDIT admin/modules/stories.php **(OPTIONAL)**
Line 603
Replace this:
$storypre = "$story<br><br>$storyext";
With this:
$storypre = "<p>\n<img src=\"/images/members/$uname.jpg\" width=\"72\" height=\"104\" alt=\"Member Photo\">\n<p>\n$story<br><br>$storyext";
Line 651
Replace this:
."<textarea wrap=\"virtual\" cols=\"50\" rows=\"7\" name=\"hometext\">$story
Hast du in der index.php vom YA Modul etwas verändert?????
oh... hier is noch der rest von der install anleitung..
3. EDIT admin/modules/stories.php **(OPTIONAL)**
Line 603
Replace this:
$storypre = "$story<br><br>$storyext";
With this:
$storypre = "<p>\n<img src=\"/images/members/$uname.jpg\" width=\"72\" height=\"104\" alt=\"Member Photo\">\n<p>\n$story<br><br>$storyext";
Line 651
Replace this:
."<textarea wrap=\"virtual\" cols=\"50\" rows=\"7\" name=\"hometext\">$story</textarea><br><br>"
With this:
."<textarea wrap=\"virtual\" cols=\"50\" rows=\"7\" name=\"hometext\"><p>\n<img src=\"/images/members/$uname.jpg\" width=\"72\" height=\"104\" alt=\"Member Photo\">\n<p>\n$story</textarea><br><br>"
You can change the image size and type to fit your particular needs.
This will add your member's picture to their articles.
4. EDIT modules/Your_Account/index.php
Line 46
echo "<td><font class=\"content\">"
."<center><a href=\"modules.php?name=Members_Photo_Upload\"><img src=\"images/menu/photo.gif\" border=\"0\" alt=\""._PHOTOUPLOAD."\"></a><br>"
."<a href=\"modules.php?name=Members_Photo_Upload\">"._PHOTOUPLOAD."</a>"
."</center></font></td>";
Add above to function nav()
Line 200 approx
Right after echo "<center><font class=\"content\">";
Add:
//Member Photo hack 4/20/2002 8:56:11 PM
if(file_exists("images/members/$uname.jpg")) {
echo "<p><image src=\"images/members/$uname.jpg\" alt=\"My Photo\"><p>\n";
}
if(file_exists("images/members/$uname.gif")) {
echo "<p><image src=\"images/members/$uname.gif\" alt=\"My Photo\"><p>\n";
}
Add above to function userinfo()
Add photo.gif (not included) to directory /images/menu
5. EDIT language/lang-english.php
Line 20
define("_PHOTOUPLOAD","Upload Your Photo");
HM,
ich konnte mich Problemlos bei dir anmelden? Aber nun denn
es funzt.. ich hab ein neues your account modul von euch runtergeladen und geändert.. und sieh an.. es geht
gruß mark