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

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

0 Members and 2 Guests are viewing this topic.

Offline dosensteck

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #345 on: November 26, 2006, 07:14:45 PM »
wie kann ich den [thumb=xxxx] tag auch in der Bildbeschreibung nutzen? In den Bildkommentaren funktioniert er einwandfrei.

Habs mir zwar angesehen, richitg schlau bin ich aber nicht daraus geworden :/

wenn es jemanden interessiert:

ersetze in der functions.php
Code: [Select]
format_text($image_row['image_description'], 0)
durch
Code: [Select]
format_text($image_row['image_description'], 1,0,1)
eigentlich recht simpel, man muss sich nur die funktionen mal richtig durchsehen :D

Offline Entropyx

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #346 on: November 29, 2006, 12:20:26 AM »
great support here

Offline SagaatHome

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #347 on: November 29, 2006, 09:52:21 AM »
Habe das selbe problem mit dem searchform....
Bei mir kommt aber nur die Nachricht im header:
Notice: Undefined variable: pm_popup_header in /is/htdocs/wpxxxxxxxx_DLXEJXBKUKLH/www/clean4i/includes/page_header.php on line 210 welcher in der functions/page_header.php so aussieht:

"pm_popup_header" => $pm_popup_header,

hoffe irgendwer weiß, was da los is...sonst muss ich den mod wieder raus nehmen

Offline Mirwais

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #348 on: January 07, 2007, 10:58:25 PM »
Hello!!
I getting error when installing
I get this message

Quote
SHOW TABLES LIKE '4images\_pm'

MOD Private Messaging v2    (by V@no)
 
 
Sorry, can not continue, you missed some steps of the installation..
 

Offline Mirwais

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #349 on: January 08, 2007, 03:17:00 PM »
Hello!!
I getting error when installing
I get this message


Quote
SHOW TABLES LIKE '4images\_pm'

MOD Private Messaging v2    (by V@no)
 
 
Sorry, can not continue, you missed some steps of the installation..


Please Help!!!

Offline Aleksey

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #350 on: January 09, 2007, 12:41:31 AM »
in /includes/page_header.php

Code: [Select]
//-----------------------------------------------------
//--- pm ---------------------------------------------
//-----------------------------------------------------
$inbox = "";
$outbox = "";
$sentbox = "";
$newpm = "";
$pm_popup_script = "";
$pm_popup_head = "";
$pm = "";

maybe correct 
Code: [Select]
$pm_popup_header = "";      :?:
« Last Edit: January 09, 2007, 01:52:45 AM by Aleksey »

Offline Aleksey

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #351 on: January 09, 2007, 08:24:16 AM »
if you have error in 1.7.4 Undefined variable: pm_xxxx

Quote
Notice: Undefined variable: pm_popup_header in /home/myke/public_html/includes/page_header.php on line 177

Notice: Undefined variable: pm_inbox in /home/myke/public_html/includes/page_header.php on line 179

Notice: Undefined variable: pm_outbox in /home/myke/public_html/includes/page_header.php on line 180

Notice: Undefined variable: pm_sentbox in /home/myke/public_html/includes/page_header.php on line 181

Notice: Undefined variable: pm_new_count in /home/myke/public_html/includes/page_header.php on line 182

Edit file includes/page_header.php
find:
Code: [Select]
//-----------------------------------------------------
//--- pm ---------------------------------------------
//-----------------------------------------------------
$inbox = "";
$outbox = "";
$sentbox = "";
$newpm = "";
$pm_popup_script = "";
$pm_popup_head = "";
$pm = "";

and replace this
Code: [Select]
//-----------------------------------------------------
//--- pm ---------------------------------------------
//-----------------------------------------------------
$inbox = "";
$outbox = "";
$sentbox = "";
$newpm = "";
$pm_popup_script = "";
$pm_popup_header = "";
$pm = "";
$pm_inbox = "";
$pm_outbox = "";
$pm_sentbox = "";
$pm_new_count = "";
« Last Edit: January 09, 2007, 08:34:31 AM by Aleksey »

Offline Mirwais

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #352 on: January 09, 2007, 11:30:24 PM »
if you have error in 1.7.4 Undefined variable: pm_xxxx

Quote
Notice: Undefined variable: pm_popup_header in /home/myke/public_html/includes/page_header.php on line 177

Notice: Undefined variable: pm_inbox in /home/myke/public_html/includes/page_header.php on line 179

Notice: Undefined variable: pm_outbox in /home/myke/public_html/includes/page_header.php on line 180

Notice: Undefined variable: pm_sentbox in /home/myke/public_html/includes/page_header.php on line 181

Notice: Undefined variable: pm_new_count in /home/myke/public_html/includes/page_header.php on line 182

Edit file includes/page_header.php
find:
Code: [Select]
//-----------------------------------------------------
//--- pm ---------------------------------------------
//-----------------------------------------------------
$inbox = "";
$outbox = "";
$sentbox = "";
$newpm = "";
$pm_popup_script = "";
$pm_popup_head = "";
$pm = "";

and replace this
Code: [Select]
//-----------------------------------------------------
//--- pm ---------------------------------------------
//-----------------------------------------------------
$inbox = "";
$outbox = "";
$sentbox = "";
$newpm = "";
$pm_popup_script = "";
$pm_popup_header = "";
$pm = "";
$pm_inbox = "";
$pm_outbox = "";
$pm_sentbox = "";
$pm_new_count = "";

This did not help.
Please help me guys!!

See the error in attachment file

Offline Aleksey

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #353 on: January 10, 2007, 10:34:22 PM »
so... your version php and mysql?

i use this installer on php5 and mysql 4.1.x
all works fine...

Offline Mirwais

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #354 on: January 11, 2007, 12:28:27 AM »
so... your version php and mysql?

