Support Forum

Disable User Private Message – Redirect to Another WordPress Page/URL?

BC Ben Chandler
Ben Chandler
Member

Hello, just wondering if it is possible to Disable the SimplePress User Private Message system, and instead Redirect to Another WordPress Page/URL?

 

Thanks

5 Answers

New Answer

IK Ike
Ike
Member

Well disabling the private message system is pretty straight forward.. Simply go to your WordPress Admin, and click Forum > Plugins and find in the list ‘Private Message System’. You can then ‘Deactivate’ and later of course ‘Activate’ when you want, the same as any plugin.

As for re-directing to another WordPress page, some button functions have a link argument you can use to directly take you to another webpage, but as far as I can see sp_PmInboxButton doesn’t. I will have a look in to this one for you…

YS Yellow Swordfish
Yellow Swordfish
Member

Well with the display being template driven, adding in any HTML – i.e., a new button, is a simple matter – and that can be added anywhere you want it. An example of what you are looking for would help us advise on this.

BC Ben Chandler
Ben Chandler
Member

Ah awesome thanks I totally missed that.

Oh right only if it’s not too much trouble :)

 

Thanks again

BC Ben Chandler
Ben Chandler
Member

Yellow Swordfish said
Well with the display being template driven, adding in any HTML – i.e., a new button, is a simple matter – and that can be added anywhere you want it. An example of what you are looking for would help us advise on this.

Yeah this is what I was thinking also. I can just find any reference to PM and redirect it to another page.

 

Thanks so much! Great plugin :)

MP Mr Papa
Mr Papa
Member

Andy was suggesting just outputting your own button and link… ie, in the spHead.php template file replace

            if (function_exists(‘sp_PmInboxButton’)) sp_PmInboxButton(‘tagClass=spButton spRight’, __sp(‘Inbox:’), __sp(‘Go to PM inbox’));

with something like

?>
<a rel='nofollow' class='spButton spRight vtip' title='Go to Inbox' href=http://yoursite.com/pminbox'>
<img class='spIcon' src='http://yoursite.com/yourimage.png' alt='' />
Inbox
</a>
<?php

if you dont want an image, just remove that line…  update text and urls to your needs…