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

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

0 Members and 2 Guests are viewing this topic.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #255 on: May 02, 2006, 04:45:25 PM »
in pm_new.html finde ...
Code: [Select]
<td><input type="text" name="subject" value="{subject}" size="20" class="commentinput" /></td>

und ersetze es durch ...
Code: [Select]
<td><input type="text" name="subject" maxlength="20" value="{subject}" size="20" class="commentinput" /></td>

die size="20" für das Input-Feld ist individuell zu prüfen entsprechend deinem Template ...  :wink:

mawenzi
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 his-luke

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #256 on: May 02, 2006, 06:02:48 PM »
I still doesn't know what i did wrong could somebody please help me. ( Site 17 )

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #257 on: May 03, 2006, 01:48:24 PM »
one of my user told me today:
he receive notification about PM on mail there is no url ....
and its true there is only empty space on {site_url} and only second part of {url}
Code: [Select]
/pm.php?action=view&mode=inbox&id=xxx.Script just wont show my {site_url} tag
I dont know when it stops working :cry:
pease help

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 #258 on: May 04, 2006, 12:24:16 AM »
1) did you defined in includes/contants.php SCRIPT_URL constant?
2) in global.php check that this block of code present and is identical:
Code: [Select]
if (defined("SCRIPT_URL") && SCRIPT_URL != "") {
  $script_url = SCRIPT_URL;
}
else {
  $port = (!preg_match("/^(80|443)$/", getenv("SERVER_PORT"), $port_match)) ? ":".getenv("SERVER_PORT") : "";
  $script_url  = ($port_match[1] == 443) ? "https://" : "http://";
  $script_url .= (!empty($HTTP_SERVER_VARS['HTTP_HOST'])) ? $HTTP_SERVER_VARS['HTTP_HOST'] : getenv("SERVER_NAME");
  $script_url .= $port;
  $script_url .= (dirname($PHP_SELF) != "/") ? dirname($PHP_SELF) : "";
}
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 Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #259 on: May 04, 2006, 05:17:29 PM »
Thanks  :!: U are my hero  :D

it was my fault - little error - there was't script_url line in constant :oops:

now it works again :)

Offline his-luke

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #260 on: May 06, 2006, 10:16:32 PM »
Why does nobody answer my Question? Iam a bit frustrated.
Please answer my Question on page 17

Offline Rom4ik

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #261 on: May 18, 2006, 08:08:21 PM »
Hat jemand eine Deutsche Version des Scripts?
Ó êîãî íèáóäü åñòü ðóññêàÿ âåðñèÿ?

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #262 on: May 19, 2006, 10:18:54 PM »
when user add some smilies in commments without spaces between them they want show
how can i fix it ?

b.o.fan

  • Guest
Re: [MOD] PMv2 Tutorial Republished here
« Reply #263 on: May 28, 2006, 03:09:38 PM »
If you'd like to use the PMv2 BBCode, you'd have to implement the PMv2...  :wink:

also ich habe 1.72 installiert. und den mod! nur bbcode2 funtzt in der comment_form.html nicht :(

warum?

Offline Aleksey

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #264 on: May 28, 2006, 09:21:41 PM »
Please help   Script version 1.7.2
Analog problem on http://funchecks.fu.funpic.de/problem.JPG i fix this code

Quote
1. Öffne die Datei / open file->  \includes\functions.php

2. Finde Code / find code:

Code:
$text = replace_url($text);
3. Ersetze mit / remove with:

Code:
if ($html !== 2) {
      $text = nl2br(trim($text));
      $text = replace_url($text);
}

But in control panel admin / settings - Bad words list.  Asteriks replaced my swear words in cirillic codepage 
 if i use backup file  /includes/functions.php  then all ok :(  How fix?  Thanks
« Last Edit: May 29, 2006, 08:37:54 AM by Aleksey »

Offline aletapety

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #265 on: May 29, 2006, 10:04:29 PM »
Great Mod  :D

I have one question is dificult to add automatic messeage to people who register ?.

example:

Hello {lang_user_name},

thank for register ,now you have
add photo
send e-carts

bla bla

 :P

Offline aletapety

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #266 on: June 01, 2006, 01:55:06 PM »
Any solution ?  :P

b.o.fan

  • Guest
Re: [MOD] PMv2 Tutorial Republished here
« Reply #267 on: June 01, 2006, 02:29:40 PM »
hello!

when i open the pm.php i hav egot this error:

Warning: Invalid argument supplied for foreach() in d:\webserver\www\warten2\4images\pm.php on line 414

this is the code of line 411 to 416

Code: [Select]
  $bbcode_form = "";
  if ($config['pm_bbcode']) {
    $bbc_help = "";
    foreach ($lang['bbc_help'] as $key => $val) {
      $bbc_help .= $key."_help = \"".$val."\";\n";
    }

any ideas?

Offline aletapety

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #268 on: June 01, 2006, 02:45:06 PM »
hello!

when i open the pm.php i hav egot this error:

Warning: Invalid argument supplied for foreach() in d:\webserver\www\warten2\4images\pm.php on line 414

this is the code of line 411 to 416

Code: [Select]
  $bbcode_form = "";
  if ($config['pm_bbcode']) {
    $bbc_help = "";
    foreach ($lang['bbc_help'] as $key => $val) {
      $bbc_help .= $key."_help = \"".$val."\";\n";
    }

any ideas?

maybe check lang/main ?

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [MOD] PMv2 Tutorial Republished here
« Reply #269 on: June 02, 2006, 02:13:16 AM »
Hi everyone how could i send a private message to all my users using phpmyadmin or making a modification in the mod
any ideas of how the queri would be?