»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > RR Suggestion Box

Reply
 
LinkBack Thread Tools Display Modes
Old 10-17-2003, 04:33 AM   #1 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 3,539
ClubMed is on a distinguished road
Copy post to clipboard

It often happens that when we type long posts, they get 'eaten' by the forum.

So I'm wondering if it would be okay with Scott to implement some code that would add a button, to allow members to copy a post to the clipboard before posting, so that if it gets 'eaten', we still have a copy.

I have a small forum of my own (phpbb), which runs on php and mysql, I am note sure what the differences or similarities are with VB, however I have implemented such code, it's very simple, in my case I had to make only 2 additions to one .tpl file and it's working perfectly.

The author of this little MOD is:
MOD Author: cdkrg < cdkrg@fluencynow.com > www.able2know.com

Even though the file has been written for phpbb forums, perhaps it can be implemented here, or it could give you an idea of how this works in VB.

The MOD is called: Copy Post to Clipboard
And can be found here: http://www.phpbbhacks.com/viewhack.php?id=795

Here's the script: (copyright cdkrg)

Quote:
<SCRIPT language="JavaScript">
<!--
function highlightmetasearch() {
document.post.message.select(); document.post.message.focus();
}
function copymetasearch() {
highlightmetasearch();
textRange = document.post.message.createTextRange();
textRange.execCommand("RemoveFormat");
textRange.execCommand("Copy");
alert("This post has been copied to your clipboard.\nIf this post is lost when you submit it you can easily repost it.\nAlways use this feature before posting! - \nwww.able2know.com");
}
// -->
</SCRIPT>
and here the code for the button:

Quote:
<tr><td colspan="9" align="right">
<script language="JavaScript" type="text/javascript">
<!--
if ((navigator.appName=="Microsoft Internet Explorer")&&(parseInt(navigator.appVersion)>=4)) {
document.write('<INPUT type="button" class="button" value="COPY TO CLIPBOARD" onClick="copymetasearch();">');
} else {
document.write('<INPUT type="button" class="button" value="HIGHLIGHT TEXT" onClick="highlightmetasearch();">');
}
// -->
</script>
</td></tr>
This hack should go into whatever tpl file is responsible for the posting page.

I'd be interested to hear thoughts and opinions from everyone, including Scott or anyone with the power to answer on his behalf

ClubMed is offline   Reply With Quote
Old 10-17-2003, 05:23 AM   #2 (permalink)
Registered User
 
tmx468's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 773
tmx468 is on a distinguished road
If its a long post, I just copy it manually... but I could count without hands or feet the number of times I have lost a post
tmx468 is offline   Reply With Quote
Old 10-20-2003, 07:34 AM   #3 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 3,539
ClubMed is on a distinguished road
Does this idea appeal to anyone else?
ClubMed is offline   Reply With Quote
Old 10-20-2003, 07:39 AM   #4 (permalink)
Registered User
 
Bill in SD, CA's Avatar
 
Join Date: Oct 2002
Location: Bottom left of U.S.
Posts: 4,714
Bill in SD, CA is on a distinguished road
It would certainly be convenient.

I copy most of my posts manually now anyways.

Bill
Bill in SD, CA is offline   Reply With Quote
Old 10-20-2003, 05:46 PM   #5 (permalink)
Registered User
 
Gomer's Avatar
 
Join Date: Oct 2001
Location: MSU- E. Lansing, MI
Posts: 1,504
Gomer is on a distinguished road
it is a nice idea... but they oughta get this place running properly before they go fooling around with more hacks.
Gomer is offline   Reply With Quote
Old 10-20-2003, 05:59 PM   #6 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 6,533
John Prophet is on a distinguished road
After I lost a bunch of long ones (and if youve seen some of my posts, youll know I mean LONGGGGGG) I just started habitually copying them to clipboard just in case....since I got on cable and also switched to another computer, I dont think Ivae had the problem any....if so maybe only once or twice.

And just as another tidbit I was using an Athlon SlotA, WinME 384 PC133 system for the last couple years until a few months ago, and I was on dialup also.......but what would often happen is that I would click on a thread and I would have to refresh to get it to finally show up......I would have thought it was a forum issue...but since I have switched comps I dont have the problem anymore....I thought it was bacause I was now on cable but the other day I happened to use my old Athlon SlotA system for a bit and the problem was still there..the refresh thing....so I would have to conclude the problem was on THAT comp, NOT in the forum software etc. Just thought Id throw that in.

JP
__________________
"Even a fool is thought to be wise if he is silent"
John Prophet is offline   Reply With Quote
Old 10-22-2003, 04:43 AM   #7 (permalink)
Registered User
 
Creatures's Avatar
 
Join Date: Jul 2002
Location: Switzerland
Posts: 3,962
Creatures is on a distinguished road
Send a message via ICQ to Creatures
i just mark it and press CTRL + C that's all, sometimes i even save posts in a txt file on my desktop, becuase i'm not sure to post it

usefull, but you can do it manually!

Creatures

but you know the best thing? you can check the message length!!!

Quote:
Your message is 322 characters long.
__________________
___)
(
____)REATURES
Creatures is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 05:36 PM.