![]() |
you should use the original format i used in the hack ;), at least till i upload a new version ;)
i think i'll update the hack next days, so changes of dateformat would be easier... but to fix it so it'll work with your format would be very very hard, i'd nearly say impossible, because the php-function mktime() doesn't work with string variables (for months) i have to look if i'll find a way ;) |
Ok, I went back to using:
PHP Code:
|
new version is nearly finished and it'll have one extra function, you'll love it ;)
|
I pretty much like most of your hacks, so loving the new function is a given. :) But will it have the date option fixed? And also, since you are working on it, how about putting the uers's name after the ID numberr so we can see who's number matched to what name? :)
Quote:
|
Boofo: too late, new version is released now ;)
It's not compatible with your dateformat, but it's very easy to change it into american format now ;) you just have to edit template admineditpost ;) Putinng the username after the id, is very easy but not so usefull, because if you change the userid, the name wouldn't change in editscreen ;) New feature: You can make post uneditable for the original normal user :) |
I didn't mean to make it so the username was editable. It would just be nice to have a name to match the id number. :)
I like the new feature! ;) But can it be made so if the Admin makes it not to be edited, that NO ONE can edit it unless it is the Admin, not even Mods? And how do you make the numbers go to the right of the box if there is only one in it. Like a 6 for the month. It goes to the left with no 0. It would look better on the right. :) |
yes i thought though, too but it's the way editpost.php handles admins/mods: it just looks for mods and defines all admins as mods....
perhaps i'll make it only admineditable next time ;) i know it would look better, but i think thats an html code problem and i don't know html very well ;) for username: try to put an $postinfo[username] into your Admineditpost template after the enterfield for userid ;) |
Quote:
I see you added the "cant edit if admin selects" function:) Satan |
hehe satan i do what i can ;)
boofo what about a sort of edit priority? i.e. Editably by: Admins, Supermods, Mods, originial poster and all users *ggg* |
I thought that only Admins could edit that at the moment...
I tested a Mod account, and they cannot access that or any of the functions... Satan |
One question, is the time issue that was debated for 4 pages fully fixed in this new release?
Thanks :) |
@sKunk: yes it is completly fixed in this new release!
@Satan: Yes, just Admins got this higher functions, but if you selected editable == no mods could edit the posts @All: Version 2.20 released five Minutes ago. It has a sort of Priority edit function in it instead of the normal editabal/not editable by users hope you'll love it |
Cool!
Installing that now:) Satan |
Erm...I think you forgot to add the :
error_editpriority to the templatesused... Satan |
yes i thought so too, but none of the errortemplates is in templatesused so i didn't put it into ;)
|
Oh right...
It works great thanks:) Really great update:) Satan |
Excellent work, Xenon! Almost perfect. :) Is there any way to make it so if I wanted the Author to be able to edit it and the admin or supermod, but not the mod, can it be done? :) Also, would it be hard to pull the host name out for the IP address if there is one? :) (Sorry...:))
|
Hmmm...
Aha! Xenon - Maybe you could make it checkboxes instead of Radio buttons...That way you can tick who you want to be able to edit it... Satan |
That should be able to be done with radio buttons too. :) They actually look better.
Quote:
|
But isnt the point of Radio buttons to select one or the other?:confused:
Satan |
I've seen them used both ways. They do that alot with on-line quizzes and surveys. :)
Quote:
|
Boofo: i won't include that, because i think such wishes are personall wishes not used by many others, but i can tell you how to do it k?
template admineditpost after Code:
| <input type="radio" name="editable" $editable[0] value="0">Admins Code:
| <input type="radio" name="editable" $editable[4] value="4">Author/Supermods/Admins find: PHP Code:
PHP Code:
PHP Code:
that should do the trick hmm, ip-decoding? i'll see what i can do, i have no idea how that works, i'll look into it ;) |
have to say i found a very small bug.
It just occurs if you allow guest posting... to correct it replace this line: PHP Code:
PHP Code:
Also i'm thinking of a funny enhancement: Make a Post editable by all Members and make it editable by guests *gg* Editable by all members could perhaps be usefull for clanboards in a announcement thread or something like that, the other ist just to play jokes on users ;) are there some feature you want have included in this hack? because i think this was the final version all other things aren't needet anymore? |
That could be kindof dangerous on a board, even as a joke. :) I like the hack just the way it is now. :)
Quote:
|
I think that would be funny lol, but dangerous as Boofo said...
I can just think of one more thing : Edit the user's Signature, and save it as their signature (either for that post, or throughout the site) Satan |
Thank you, sir. That's why I like installing your hacks, you're one of the few authors who will go that extra mile to make your hacks personalized. :) Great job! ;)
Quote:
|
Yep!
I installed it too!:) Must have more hacks...Must have more hacks...:D Satan |
satan you're addictive to hack right? ;)
@boofo: you're welcome ok then that was the final version i think @satan: hmm, that wouldn't affect the post-table but the usertable, so i think it shouldn't be in the editpost.php ;) |
Xenon,
You're going to strangle me here in a minute, but it seems that no matter which radio button I pick now, it gets set at the Admin radio button for editing after I re-save the message. :) I followed your instruction on the add-on and double-checked everything. Sorry. :) |
[high]* Xenon strangles boofo ;)
[/high] you were right, i made a little mistake in the template change i told you. recheck it now, i've edited it ;) you must replace one little 0 with a 4 ;) |
This is the change you were talking about? The value variable? That is the only change, right? :ducks: :) Thank you, again, sir. :)
PHP Code:
|
Oh-oh, I'm in trouble now. It still keeps defaulting to just Admin being able to edit it no matter what I pick. :)
Edit: If I leave it alone and don't change it, it will stay on Author. It will only always default to Admin if I change it from Author. Any ideas how to fix this, sir? :) |
sure you apllied all the changes correct?
i don't see the possibility to get that weird bug.. recheck that you surely have this line: PHP Code:
|
Here's the line I have for that. there is a small difference, bit it should cause it to act wierd should it?
PHP Code:
Quote:
|
And here's my admineditpost template, as you requested. :)
PHP Code:
|
damn, boldtags should have been parsed not shown as tags *gg*
hmm, i don't see a bug in this code, it should work perfectly.... |
I just took out the code for the extra option you wrote for me and it still defaults to Admin, no matter what I pick. So it wasn't that extra code. Is anyone else experiencing this?
Quote:
|
sure you have installed everything correct?
i'd say restart with an unhacked editpost.php and install it again this shouldn't happen and it doesn't happen on my board and my testboard... |
It must be that Boofo didnt do something, or did something wrong...
It works fine at my boards:) - And I followed Xenon's instructions, just as you did/should have done Boofo... Satan |
hellsatan: For your information, sport, I did it EXACTLY as per the instructions and never had a problem with the hack until this final version. Everything else in it works great. I wasn't something I did or didn't do. Maybe I have another hack messing with it, I don't know.
Xenon: I could do it with a fresh editpost, but then any other hack I have installed concerning the editpost.php would not work and I have installed too many hacks to remmeber which ones deal with that file. Is there any way to go back to the hack before you added that part since it won't work for me? If you want to look at my editpost.php, I would be more than happy to pm it to you. You might see something I don't see. :) Quote:
|
All times are GMT. The time now is 04:17 AM. |
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:
|