Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
how to put an "Edit Button" in the article blog next to "Report Button" Details »»
how to put an "Edit Button" in the article blog next to "Report Button"
Version: 1.00, by ToNetU ToNetU is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: vBulletin Blog - Version: 4.0.1 Rating:
Released: 01-26-2010 Last Update: Never Installs: 15
Template Edits
Re-useable Code Translations  
No support by the author.

hi there,

because alot of my members were asking how to edit their articles i use this edit, because the only way "in the default vb4 style" to edit an article is to put the mouse on the title article and click on the pencil!

this is how to put an "Edit Button" next to the "Report Button" in the article blog

search in blog_show_entry template for:
Code:
<ul class="entrycontrols">
add below it:
Code:
<vb:if condition="$show['editentry']">
		<li><a href="blog_post.php?{vb:raw session.sessionurl}do=editblog&amp;b={vb:raw bloginfo.blogid}" class="edit_blog"><img src="images/buttons/edit_40b.png" class="inlineimg" alt="{vb:rawphrase edit_blog_entry}" id="entry_edit_{vb:raw bloginfo.blogid}" /> {vb:rawphrase edit_blog_entry}</a>
<li class="separator">|</li></li>
</vb:if>
that's it , please don't forget to click INSTALL

UPDATED:
- change the icon to the default "black" one.
- remove un-needed codes.


thanks..

Screenshots

File Type: png Picture 6.png (51.1 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 01-27-2010, 12:58 PM
Entonadoscl's Avatar
Entonadoscl Entonadoscl is offline
 
Join Date: Aug 2009
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any demo??
Reply With Quote
  #3  
Old 01-27-2010, 01:38 PM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated screen shot.

- when you post an article into vb4 blog, there's no "edit button" with the control button, and the only way to edit an article/entry is to put the mouse on the entry title then click on the pencil icon!
Reply With Quote
  #4  
Old 12-27-2010, 10:16 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working and installed

4.1 PL2

Edit: Does anyone know that this is the ONLY mod released to help improve the blogs?
Reply With Quote
Reply

Thread Tools

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:50 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.03806 seconds
  • Memory Usage 2,239KB
  • Queries Executed 18 (?)
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_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete