![]() |
I like this hack, but it broke my 'reported post creates new thread' for staff members - and the same for GARS, so I've applied a small fix to my copy of the hack.
In the AEO 'init_startup' hook ; Find ; PHP Code:
PHP Code:
PHP Code:
|
Quote:
|
For some reason, since installing this, the owner of some threads seems to get changed, it's only threads that a mod/admin has posted in, and they become the owner (also, only the thread record is changed, not the first post). There is no pattern I can see (yet), and it's only about 1 a day so it's not a major problem. I'm curious more than worried atm, not really had any time to investigate what might cause this yet. :confused:
|
Ok, please keep me updated.
|
Okay - if an administrator edits a post (full edit, not ajax) then when the edit is saved, the thread record gets altered - changing the thread starter to the member whose post got edited.
e.g. ; Member A creates a new thread - in the forum thread listing they are shown as the thread creator and last poster. Member B now posts in that thread - Member A is still the creator, Member B is the last Poster. An administrator now edits Member B's post (full edit, not ajax) and saves it. Now, Member B is shown as the thread creator, and the last poster. If you view the thread, the first post is still Member A |
Okay, thanks. I'll look into it.
|
Cool hack, but I got:
Quote:
Thank's... |
Plugin System->Add Plugin
|
Other feature request:
- Enable/Disable on selected forum |
Fantastic hack. Will install.
|
Hi
I did try this but as it conflicted with the GARS system i had to uninstall... Bloody shame mind as its a great hack :) |
This hack does not conflict with anything. Other hacks conflict with it. :)
Also, about the 40 queries or whatever: I just realized what was causing it. These are the editlevels that are calculated for each post (which is done for the purpose of hiding the edit button on uneditable posts). Right now, the way to avoid too many queries is to have less posts per page. Later, I'll fix the problem by removing the calculation (which will cause a print_no_permission() to appear) upon an attempt to edit an uneditable post, but that's better than queries. |
Quote:
|
No, it's not a view.. it's a fact.
If I make a hack in a way that ensures that it would not conflict with other hacks, other hacks can still be done in a way that will conflict with any other hack. Here is a simple example: My hack works, but someone else wrote a hack that contains an "exit;" statement at "global_start". My hack would not work with such hack, obviously. But is it my fault? |
Quote:
|
Of course they will :) But that does not change anything.
|
<font size="3">NEW RELEASE: 2.0.1</font>
To upgrade, simply overwrite the product XML. |
was this problem fixed in the new release?
|
Yes.
|
Quote:
ffs |
Do you get any error messages?
EDIT: Use this http://www.vbulletin.com/forum/showthread.php?t=148082 to disable hooks, then re-download and overwrite again. |
Quote:
|
Are you sure you have downloaded a fresh version? Because it has another minor change in the editpost_update_thread hook.
|
I downloaded it when you first posted the update, I take it from that reply that you've updated again since then - I'll get another copy. :)
|
Yes, please do.
|
Done, tested, (and yes - fixed). :D
|
seems something else must be conflicting with it on my board......version 2.0.0 works fine, but the 2.0.1 version totally borks things up.
btw...the added code into global.php to disable hooks works fine......thxs for the tip |
Can you be more specific about how "2.0.1 borks things up"?
|
sorry m8...lol
it gave a parse error at the top of my index page....something to do with global.php, as ive now fixed it, i cant tell you what the exact error weas.... also, it totally locked me out of the admin cp...giving me the error about cookies, and the header??? sorry i cant be more specific, but as i said, i got it fixed now......uninstalled it, and re installed 2.0.0 |
Are you sure that you have downloaded a fresh copy of 2.0.1 after this post?
https://vborg.vbsupport.ru/showpost....&postcount=223 Because I've updated the package once more after I announced about the update. |
Quote:
I like to remove users - edited by- if irrelevant. It'd be a great time saver, compared to ... AdminCP > Maintenance > Execute SQL Query > Paste ... DELETE FROM editlog WHERE postid = 3389 > Continue ... Mark :) |
Ok. :)
|
How to enable it on GARS?
I already put $adv_editform code in GARS template but not shown, btw I use Paul code hack also. Thank's... |
I don't know what GARS is, so I cannot help you on the matter.
|
Quote:
Released here: https://vborg.vbsupport.ru/showthread.php?t=108514 Thank's for any help :) |
Ok, now, I am not providing integration with any 3rd party addons.
By the way, if you have the last version of adv.editing options installed, you don't need paul's global[] hook anymore. |
It's work after I remove Paul code :)
Thank's Psionic Vision |
Quote:
|
Hi Paul,
I'm not try newthread yet, but edit thread in GARS is work. |
I'm referring to creating new threads. :)
|
All times are GMT. The time now is 02:01 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:
|