Author Topic: [MOD] Private Message System (PMS) not supported anymore!  (Read 110203 times)

0 Members and 3 Guests are viewing this topic.

Offline Tarzan

  • Pre-Newbie
  • Posts: 6
    • View Profile
    • www.Lustdschungel.de - DerFreizeitpark für Erwachsene...
Re: [MOD] Private Message System (PMS) not supported anymore!
« Reply #90 on: May 16, 2005, 02:44:12 AM »
Hallo zusammen,

ich kann nach der installation des Mods meine Galerie nicht mehr öffnen. Bekomme folgende Fehlermeldung:

Parse error: parse error, unexpected T_STRING in /mnt/kw2/08/926/00000017/htdocs/geschuetzt/pics/4Images/4images/includes/page_header.php on line 116


die page_header.php sieht in dem Bereich folgendermaßen aus:

$result = $site_db->query_firstrow($sql);
$pms_new = "<a href=\"".$site_sess->url(ROOT_PATH."pms.php")."\">".(($result['new']) ? "<blink>".$result['new']."</blink>" : 0)."</a>";
$pms = preg_replace("/".$site_template->start."msg_new_count".$site_template->end."/siU", $pms_new, $lang['pms_link']);
$pms = preg_replace("/".$site_template->start."inbox".$site_template->end."/siU", "<a href=\"".$site_sess->url(ROOT_PATH."pms.php")."\">".$lang['pms_inbox']."</a>", $pms);
// PMS Boxes
$blink = "<script language=\"JavaScript\">\n<!--\nvar flg=0;\nfunction blink(){\nvar myElement=document.getElementById('blnk');\nflg^=1;\nif(flg==1){\nmyElement.style.visibility='hidden';\n}\nelse{\nmyElement.style.visibility='visible';\n}\ntimerID = setTimeout( 'blink()' , 500 );\n}\n//-->\n</script>\n";
$show_inbox = ($result['new']) ? $blink."<span id=\"blnk\">".$lang['pms_inbox']."</span><script language=\"JavaScript\">blink();</script>" : $lang['pms_inbox'];
$inbox = "<a href=\"".$site_sess->url(ROOT_PATH."pms.php?action=inbox")."\" title=\"".$lang['pms_total']." (".$pms_inbox.")\">".$show_inbox."</a>";
$sentbox = "<a href=\"".$site_sess->url(ROOT_PATH."pms.php?action=sentbox")."\" title=\"".$lang['pms_total']." (".$pms_sentbox.")\">".$lang['pms_sentbox']."</a>";
$outbox = "<a href=\"".$site_sess->url(ROOT_PATH."pms.php?action=outbox")."\" title=\"".$lang['pms_total']." (".$pms_outbox.")\">".$lang['pms_outbox']."</a>;
$newpms = "<a href=\"".$site_sess->url(ROOT_PATH."pms.php?action=new")."\">".$lang['pms_new']."</a>";

$sql = "SELECT pms_date
                                    FROM ".PMS_TABLE."
                                    WHERE pms_to = ".$user_info['user_id']." AND pms_type = ".PMS_UNREAD."
                                    ORDER BY pms_date DESC";
$result = $site_db->query_firstrow($sql);
$pms_popup_script = "";
$pms_popup_header = "";
if ($result && $user_info['user_pms_popup'] && !ereg("pms.php", $self_url)) {
         $cookie_name = (defined("COOKIE_NAME")) ? COOKIE_NAME : "4images_";
         $cookie_pmsnewpopup = isset($HTTP_COOKIE_VARS[$cookie_name.'pmsnewpopup']) ? unserialize(stripslashes($HTTP_COOKIE_VARS[$cookie_name.'pmsnewpopup'])) : 0;
         $pmsnewpopup = (isset($session_info['pmsnewpopup'])) ? $session_info['pmsnewpopup'] : $cookie_pmsnewpopup;
         if ($pmsnewpopup < $result['pms_date']) {

Die fettgedruckte ist Zeile 116


Ich hoffe, Ihr könnt mir schnell helfen und danke euch schon mal im vorraus

Tarzan

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Private Message System (PMS) not supported anymore!
« Reply #91 on: May 16, 2005, 02:50:39 AM »
since this mod is not supported and obsolete, there is no point to continue discuss it.

Topic locked.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Pitt

  • Newbie
  • *
  • Posts: 13
    • View Profile
Frage zum PMS
« Reply #92 on: June 27, 2005, 01:58:47 PM »
Hallo rundrum,
ich habe mir die ältere Version des PMS eingebaut, kann mans noch irgendwo so umgestalten, dass beispielsweise unter eingeloggt als xxxx eine Meldung erscheint, wieviel neue Nachrichten in der Box sind?

Tnx im Voaus...
Pitt

Offline hoho

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
PMS mod Step by Step !!
« Reply #93 on: April 02, 2007, 02:03:02 AM »
Heloo.

Can somobodey post the code step by step for the PMS please.

Thankssssssssss!

HOHOH

Offline hoho

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
pm.php?action=new ???
« Reply #94 on: April 05, 2007, 12:47:03 AM »
Hy guys.

I have installed th PMS mod an when i get to make a new message i get this error

---------------------------------------------------------------------------------------------------------------------------------------------------------
Warning: Invalid argument supplied for foreach() in /www/htdocs/w008206a/pm.php on line 414

Fatal error: Call to undefined function: get_smiles_text() in /www/htdocs/w008206a/pm.php on line 427
---------------------------------------------------------------------------------------------------------------------------------------------------------

Why ?

Thanks !!
Thanks !!

Offline impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: pm.php?action=new ???
« Reply #95 on: April 05, 2007, 02:21:11 AM »
You should post in the Orignal mods thread, not make a new post

 

Post your comments here