Author |
Message |
mvillamizar
Regular


Joined: Nov 02, 2004
Posts: 54
Location: Colombia
|
Posted:
Thu Dec 23, 2004 10:13 am |
|
Hi Raven,
I want to have in my site de news module working, but only de admin is the only one how can create news.
The news module is active and everyone can see it, the submit news module is active and only de admin can use it, but when I try to use any of this two modules I've got the access denied messege.
I have tried this:
Code:
f (!eregi("modules.php", $_SERVER['SCRIPT_NAME']))
then you change it...
if (!eregi("modules.php", $_SERVER['PHP_SELF']))
|
but still the same, what else can I do?[/code] |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Dec 23, 2004 12:36 pm |
|
Why not just make it invisible? Out of site, out of mind  |
|
|
|
 |
mvillamizar

|
Posted:
Thu Dec 23, 2004 1:03 pm |
|
|
|
 |
Raven

|
Posted:
Thu Dec 23, 2004 2:32 pm |
|
In the administration panel for modules, edit Submit News and find this setting:
Visible in Modules Block?
Set it to No. |
|
|
|
 |
mvillamizar

|
Posted:
Thu Dec 23, 2004 2:46 pm |
|
Done....but still the same problem
What else can I do? |
|
|
|
 |
Raven

|
Posted:
Thu Dec 23, 2004 2:51 pm |
|
Then I'm not understanding the problem. If the module is no longer visible how can they be submitting it? Remember that you have to log out as admin to see what a guest would see. |
|
|
|
 |
mvillamizar

|
Posted:
Thu Dec 23, 2004 4:03 pm |
|
well now the submit news module is only visible to the admin and is working, but when I tried to see the messeges sended for admin aproval, I can't see it cos access denied problem.
is there any way to publish it without admin aproval, in this case the admin is the only one who can publish a news. |
|
|
|
 |
Raven

|
Posted:
Thu Dec 23, 2004 5:45 pm |
|
I am confused. You saidQuote: | I want to have in my site de news module working, but only de admin is the only one how can create news. | By making it invisible and/or for admins only, it seems that solves your problem. What am I missing? |
|
|
|
 |
mvillamizar

|
Posted:
Fri Dec 24, 2004 8:06 am |
|
I'm going to try to make my self clear, before hand excuse my English!!!
At the moment the situation is the following:
The news module is active and visible for every one.
The submit news module is active and visible only for admins.
The submit news module is working and I have submited some news already, but when I try to use the submissions module from the modules administration to aprove any news that has been submited, I get access denied. So no news have been published so far.
As well, when I try to access the news module or icon on the modules administration I get access denied.
I hope that this time the problem is much clear.
Thanks a lot Raven!! |
|
|
|
 |
|