Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2001
Posts: 172
Member
Member
Offline
Joined: Mar 2001
Posts: 172
Can someone please point me to where UBB keeps the quicky reply box code? I need to change the background colour (and text inside the box) to something other than white. On a board with darker background colour, the white really hits the eyes hard every time you scroll to the bottom of the page.

Anyway, I think that editing the style of the Quick Reply box should be in the CP under Styles... it makes sense. Something to add in the future release.

Sponsored Links
Joined: Jan 2004
Posts: 15
Junior Member
Junior Member
Offline
Joined: Jan 2004
Posts: 15
In your public_topic_page.pl file.
-------------
FIND
-------------
Code
document.write('<form name="replier" method="post" 
My Quick Reply Box

[Linked Image]

Joined: Mar 2001
Posts: 172
Member
Member
Offline
Joined: Mar 2001
Posts: 172
I think this is it in 6.7.1:


as I can't find your line in the code. Anyway, I thought it'd be pretty obvious how to change the background/text colour inside, but whatever I do, it doesn't seem to work. Help please...

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmmm.. that could probably be termed a bug, if it doesn't inherit styles from the forum.


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Try:
Find:
Code
<textarea name="message" rows="10" cols="50" wrap="virtual"></textarea>
Replace with:
Code
<textarea name="message" rows="10" cols="50" wrap="virtual" style="font-family: Verdana, Arial, sans-serif; background-color: #111111; color: #EEEEEE;"></textarea>
change #111111 to the background color and #EEEEEE to the text color.
If you want it to have a background image, try to add to the 'style':
Code

Sponsored Links
Joined: Mar 2001
Posts: 172
Member
Member
Offline
Joined: Mar 2001
Posts: 172
Thanks LK, you're a gem. Works like a charm. As far as I'm concerned, a mod can rename this one and move it into finished hacks, I'm sure it'll come in handy to other people.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
ahem,

Code
<style type="text/css">
textarea {
font-family: Verdana, Arial, sans-serif;
background-color: #111111;
color: #EEEEEE;
}
</style>
would allow you to not edit templates, allowing you to still recieve support from Infopop

Joined: Mar 2001
Posts: 172
Member
Member
Offline
Joined: Mar 2001
Posts: 172
Which would be helpful, had I not 3 or 4 other hacks in public_topic_page.pl alone already. laugh


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
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
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
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 20221218)