![]() |
nope, currently not, and i don't have much time these days for releasing new versions.
it's on my plan of the vb3 version, but for now you have to update threadcounters if you want to change the dateline of a thread |
Thanks for your answer.
Well, In fact I tried to update all counters (except search index reindex) and still vbhome did show the non modified date. Cordially, Sharg |
Quote:
Add: PHP Code:
PHP Code:
|
Quote:
|
Boofo: yes, because the forum and the thread tables have to be updated, it will add queries :)
so make sure they're just called if you've done an admin edit ;) |
Quote:
And where do I need to put them to only do it after an Admin edit? Right now I have them below: PHP Code:
|
it will add 4 queries per function so in sum 8 queries in total
the position is right, but you should put it into an if block so it will just be executed if you're an admin :) |
Quote:
PHP Code:
Also, is there a way to make a checkbox that when ticked will update the post with the current date and time that you are editing the post (like a newreply or newthread) and if not ticked, will just update it as normal (like if you manually change the date or time)? |
Quote:
|
@nhl: as it's not a problem with my hack you should start an sepearat thread if you have such problems!
@boofo: correctly that was what i meant ;) look into functions.php to see why so many queries are needed ;) also yes it would be possible to add a checkbox for that, but i don't have any time to work on this these days... |
Quote:
|
i've just d/l it
i'm gonna install later in the evening thanks for this hack ;) |
first of all great hack!
But just a Q to make this all available to Mods & Supermods: is this piece of code properly modified to give them access aswell? PHP Code:
|
yes it seems to be right.
but it's not the only part to change you know, do you? |
Aha, that should be the reason i presume. Thanks for pointing that out Xenon!
But where should i apply the same modifications aswell? Sorry for this extra addition request towards your already (IMO almost perfect) hack |
the most important part to change the bbuserinfo into the in_array version is here:
PHP Code:
PHP Code:
|
Thanks Xenon! Hmm it doesn't seem to work somehow, no extra 'edit post' options for moderators nor Super Moderators.
No errors either, works for admin's though... Here are the actual code i used: PHP Code:
And ofcourse this one: PHP Code:
|
you have forgotten the first one where the extra template is loaded :)
|
Yes you are right! Thanks!
I am not worthy!* ;-) *Takes of his hat and bows his head for Xenon |
Thanks for this great Idea to code this!
Installed. @Aaron1: Can you please post the complete moification you did? Thanks at all Thoki. |
help me please, when i set it so that only mods/super mods/admins can edit posts and save it, it reverts back to author/mods/super mods/admins. i dont think ive got this line of code either :
PHP Code:
where is it supposed to be? |
if this line isn't in your editpost.php you haven't followed the install file correctly.
do so and the hack will work. |
that lines not in the install file, at least not in mine.... where abouts in editpost.php is this line supposed to be?
if i PM you my editpost.pm file can you have a look at it please? |
it's very visible in the install file:
Quote:
and no i don'T do private requests right now |
ok i do have that line, but im still getting the problem on my forums, can you suggest something please? ive tried re-installing the hack but the error still comes up, help.
|
hmm, are you sure you have made everything correct now?
it sounds like it doesn't save the changes to the post be sure PHP Code:
and i mean the " . $adminsql . " part of it. if that's not, then i don't know what else could it be. |
its there, could it be a template problem?
PHP Code:
|
the template seems like it should, so it shouldn't be a template problem.
i hope you can fix it yourself, as i cannot reproduce it, and therefore also cannot fix it. |
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:
|