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
Hi,
This hack will allow your users to Edit their posts without having to load the editpost page.. How it works: In the bottom lefthand corner of all your posts will be a small "QuickEdit" radio button (users will only see it in posts which belong to them).. When you click it a small text box will instantly drop down below your post allowing you to edit it in the thread itself. This will save you a lot of time when fixing those spelling mistakes, typos, or broken links. Very easy to install.. One file edit, two template edits, and one template to add. Credits: Thanks to T?Pau's javascript add-on this hack now works with Mozilla. screenshots View after clicking the QuickEdit radio button: Screenshot #1 View before button is clicked: Screenshot #2 Download Quick Edit (Click Here). Update: For those who prefer an image button instead of a radio button use these instructions. Note: Image button version does not work with mozilla browsers! Screenshot of image button version Also, added a check box for the signature to both versions. Quick Edit for VB3 can be found here. If you find this hack useful please click the install button. Show Your Support
|
Comments |
#62
|
|||
|
|||
Thanks. I will give this a try. The error message that I have been getting is the one that you see at the bottom of your browser that says "Done. Errors on the page" and the script doesn't run.
I will try your suggestions and let you know. Parker |
#63
|
|||
|
|||
Well, I tried your suggestions but the script still fails to load and I get the "Error on page" line at the bottom left of my browser.
Parker |
#64
|
||||
|
||||
Hmm.. I don't know much about how the spellchecker works but if you'll open the page with a Mozilla browser then click tools, web development, & javascript console it will tell you the exact error and maybe you can get an idea of how to fix it. I suspect its something to do with the form names or textarea names not matching. Just out of curiousity where are you placing the spell checking form? I'm guessing either in the headinclude template or in the showthread_quickedit template?
|
#65
|
|||
|
|||
I am using the showthread_quickedit template
So it looks like <input name="r2" type="button" checked value=" Close Box " onClick="toggleT('e$post[postid]','h')" style="font-face:verdana;font-size:13px"> <form name="spell"> <script> function sendtext() { var semi = new RegExp("\;","g"); document.send.checkme.value = (document.vbulletin.message.value.replace(semi,"\; ")); document.send.form.value = "vbulletin; document.send.field.value = "message"; window.open('','SpellChecker','width=640,height=48 0,scrollbars=1,location=true') ; document.send.submit(); } </script> <input type="button" name="SpellCheck" value="Spell Check" onclick="sendtext()" class="bginput" tabindex="5" accesskey="c"> </form> <form name="send" action="/cgi-bin/spell.pl" method="POST" target="SpellChecker"> <input type="hidden" name="checkme"> <input type="hidden" name="form"> <input type="hidden" name="field"> <input type="hidden" name="spell" value="check"> </form> </td> That is the way that I have it incorporated in my newthread, newreply templates and it works great. Thanks |
#66
|
|||
|
|||
Hello there, I have QuickQuote II installed, all fine. but I cant get the QuickEdit shown up correctly 'cus of my style set. It's the vbulletin exposed. I'll add a pic + my code. If you guys could help me out I'd appreciate it alot
PHP Code:
|
#67
|
||||
|
||||
Try placing the $quickedit variable somewhere below the signature in the postbit template. I haven't used or even seen that style but its just simple html, so if you'll experiment with it a little I'm sure you can find a good place to put it.
|
#68
|
|||
|
|||
When I save the changes my page goes to http://www.impulseownersgroup.com/vb/newreply.php and does not reload the changes. Also it does not make any changes
Larry |
#69
|
||||
|
||||
Larry,
This is most likely due to a conflict with another hack that you've installed. Do you by chance have the "quote multiple posts" hack by xiphoid installed on your board? If so, thats whats causing your problem. Try this: At the top of your "showthread_quickedit" template add this: Code:
</form> Code:
<form action="newreply.php" method="POST"> <input type="hidden" name="s" value="$session[sessionhash]"> <input type="hidden" name="threadid" value="$threadid"> |
#70
|
|||
|
|||
That was the problem thanks a ton
Larry |
#71
|
|||
|
|||
Quote:
thanks, I added the whole code where the $quickedit was right under the $signature and it works fine |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|