1
Will_h2
Re: Private messages
  • 2008/4/6 18:41

  • Will_h2

  • Just popping in

  • Posts: 1

  • Since: 2008/4/6 1


I would use a little smarty to remove their ability to send pms.

<{if $xoops_uid == '10024' or $xoops_uid == '10'}>
<{
php}>die('You are not allowed to use this feature');<{/php}>
<{else}>
original template here
<{/if}>


You could even add a little redirect, or javascript return.

What this does is check the xoops-uid, and if it is "10024" or "10" they will not be able to access that part of the site...

get it?




TopTop



Login

Who's Online

135 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 135


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits