Previous Thread
Next Thread
Print Thread
Rate Thread
);
}
if ($topofp eq "Off") {
$topofpage2 = qq(
);
}


*******
*Find:*
*******

$Legend

*******************
*and add below it:*
*******************

$topofpage
$topofpage2

***************************
****In forumDisplay.cgi****
***************************

*******
*Find:*
*******

require "UltBB.setup";
require "Date.pl";
require "mods.file";
require "ubb_library.pl";

};

*******************
*and add below it:*
*******************

if ($topofp eq "ON") {
$topofpage = qq(

Top of Page   );
}
if ($topofp eq "Off") {
$topofpage2 = qq(
);
}

*******
*Find:*
*******

Closed Thread  A Closed thread - no new replies accepted.

Post New Topic







$topofpage
$topofpage2



);
}
if ($topofp eq "Off") {
$topofpage2 = qq(
);
}

*******
*Find:*
*******


#38617 10/19/2000 12:09 PM
Joined: Mar 2000
Posts: 51
Member
Member
Offline
Joined: Mar 2000
Posts: 51
I have spent a couple of hours improving this hack, and sorting out a few buys it caused in the layout, and added a top of page link in posts as well as the ability to turn it off and on from the control pannel, and here it is:


********************************************

**************************
****In ubb_library2.pl****
**************************

*******
*Find:*
*******

# ------------ ubb_library2.pl -------------
#

*******************
*and add below it:*
*******************


if ($topofp eq "ON") {
$topofpage = qq(

Top of Page






**************************
*And add replace it with:*
**************************





***********************
****In Ultimate.cgi****
***********************

*******
*Find:*
*******

require "mods.file";
require "Styles.file";
require "ubb_library.pl";
};

*******************
*and add below it:*
*******************

if ($topofp eq "ON") {
$topofpage = qq(

Top of Page  




**************************
*And add replace it with:*
**************************
Closed Thread  A Closed thread - no new replies accepted.
$topofpage
$topofpage2



Post New Topic




**********************
****In cpanel2.cgi****
**********************


*******
*Find:*
*******


if ($EmailBlock eq "ON") {
$EmailBlockOn = "CHECKED";
} else {
$EmailBlockOff = "CHECKED";
}


*******************
*and add below it:*
*******************

if ($topofp eq "ON") {
$topofpOn = "CHECKED";
} else {
$topofpOff = "CHECKED";
}


*******
*Find:*
*******

&InputRadioRow("#dedfdf", "Administrative Activity Log", "For security reasons, you may wish to track administrative activities on your bulletin board. Records are kept in the NonCGI Banlists directory. The default setting is Off.", " On

Off");


*******************
*and add below it:*
*******************

&InputRadioRow("#dedfdf", "Top of page Link", "This will add a link to Top of page on the Ultimate.cgi, forumdisplay.cgi and on any post made", " On

Off");

********************************************

Upload all the editied files, go into General Settings on the control pannel and set for it to be on or off, and update threads and you are to go!

********************************************

And here is the txt version: http://www.joy2k.net/ubbhacks/topofpage.txt

And here is a example(although u cant see the control pannel part): http://www.joy2k.net/cgi-bin/ubb/Ultimate.cgi
Sponsored Links
Entire Thread
Subject Posted By Posted
Top of Page 1.2 Andrew 10/19/2000 7:09 PM
Re: Top of Page 1.2 SpAwN 10/21/2000 3:13 PM
Re: Top of Page 1.2 Andrew 10/21/2000 3:26 PM
Re: Top of Page 1.2 SpAwN 10/21/2000 3:31 PM
Re: Top of Page 1.2 Andrew 10/21/2000 4:02 PM
Re: Top of Page 1.2 SpAwN 10/21/2000 4:09 PM
Re: Top of Page 1.2 Ell 10/23/2000 9:02 PM

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:
Stable Host
bluehost
InterServer
Visit us on Facebook
June
S M T W T F S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,574
Posts293,926
Members13,850
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)