Back to vBulletin 4.x Template Modifications

how to put an "Edit Button" in the article blog next to "Report Button"
Mod Version: 1.00, by ToNetU

vB Version: 4.0.1 Rating: (1 vote - 4.00 average) Installs: 15
Released: 27 Jan 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

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

Download

No files for download.

Screenshots

Click image for larger version
Name:	Picture 6.png
Views:	287
Size:	51.1 KB
ID:	111216  


vblts.ru supports vBulletin®, 2022-2024