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
  #12  
Old 08-04-2012, 12:45 PM
Pod Pod is offline
 
Join Date: Jun 2007
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks!
It sure works for me on a fresh 4.2.0 install.

See attached screen shot.
Attached Images
File Type: jpg edithighlight.jpg (68.8 KB, 0 views)
Reply With Quote
  #13  
Old 08-04-2012, 12:46 PM
Pod Pod is offline
 
Join Date: Jun 2007
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_df+++++ View Post
Nope, no joy on vB 4.2.0 PL 2
Sorry, but it does work for me. Maybe some other mod is interfering in your installation?
Reply With Quote
  #14  
Old 08-04-2012, 01:02 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not working on 4.1.10 ! Have an update for work ?
Reply With Quote
  #15  
Old 08-04-2012, 04:06 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Meh

It didn't work for 4.2 pl2

I even tried several colors in pod_editButton_background

:/

Does it only work with new posts?
Reply With Quote
  #16  
Old 08-04-2012, 04:28 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brew View Post
Does it only work with new posts?
No , Its Does not work old and new post.
Reply With Quote
  #17  
Old 08-04-2012, 04:37 PM
Pod Pod is offline
 
Join Date: Jun 2007
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brew View Post
Meh

It didn't work for 4.2 pl2

I even tried several colors in pod_editButton_background

:/

Does it only work with new posts?
Should work for all posts, not only new.

I can take a look at your site if you have a test installation, if you wish.
Reply With Quote
  #18  
Old 08-04-2012, 04:45 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pod View Post
Should work for all posts, not only new.

I can take a look at your site if you have a test installation, if you wish.
My site is at politicalforums.net

Thanks!
Reply With Quote
  #19  
Old 08-04-2012, 06:59 PM
Pod Pod is offline
 
Join Date: Jun 2007
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brew View Post
My site is at politicalforums.net

Thanks!
Is your headinclude_bottom template edited? Does it contain the template hook:

Code:
{vb:raw template_hook.headinclude_bottom_css}
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 07:45 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.04679 seconds
  • Memory Usage 2,315KB
  • 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
  • (1)bbcode_code
  • (6)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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (4)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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