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

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

0 Members and 5 Guests are viewing this topic.

Offline fast

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #510 on: November 13, 2007, 11:47:58 AM »
Hi all... I need a PM Mod fpr 1.7.4. Could also be a paid mod. Any suggestions?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #511 on: November 13, 2007, 01:27:16 PM »
Quote
Could also be a paid mod. Any suggestions?

Yes. If post in request for paid - I code PM for custom job. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline fast

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #512 on: November 13, 2007, 09:52:57 PM »
thunderstrike... you have pm...

Offline getcom

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #513 on: November 23, 2007, 05:02:31 PM »
can anyone tell me where steps 1 to 4 are. This MOD starts at step 4

thanks

Offline Rokkko

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #514 on: December 05, 2007, 09:51:07 AM »
I want to buy pm v 3 to version 1.7.4, where do I find?

Offline Rokkko

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #515 on: December 05, 2007, 09:52:56 AM »
I want to buy pm v 3 to version 1.7.4, where do I find?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #516 on: December 05, 2007, 10:27:23 AM »
@fast, Rokko, ...
... I think, there is no MOD PMv3 ...
... but on some 4images versions 1.7.4 runs MOD PMv2 ...
 
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline derzimmerer

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #517 on: December 08, 2007, 11:49:11 AM »
Hallo zusammen,

ich versuche auch grade diesen MOD einzubauen, aber anscheinend fehlt in der Datenbank etwas? Ich bekomme u.a. diese Fehlermeldung:

Quote
DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_SENT OR pm_type = PM_SDLT OR pm_type = PM_UNREAD OR pm_type = PM_USDLT)
Unknown column 'PM_SENT' in 'where clause'

DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM PM_TABLE WHERE pm_from = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT)
Unknown column 'PM_UNREAD' in 'where clause'

DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM PM_TABLE WHERE pm_from = 1 AND (pm_type = PM_SENT OR pm_type = PM_RDLT)
Unknown column 'PM_SENT' in 'where clause'

DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS new FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT) ORDER BY pm_date DESC
Unknown column 'PM_UNREAD' in 'where clause'

DB Error: Bad SQL Query: SELECT pm_date FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT) ORDER BY pm_date DESC
Unknown column 'PM_UNREAD' in 'where clause'

Was muss ich denn jetzt noch ändern oder hinzufügen in der Datenbank?

Mfg, Andreas

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #518 on: December 08, 2007, 12:34:18 PM »
Er sagt doch "Unbekannte Spalte"
Es ist eine Spalte vorhanden die er nicht kennt  :wink:

Offline derzimmerer

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #519 on: December 08, 2007, 02:09:00 PM »
Hallo,

und nun? Einfach in der Datenbank die fehlenden eintragen? Aber mit welchen Werten?
In keinen der der Setupdateien die hier zu finden sind werden die Sachen in der Datenbank eingetragen. Oder muss ich nur etwas in der page_header.php ändern?
Das Ding muss man doch zum laufen bekommen.

Mfg, Andreas

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #520 on: December 08, 2007, 02:27:27 PM »
Hilft Dir das weiter: http://www.4homepages.de/forum/index.php?topic=18780.0  :?:

Denn so ein Profi in sql bin ich nun mal auch nicht  :wink:

Oder Einfach im Suchfeld mal: "Unknown column" Eingeben...

Offline derzimmerer

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #521 on: December 08, 2007, 02:43:13 PM »
Hilft mir leider nicht weiter. Ich habe MySQL 4.1.10a. Aber trotzdem Danke für deinen Hilfeversuch. Evtl. hat ja ein anderer noch einen Tip für mich....

Mfg, Andreas

Offline derzimmerer

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #522 on: December 08, 2007, 03:13:05 PM »
Hallo,

ich glaube, ich habe es hinbekommen. In der constants.php am Ende dieses einfügen:

Quote
//PM
define('PM_TABLE', $table_prefix.'pm');
define('PM_RDLT', 0);
define('PM_SDLT', 1);
define('PM_SENT', 2);
define('PM_UNREAD', 3);
define('PM_USDLT', 4);

Mfg, Andreas

skiemor

  • Guest
Re: [MOD] PMv2 Tutorial Republished here
« Reply #523 on: December 23, 2007, 02:31:18 PM »
Hello,
PMv2 works at  1.7.4,

but I get this message, when I see link new images:

Notice: Undefined variable: pm_popup_header in /homepages/26/d83193504/htdocs/birdgallery/includes/page_header.php on line 203

Notice: Use of undefined constant BBCODE - assumed 'BBCODE' in /homepages/26/d83193504/htdocs/birdgallery/includes/page_header.php on line 204

203 and 204:
203 --> "pm_popup_header" => $pm_popup_header,
204 -->  "bbcode2" => (BBCODE == "bbcode") ? 0 : 1,

and this:

Fatal error: Call to undefined function: get_smiles_text() in /homepages/26/d83193504/htdocs/birdgallery/pm.php on line 427

427 --> "smiles_text" => get_smiles_text(),

What's wrong?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #524 on: December 23, 2007, 02:38:54 PM »
In includes/page_header.php file,

find:

Quote
"pm_popup_header" => $pm_popup_header,

replace:

Code: [Select]
"pm_popup_header" => (isset($pm_popup_header) && !empty($pm_popup_header)) ? $pm_popup_header : "",

For BBCode, define name is exist in includes/constants.php file. If no exist, you miss step or you no install smilies MOD.

Quote
Fatal error: Call to undefined function: get_smiles_text() in /homepages/26/d83193504/htdocs/birdgallery/pm.php on line 427

You no install smilies MOD. Install smilies MOD and message error is gone. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?