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 |
#122
|
||||
|
||||
My post icons are disappearing after I quick edit.
|
#123
|
||||
|
||||
Quote:
Code:
<input type="hidden" name="parseurl" value="1" id="cb_parseurl" /> Code:
<input type="hidden" name="iconid" value="$post[iconid]" /> |
#124
|
||||
|
||||
Cool, thanks! I was sure it was something I did.
|
#125
|
|||
|
|||
This is a cool hack .
When I use this in firefox, the box height is fine, but the width is too long. I'm not sure if this was answered in this thread, but TIA . |
#126
|
|||
|
|||
Nobody seems to have noticed that there is a huge problem with'unregistered' posts. I noticed this recently with the VB2x version when I allowed unregistered to post on the board. It puts the quick edit on their posts, which of course means any unregistered can edit the post even though it isn't theirs. Just installed this upgrade on my test board and the problem is still there.
I'm about to input this code: Code:
if (($bbuserinfo['usergroupid'] == 6) or (can_moderate($foruminfo['forumid'])) or ($post['userid'] == $bbuserinfo['userid'])) { $edittext = htmlspecialchars_uni($post['pagetext']); eval('$quickedit = "' . fetch_template('showthread_quickedit') . '";'); } else { $edittext=""; $quickedit=""; } Also, is it possible to just use the hack for VB2 on VB3 instead of this upgraded one? I like the radio button on that, and I think the text next to it makes it easier to see what it does. Many old browsers don't have the 'alt' tags so it'll take a while for people to figure out what this new icon is for. This is by far my most popular and used hack, but even newbies could figure it out immediately - the new version is not as easily identifiable IMO. |
#127
|
||||
|
||||
Quote:
just prevent that usergroup from using it |
#128
|
||||
|
||||
is it possible to hide the QuickEdit Button
once the edit time on those posts is over ?? Just want to hide the button, as even after users click on it, they are not able to edit post But better to hide it. What ya say ? Sandy... |
#129
|
||||
|
||||
edeab220,
I don't have firefox at home, but I do at work. I'll check it out tomorrow. PhoenixBB, I think most people don't allow guests to post so thats probably why nobody has noticed.. Its really easy to fix though. You'll just need to disable quickedit completely for guests. You can do it like this: In your postbit templates find this: Code:
<if condition="THIS_SCRIPT=='showthread'"> $quickedit </if> Code:
<if condition="THIS_SCRIPT=='showthread' and $bbuserinfo[userid]>0"> $quickedit </if> Also, if you'd rather have the text "quick edit" instead of the icon, you should be able to do something like this in the showthread_quickedit template: find: Code:
<img src="$stylevar[imgdir_button]/quickedit_icon.gif" alt="Quick Edit" border="0" /> Code:
<a href="#top">Quick Edit</a> |
#130
|
||||
|
||||
Quote:
Code:
<if condition="THIS_SCRIPT=='showthread' and $post['editlink']"> $quickedit </if> |
#131
|
||||
|
||||
Quote:
workED perfect Mebbe u can also update ur post/files and include this tip Thnx. Sandy... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|