Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2001
Posts: 172
G
Gladius Offline OP
Member
OP Offline
Member
G
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
C
Junior Member
Offline
Junior Member
C
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
G
Gladius Offline OP
Member
OP Offline
Member
G
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
Offline
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
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
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
G
Gladius Offline OP
Member
OP Offline
Member
G
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
I
Master Hacker
Offline
Master Hacker
I
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
G
Gladius Offline OP
Member
OP Offline
Member
G
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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,557
Posts293,856
Members13,847
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,819
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 70
Gizmo 16
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20210915)
Responsive Width:

PHP: 7.3.29 Page Time: 0.020s Queries: 30 (0.010s) Memory: 0.8163 MB (Peak: 0.8697 MB) Data Comp: Zlib Server Time: 2021-12-08 15:13:40 UTC
Valid HTML 5 and Valid CSS