PDA

View Full Version : Change "Report Post" Icon?


Nelson58
01-23-2014, 08:28 PM
Hi guys,

Members of our forum are accidentally clicking on the "report post" icon,https://vborg.vbsupport.ru/images/cstyle/blue/buttons/report.gif thinking it submits the post.

Is there any way I can change the icon to the words "Report Post" or another icon I make so that this does not happen?

Thanks!

Nelson
www.Hobby-Machinist.com

--------------- Added 1390572947 at 1390572947 ---------------

Anyone, help please?

--------------- Added 1390592905 at 1390592905 ---------------

Anyone?

Max Taxable
01-24-2014, 08:55 PM
It's not a problem anywhere I've seen. And with you using the default vBulletin style, I can't see how it would be for you either.

When they hover over the icon, it tells what it is. It says "Report This Post." If they click it, they are taken to a form to fill out about reporting the post.

They can't learn from this, use the back button and proceed with their post?

Lynne
01-24-2014, 09:15 PM
You could create a new report.gif and upload it and then changed the CSS for ".postbitlegacy .postfoot .textcontrols a.report, .postbit .postfoot .textcontrols a.report" and ".postbitlegacy .postfoot .textcontrols a.report:hover, .postbit .postfoot .textcontrols a.report:hover" to point to your new image.

Nelson58
01-25-2014, 12:17 AM
You could create a new report.gif and upload it and then changed the CSS for ".postbitlegacy .postfoot .textcontrols a.report, .postbit .postfoot .textcontrols a.report" and ".postbitlegacy .postfoot .textcontrols a.report:hover, .postbit .postfoot .textcontrols a.report:hover" to point to your new image.

Lynne,

Thanks very much- that is what I will do. I did notice that there was an image named report-40b-hover.png and report-40b.png in the images/buttons directory. I presume those are the images in question. If I simply replace the images and use the same names, I presume I won't have to change the addresses in the templates.


Nelson

Max Taxable
01-25-2014, 12:19 AM
What do they put in the report form? Just curious.

ozzy47
01-25-2014, 02:40 PM
Lynne,

Thanks very much- that is what I will do. I did notice that there was an image named report-40b-hover.png and report-40b.png in the images/buttons directory. I presume those are the images in question. If I simply replace the images and use the same names, I presume I won't have to change the addresses in the templates.


Nelson

That would be correct. But do remember each time you upgrade, you will have to replace those images, as loading the new files to your server will restore the icons to their original ones. :)

Mr_Running
01-25-2014, 03:50 PM
Perhaps, when uploading the new file images make them Read only ...un-check Write this will help/prevent them from being over written. :)

Nelson58
02-01-2014, 12:36 PM
People are STILL clicking the icon.

Can one of you experts please tell me how to MOVE it someplace else on the thread or even to HIDE it in a particular forum (that newbies visit to introduce themselves).

Thanks!!

ozzy47
02-01-2014, 12:57 PM
Ok do this to hide it in the forums you don't want it to show.

ACP --> Plugins & Products --> Add New Plugin

Product: vBulletin
Hook Location: postbit_display_complete
Title: Hide Report Post Icon
Execution Order: 5
Plugin PHP Code:
if(in_array($forum['forumid'], array(X,X,X)))
{
$show['reportlink'] = false;
}

Change X to the forums that you want to remove the icon from.

Max Taxable
02-01-2014, 01:13 PM
Members of our forum are accidentally clicking on the "report post" icon,https://vborg.vbsupport.ru/images/cstyle/blue/buttons/report.gif thinking it submits the post. They are clicking on that, reporting their own post, after their post is posted in showthread?

I don't understand this problem, forgive me. Glad to see Ozzy provided a plugin.

Nelson58
02-01-2014, 02:33 PM
Ok do this to hide it in the forums you don't want it to show.

ACP --> Plugins & Products --> Add New Plugin

Product: vBulletin
Hook Location: postbit_display_complete
Title: Hide Report Post Icon
Execution Order: 5
Plugin PHP Code:
if(in_array($forum['forumid'], array(X,X,X)))
{
$show['reportlink'] = false;
}

Change X to the forums that you want to remove the icon from.

Thanks so much Ozzy! It works nicely!

Nelson

ozzy47
02-01-2014, 02:38 PM
Not a problem, glad to help. :)