Isn't that also a setting you can turn off in the board settings?
No, that setting makes it publicly viewable. However, you can control this with Administrator permissions so you don't need an IF statement or to remove it unless there is some other reason behind the original author's thinking.
No, that setting makes it publicly viewable. However, you can control this with Administrator permissions so you don't need an IF statement or to remove it unless there is some other reason behind the original author's thinking.
Oh, ok, I see. But I'm curious now. What permission would you set so other Admins can't view it (if that is what you meant)?
Oh, ok, I see. But I'm curious now. What permission would you set so other Admins can't view it (if that is what you meant)?
In your AdminCP under Usergroups, select Administrator Permissions. Then, set Can Run Maintenance Tools to No (see attached screenshot). However, this will also prevent the selected Administrator from doing: Database Backup, Repair/Optimize Tables, Update Counters, Diagnostics and Execute SQL Query as well. You can use the provided if statement above to selectively restrict access if you so desire.
Quote:
Originally Posted by Mr. HillBilly
Why dont you go bug someone elses hack thread?
Wow, nice attitude.. you're going to go far here.
Please forgive me for my previous posts in your thread, I assure you, it will never happen again.
Thank you for your contribution, and keep up the great work!
OK, since Magnus has been chased off, I have to ask:
How exactly is this useful?
This isn't really a code modification. Its a code deletion. It doesn't add any new functionality to the site, so it *seems* that this is just a code "modification" for the sake of creating a hack.
<snip> so it *seems* that this is just a code "modification" for the sake of creating a hack.
Spot on. All I can derive from Hillbilly's posts is that he's trying to get a hack on his name, no matter how unnecessary, and gets pissed when someone points that out to him.
This really should be moved out of the Code Mods for vB3 category. And maybe placed in a new section "Guide for new hackers: what NOT to do"
Spot on. All I can derive from Hillbilly's posts is that he's trying to get a hack on his name, no matter how unnecessary, and gets pissed when someone points that out to him.
This really should be moved out of the Code Mods for vB3 category. And maybe placed in a new section "Guide for new hackers: what NOT to do"
Well at least his hack is here, I released a hack a week ago and it was removed without any notice or anything
There is a difference bettween Template Mods and Hacks. Technically this is a hack as it changes code, yours was a template mod which doesn't belong here.
There is a difference bettween Template Mods and Hacks. Technically this is a hack as it changes code, yours was a template mod which doesn't belong here.
How about we keep this on topic now?
Yes, let us indeed keep this on topic. The topic of how much this 'hack' is unnecessary and can be done without file modifications and thus should be removed from this particular category.
Yes, let us indeed keep this on topic. The topic of how much this 'hack' is unnecessary and can be done without file modifications and thus should be removed from this particular category.
Agreed.
This type of hack should be moderated save you will see an influx of coders that will remove an option from the AdminCP just to become Adv. Coders.
This type of hack should be moderated save you will see an influx of coders that will remove an option from the AdminCP just to become Adv. Coders.
Well, it won't make them Advanced Coders. It's highly unlikely that a lot of people will install these sort of hacks, and you need a very high People Installed vs. Amount of Hacks Released ratio before you'll become Adv. Coder.
So the new titles by Stefan have some good effects, but I don't think that that's what people like Hillbilly are after. Having a few very good hacks doesn't necessarily get you as much 'fame' as having a ton of hacks that do little more than just work.