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

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

0 Members and 4 Guests are viewing this topic.

Offline Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #165 on: December 04, 2005, 07:14:29 PM »
Ok, thanks V@no

First error on my index.php:  Fatal error: Call to undefined function: format_text() in /home/www/web72/html/home/index.php on line 261
Second error on my guestbook.php: Fatal error: Call to undefined function: format_text() in /home/www/web72/html/home/guestbook.php on line 331
Third error on my pm.php, when I will write a new message: Fatal error: Call to undefined function: get_smiles_text() in /home/www/web72/html/home/pm.php on line 427

Is this OK?

Now, whats the problem...

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 #166 on: December 04, 2005, 07:50:31 PM »
The problem is in Step 6.x
Restore you backup of includes/functions.php and try again ;)
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 Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #167 on: December 04, 2005, 07:57:10 PM »
Question: Why don't I have to change my functions.php?
What are the exact changes of the function.php for the PM-MOD?

Yes, your right, then there is only one error, especially the third one:  Call to undefined function: get_smiles_text() in /home/www/web72/html/home/pm.php on line 427     8O

Thanks V@no

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 #168 on: December 04, 2005, 07:59:00 PM »
Well, there are some funcitons in includes/functions.php that has to be changed and new functions has to be added in order to use new bbcode and smiles in this mod. The changes should not affect the rest of 4images code (if everything done properly) but will add new features to it.
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 Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #169 on: December 04, 2005, 08:02:00 PM »
Aha OK! And what should I do with the last error on my pm.php, if I will write a new message?

Call to undefined function: get_smiles_text() in /home/www/web72/html/home/pm.php on line 427

 :roll:


PS: What should I do, if I will use the new bbcode an the smilies....???

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 #170 on: December 04, 2005, 08:27:51 PM »
That error is still comming from Step 6.x
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 Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #171 on: December 04, 2005, 08:32:52 PM »
But I haven't done a step 6.x !   I haven't installed the smilies mod.... or should I  :?:

(I've decided to install the following after the PM-MOD:  http://www.4homepages.de/forum/index.php?topic=10168.0  )  --> I wish I could use the new bbcode and smilies...

Sorry for my stupid questions, but I'm a man in a very dark room....   Can you help me step by step what I should do!

V@no thanks a lot your my last chance  :oops:

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 #172 on: December 04, 2005, 09:36:30 PM »
There is not a word that says about doint do step 6.x if you installed/not installed smiles mod.
It sais, that if you installed the smiles mod, you must comment out or remove the changes in includes/functions.php made by that mod and then add the new code from Step 6.2
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 Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #173 on: December 04, 2005, 10:33:24 PM »
Thanks a lot man, I have understand.... no more error  :lol:


Offline Toso

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Lachs & Leder
Re: [MOD] PMv2 Tutorial Republished here
« Reply #174 on: December 05, 2005, 10:25:25 PM »
Hello everyone,

i have a new problem. The popup doesnot work.

Is my header.html correct?

Quote
<html dir="{direction}">
<head>{pm_popup_script}
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<script language="javascript" type="text/javascript">
<!--
function opendetailwindow() {
window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=800,height=600');
}
// -->
</script>
</head> <body {pm_popup_header} bgcolor="#FFFFFF" text="#000080" link="#000080" vlink="#000080" alink="#000080">
<br />

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #175 on: December 06, 2005, 01:39:42 AM »
how can i make this MOD , using the old smilies MOD (BBcode Smileys) and not with the V.2 of the same ??

Offline Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #176 on: December 06, 2005, 07:21:48 PM »
Great MOD  :D

One thing: my scale doesn't show me the volume of my Inbox for example.... I've limited the inbox on 5 Messages! But there is no limitation and no error messages (in the inbox are 13 messages)  :?: :?: :?:

Hope that someone can help me  :(

PS: Yes I use for my users the global settings which are limited to 5 messages inbox...

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 #177 on: December 07, 2005, 12:24:29 AM »
Make sure you test it with a normal user and not not normal - aka admin...:lol: j/k ;)
Seriously though, admin does not have any restrictions, only regular members do. so test it with a regular member account, it should work.

P.S. almost forgot, messages from administrators also not being counted, only members to members. try send messages to yourself ;)
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 Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #178 on: December 07, 2005, 08:43:45 AM »
 :D  Thank you V@no! This was the thing I missed....    :mrgreen:

Offline Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #179 on: December 17, 2005, 12:01:00 AM »
Back again  :wink:

If I log in as Admin and click on the link to pm.php comes an error, which says that I'm not authorized to watch the site (as Admin  :?: :?: :?:)
If I test it as a User, evrything is ok....

Where is the failure???

Please help me....