![]() |
Is this post reported?
This mini mod checks if a post is reported and if so, it displays a link to the report thread to your mods/admins.
NO QUERIES NO TEMPLATE EDITS Just import the product and you're done! Support: Supported for a few days after each release Don't forget to mark as Installed! :) |
Doesn't this already do what this hack does? (and in a neater way as well, in my opinion)
https://vborg.vbsupport.ru/showthread.php?t=148684 |
Oops! Hadn't noticed that. :(
|
Both modifications go about things in a differnt way however.
|
I actually like the image to be in the postbit area (different image of course) so I suppose both have their advantages (I would modify the text for an image tho. Thanks for sharing
|
Personally I like that way more, its easier to spot and it still allows other reports to be made (if for any reason a mod wants to make one). :)
Also my hack doesn't need any template modifications ;) |
Great hack michelle, nice work :D
|
can u do this for versions less than 3.6.8 please?
|
Which version do you have?
|
3.6.4 & 3.6.5
not upgraded yet as ours is too heavily modded & we're a bit lazy :) |
Hi Michelle
just a question. Is there anyway to remove the report button once a post has been reported to stop others reporting it? |
Quote:
HTML Code:
<if condition="$post['reportthreadid']"> |
Quote:
HTML Code:
<div> HTML Code:
$template_hook[postbit_userinfo_right_after_posts] |
michelle that won't work, because when I try to import your product it says:
The following dependencies were not met: 1. This product is not compatible with version 3.6.4 of vBulletin. (Compatible starting with 3.6.8) |
And I was wondering yesterday in which hack I had put a dependency :p
Ok, I'll post later an xml without the dependency. |
thanks :)
|
Removed the dependancy below:
|
Quote:
Hi Michelle, Which part would I wrap it around? Something here? lol Quote:
Thanks for any help :) Install |
Oh, since its already in a conditional, then just change:
HTML Code:
<if condition="$show['reportlink']"> HTML Code:
<if condition="$show['reportlink'] AND $post['reportthreadid']"> JayJay, thanks for that, you just saved me time for developing my new hack ;) |
Quote:
I replaced that code but it still shows for members after a post has been reported :( |
Oops, my mistake.
Its AND !$post['reportthreadid'], I forgot the exclamation mark in front. |
The text is not showing up. Is there something I can add to the postbit legacy?
VB version 3.6.8 |
Quote:
|
That didn't work. What i found was $template_hook[postbit_userinfo_right], I changed it to what you posted above and still not showing.
|
Quote:
Please change the hook as it was and follow the instructions in post #13. |
Quote:
Thank you Michelle That worked great :D |
Is there a way for the message "This post has been reported" (as a non-link) to be displayed to registered users so that multiple users do not report the same post?
|
Yes, it should be quite easy, but I don't have the time right now to look at the code and tell you. I'll come back later if you haven't figured it out yourself by then.
|
Quote:
PHP Code:
PHP Code:
HTML Code:
<a href="$vboptions[bburl]/showthread.php?t=$post[reportthreadid]">$vbphrase[ereports_reported]</a> HTML Code:
<if condition="can_moderate()"> |
but icant see post report text in postbit template only postbit_legacy :(
|
Quote:
Sorry, I forgot. |
Bah, I over-looked the vB version (Im running a 3.6.5) But thanks anyhow for getting back to me!
|
is there anyway i can change color and make it bold and bigger font size so it can easly be noticed...and i want it to be at botton no in middle..is there anyway u can help sir..thanks in advance
|
All times are GMT. The time now is 02:16 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:
|