• [MOD] PMv2 Tutorial Republished here 5 0 5 1
Currently:  

Author Topic: [MOD] PMv2 Tutorial Republished here  (Read 771062 times)

0 Members and 3 Guests are viewing this topic.

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [MOD] PMv2 Tutorial Republished here
« Reply #135 on: October 29, 2005, 11:05:04 AM »
Okay, I try to define my problems:

Inbox
It shows me 01.01.1970 when I open the new message first time. When I open this new message a second time it shows me the date correctly but without this tag {lang_to} but IP: is for regular members also printed on the screen

Sentbox
It shows me the date also correctly but IP is still printed on the screen for regular user (for admin it shows also the IP 192.168...that´s okay)

Outbox
It shows me 01.01.1970 before the user get this message, after the user opened this message, it shows me the date correctly in my sentbox

That makes me confused :?

Edit:

Whe a message is in my outbox, in MySql PM Table it shows pm_date_rcvd 0

Project offline

Offline Buster

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #136 on: October 29, 2005, 07:49:26 PM »
Hi, is it possible that PMv2 doesn't like PhP5?
I get lot's of errors like 'undefined index in...', 'undefined variable in...'
Regards,
Reiner
its not PHP5 itself, its how your server is set to show 'notice" messages.
In global.php add
Code: [Select]
error_reporting(E_ALL ^ E_NOTICE); (you should find another instance of this line, make sure you add it as a replacement to the old one, or atleast below the old line.[..]

Hi, but during installation php doesn't seem to know ".$lang['pm_'.$mode]." from lang main.php. Admin doesn't even start after installatiion because of the three lines (I translated them):
------
$lang['pm_delete_confirm'] = "Willst Du die Nachricht im Ordner<b>".$lang['pm_'.$mode]." </b>wirklich löschen?";
$lang['pm_delete_confirm_select'] = "Willst Du die markierten Nachrichten im Ordner<b>".$lang['pm_'.$mode]."</b>wirklich löschen?";
$lang['pm_delete_confirm_all'] = "Willst Du alle Nachrichten im Ordner<b>".$lang['pm_'.$mode]."</b>wirklich löschen?";
------

Any idea?
Regards and thanks for your help,
Reiner

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] PMv2 Tutorial Republished here
« Reply #137 on: October 29, 2005, 08:44:40 PM »
the line in global.php mentioned above should fix all these problems.
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 Buster

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #138 on: October 29, 2005, 10:18:03 PM »
the line in global.php mentioned above should fix all these problems.
Hi, you're perfectly right - no errors any more, but I don't see nothing when I click on another online being user's profile - the tag lang_pm is not to be seen and thereby can't be clicked.
Am I still doing something wrong? I just inserted {lang_pm} in a table's cell.
Regards,
Reiner

Offline Buster

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #139 on: October 29, 2005, 10:36:00 PM »
the line in global.php mentioned above should fix all these problems.
Hi, you're perfectly right - no errors any more, but I don't see nothing when I click on another online being user's profile - the tag lang_pm is not to be seen and thereby can't be clicked.
Am I still doing something wrong? I just inserted {lang_pm} in a table's cell.
Regards,
Reiner
Now I've tested pm.php and tried to send a message to anaother User. His name has been found, but the window with the mail looks like this:

Private Nachrichten
{if lang_to}
{endif lang_to}
{if lang_received}
{endif lang_received}
Postausgang   
An{if ip}
IP: 84.60.127.188{endif ip}   springi    
Von   Reiner Worm   
Datum   29.10.2005 22:31   
01.01.1970 01:00   
Betreff   Test   {if quote} |{endif quote}{if reply} |{endif reply}{if edit} [Bearbeiten] |{endif edit} [Löschen]    
Test

