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 |
#82
|
||||
|
||||
Quote:
Code:
<input name="r2" type="radio" value="" onClick="toggleT('e$post[postid]','s')"><smallfont>QuickEdit</smallfont> Code:
<a href="javascript:return false;" onClick="toggleT('e$post[postid]','s')"><img src="http://www.yoursite.com/forums/images/quickedit.gif" border="0"></a> |
#83
|
|||
|
|||
hello,
This works fine, but a minor problem is what i have. Like, when i click on the image in the post, the window opens up...there the hide radio button is already selected, which should not be so. How can make it so that the Hide option is not selected by default. Inspite of working fine, it gives me java script erros, how can i avoid showing those java script erros in the status bar. Thanks for any help. |
#84
|
||||
|
||||
You could use a regular button instead of the "hide" radio button to solve the problem.
Find this: Code:
<input name="r2" type="radio" checked value="" onClick="toggleT('e$post[postid]','h')"><smallfont>Hide</smallfont> Code:
<input name="r2" type="button" value="Hide" onClick="toggleT('e$post[postid]','h')"> Code:
<a href="java script:return false;" onClick="toggleT('e$post[postid]','s') return false;"><img src="http://www.yoursite.com/forums/images/quickedit.gif" border="0"></a> |
#85
|
|||
|
|||
Okay, the Hide problem is solved.
But replacing the new code for image still has problem. When i replace it with the new code in your previous post, and check for the functionality, i get a page not found error when i clcik on the image. Also, when the page load, i get java script errors. Thanks for any help. cheers Quote:
|
#86
|
||||
|
||||
PurpleCow,
My bad, I made a mistake in the code above. Try this instead: Code:
<a href="java script:return false;" onClick="toggleT('e$post[postid]','s'); return false;"><img src="http://www.yoursite.com/forums/images/quickedit.gif" border="0"></a> {edit} I just noticed that the image button version will not work with mozilla type browsers. So if thats what you're using you should stick with the radio button version. |
#87
|
||||
|
||||
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! Also, both versions now have a check box to include the signature. |
#88
|
||||
|
||||
Screenshot of image button version:
|
#89
|
|||
|
|||
EvilLS1 - Thanks for the zip file. I have a question before, i proceed with the image version installation.
Now, if i want to install image version, do you recommend un-installing the radio button version and then proceed with image version ?? or much of it remains same excepting a few changes ?? And yes, I am using IE6 and not mozilla. I am also testing it on IE6 only. Quote:
Thank you very much for your valuable time. |
#90
|
||||
|
||||
The code in functions.php is the same, but you'll need to remove the radio button version's changes to the postbit template and then replace the whole showthread_quickedit template with the html in the instructions above.
Quote:
|
#91
|
|||
|
|||
Quick fix for something that screwed up my computer but apparently is sporadic:
Find "<script type=text/javascript> " in your headinclude template and change it to "<script language="JavaScript"> ". For some reason my computer was processing the text/javascript command as an infinite loop and it caused my CPU usage to skyrocket to 100% and stay there till I loaded another page. Not sure if this will affect anyone else, but if it hit me it may hit someone else, so it's worth a shot to change. No functionality of the hack is changed by editing that line, for the record. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|