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

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

0 Members and 2 Guests are viewing this topic.

Offline jotabonfim

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #285 on: June 13, 2006, 05:54:15 PM »
http://www.4homepages.de/forum/index.php?topic=6692.msg71064#msg71064

Hi boys, I am with the same problem talked above.
I installed MOD PM and this presenting this mistake.
Version of the 4images: 1.7.2

I thank can help 

b.o.fan

  • Guest
Re: [MOD] PMv2 Tutorial Republished here
« Reply #286 on: June 13, 2006, 08:20:32 PM »
http://www.4homepages.de/forum/index.php?topic=6692.msg71064#msg71064

Hi boys, I am with the same problem talked above.
I installed MOD PM and this presenting this mistake.
Version of the 4images: 1.7.2

I thank can help 

this problem i had too. and i fixed this with the post you gave me.. but the other bug is allready in my admin panel! :(

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #287 on: June 13, 2006, 11:21:26 PM »
hello, i have a problem with java script popup. i becomes no error,

... Step 15 ... in header.html
ich habe auf deiner Seite keinen in sich geschlossenen <body> tag gefunden ... von daher kommt es dann event. zu dieser Anzeige ...
nach dem Abschluß des header- muss der body-tag folgen ... etwa so ...
Code: [Select]
...
</head>
<body {pm_popup_header}>
...
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 mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #288 on: June 14, 2006, 09:32:41 AM »
<body>script</body>

ist so nicht richtig ... siehe oben !
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 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 #289 on: June 16, 2006, 01:31:22 AM »
Didnt understand the english variant...
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 Beautiful Body Castings

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #290 on: June 26, 2006, 12:41:08 AM »
need help

i went as far as step 9 to check the pm.php page and i noticed that the header and footer info from my template is not being shown

not sure why

if it helps i also noticed i have this same problem with the report a pic mod aswell when i go to the report a pic page it doesnt display the header and footer info either

does anyone know if its something to do with this mod something i have done wrong or something somewhere else and how i can fix it

Mikey

Offline Fragezeichen

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #291 on: July 03, 2006, 11:06:13 PM »
hi guys,
anybody test that mod with 1.7.2?
my experience there is missing a template  by sending a new message :?

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #292 on: July 04, 2006, 09:36:01 PM »
i've 2 questions :

1 ) why the shadow/glow , show 1 word per line (how fix it ) ??

i.e word 1
    word 2

2) i want use the default bbcode smilies and not the smilies used by this mod, how can i do it ?

Cheers

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #293 on: July 06, 2006, 05:13:53 AM »
Hallo
kann leider nicht so gut Englisch deshalb hoffe ich das auch Deutsch geht.
Ich habe ein Problem. Habe mir das PMS Sytsem installiert und es läuft auch ganz gut soweit.
Habe dann aber im Kontrollzenter bzw. in der member_editprofile.html einen Fehler feststellen müssen.
Wenn ich auf die Seite gehe sprich ins Kontrollzentrum, steht bei E-Mail folgendes: <a href=
Also das steht im input Feld. Den normalen von mir definierten Style wird auch nicht richtig angezeigt für dieses Input. Desweiteren steht hinter dem Input dieses hier: admin@yourdomain.com" class="input">
Das gleiche ist auch bei der Wiederholung der Emailadresse, sowie wenn ich im Homepage Feld eine Homepage eingebe und dann auf speichern drücke. Dann wird dieses so ähnlich angezeigt.
Der HTML Code ist meiner Meinung nach aber in Ordnung, habe ihn aber hier nochmal mit angehangen. Ich vermute das ein Fehler in meiner member.php sein muss. Genau wissen tue ich dies natürlich nicht. Ich hoffe jemand kennt dieses Problem oder weiß an was das liegen könnte.

EDIT: Ich habe festgestellt das es auch in mehreren Dateien so ist, also wird es vielleicht doch nicht an der member.php liegen. BITTE helft mir !!!

I try it in english.
I have a problem. I have installed PMS System and since when my member_editprofile is ceriously changed. In the input field email is an entry like this: <a href=
After the input field stand this: admin@yourdomain.com" class="input">
The same is by email2, too. And after i give a Homepage URL in the homepage field, it show the same how by email and email2. Where is the mistake ?? PLEASE HELP ME. I have the member_editprofile.html at this post. But i think the problem is in the member.php. Is here anyone who has an idea for this mistake ??? AND SORRY for my miserable english. ;)

EDIT: I have seen that the mistake is in other templates from me,too. So i think the mistake can't in the member.php but i don't know. PLEASE HELP ME BY THIS PROBLEM !!!


Hier ist noch ein Screenshot wie das ganze aussieht.
Here is a screenshot,too how it show on my page.






MFG Marcel


I have the same probleme. And the help din't work:

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);
}


I don't no, what is wrong, can please anybody help me?

I got the same problem  8O

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #294 on: July 09, 2006, 09:19:49 PM »
Hello @ all.

i've found out to create a WELCOME PM to a new user...!

on this request http://www.4homepages.de/forum/index.php?topic=8409.msg46069#msg46069

i test this on 1.72!


open register.php

