Hidden access to Login from navbar Hidden access to Login from navbar
 

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

Hidden access to Login from navbar

Started by bobmiers, November 07, 2015, 12:27:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bobmiers

Hello everyone,

Environment:  CPG 1.5.38 being used on a single page of a WEB site under development and being tested on Localhost (XAMPP) using the contributed theme curve_altmenu. 

With AndrĂ©'s and gmc's help I am able now to go directly to the intermediate page of CPG working as desired.  I have succeeded in removing several items from the navbar that I don't want guest users to see. Namely: pic_info and the "File # of #" text. I have left the "back to thumbnail", "SlideShow", and the photo navigation buttons.

Desired conditions: to be able to access the "login" function for the "Admin" and "Registered" users.  Only the "Admin" and "Registered" users will be permitted to upload/delete photos.

Preferred method: install the "login" function as a button on the navbar and then hide the icon while leaving the functionality there.  The Admin and Registered users will be told where to click on the page to access the "Login" function.

I have spent a considerable amount of time searching the Blog and trying several different methods, but nothing seems to work for me.

Question:  I assume that it is possible, but I need the advice of the CPG experts.  If possible, some hints please!

As always, any help will be greatly appreciated.

Bob Miers

PS I am attempting to comply with the "credit" policy by leaving the CPG footer on the actual page where CPG appears and I have added the CPG logo to the sidebar of my site template. As such, it will appear on every page of the site.  See the attached screen capture of the bottom of the sidebar. If this doesn't comply, let me know.

ron4mac

Why not just have no login in the nav bar and tell the admin and registered users to access the the site as <site url>/login.php?

bobmiers

Greetings ron4mac,

I thought that I had tried your suggestion....I suspect that I left off the ".php".

Anyway, it works.

Thank you much!!!

Bob Miers