vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Change "Report Post" Icon? (https://vborg.vbsupport.ru/showthread.php?t=307412)

Nelson58 01-23-2014 07:28 PM

Change "Report Post" Icon?
 
Hi guys,

Members of our forum are accidentally clicking on the "report post" icon,https://vborg.vbsupport.ru/images/cs...ons/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 [DATE]1390572947[/DATE] at [TIME]1390572947[/TIME] ---------------

Anyone, help please?

--------------- Added [DATE]1390592905[/DATE] at [TIME]1390592905[/TIME] ---------------

Anyone?

Max Taxable 01-24-2014 07: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 08: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-24-2014 11:17 PM

Quote:

Originally Posted by Lynne (Post 2476691)
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-24-2014 11:19 PM

What do they put in the report form? Just curious.

ozzy47 01-25-2014 01:40 PM

Quote:

Originally Posted by Nelson58 (Post 2476723)
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 02: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 11:36 AM

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 11:57 AM

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:
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 12:13 PM

Quote:

Originally Posted by Nelson58 (Post 2476328)
Members of our forum are accidentally clicking on the "report post" icon,https://vborg.vbsupport.ru/images/cs...ons/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.


All times are GMT. The time now is 09:33 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
  • Page Generation 0.01765 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete