REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MYPS Restriction
#1
I've made a "plugin" for making MYPS usefull, at least i hope =D, until other mods get released. It's based on my other plugin, min. posts for making a new thread, so with this one you can add restrictions ( a min. MYPS ) for viewing a Forum. When you activate, it will add a new link to the AdminNav of MYPS.
[Image: admin_nav.jpg]

When you click on it, it will return this "page".
[Image: admin.jpg]

Install Notes ::
Code:
Install ::

* Upload min_myps.php to your /inc/plugins/ folder.
* Upload min_myps_admin.php to your /admin/ folder.
* Upload delete.gif and edit.gif to your /images/ folder.

* Go To Your PluginManager And Activate The Minimum MYPS For Viewing A Forum Plugin.
* Go To Your Settings ... Look Into MYPS Settings And Set The Status For Min. MYPS For Viewing A Forum To YES.


Attached Files
.zip   Less than 1 minute ago">MYPS_RES_FORUM.zip (Size: 6.27 KB / Downloads: 18)
Reply
#2
Excellent.  I will have to check it out but that's exactly how I see good plugins for MYPS.  I am glad I didn't make this part of core.  Smile

fyi...I am almost done with 1.09 and it has a lot of additions to it.

EDIT: So far just one comment...on the admin nav function you don't need to do it they way you did...try this:

PHP Code:
global $menu$mybb$lang;
    
$menu[270]['items'][] = array('title' => "Restrictions"'url' => "min_myps_admin.php?".SID."&action=main"); 

Basically that should work just fine to add the line to menu array 270 (myps).
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  MYPS Mybet labrocca 21 15,116 May 04, 2016, 06:08 PM
Last Post: hsnayd55
  Modded Download Section with MYPS labrocca 22 14,166 Mar 27, 2012, 01:40 PM
Last Post: royal_earner12
  Myps for Arcade problem AN Adam 1 4,090 Jul 22, 2010, 01:38 PM
Last Post: prizehubs
  MYPS Profile Shop labrocca 9 6,603 Apr 22, 2010, 07:32 PM
Last Post: scarface
  Minimum MYPS For View Attachment && PPV. labrocca 6 5,357 Aug 25, 2009, 01:25 PM
Last Post: D00MR4ZR

Forum Jump:


Users browsing this thread: 1 Guest(s)