i use this installer on php5 and mysql 4.1.x
all works fine...

Thanks for reply!!
I use
PHP Version 4.4.2
MySQL Databases v5

what you think where the problem could be?

Please Help me

thanks

Offline Aleksey

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #355 on: January 11, 2007, 12:35:52 AM »
Your problem in installer. Need good programmer for rewrite code installer compatible with mysql 5.x
Maybe....

But likely use mysql 4.x and no problem..
sorry i cant help you

Offline Aleksey

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #356 on: January 11, 2007, 01:10:22 AM »
or use PhpMyAdmin and create this:

Code: [Select]
CREATE TABLE - PM_TABLE
pm_id mediumint(10) unsigned NOT NULL auto_increment
pm_type tinyint(2) NOT NULL default '0'
pm_to mediumint(8) NOT NULL default '0'
pm_from mediumint(8) NOT NULL default '0'
pm_subject varchar(255) NOT NULL default ''
pm_text text
pm_date int(11) NOT NULL default '0'
pm_date_rcvd int(11) NOT NULL default '0'
pm_ip varchar(20) NOT NULL default '0'
pm_html tinyint(1) NOT NULL default '0'
pm_bbcode tinyint(1) NOT NULL default '0'
pm_smiles tinyint(1) NOT NULL default '0', KEY `pm_id` (`pm_id`,`pm_to`,`pm_from`)) TYPE=MyISAM"

add in USERS_TABLE
user_pm_inbox int(11) NOT NULL default '0'
user_pm_sentbox int(11) NOT NULL default '0'
user_pm_email tinyint(1) NOT NULL default '1'
user_pm_popup tinyint(1) NOT NULL default '0'

insert in SETTINGS_TABLE
setting_name      setting_value
pm                           1
pm_inbox                 30
pm_sentbox             10
pm_html                   0
pm_bbcode               1
pm_img                     1

all simple...  use phpmyadmin

Offline Mirwais

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #357 on: January 14, 2007, 08:53:41 PM »
Thanks alot Aleksey!!!
It helped, Pm has still some error, but I install this mod for BBCODE 2.
BBCODE works fine, and I have swtiched OFF Pm at ACP.

BUT  now page crashes alot.

So may be anyone could say what is the problem, that i get the error ( See attachent file=

Please Help someone

Offline Foto-Portal

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #358 on: January 15, 2007, 11:28:19 AM »
Hello,

i need the file pm_install.php

!!!

--------------------------------------

Hallo,

ich brauche die Datei pm_install.php


Offline Foto-Portal

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #359 on: January 15, 2007, 11:34:47 AM »
or use PhpMyAdmin and create this:

Code: [Select]
CREATE TABLE - PM_TABLE
pm_id mediumint(10) unsigned NOT NULL auto_increment
pm_type tinyint(2) NOT NULL default '0'
pm_to mediumint(8) NOT NULL default '0'
pm_from mediumint(8) NOT NULL default '0'
pm_subject varchar(255) NOT NULL default ''
pm_text text
pm_date int(11) NOT NULL default '0'
pm_date_rcvd int(11) NOT NULL default '0'
pm_ip varchar(20) NOT NULL default '0'
pm_html tinyint(1) NOT NULL default '0'
pm_bbcode tinyint(1) NOT NULL default '0'
pm_smiles tinyint(1) NOT NULL default '0', KEY `pm_id` (`pm_id`,`pm_to`,`pm_from`)) TYPE=MyISAM"

add in USERS_TABLE
user_pm_inbox int(11) NOT NULL default '0'
user_pm_sentbox int(11) NOT NULL default '0'
user_pm_email tinyint(1) NOT NULL default '1'
user_pm_popup tinyint(1) NOT NULL default '0'

insert in SETTINGS_TABLE
setting_name      setting_value
pm                           1
pm_inbox                 30
pm_sentbox             10
pm_html                   0
pm_bbcode               1
pm_img                     1

all simple...  use phpmyadmin

i have',t the installer file, so i tryed with myspl and wanted to create the tables
so i become the error:

Es scheint einen Fehler in Ihrer MySQL-Abfrage zu geben. Die MySQL-Fehlerausgabe, falls vorhanden, kann Ihnen auch bei der Fehleranalyse helfen.

ERROR: Nicht geschlossene Anführungszeichen @ 551
STR: "
SQL: CREATE TABLE - PM_TABLE
pm_id mediumint(10) unsigned NOT NULL auto_increment
pm_type tinyint(2) NOT NULL default '0'
pm_to mediumint(8) NOT NULL default '0'
pm_from mediumint(8) NOT NULL default '0'
pm_subject varchar(255) NOT NULL default ''
pm_text text
pm_date int(11) NOT NULL default '0'
pm_date_rcvd int(11) NOT NULL default '0'
pm_ip varchar(20) NOT NULL default '0'
pm_html tinyint(1) NOT NULL default '0'
pm_bbcode tinyint(1) NOT NULL default '0'
pm_smiles tinyint(1) NOT NULL default '0', KEY `pm_id` (`pm_id`,`pm_to`,`pm_from`)) TYPE=MyISAM"

add in USERS_TABLE
user_pm_inbox int(11) NOT NULL default '0'
user_pm_sentbox int(11) NOT NULL default '0'
user_pm_email tinyint(1) NOT NULL default '1'
user_pm_popup tinyint(1) NOT NULL default '0'

insert in SETTINGS_TABLE
setting_name      setting_value
pm                           1
pm_inbox                 30
pm_sentbox             10
pm_html                   0
pm_bbcode               1
pm_img                     1

.
.
.
.
.
 
 MySQL meldet: Dokumentation
#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '- PM_TABLE
pm_id mediumint(10) unsigned NOT NULL auto_incremen