Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Detector


clarocque

Recommended Posts

I need to hack a code that shows and image or button if the user logged into the admin panel is a top admin (id 1)

 

I need something like this:

 

if (the admin logged in is from admin_group_id ='1') { echos' bla...bla..bla...

 

But I have no ides where or what the admin variables would be.

 

I have

Admin With Access Levels 2.1

Author: Zaenal Muttaqin

Updated for MS2 by Seth Lake

 

installed.

 

Thanks for any help - anone ?

Edited by clarocque

osC Contributions I have published.

 

Note: Some I only provided minor changes, updates or additions!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...