find there:
Code: [Select]
    $sql = "INSERT INTO ".USERS_TABLE."
            (".get_user_table_field("", "user_id").get_user_table_field(", ", "user_level").get_user_table_field(", ", "user_name").get_user_table_field(", ", "user_password").get_user_table_field(", ", "user_email").get_user_table_field(", ", "user_showemail").get_user_table_field(", ", "user_allowemails").get_user_table_field(", ", "user_invisible").get_user_table_field(", ", "user_joindate").get_user_table_field(", ", "user_activationkey").get_user_table_field(", ", "user_lastaction").get_user_table_field(", ", "user_lastvisit").get_user_table_field(", ", "user_comments").get_user_table_field(", ", "user_homepage").get_user_table_field(", ", "user_icq").$additional_field_sql.")
            VALUES
            ($user_id, $user_level, '$user_name', '".md5($user_password)."', '$user_email', $user_showemail, $user_allowemails, $user_invisible, $current_time, '$activationkey', $current_time, $current_time, 0, '$user_homepage', '$user_icq'".$additional_value_sql.")";
    $result = $site_db->query($sql);

add after this
Code: [Select]
    $sql = "INSERT INTO ".PM_TABLE."
                        (pm_date, pm_to, pm_from, pm_subject, pm_type, pm_text, pm_bbcode, pm_html, pm_ip, pm_smiles)
                  VALUES
                        (".time().", ".$user_id.", '1', '".$lang['welcome_subject']."', ".PM_UNREAD.", '".addslashes($lang['welcome_text'])."', '1', '1', '".$session_info['session_ip']."', '1')";
    $result = $site_db->query($sql);

in these example the user with the ID 1 send the PM! you can change this here:
Code: [Select]
(".time().", ".$user_id.", '1', set there your ID!

then open lang/<your lang>/main.php

add before
Code: [Select]
?>
Your Mail. something like this!

Code: [Select]
$lang['welcome_subject'] = "Hello and welcome on {site_name}";
$lang['welcome_text'] = "Thanks that you registered on {site_name}<br>blabla<br>Your Admin";

You can use Smilies and html.

When The new User logged in, he will get the PM!

b.o.fan


Work  8O thanks b.o.fan  :P

can this be used for the old PMS ?

b.o.fan

  • Guest
Re: [MOD] PMv2 Tutorial Republished here
« Reply #295 on: July 09, 2006, 11:10:27 PM »
Hello @ all.

i've found out to create a WELCOME PM to a new user...!

on this request http://www.4homepages.de/forum/index.php?topic=8409.msg46069#msg46069

i test this on 1.72!


open register.php

find there:
Code: [Select]
    $sql = "INSERT INTO ".USERS_TABLE."
            (".get_user_table_field("", "user_id").get_user_table_field(", ", "user_level").get_user_table_field(", ", "user_name").get_user_table_field(", ", "user_password").get_user_table_field(", ", "user_email").get_user_table_field(", ", "user_showemail").get_user_table_field(", ", "user_allowemails").get_user_table_field(", ", "user_invisible").get_user_table_field(", ", "user_joindate").get_user_table_field(", ", "user_activationkey").get_user_table_field(", ", "user_lastaction").get_user_table_field(", ", "user_lastvisit").get_user_table_field(", ", "user_comments").get_user_table_field(", ", "user_homepage").get_user_table_field(", ", "user_icq").$additional_field_sql.")
            VALUES
            ($user_id, $user_level, '$user_name', '".md5($user_password)."', '$user_email', $user_showemail, $user_allowemails, $user_invisible, $current_time, '$activationkey', $current_time, $current_time, 0, '$user_homepage', '$user_icq'".$additional_value_sql.")";
    $result = $site_db->query($sql);

add after this
Code: [Select]
    $sql = "INSERT INTO ".PM_TABLE."
                        (pm_date, pm_to, pm_from, pm_subject, pm_type, pm_text, pm_bbcode, pm_html, pm_ip, pm_smiles)
                  VALUES
                        (".time().", ".$user_id.", '1', '".$lang['welcome_subject']."', ".PM_UNREAD.", '".addslashes($lang['welcome_text'])."', '1', '1', '".$session_info['session_ip']."', '1')";
    $result = $site_db->query($sql);

in these example the user with the ID 1 send the PM! you can change this here:
Code: [Select]
(".time().", ".$user_id.", '1', set there your ID!

then open lang/<your lang>/main.php

add before
Code: [Select]
?>
Your Mail. something like this!

Code: [Select]
$lang['welcome_subject'] = "Hello and welcome on {site_name}";
$lang['welcome_text'] = "Thanks that you registered on {site_name}<br>blabla<br>Your Admin";

You can use Smilies and html.

When The new User logged in, he will get the PM!

b.o.fan


Work  8O thanks b.o.fan  :P

can this be used for the old PMS ?

i think, NO. look @ the code of the old pms... and change it...

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #296 on: July 10, 2006, 04:43:09 AM »
the problem...is ... i'm not php coder...so isn't  easy for me !! :(

Offline myr2904

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #297 on: July 15, 2006, 12:13:32 AM »


Who can help me to do this...I have instal this mod...but i don't konw how to to this.

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 #298 on: July 15, 2006, 12:57:38 AM »
The template bbcode2.html already has this, so look in there ;)
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 myr2904

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #299 on: July 15, 2006, 10:58:11 AM »
The template bbcode2.html already has this, so look in there ;)

Replace bbcode.html with bbcode2.html ???