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

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

0 Members and 5 Guests are viewing this topic.

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #465 on: August 22, 2007, 04:23:54 PM »
1-
2-
3- ALREADY THERE ^_*

it was only description on the mod and how some commands work ! :S

the code start from 4 and so on
English Please :@

Offline cam101

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #466 on: August 22, 2007, 06:12:11 PM »
well if that is the case then where is the main.php inclusion mentioned? without it there is no text so something is missing plus if v@no says redo step 3 to someone else in this topic then step 3 must be missing!

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #467 on: August 25, 2007, 03:16:09 PM »
yes, i do agree that main.php is not in th attached file !

but i already read the 33 pages many times ! and somewhere i found the main.php in german 
i used an online transelator to make it in english !

but the end was << it works with errors !

for that i deleted !

wating with wishes nd hopes to see v3 ! Seems we have t pay for it ! :P

just to remind u !

there is some missing field in the sql !

so u have to work alot ( as if u r using 1.7.4 )

this mod not supported
English Please :@

Offline barabangel

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #468 on: September 24, 2007, 10:02:32 AM »
Problems!!!


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',     );
?????????????????


Step 4.

?






Offline barabangel

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #469 on: September 24, 2007, 11:01:27 AM »
I've installed the module, but have a problem with links (inbox, outbox,...) - they didn't appears at all. May be the problem is in Step 6 where if I comment the function an error appears.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #470 on: September 24, 2007, 12:48:30 PM »
Quote
Problems!!!


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',     );
?????????????????


Step 4.

?

Count with finger - the 5 steps - 0-1-2-3-4:mrgreen: :mrgreen:
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 barabangel

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #471 on: September 24, 2007, 01:30:29 PM »
I've installed the module, but have a problem with links (inbox, outbox,...) - they didn't appears at all. May be the problem is in Step 6 where if I comment the function an error appears.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #472 on: September 24, 2007, 01:57:19 PM »
Please no post 2 time - yes - I see it and your problem is no detail - too small. Please read step 6 of my signature.
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 barabangel

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #473 on: September 27, 2007, 09:26:23 PM »
An error has occured after instalation PMv2 in       //................./pm.php?action=new


Warning: Invalid argument supplied for foreach() in /home/xxxxxxx/public_html/pm.php on line 414

Fatal error: Call to undefined function get_smiles_text() in /home/xxxxxxx/public_html/pm.php on line 427

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #474 on: September 27, 2007, 09:29:47 PM »
Please post from line 410 to line 430 of pm.php (by read step 5 of my signature).
« Last Edit: September 27, 2007, 09:40:26 PM by thunderstrike »
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 barabangel

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #475 on: September 27, 2007, 09:47:21 PM »
I don't understand what you mean?


  $title .= ($edit) ? $lang['pm_edit'] : $lang['pm_compose'];
  $bbcode_form = "";
  if ($config['pm_bbcode']) {
    $bbc_help = "";
    foreach ($lang['bbc_help'] as $key => $val) {
      $bbc_help .= $key."_help = \"".$val."\";\n";
    }
    $site_template->register_vars(array(
      "lang_bbcode" => $lang['bbcode'],
      "lang_tag_prompt" => $lang['tag_prompt'],
      "lang_link_text_prompt" => $lang['link_text_prompt'],
      "lang_link_url_prompt" => $lang['link_url_prompt'],
      "lang_link_email_prompt" => $lang['link_email_prompt'],
      "lang_list_type_prompt" => $lang['list_type_prompt'],
      "lang_list_item_prompt" => $lang['list_item_prompt'],
      "lang_close_tags" => $lang['close_tags'],
      "lang_all" => $lang['all'],
      "smiles_text" => get_smiles_text(),
      "bbc_help" => $bbc_help
    ));
    $bbcode_form = $site_template->parse_template(BBCODE);
  }

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #476 on: September 27, 2007, 09:48:24 PM »
Post 410 to 430 of pm.php file (with bbcode) and I check.
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 barabangel

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #477 on: September 27, 2007, 10:09:03 PM »
  410.......   $title .= ($edit) ? $lang['pm_edit'] : $lang['pm_compose'];
  $bbcode_form = "";
  if ($config['pm_bbcode']) {
    $bbc_help = "";
    foreach ($lang['bbc_help'] as $key => $val) {
      $bbc_help .= $key."_help = \"".$val."\";\n";
    }
    $site_template->register_vars(array(
      "lang_bbcode" => $lang['bbcode'],
      "lang_tag_prompt" => $lang['tag_prompt'],
      "lang_link_text_prompt" => $lang['link_text_prompt'],
      "lang_link_url_prompt" => $lang['link_url_prompt'],
      "lang_link_email_prompt" => $lang['link_email_prompt'],
      "lang_list_type_prompt" => $lang['list_type_prompt'],
      "lang_list_item_prompt" => $lang['list_item_prompt'],
      "lang_close_tags" => $lang['close_tags'],
      "lang_all" => $lang['all'],
      "smiles_text" => get_smiles_text(),
      "bbc_help" => $bbc_help
    ));
    $bbcode_form = $site_template->parse_template(BBCODE);
  431...........}

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #478 on: September 27, 2007, 10:10:34 PM »
So much for bbcode.  :roll:

Now, what is in lang/english/main.php file for $lang['bbc_help'] ?
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 barabangel

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #479 on: September 27, 2007, 10:12:24 PM »
My code in lang/bulgarian/main.php