The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quick Edit! -Edit posts directly from within the thread itself Details »» | |||||||||||||||||||||||||||
Quick Edit! -Edit posts directly from within the thread itself
Developer Last Online: May 2021
This hack will allow your users to edit their posts without having to load the editpost page..
How it works: In the bottom right-hand corner of all your posts will be a small Quick Edit icon (users will only see it in posts which belong to them).. When you click it a text box will drop down below your post allowing you to edit it instantly in the thread itself. This will save you a lot of time when fixing those spelling mistakes, typos, or broken links. It should also help save on bandwidth since your users will no longer need to load the editpost page. Very easy to install.. 2 file edits, 2 template edits, and 1 template to add. Known bug: Quick Edit will NOT work with Opera web browsers. Those who use Opera simply won't see the option to quick edit (icon will be invisible when viewed in that browser). It'll work fine in other browsers such as IE or firefox. Support: Due to work my time is limited as of late so this hack is released AS IS with no support. However, several questions have already been answered in this thread. Update (7-25-04): Fixed a minor bug with the QE window moving further to the left with each click in mozilla/firefox browsers. To update simply replace your showthread_quickedit template with the new one. Thanks to sv1cec for this bug fix. Add Ons: *Show the "delete post" option for those who have permission in the Quick Edit form (also adds edit reason). (by sv1cec) *Show the "edit reason" field in the Quick Edit form. (Requested by Convergys) *Alternate Quickedit icon image (by ryancooper) *Another alternate Quickedit icon (by sv1cec) *Another alternate Quickedit icon (by charlesk) *Yet another alternate Quickedit icon (by iguanairs) *Give users the option to disable quick edit in the usercp (by pco) If you find this hack useful please click the install button. Screenshot attached: Show Your Support
|
Comments |
#132
|
||||
|
||||
Quote:
|
#133
|
|||
|
|||
Quote:
Code:
<if condition="$post['pmid']=="""> $quickedit </if> So , how would I combine the above instruction with the pmid one (is that the one that stops it appearing on PM's) while also including the the code as given to SaN-DeeP below, to remove it after the edit time is up. Would it be something like: Code:
<if condition="$post['pmid']==""" > <if condition="THIS_SCRIPT=='showthread' and $post['editlink']"> <if condition="THIS_SCRIPT=='showthread' and $bbuserinfo[userid]>0"> $quickedit </if> </if></if> The text link doesn't work alas. All I get when I click it is to be taken to the top post. No pop up box at all. ETA: Got the text link working, thanks! I redownloaded the file and I figure I must have had an older one. So that is one part sorted. |
#134
|
||||
|
||||
PhoenixBB,
The $post['pmid'] is no longer needed b/c THIS_SCRIPT=='showthread' keeps it from showing in PMs. So just use this code: Code:
<if condition="THIS_SCRIPT=='showthread' and $post['editlink'] and $bbuserinfo[userid]>0"> $quickedit </if> |
#135
|
|||
|
|||
Thanks, works a treat!
I've got the text link at the bottom with the normal edit/quote buttons so it's unmissable now. My members are gonna be very happy. I figure if we had a poll to only keep one hack it would have to be this one. Mucho thanks! |
#136
|
||||
|
||||
Quote:
|
#137
|
||||
|
||||
Quote:
In your showthread_quickedit template find: Code:
<div class="vbmenu_popup" id="quickedit_$post[postid]_menu" style="display:none"> Code:
<div id="quickedit_$post[postid]_menu" style="display:none"> |
#138
|
|||
|
|||
Quote:
|
#139
|
|||
|
|||
Does anyone know how to fix this:
As mentioned in a previous post, this hack can sometimes subscribe you to the thread which is happening to me at the moment. I have used the Code:
<input type="hidden" name="emailupdate" value="9999" /> Tried this: Code:
<input type="hidden" name="subscriptionupdate" value="9999" /> Any ideas? Thanx! |
#140
|
|||
|
|||
Quote:
|
#141
|
||||
|
||||
PhoenixBB,
Are you sure that you have "do not subscribe" selected in your User CP under options for Default Thread Subscription Mode? The reason I ask is because I just checked again on my site and its not doing that. As long as that line of code is removed and you're using the exact template from the first post of this thread there's no reason it should add the subscription. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|