Previous Thread
Next Thread
Print Thread
Hop To
#190901 07/12/2007 11:04 PM
Joined: Jun 2006
Posts: 32
newbie
newbie
Joined: Jun 2006
Posts: 32
We just updated to 7 and the style we had used no longer is available in the new version. I'm trying to get things reasonably back in order.
There is a check box on the Rules page for agreeing on how to play in our sandbox. I got the 'I Agree' text next to it larger, red, and centered in the last version. But can not for the life of me find where to make that change in 7?
Any help appreciated.....
Thanks!
JB

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You'll find that it's actually set in the script and not the template, at least for 7.1.1. You'll need to edit the scripts/newuser.inc.php file.

Joined: Jan 2005
Posts: 186
member
member
Joined: Jan 2005
Posts: 186
Line 178 to be exact. That is one of the things being changed in 7.2.

Joined: Jun 2006
Posts: 32
newbie
newbie
Joined: Jun 2006
Posts: 32
Thanks people - I'm off to check those out!
Cheers
JB

Joined: Jun 2006
Posts: 32
newbie
newbie
Joined: Jun 2006
Posts: 32
OK - Have pity on a php newb .... smile
I found the line of code (thank you) - I've tried numerous renditions to get this centered, larger, and red.... nada...
I don't like to be handfed stuff but time is short and I'm getting brain freeze....
This is the orig line...

<input type="checkbox" class="form-checkbox" name="agree" value="yes" />

{$ubbt_lang['I_AGREE']}

Thanks for any help and guidance.....

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
well, since you probably don't want to change the 'form-checkbox' class (it will affect all others), you'll probably just want to add and inline style="...." after the class="form-checkbox"

.... could be font-weight:bold; color:HotPink; .. etc etc wink

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Code
<div align="center" class="new_class">
<input type="checkbox" class="form-checkbox" name="agree"  value="yes" /> 

{$ubbt_lang['I_AGREE']}
</div>

Then set a "extra css" in your cp as:
Code
.new_class {
color: #FF0000;
font-weight: bold;
}


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 32
newbie
newbie
Joined: Jun 2006
Posts: 32
So close - Thanks for the responses! I got the font size and color to change, but can not get it to center..
Any ideas on that one? frown
Cheers
JB

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
screenie?

did you try text-align: center; ?


Joined: Jun 2006
Posts: 32
newbie
newbie
Joined: Jun 2006
Posts: 32
DOINK! Sorry Gizmo - I should of paid closer attention. I thought the box o'code was you quoting part of my post or something - And there it was all along... smile
Mucho gracias folks - I can sleep again.....
Cheers
JB

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
wink... You never know what's right in front of you until you open your eyes... I've been guilty of that a couple of times wink...

For note, the CSS text-align property will not center anything but text; hence the use of a div in my code above wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)