What is wrong??
Regards,
Reiner

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] PMv2 Tutorial Republished here
« Reply #140 on: October 29, 2005, 11:13:27 PM »
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 Buster

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #141 on: October 30, 2005, 12:24:46 AM »
maybe this bug fix?
http://www.4homepages.de/forum/index.php?topic=7493.0
Hi V@no,
yes, the bugfix helped hiding the tags, pms are going out and can be answered.
Only this damn tag {lang_pm} isn't to be seen in the other user's profile.
I think, I did something wrong!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] PMv2 Tutorial Republished here
« Reply #142 on: October 30, 2005, 12:31:21 AM »
Double check Step 11 perhaps you added the line in a wrong place ;)
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 Buster

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #143 on: October 30, 2005, 12:58:32 AM »
Double check Step 11 perhaps you added the line in a wrong place ;)
Hi V@no, you got it, I'm an idiot and not able to copy and paste perfectly - I missed the , at the end :(
Regards and many thanks for your help!!

Offline Darkness2001

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • photo-galerie-online
Re: [MOD] PMv2 Tutorial Republished here
« Reply #144 on: November 03, 2005, 11:27:42 PM »
Hallo,
ich habe alle Steps so wie beschrieben durchgeführt.
Doch wenn ich die pm_install.php aufrufe bekomme ich immer Fehlermeldung:
"SHOW TABLES LIKE 'test\_pm' "
und
Sorry, can not continue, you missed some steps of the installation..

Woran liegt es ? Kann mir jemand weiterhelfen?

Hello, I have carried out all tap dances as well as described. However, if I pm_install.php appeal I get always error message:
" SHOW TABLES LIKE 'test_pm' " a
nd
Sorry, can continue, you missed some steps of the installation.

What does it lie with? Can somebody help me?

Sorry for my bad englisch !!!

Greez webdesign

Offline Darkness2001

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • photo-galerie-online
Re: [MOD] PMv2 Tutorial Republished here
« Reply #145 on: November 05, 2005, 11:53:50 PM »
Hello,

thanks for help  :roll:
I find the easy error...................

Thanks guys

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] PMv2 Tutorial Republished here
« Reply #146 on: November 09, 2005, 03:17:45 AM »
I've discovered a security hole in the new BBCode parser, please redo Step 6.2
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 Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [MOD] PMv2 Tutorial Republished here
« Reply #147 on: November 09, 2005, 09:57:58 AM »
Parse error: parse error, expecting `')'' in /srv/www/htdocs/web9/html/includes/functions.php on line 1426

You forgotten a comma...
Quote
        "/(\[)(list)(=)(['\"]?)([^\"']*)(\\4])(.*)(\[\/list)(((=)(\\4)([^\"']*)(\\4]))|(\]))/siU",
      "/(\[)(list)(])(.*)(\[\/list\])/siU",
      "/(\[\*\])/siU" <---
        "/javascript:/si",

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #148 on: November 13, 2005, 01:46:44 PM »
could someone help mi with this

Quote
Parse error: parse error in details.php on line 319


Code: [Select]
        $additional_sql .= ", u.$key";
      }
    }
  }
----319---  $sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name AS comment_user_name, c.comment_headline, c.comment_text, c.comment_ip, c.comment_date".get_user_table_field(", u.", "user_level").get_user_table_field(", u.", "user_name").get_user_table_field(", u.", "user_email").get_user_table_field(", u.", "user_showemail").get_user_table_field(", u.", "user_invisible").get_user_table_field(", u.", "user_joindate").get_user_table_field(", u.", "user_lastaction").get_user_table_field(", u.", "user_comments").get_user_table_field(", u.", "user_homepage").get_user_table_field(", u.", "user_icq").get_user_table_field(", u.", "user_id").$additional_sql.".", "user_icq")."

FROM ".COMMENTS_TABLE." c
          LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = c.user_id)

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [MOD] PMv2 Tutorial Republished here
« Reply #149 on: November 13, 2005, 02:25:02 PM »
please paste the complete code... (o: