Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
EditPost Button Highlight in Postbit Details »»
EditPost Button Highlight in Postbit
Version: 1.1, by Pod Pod is offline
Developer Last Online: Aug 2019 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.1 Rating:
Released: 12-15-2009 Last Update: 01-23-2010 Installs: 29
Uses Plugins
Re-useable Code Translations Is in Beta Stage  
No support by the author.

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).

Download Now

File Type: xml product-pod_hili_editbutton-1.1.xml (4.5 KB, 72 views)

Screenshots

File Type: png ss.png (12.1 KB, 0 views)
File Type: png ss-hover.png (12.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-16-2009, 03:51 PM
Alecsmith Alecsmith is offline
 
Join Date: Sep 2009
Location: Still On Earth
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed working perfectly
Reply With Quote
  #3  
Old 12-17-2009, 03:50 AM
Cface Cface is offline
 
Join Date: Dec 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One small problem i noticed is that it overlaps the edit pencil icon in the button, so now there are two of them...
Reply With Quote
  #4  
Old 12-17-2009, 08:45 AM
Pod Pod is offline
 
Join Date: Jun 2007
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cface View Post
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?
Reply With Quote
  #5  
Old 12-19-2009, 01:15 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea, I have done this myself.. Tagged for gold release.
Reply With Quote
  #6  
Old 12-19-2009, 02:30 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HAHA that is nice,, love it..

Installed at once..
Reply With Quote
  #7  
Old 12-19-2009, 04:40 PM
bart6767 bart6767 is offline
 
Join Date: Aug 2008
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks .
Reply With Quote
  #8  
Old 12-22-2009, 02:35 AM
garretbyrne garretbyrne is offline
 
Join Date: Nov 2009
Location: Ireland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nicely Done Mate..
Reply With Quote
  #9  
Old 08-04-2012, 03:07 AM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working with ver 4.2 pl2?

Thanks!
Reply With Quote
  #10  
Old 08-04-2012, 03:26 AM
imported_dfmafia's Avatar
imported_dfmafia imported_dfmafia is offline
 
Join Date: Jun 2004
Location: Wherever Uncle Sam Needs!
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brew View Post
Is this working with ver 4.2 pl2?

Thanks!
Nope, no joy on vB 4.2.0 PL 2
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12596 seconds
  • Memory Usage 2,318KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete