also in der readme.txt datei steht
5.)
Füge in der Datei usermenu.php (im Your_Account Modul) folgenden Eintrag hinzu:
if (mxModuleAllowed("User_Fotoalbum")){ # falls User Fotoalbum Modul vorhanden
$menuimg = mxCreateImage("images/menu/fotoalbum.gif",Fotoalbum);
echo "<td align=\"center\"><font class=\"content\">"
."<a href=\"modules.php?name=User_Fotoalbum\">".$menuimg."<br>Album</a>"
."</font></td>";
}
dabei gibts es keine usermenu.php im Your_Account Modul nur im User_Fotoalbum Modul wo soll ich nun den code reinschreiben das des geht???
ich sag nur es gibt eine usermenu.php in der Your_accound modul.
zumindest hab ichs drinnen, auch in der usersfotoalbum ists drin wie du schon gemerkt hast.
hier der code:
<?php // $Id: usermenu.php,v 1.1.1.1 2003/08/25 22:22:08 EllselAn Exp $
/**********************************************************************/
/* vkpMx 2.0 Content Management System Platform */
/* ================================================================== */
/* Copyright (C) 2003 by the vkpMx & pragmaMx Developer Team */
/* email: team@pragmamx.org */
/* homepage: http://www.maax-design.de */
/* further sites: http://www.pragmaMx.org, http;//guggemahier.de, */
/* http://www.marx-city.de, http://www.genutec-studios.de, */
/* http://www.shiba-design.de, http://www.power-maax.de */
/* ================================================================== */
/* The vkpMx is distributed free of charge by maax-design.de. */
/* The use of this system is allowed until copyright information */
/* is shown perspicuous visible and correcty on all system pages. */
/* Sales, rent out and the use of single code parts from this */
/* system must be allowed by maax-design.de. */
/**********************************************************************/
if (!defined("mxMainFileLoaded")) die ("You can't access this file directly...");
mxGetLangfile("Your_Account");
function nav($main_up=0) {
if (!mxIsUser()) return;
OpenTable();
echo "<table border=\"0\" width=\"100%\" align=\"center\"><tr valign=\"top\">";
$menuimg = mxCreateImage("images/menu/info.gif", _CHANGEYOURINFO);
echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
."<a href=\"modules.php?name=Your_Account&op=edituser\">".$menuimg."<br>"._CHANGEYOURINFO."</a>"
."</font></td>";
$menuimg = mxCreateImage("images/menu/home.gif", _CHANGEHOME);
echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
."<a href=\"modules.php?name=Your_Account&op=edithome\">".$menuimg."<br>"._CHANGEHOME."</a>"
."</font></td>";
if (mxModuleAllowed("User_Fotoalbum")){ # falls User Fotoalbum Modul vorhanden
$menuimg = mxCreateImage("images/menu/fotoalbum.gif",Fotoalbum);
echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
."<a href=\"modules.php?name=User_Fotoalbum\">".$menuimg."<br>Album</a>"
."</font></td>";
}
#if ((mxModuleAllowed("Members_Web_Mail"))) {
# $menuimg = mxCreateImage("images/menu/mail.gif", _WEBMAIL);
# echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
# ."<a href=\"modules.php?name=Members_Web_Mail\">".$menuimg."<br>"._WEBMAIL."</a>"
# ."</font></td>";
# }
if (mxModuleAllowed("UserGuest")){ # falls gaestebuch vorhanden
$menuimg = mxCreateImage("images/menu/guestbook.gif", _GUESTBOOKVIEW);
echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
."<a href=\"modules.php?name=UserGuest&op=view\">".$menuimg."<br>"._GUESTBOOKVIEW."</a>"
."</font></td>";
}
if (mxModuleAllowed("Private_Messages")){
$pmalttag = (!empty($GLOBALS["countpmunread"])) ? ""._PRIVATEMESSAGES." ".$GLOBALS["countpmunread"]." "._YA_BWOPMSGUNREAD."" : _PRIVATEMESSAGES;
$menuimg = mxCreateImage("images/menu/comments.gif", $pmalttag);
echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
."<a href=\"modules.php?name=Private_Messages\">".$menuimg."<br>"._PRIVATEMESSAGES."</a>"
."</font></td>";
}
# Für Avatar Upload Modul
# Nen Bild für das Modul muss ich noch machen *gg*
if (mxModuleAllowed("Avatar")){ # falls Avatar Upload Modul vorhanden
$menuimg = mxCreateImage("images/menu/avatar.gif", _AVATARUPLOAD);
echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
."<a href=\"modules.php?name=Avatar\">".$menuimg."<br>"._AVATARUPLOAD."</a>"
."</font></td>";
}
#if ((mxModuleAllowed("Journal")))) {
# $menuimg = mxCreateImage("images/menu/journal.gif", _JOURNAL);
# echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
# ."<a href=\"modules.php?name=Journal&file=edit\">".$menuimg."<br>"._JOURNAL."</a>"
# ."</font></td>";
# }
$menuimg = mxCreateImage("images/menu/exit.gif", _LOGOUTEXIT);
echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
."<a href=\"modules.php?name=Your_Account&op=logout\">".$menuimg."<br>"._LOGOUTEXIT."</a>"
."</font></td>";
$menuimg = mxCreateImage("images/menu/delete.gif", eregi_replace("<br>"," ",_DELETEACCT));
echo "<td width=\"10%\" align=\"center\"><font class=\"content\">"
."<a href=\"modules.php?name=Your_Account&op=delete\">".$menuimg."<br>"._DELETEACCT."</a>"
."</font></td>";
echo "</tr></table>";
if (empty($main_up)) {
echo "<br><center>[ <a href=\"modules.php?name=Your_Account\">"._RETURNACCOUNT."</a> ]\n";
}
CloseTable();
echo "<br>";
}
?>
ich hoffe er nimmt auuch alle zeichen :D
zusezlich erhallte ich den fehler wenn ich bei Benutzeraccount
auf Album klicke !
Warning: main(modules/Your_Account/userfunctions.php): failed to open stream: No such file or directory in ~root~\modules\User_Fotoalbum\index.php on line 16
Fatal error: main(): Failed opening required 'modules/Your_Account/userfunctions.php' (include_path='.;~root~\Apache2\php\pear\pear\') in ~root~modules\User_Fotoalbum\index.php on line 16
Im Your_Account ordner gibt es überhaubt keine userfunctions.php
hi!
Ich muss sagen das einrichten vom userfotoalbum ist oder war nicht schwer du hättest nur die readme datei lesen brauchen. bei mir hat es gleich beim ersten mal geklappt.
aber wenn du die userfunctions.php haben willst schick mir deine email add weil die zu lang ist.
habe mir die datei duchgelesen und alles so auch gemacht nur aus ürgend ein grund sind im Your_Account Ordner 2 datein nicht.....
ps: hab die eine privat masage geschickt
hi hab deine pn bekommen.
jetzt hast du post.
viel erfolg
noch nix erhalten *wunder* hm Vieleicht kommt später noch was.....
ansonsten danke für alles !
Hallo Habe das selbe Problem bei mir läuft VPKMx 2.1
hoffe es kann mir jemand helfen
mfg
kekule
[Editiert am 3/1/2004 von kekule]
usermenu.php = navbar.php wenn die usermenu nicht da sein sollte
Hallo
Die userfunctions.php ist nicht vorhanden
mfg
Kekule
heisst mx_userfunctions.php und ist im ordner includes .
Hallo
ok jetzt habe ich es dort eingefügt die erste Fehlermeldung ist weg
nun habe ich die Meldung Fatal error: Call to undefined function: vkpuseristhistheuser() in ~root~/modules/User_Fotoalbum/album.php on line 25
kann mir da noch jemand weiterhelfen
dann bin ich wirklich froh wenn das ganze laufen würde.
mfg
Kekule