|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote:
Originally posted by LK: I replied in the other thread
quote: [qb]Originally posted by Weird Al: I'm gonna be redoing my boards because of a bunch of errors, and I've got so many hacks it's impossible to find easily. I can't tell you enough how much of a help you've been(both you and Allen)[/qb] I'm confused, it means you're still gonna use colorforums?
yeah, since I had so many conflicting parts of the user profile, it was easier to restart than to search through all the code from all the hacks
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I wonder if anyone else is gonna use this I can't find any glitches anymore.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
we use it here 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
does that mean there is a compact header version of this, or is it only for you? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
This board is using colorforums since UBB 6.2 or so, and the colorforums code we use here is very lame  (you can click on View Source in your IE, just see how many lines each image requires) about compact headers - it changes only the top part of some public_*.pl files, and some parts in public_common.pl file, so you can check the compact headers thread and try to port it... yet if at first you don't succeed, try try to ask me to do it 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, now I got a weird problem (probably makes sense to you  ) my games page is using some of the css, but not others. I can use tdheader, etc, but not font tags, or even the scrollbar formatting. I'm clueless on how this can do this.  Who's my favorite admin 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I dunno, Allen's the css expert, I just made the perl part of the hack 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
off-topic, in shoutbox, you see: [/code]replace it with:[code] (and in the end of the line add another ) because now the time is first with class=small and then class=time, which makes it x2 smaller...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
great, I got that fixed.
*sits at computer trying to figure out which thread to ask about the css in*
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
hey Allen, you got any idea what's wrong? (hopes Allen reads this)
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
do you still have the css from the base code in public_common.pl?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
yes, I didn't remove anything from public_common.pl. I'm just confused how it could use some of the css and not the rest
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
There's some css in the base code that may be overriding yours. If you have a question, especially about display issues, if you could post a link to exactly where you are seeing the problems, this could be answered much more specifically and easily 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I already did 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
oh, ok... the games.cgi file hasn't been updated for css... I didn't do it because most people don't use it yet... you'll need to update it with the classes whereever you see a font tag 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I did that, that's the weird thing. the css is used for the colors, and the font style, but not the scrollbar and font size. it uses some of the body tag part of the css file, but not the rest. Can you help almighty css god? 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
LK, a bug for you [code][/code]you might want to update that. I almost never use polls, so it took me forever to notice that
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
what's the url to your style sheet?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
oh, I guess I haven't noticed that because I'm using poll beautification hack 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it's even just the listing of the choices
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
just checking the first one, you don't have anything specified for the scrollbars and you're using several different specifications for font size... not all of them will work. Run your css files through the validator at w3.org http://jigsaw.w3.org/css-validator/validator?uri=http://www.alforadmin.com/ubb/css/WWFWG.css&warning=1&profile=css2 start there 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
but why does all of the css I've done work on EVERY page except the game page? The scrollbars work on the rest of my board. The font sizes work on the rest of my board. The font colors and background colors, along with font style all work on the games page, but the scrollbar and fontsize don't. Compare http://www.alforadmin.com/cgi-bin/ultimatebb.cgi and http://www.alforadmin.com/cgi-bin/games.cgi . they both use the same stylesheet, yet on one the scrollbar and fontsize are correct, and the other it isn't.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
start with fixing the errors in your css file then we can be sure it's not that It could be the doctype I've added to the startpage sub, it will send your browser into strict mode, which is fine, if your code is up to snuff 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Or instead you could remove the doctype from games.cgi () 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by LK: Or instead you could remove the doctype from games.cgi () that sounds so much easier *does that* it works  sorry Allen, but it's 3AM, and I'm going to Williamsburg in 2 hours. I'm not redoing my css files right now 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I'll remember that when you just have to have an answer right now...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
you know validating the CSS is only a suggestion 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
yeah, unless you've got problems because you wrote it badly...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
but if it works cause I wrote it badly? the validator approved my font size stuff, but it didn't work. and I got the scrollbar script from like 30 sites using the same thing 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
and all 30 wrote it poorly The first thing you do when you are having html/css display problems is validate your code... it makes sure it isn't something written poorly that is causing the problem For a better explanation: http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you.html
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
well I couldn't find a scrollbar property in css anyway 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
oops, the Warning in the validation page is my fault (I forgot to add background-color: transparent)... btw allen the error can not be fixed if he wants colored scrollbars...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
zip file updated for fixes in frost.css (to make it validated), public_polls.pl and public_common.pl (possibly makes the emails look like without the mod)
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
thanks LK 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
hey LK, would leaving the non-css quote codes make it so older posts could be quoted or edited?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
yes. if you want to use the new ones and still let the old ones get parsed, in ubb_lib_posting, instead of REPLACING, just ADD BELOW. (it's a bug that it wasn't like that at the first place, sorry  ) fixed the zip file
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
perfect, the last thing I can think of to make this better is this...
If I want to remove a skin, and someone is using it, there forums will be unformatted. Is there anyway to make it so if the skin name that he has chosen is no longer choosable, that it would go to the default?
*Off topic: what's been happennig with your boards, lately they keep shutting down*
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
afaik, it's not possible, unless I have a javascript array with all css templates names in public_common, something I don't want to do... * Off topic: don't ask  *
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
this hack also makes making a spoiler hack a breeze  You also made the coding very intuitive, so it was easy making other images change with the styles 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ooh, found a bug. the profile, homepage, etc icons show up as skinned on the public topic page, but it's not skinned on the Member of the Moment island
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|