Back to Modification Graveyard

copy to clipboard posts/threads after posting (Basic/Standard) editors
Mod Version: 1.0.0, by Omranic

This thread is in the Modification Graveyard.
vB Version: 3.5.3 Rating: (1 vote - 5.00 average) Installs: 9
Released: 12 Feb 2006 Last Update: 12 Feb 2006 Downloads: 3
Not Supported Template Edits  

This Mod isn't supported any more!

Oh no! I just finished writting that long long post and the page didn't load.
I wish I would have made a copy in notepad. Too late for that.
I won't write it again.

After hearing that a couple hundred times I wrote this hack. When using Internet Explorer once you finished writing your post just double click any where inside the text area & whole your post will be copied to the clipboard, meaning that if the page doesn't load then you just press back in your browser, paste, and submit it again. Since most of us users forget to do a backup copy just in case this comes in handy.

Note: works on both Basic/Standard editors & it doesn't work on wysiwyg editor (i'll try to update it to work on wysiwyg editor but not now)

(screenshots?) I don't know how I would take screenshots for that.

its very simple
just two template edits

Go to template "editor_toolbar_on" &
find the following code:
HTML Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea>
Replace it by the following code:
HTML Code:
<a ondblclick='java_script_:window.clipboardData.setData("Text",this.innerText); alert("Source Code copied into clipboard.");'><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></a>


Go to template "editor_toolbar_off" &
find the following code:
HTML Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1">$newpost[message]</textarea>
Replace it by the following code:
HTML Code:
<a ondblclick='java_script_:window.clipboardData.setData("Text",this.innerText); alert("Source Code copied into clipboard.");'><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1">$newpost[message]</textarea></a>

Don't Forget to Clik if you like it

Download

This modification cannot be downloaded.

Similar Mods

After posting automatically copy to clipboard vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024