![]() |
Hi, Xenon!
I am using your Editing Hierarchy Hack (quite happily, I might add) , and as such - I have no need or desire to install the Edit Permissions portion of this particular hack. However, I do need the other features - specifically, the ability to edit the Author, Timestamp, IP, etc... What portions would I need to keep/remove from your Instructions in order to do this? Thanks! :) |
well, you have to remove the selection menue from the additional template, and then in editpost.php all you have to do is to change
PHP Code:
PHP Code:
|
Hmm... well, since this will only be used for Admins, I think I can trim out quite a bit more in order to keep things efficient.
For example, I think I can remove the entire Permission Checking routines (in addition to the Database Modification), by simply enclosing the Template additions like so: Code:
Yes? If so, than I should be able to remove a good section of this hack. I have made an absolutely amateurish attempt at doing so. If you happen to have the time, and are in the mood to do so - I would be grateful if you could look over my revised version, and tell me just how badly I screwed up. <grin> |
erm, you shouldn't hardcode the usergroupids, that's why i used the editlevel things.
as for the rest, there is no need to struck out much, the better efficiency is not remarkable, especially not for the prize to work on that more time than really needed to achieve the goal ;) |
Quote:
So, keeping that in mind - did I actually alter the original code correctly? Or did you notice something that I missed? (p.s. thanks for taking any time at all to look at it! ) :) |
well it seems you trimmed way too much, as there is an ending } but not an opening one....
as said, just do the changes i suggested and you will be fine. |
Quote:
So, clearly, I must have missed something. I guess I'll just have to spend some more time on it when I get the chance. :) Great hack, though! I can't wait until I get this ready for use. :) (Yeah, I know - I'm making this hard on myself - I can't help it. :nervous: ) |
*gg*
well i wish you good luck then :) Your way will be very hard, but then on the other hand you will know each line of the code afterwards, good for upgrades :p |
Quote:
However, if, 20 or 30 years from now, you should happen to choose to ruin my "fun" by telling me what I missed - I just want you to know that you shouldn't feel too bad about it - I won't hold it against you. :) :) :) |
yeah, in 20 or 30 years, with vb10 ;)
|
All times are GMT. The time now is 01:04 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:
|