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

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

0 Members and 1 Guest are viewing this topic.

Offline deusxx

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #195 on: January 22, 2006, 11:20:52 PM »
Да не это я просто тут опечатался!

Offline deusxx

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #196 on: January 22, 2006, 11:26:21 PM »
ну а  пункт Step 6.2  как я понял просто тупо в конце перед ? >  вставить  или там тоже эти штуки нужны /*   */

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 #197 on: January 22, 2006, 11:35:52 PM »
Да, просто нужно вставить перед ?> и ничего больше. Если установлен "Smiles" MOD, то изменения в functions.php сделанные тем модом, тоже нужно исправить на коментарий.
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 deusxx

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #198 on: January 22, 2006, 11:38:59 PM »
я не могу в рубиться что за комментарий эти звездачки чтоли если да то при добовлении их  у меня ошибка (((

Offline deusxx

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #199 on: January 22, 2006, 11:41:25 PM »
В принцапе у меня все и без этого работает единственное то что при вставки смайла в письмо или комментарий он просто отображается как значек а не как картинка!!!! при отправки само сабой или при предварительном  просмотре !

вот собственно сам файл

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 #200 on: January 23, 2006, 12:59:49 AM »
Добавленный код в файле не соответствует опубликованому коду (не одинаков).
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 deusxx

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #201 on: January 23, 2006, 06:01:19 AM »
Все теперь все работает ! )))  спасибо!  Странно как я мог не правельно кода вставить!

Offline impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: [MOD] PMv2 Tutorial Republished here
« Reply #202 on: January 23, 2006, 03:47:25 PM »
Just checking

If I wanted to install this mod, so that by default everyones settings would be to have Pop up messages Turned on.

In Pm_install.php I would change
Code: [Select]
"ALTER TABLE `".USERS_TABLE."` CHANGE `user_pms_popup` `user_pm_popup` tinyint(1) NOT NULL default '0'",
to

Code: [Select]
"ALTER TABLE `".USERS_TABLE."` CHANGE `user_pms_popup` `user_pm_popup` tinyint(1) NOT NULL default '1'",
Am I Correct ?


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 #203 on: January 24, 2006, 12:39:59 AM »
Correct
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 impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: [MOD] PMv2 Tutorial Republished here
« Reply #204 on: January 24, 2006, 01:46:46 AM »
Correct

V@no or anybody,

i made this change , and the installation went fine, But......

everyone is still set as no pop ups buy default , is there anything i can do at this point, instead of manually changing 1400 users?
also, i dont hav access to a phpmyadmin or anything

please help if you can

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 #205 on: January 24, 2006, 01:58:35 AM »
In the installer below
Code: [Select]
$sql_data = array(insert this:
Code: [Select]
            "UPDATE `".USERS_TABLE."` SET `user_pm_popup` = 1",
and run the installer again. (you'll see bunch of error messages, just ignore them).
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 impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: [MOD] PMv2 Tutorial Republished here
« Reply #206 on: January 24, 2006, 02:59:23 AM »
In the installer below
Code: [Select]
$sql_data = array(insert this:
Code: [Select]
            "UPDATE `".USERS_TABLE."` SET `user_pm_popup` = 1",
and run the installer again. (you'll see bunch of error messages, just ignore them).

I get  "Sorry, can not continue, PM table is present."
when i make the change and try running again

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 #207 on: January 24, 2006, 03:10:26 AM »
Oh, I forgot I've added that check :)
just comment out or remove this line:
Code: [Select]
$result = $site_db->query_firstrow("SHOW TABLES LIKE '".str_replace("_", "\_", $table_prefix)."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 impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: [MOD] PMv2 Tutorial Republished here
« Reply #208 on: January 24, 2006, 03:15:34 AM »
Thanks V@no,

You Rock!

Offline MEXX

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #209 on: January 27, 2006, 04:35:21 PM »
Добрый день. Надеюсь в этот раз я попал "в тему" :) Все дело в том, что при устанолвке мода смайликов в коментариях, у меня при посте коментария отображается все как надо. Но на главной странице в последних коментариях некоторые смайлы отображаются как в приватных сообщениях. Что именно делать с функцией format text() я не понял.