![]() |
Gr8 Hack !! Aman Clicks Install !!
I see warning options on each post but when a member clicks on these links he gets no permission message. What is use of showing it when they can not view it. Is there any option which makes it possible only for admin to view those links on each post or can an admin give permissions for users to view their warnings. i am a newbie, so kindly bear with me, please guide me. Best Regards Regards |
Quote:
PHP Code:
I hope this helps. ------------ John |
That's not it though... I've changed the conditionals and my regular users can see it, they can click on it, but they can't get to the actual warn.php listing. Is it because of the 'canadmin' conditional in that .php file?
|
Quote:
PHP Code:
PHP Code:
PHP Code:
Isn't that what happens in your setup? Rgds |
I understand everything you said, and I appreciate the break down. Yes users can currently see their own warnings. All users can see "View Warnings" if that person has greater than 0 points.
I want ALL users to be able to see ALL warnings of any other user. I'm sorry to be a bother, I'm just trying to get this worked out. They still keep getting a No Permission - "you do not have permission to access this page." Error. I think it has to do with "Warn.php?do=ViewWarnings&id=3732" .... the do ViewWarnings is set up in the .php code to be associated with canmoderate. I want to separate that out so that I can set it up by usergroups as well. Does that make sense? |
Quote:
PHP Code:
PHP Code:
Rgds ------------ John |
any news on how to stop people from warning the same post twice ?
|
Quote:
Hi. I replaced the code but now when I click on "warn XYZ" or "View XYZ's Warnings" it give me this error Code:
Parse error: parse error, unexpected T_VARIABLE in /home/www/.........../Warn.php on line 278 Thx |
Quote:
You may remove that part of the code, and use it. Just replace: PHP Code:
PHP Code:
Let me know if it works. Rgds ------------ John |
Quote:
Worked like a charm, thank you so much. Stupid me, I didn't think to comment it out, I thought I had to change it to usergroups or something. Thanks again!! |
All times are GMT. The time now is 12:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|