1
jlm69
Admin Section code help
  • 2005/3/24 19:49

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I have created a new group, I want them to have admin priv. for just some of a modules functions, I have done that through the module but the module icon on the left of the page still allows them access through the popup menu, How can I get rid of the popup in the admin section?

Thanks in advance
John

2
jlm69
Re: Admin Section code help
  • 2005/3/24 23:17

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


***** Bump ******

3
Dave_L
Re: Admin Section code help
  • 2005/3/25 1:21

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7



4
jlm69
Re: Admin Section code help
  • 2005/3/25 1:31

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Thanks for the reply but there is no line like that in my cp_functions file. That must be for an older version, I am using 2.0.9.2. I tried commenting out these lines


$js .= "function popUp" . $layer_label[$cnt] . "() {\n" . "shutdown();\n";
for ($i=1; $i<=$tree[$cnt][0]; $i++) {
$js .= "popUp(\\\"" . $layername[$i] . "\\\",true);\n";
}
$js .= "}\n";


and that didn't do anything either. Thanks again but any other thoughts.

John

5
Dave_L
Re: Admin Section code help
  • 2005/3/25 1:35

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Are you sure you're looking in the right place? I have 2.0.9.2, and that line is in my include/cp_functions.php.

6
jlm69
Re: Admin Section code help
  • 2005/3/25 1:43

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Ifound it thanks, I must have been looking for that in a different file from another site. Thanks again that worked great.
John

Login

Who's Online

246 user(s) are online (192 user(s) are browsing Support Forums)


Members: 0


Guests: 246


more...

Donat-O-Meter

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

Latest GitHub Commits