Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
I am sorry Josh I am not sure I follow you.

There are no path settings in any of the three files for this hack.
You may want to look at the install.txt as I said there is no direction on where to put showrules.php but I assumed it is the UBBThreads dir.
[]###
### Upload New Files
###

Upload showrules.tmpl to the /templates/default directory

Upload agree.php to your ubbthreads directory.
[/]

I have removed this at the moment to suppress the error

// If they haven't agreed to the rules, then we force them to - by JoshPet
if ((!$user['U_Agree']) && ($user['U_Username']) ) {
$topoutput = "<font size="+1"><b>You MUST agree to these rules before you can continue.</b></font><br /><br />";
$agreebutton = "<br /><br /><div align="center">
<form action="{$config['phpurl']}/agree.php" method="post">
<input type="hidden" name="Cat" value="$Cat" />
<input type="hidden" name="number" value="{$user['U_Number']}" />
<input type="submit" class="buttons" name="agree" value="I Agree To These Rules">
</form></div><br />
";

if (!$debug) {
include("$thispath/templates/$tempstyle/showrules.tmpl");
}

// Send the footer
$this -> send_footer();
exit;
}

}


// #######################################################################
// Not right - something went wrong - UHOH!

Sponsored Links
Entire Thread
Subject Posted By Posted
Beta-[6.5] Force Rules 1.1 JoshPet 06/16/2004 7:01 PM
Re: Beta-[6.5] Force Rules 1.1 ChAoS_dup1 10/28/2004 12:13 PM
Re: Beta-[6.5] Force Rules 1.1 JoshPet 10/28/2004 11:09 PM
Re: Beta-[6.5] Force Rules 1.1 ChAoS_dup1 10/29/2004 2:46 AM
Re: Beta-[6.5] Force Rules 1.1 TheInsider 05/10/2005 12:16 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
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 34299
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 1
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)
isaac 2
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 20261026)