#36724
03/06/2000 1:55 PM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
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 Add BELOW the following Next find the following And add after it 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 and add below that Next find the EditPost routine Add the following BEFORE this 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]](http://ubbcodehacking.com/ubb/smilies/smile.gif) Hope you like this hack! -Chris ------------------ Chris Schreiber [email protected]Fast 4GL Systems, Inc. http://www.fast4gl.com/ UBB: http://www.progresstalk.com/
|
|
|
#36725
03/06/2000 6:10 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Looks like an interesting hack. Do you think you can show this to us "In Action" though?
------------------ I wish I were a Canuck All they have to do is drink beer, play hockey, and say "Eh"
* No offense meant to any Canadians
|
|
|
#36727
03/06/2000 6:54 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Was that "See it in Action" link in the original message, or did you edit it in? if it was in there, i feel like a complete moron ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/frown.gif) Your server appears to be down at teh moment.. ------------------ I wish I were a Canuck All they have to do is drink beer, play hockey, and say "Eh" * No offense meant to any Canadians
|
|
|
#36728
03/06/2000 7:06 PM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
Atom- Yes it was in the first message, but don't feel bad, I do the same thing all the time ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) I just checked my server and it appears to be ok now, sorry if it was down for a moment there. ------------------ Chris Schreiber [email protected]Fast 4GL Systems, Inc. http://www.fast4gl.com/UBB: http://www.progresstalk.com/
|
|
|
#36729
03/06/2000 7:10 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
hmmm, strange, must just be my ISP, damn free school internet provider.
------------------ I wish I were a Canuck All they have to do is drink beer, play hockey, and say "Eh"
* No offense meant to any Canadians
|
|
|
#36730
03/09/2000 1:06 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
It took a good 60+ seconds for the page to load, but it did load and the hack looks really nice. I'm going to add it now(5.44a).
Also, I noticed a "Click here for a printable version", did I miss that hack somewhere?
Troy
|
|
|
#36732
03/09/2000 1:22 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Ok, I added the hack without any problems! Works great too! Thanks Chris! In Action at: http://imurgod.icomnet.net/rpg-ubb/Forum5/HTML/000001.html Please keep in mind I haven't publicly opened my site so there isn't anything there really. =) Troy
|
|
|
#36733
03/09/2000 1:34 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Chris,
Do you still have a copy of the directions for the Printable Page Hack? I visited that thread and the HTML is really whacked, nothing I can use. Thanks!
Troy
|
|
|
#36735
03/09/2000 3:08 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
The words on the icon aren't quite right. You can download the font to use here: http://www.one37.com/files/tinyfont.bmp Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36736
03/09/2000 4:04 PM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
Cal- Thanks for the link to the correct font. I knew it wasn't quite the same font and that was bugging me. My graphics skills aren't the greatest though ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) Here's the new icon I just whipped up: -Chris ------------------ Chris Schreiber [email protected]Fast 4GL Systems, Inc. http://www.fast4gl.com/ UBB: http://www.progresstalk.com/
|
|
|
#36737
03/09/2000 10:17 PM
|
Joined: Jan 2000
Posts: 47
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 47 |
This is such a good idea for a hack. ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/biggrin.gif) That "Select All" button actually works too. ------------------ http://su.ffgamers.net Joy! A hobby that only cost me $170.
|
|
|
#36738
03/10/2000 7:47 AM
|
Joined: Mar 2000
Posts: 2
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 2 |
An execellent idea, although I won't be using it on my UBB because it's not really the sort of UBB that needs it!. ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
James Pole
|
|
|
#36739
03/10/2000 11:17 PM
|
Joined: Feb 2000
Posts: 20
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 20 |
Hello,
I tried to install this hacks and I got the button and every codes in the scripts. When I clicked on the copy icon, it gave me the blank white screen...anyone know what I did wrong? I did exactly in the above instruction....thanks for your help in advance
|
|
|
#36740
03/10/2000 11:37 PM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
Thanks for the great comments from Sir Nikon and KiwiSurfer ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) LazyMonk, I took a look at your UBB and it looks like the changes in ubb_library2.pl were done ok. Just re-check your changes in postings.cgi, make sure that the CopyPost sub is in there. If you can't track it down then feel free to email me your postings.cgi file and I'll double check it ( chris@fast4gl.com ). -Chris ------------------ Chris Schreiber [email protected]Fast 4GL Systems, Inc. http://www.fast4gl.com/ UBB: http://www.progresstalk.com/
|
|
|
#36741
03/11/2000 1:36 AM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
LazyMonk-
Actually I just got a private email from someone else having problems with this hack, and one thing both of your boards have in common in the UBB code buttons hack. I think there might be a problem/conflict with the code. I will take a look at it and see if I can get it working. I'll keep everyone posted.
-Chris
|
|
|
#36742
03/11/2000 1:50 AM
|
Joined: Feb 2000
Posts: 20
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 20 |
thanks Chris I got it working ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
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.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|