![]() |
I ran into another quirk, it seems. The line in the navbar says "View 0 New Hidden Posts" even though I have a hidden post. Is there something we need to add for that?
|
Actually, I have a nav bar quirk too.
On most pages it says "View 0 New Hidden Posts" (with the 0 changing to the number of unread hidden posts) But on the search.php?do=getnew page it displays as "View New Hidden Posts". This is irritating as I mostly on use the get new posts link, and then have to click on the hidden posts button to see if there are any hidden posts. Also, I am not wild about the notification that a post is hidden. It might just be my custom style, but all there is is a little pending moderation button. I am guessing that the old BIG red text of This Post Is Hidden can be done, but I will have to code the change myself? Thoughts and especially assistance with these issues would be appreciated. |
Quote:
Quote:
as for the moderation queue, yeh i work on that, that's why it's still in beta :p |
Thanks for your reply.
I wil just learn to live with the quirk and will add the conditional to the post bit. :) |
Sorry, one other question. What does the Open thread tick box do?
From the code it should display as close thread (if the thread is open) and then open thread if the thread is closed. But on mine it is jammed on open thread and the bottom does nothing. Once again, am I unique in having this quirk? |
can_moderate() is more useful, however it generates a query for all non adminitrators and smods.
Stefan, it looks like the part to remove it from validation is not working 100%. |
@Zak: hence why it's in beta ;)
|
Any hope to get it for the newreply and editpost, too? ;)
Brad, any and all ideas are most welcome on this, sir. ;) |
@Bob: well on newreply, you can just add the same checkbox and it will work :)
on editpost is currently not planned, but maybe ;) |
Quote:
Don't you have it on editpost here? Or if we edit a post it stays hidden, so we really don't need it, with the inline moderation? Am I close? ;) |
I had a really freaky thing just happen. I added the following code in the newreply template right after $threadmanagement (near the bottom)
HTML Code:
<if condition="is_member_of($bbuserinfo, 5,6,7)"> |
For those who are seeking the postbit tweak which gives "This post is hidden" text here it is.
HTML Code:
<if condition="$show['moderated']"> I have put it just above: HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> If you don't know which template your forum is using, the answer is simple. If your member info is on the left (like here on vB.org) then you are running postbit_legacy. If your user data is above your posts then you are running the postbit template. ;) Hope this helps. :) |
Quote:
|
Quote:
|
Any way of not showing up as a not-moderated post? It freaks me out when I go to the admincp or my portal page and see the number of unmoderated posts.
Btw, this hack is great |
thanks for this effective hack..it's really amazin'
My question is:::: Does it work with the AJAX ??????????? bcoz when the user replies on the post using the Ajax reply option...It may not work coz the page is not going to be refreshed......!!! Can u tell us if it does work with it?????????? ' |
@Cobra: i am working on this, as it annoys me myself :)
@lordi: there is no problem with ajax, the mod takes affect on the new posting function itself, not the newreply.php |
i mean when i post a hiddent one..and the user replies with the direct reply =ajax...the page then will not be refreshed though the subject to be shown...
I tried it yesterday in the Can't see attachments Hack....and i got this result What do u say about this one? ---------------- |
hmm, that did never appear here on vb.org, and as the hiddenposts are using the moderation posts system, that error would occur on normal boards with moderation enabled as well, so i gues, it's another mod on your board which makes problems...
@all: i have uploaded a new version, only thing changed is the moderation que plugin is now changed and active, and should work I hate ajax with not showing error messages.... |
Stefan would it not be better to store the post in another state?
0 is active 1 is moderated why not use 2? active but hidden or something? Unless I'm not understanding how this works. |
Quote:
|
@Zak: nope, as 2 would show a post as deleted
the way it is now is the easiest way to achieve the goal, and it was like this since the vb2 version by chen. If i would change that, it would ned to update all other hidden posts, also would include a lot more security checks, and therefore would make installing a lot harder... |
Quote:
|
Quote:
It would seriously rock. :D |
I installed the hack, but it slowed the system down quite a bit. On a forum with typically 400-600 members online at most times of the day. Since it is installed here, I wonder what the difference is? Looking at the #'s onine right now, both here and jeepforum.com are similiar.
I installed it, did the templte edits, and boom, slow down. Undid the edits and uninstalled and everything was back to normal. It works great on the other forum though, with almost no traffic. I just thought I would share the experience. |
Very strange. It would be interested to hear what might have caused this. But I am surprised it is this hack as it just uses the inbuilt vB moderation cue. Which I would not think would slow down a system.
|
Quote:
|
Xenon , when i post a hidden a one, the user must reply to see the hidden right?
|
can_moderate could cause some overhead, you might want to replace can_moderate with a is_member_of($bbuserinfo, x,y,z)
|
Quote:
|
Every instance of can_moderate in a template causes an additional query per non smod/admin (why the modcp link was removed).
Not sure how it handles in php files. |
Quote:
|
Hmm, add it to the global_start plugin and if you have debug mode or one of those things to show info to admins it should let you know a query difference.
|
but the results are cached, so it's just one query at all additionally...
@lordi: nope, what you mean is the lock down hack or such a thing, this one, won't show hidden replys to any others, just becasue of new replys @dakuda: hmm, could be an interfering hack, or a template problem itself, for example if you have made a nicer display of the "hidden" information, but missed something (like a bg image or so) |
Quote:
|
yes it is, if you call it for $vbulletin-userinfo it uses the imodcache and just runs a query if that cache is not built already
maybe in 3.0 that was different |
It looks like I have it working but registered users can see the check box for "hidden post" is there a way that they can't see that option.
It doesn't work if they check it but it does work if my staff does. Rumor |
did you add the correct template condition?
|
Hmzz, after installing, It was almost impossible to open the forum, Everything was very, very slow......
after removing it, everything works fine again. Is this a known problem ?? |
nope.
the mod is installed here, and you can see it is working flawless and very fast if your forum got slow, have you tried, to browse as a normal user? was it slow for them as well? because if it's just slow for users with permissions to hide posts, it may be a missing index on a table... |
All times are GMT. The time now is 05:53 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:
|