Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2000
Posts: 25
Member
Member
Offline
Joined: Feb 2000
Posts: 25
Well I have wanted an easier way for my UBB users to be able to copy messages and source
code from my UBB, so I created this hack. It is basically a modified EditPost routine
that displays the message in an editor box and has a "Select All" button. This makes
it easier for users to copy stuff from your UBB that want to save.

See it in action at
http://www.fast4gl.com/ubb/Forum10/HTML/000011.html

First off, you'll need to save this image
and upload it to your UBB NONCGI directory, called copy.gif

Second, prepare to edit the following scripts: postings.cgi and ubb_library2.pl

In ubb_library2.pl

Find

Code
code:

Add BELOW the following

Code
code:

Next find the following

Code
code:

And add after it
Code
code:

Please note that this may be slightly different depending on what other hacks you
have installed, and how your message icons are arranged.

Next open up postings.cgi

find

Code
code:

and add below that

Code
code:

Next find the EditPost routine

Code
code:

Add the following BEFORE this

Code
code:

And your done! Just upload these changes, and remember to update your threads. Please
feel free to let me know if there are any problems with this hack, since these are the
first major UBB changes I have made by myself [Linked Image]

Hope you like this hack!

-Chris

------------------
Chris Schreiber
[email protected]
Fast 4GL Systems, Inc. http://www.fast4gl.com/
UBB: http://www.progresstalk.com/

Sponsored Links
Entire Thread
Subject Posted By Posted
Copy this message / source code hack Chris Schreiber 03/06/2000 8:55 PM
Re: Copy this message / source code hack The Team 03/07/2000 1:10 AM
Re: Copy this message / source code hack Chris Schreiber 03/07/2000 1:22 AM
Re: Copy this message / source code hack The Team 03/07/2000 1:54 AM
Re: Copy this message / source code hack Chris Schreiber 03/07/2000 2:06 AM
Re: Copy this message / source code hack The Team 03/07/2000 2:10 AM
Re: Copy this message / source code hack The Team 03/09/2000 8:06 AM
Re: Copy this message / source code hack Chris Schreiber 03/09/2000 8:15 AM
Re: Copy this message / source code hack The Team 03/09/2000 8:22 AM
Re: Copy this message / source code hack The Team 03/09/2000 8:34 AM
Re: Copy this message / source code hack Chris Schreiber 03/09/2000 8:45 AM
Re: Copy this message / source code hack cal 03/09/2000 10:08 PM
Re: Copy this message / source code hack Chris Schreiber 03/09/2000 11:04 PM
Re: Copy this message / source code hack Sir Nikon 03/10/2000 5:17 AM
Re: Copy this message / source code hack KiwiSurfer 03/10/2000 2:47 PM
Re: Copy this message / source code hack LazyMonk 03/11/2000 6:17 AM
Re: Copy this message / source code hack Chris Schreiber 03/11/2000 6:37 AM
Re: Copy this message / source code hack Chris Schreiber 03/11/2000 8:36 AM
Re: Copy this message / source code hack LazyMonk 03/11/2000 8:50 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,825
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 39197
Topics Created 0
Posts Made 0
Users Online 3
Birthdays 31
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)