Filter Menus: Guest-only / View only gallery Filter Menus: Guest-only / View only gallery
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Filter Menus: Guest-only / View only gallery

Started by AndyDragon, March 08, 2006, 02:38:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AndyDragon

I have been using this software for about a week or so now, and just started to read about the plug-ins.  There is one area which I think is missing to achieve important filtering outside of the core (via a plug-in) and that is the sys and sub menus.

I have created a small mod which I propose makes it into the core code to allow plug-ins to filter both the sys and the sub menus.

http://photoworld.andydragon.com/Files/Plugin_Menu_Filter_Mod.zip contains an EasyMod-style mod file and an example plug-in which turns the software into a simplified guest-only, view-only gallery.

Joachim Müller

Renamed this thread from
QuoteProposed plug-in mod...
to
QuoteFilter Menus: Guest-only / View only gallery
and attached the file to the thread in case the link goes down.

stormtrooper

Works fine for me after using these two plug-ins:

NoSubMenu v1.0 Author Donnoman@donovanbray.com from cpg-contrib.org
Disables SubMenu unless you are logged in as an admin
     
Final_Extract v1.0 Author Donnoman@donovanbray.com from cpg-contrib.org
Removes specified template blocks from final output





Just as suggestion:
would it be possible that with the implemention of the plug-in, the admin could specify which links to show/block?

in my case:

guests: no sys/sub menus at all
members: login, upload, newest comments
admin: all menus