vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - EditPost Button Highlight in Postbit (https://vborg.vbsupport.ru/showthread.php?t=230321)

Pod 12-15-2009 10:00 PM

EditPost Button Highlight in Postbit
 
1 Attachment(s)
Why?

This little mod tries to address two common problems:

- Sometimes, by mistake moderators might click "Edit", and modify the original post thinking they are quoting the post.

- Users that realize they forgot to say something, and double post instead of editing their first post.

What?

This mod highlights the Edit Post button in the postbit, differentiating it from the rest of buttons and making it easier to notice for everyone. Such highlighting is archived by changing the background color and adding a striking hover effect.

Before vBulletin 4, this was easily archived by replacing the image of the edit button. Now it can't be done that way, since buttons are designed using CSS.

How?
Download the XML file, and import it in your Admin CP.

If you want to change the colors used, to match your style or simply because you don't like my taste, you can easily manipulate this mod using four StyleVars:

- pod_editButton_background: Background used in the edit Button.
- pod_editButton_color: Color for the text in the edit Button.
- pod_editButton_hover_background: Background used in the edit Button when the mouse hovers the button.
- pod_editButton_hover_color: Color for the text in the edit Button when the mouse hovers the button.

Disclaimer
Consider this mod in beta stage. Hasn't been yet tested in an extensive set of environments. If you find any bug, please tell me and I'll try to fix it when I have time. This mod is released as is, with the hope it might be useful to the community without any warranty.

History
12/16/2009 - 1.0 Initial (beta) release

01/24/2010 - 1.1 Requires vBulletin 4.0.1
Takes advantage of headinclude_botom_css (i.e, will no longer break if default CSS is stored as files).

Alecsmith 12-16-2009 03:51 PM

Installed working perfectly

Cface 12-17-2009 03:50 AM

One small problem i noticed is that it overlaps the edit pencil icon in the button, so now there are two of them...

Pod 12-17-2009 08:45 AM

Quote:

Originally Posted by Cface (Post 1932049)
One small problem i noticed is that it overlaps the edit pencil icon in the button, so now there are two of them...

Which browser and version do you notice that?

RaceJunkie 12-19-2009 01:15 PM

Good idea, I have done this myself.. Tagged for gold release.

Vaupell 12-19-2009 02:30 PM

HAHA that is nice,, love it..

Installed at once.. :D

bart6767 12-19-2009 04:40 PM

Thanks .

garretbyrne 12-22-2009 02:35 AM

Nicely Done Mate..

Brew 08-04-2012 03:07 AM

Is this working with ver 4.2 pl2?

Thanks!

imported_dfmafia 08-04-2012 03:26 AM

Quote:

Originally Posted by Brew (Post 2354235)
Is this working with ver 4.2 pl2?

Thanks!

Nope, no joy on vB 4.2.0 PL 2


All times are GMT. The time now is 12:37 AM.

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.01040 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)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