176

Re: Private Message System

cherry1499 wrote:

Nice Mod guys!  :)

But i have a question! Is it possible to send an email to the receiver, if he becomes a Privat Message!

Like this: You´ve got a Privat message! Please click here, to read it: ............

And the link brings u direct to the privat message.

Greetings
Michaela

It's possible yes. I might look at it today if I've got the time to install a mail-server and fix all that.

Re: Private Message System

smile

178

Re: Private Message System

Hi Chacmool... been using your mod for a while now, and it's great, thanks!  Just thinking... perhaps it would be good if we had a email notification feature informing users of new PMs?

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

179

Re: Private Message System

And a great option ...

DELETE by Check BOX several PM in same time ... smile

180

Re: Private Message System

Rod wrote:

And a great option ...

DELETE by Check BOX several PM in same time ... :)

True :) It should be implemented yes... though, I will probably wait untill 1.2 is out. I'll have to rewrite some of the mod then anyway.

181 (edited by cuteseal 2004-08-25 08:20)

Re: Private Message System

Lol... you have no chance to survive, make your time.

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

Re: Private Message System

ohhh,  come on  smile

Re: Private Message System

i'm still waiting ....   big_smile

184

Re: Private Message System

You'll have to wait some more :) Maybe I'll fix it tomorrow. Though, 1.1.2 is done now, where you can delete multiple post :)

Download here.

Upgrade from 1.1.2:
1. Overwrite lang/en/en_pms.php and message_list.php.
2. Put the file header_new_messages.php in include/pms.
3. Change footer.php so it looks like this:

42: <?php
43: 
44: require($pun_root.'include/pms/footer_links.php');
45: if ($footer_style == 'index' || $footer_style == 'search')
46: {
47:     if (!$cookie['is_guest'])

Edit: I might fix a 'Mark all'-button tomorrow...

185

Re: Private Message System

I miss the include/common.php file.
The install_mod.php file needs that, but then I downloaded the package it didn't come along.

HELP!

186

Re: Private Message System

Then you've probably put the files in the wrong directory. install_mod.php is supposed to be in the punbb root directory. If not, what are the error-message you get?

187

Re: Private Message System

Chacmool wrote:

Then you've probably put the files in the wrong directory. install_mod.php is supposed to be in the punbb root directory. If not, what are the error-message you get?

I've got folloing messages:

Warning: main() [function.main]: Unable to access ./include/common.php in /home/******/domains/www.domainname.com/pms/install_mod.php on line 83

Warning: main(./include/common.php) [function.main]: failed to create stream: No such file or directory in /home/******/domains/www.domainname.com/pms/install_mod.php on line 83

Fatal error: main() [function.main]: Failed opening required './include/common.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/Smarty') in /home/******/domains/www.domainname.com/pms/install_mod.php on line 83

188

Re: Private Message System

Are you sure you even have common.php there? Tried reinstalling PunBB?

189

Re: Private Message System

should install_mod.php be in the pms folder?

190

Re: Private Message System

Connorhd wrote:

should install_mod.php be in the pms folder?

No, it's not supposed to be there :) I assumed it was after my last post ("install_mod.php is supposed to be in the punbb root directory. If not, what are the error-message you get?")

gyro: Put install_mod.php in the root-directory instead.

191

Re: Private Message System

lol yeh i didn't read your firsty one just looking at the error messages

192

Re: Private Message System

hmmm..sorry....

Re: Private Message System

ok, i still wait .... smile

HURRY UP   smile))))

194

Re: Private Message System

Could somebody help, please?

i just installed the Private Message System v1.1.2 on the PunBB v1.1.5 and everything works great except the Profile page. sad
When I click the Profile link, the Parse error occured on line 1286 where i added as the instruction said. (I'm new to PHP coding...)

Here is my last part of the profile.php code:

<?php

    }
    
    if ($pun_config['o_pms_enabled'] && !$cookie['is_guest'] && $_GET['id'] != $cur_user['id']){
            require($pun_root.'include/pms/profile_quicksend.php');
                echo '<table class="punspacer" cellspacing="1" cellpadding="4"><tr><td> </td></tr></table>';
      }

    require $pun_root.'footer.php';
}

any suggestion would be appreciated.
thanks.

195

Re: Private Message System

is it missing a ?> ?

196

Re: Private Message System

i have to say, which part? roll
it should be a easy fix but i have no idea what's wrong.
could somebody send me the PMS modified profile.php file, please?

197

Re: Private Message System

It feels like it's correct... here's my bottom ~25 lines:

?>
            </td>
        </tr>
    </table>
</form>
<?php

    }

?>

<table class="punspacer" cellspacing="1" cellpadding="4"><tr><td> </td></tr></table>
<?php

    }

    if($pun_config['o_pms_enabled'] && !$cookie['is_guest'] && $_GET['id'] != $cur_user['id']){
        require($pun_root.'include/pms/profile_quicksend.php');
        echo '<table class="punspacer" cellspacing="1" cellpadding="4"><tr><td> </td></tr></table>';
    }

    require $pun_root.'footer.php';
}

Edit: I've put it here too. Please take your time to try to find what's wrong. Maybe I can change the installation-process or something if it helps...

198

Re: Private Message System

EXACTLY the same code. (except the line spaces - is this can be a problem?)
But MINE does not working! Strange...:rolleyes:
Only replaced with yours and everything is working fine now.

Thanks Chacmool and Connorhd. My problem solved smile
(but still curious...)

199

Re: Private Message System

I think I know why. When I opened your file in my editor (ultraedit) I saw this:

    if($pun_config['o_pms_enabled']Ê&&Ê!$cookie['is_guest']Ê&&Ê$_GET['id']Ê!=Ê$cur_user['id']){
ÊÊÊÊ    require($pun_root.'include/pms/profile_quicksend.php');
ÊÊÊÊÊÊÊÊechoÊ'<tableÊclass="punspacer"Êcellspacing="1"Êcellpadding="4"><tr><td> </td></tr></table>';
ÊÊ    }

200

Re: Private Message System

yeh same in my editor (PFE)