|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
MyStyle™ modification takes much CPU usage, bandwidth and hard disk space, so with the cooperation of AllenAyres, we've created the first-ever UBB style template changer which doesn't require you to get a better server to use. Allen made the CSS templates, which you can also get from our design forum , and I added an addon to add a style template changer. Name: Colorforums Authors: AllenAyres and me Description: Converts your whole board to CSS; adds css style template changer Demo: Anyone got one? Link: ZIP File Requirements: UBB™ 6.5.0 Number of downloads: [img] https://www.ubbdev.com/lk/num.php?s=css65.zip[/img] Thanks to: tacks for the name suggestion Note: The biggest problem is that you'd probably have to re-modify all your template files, because it's very difficult to beyond-compare it (although it is possible), and also it's more difficult to install modifications which support it. (but if anyone asks me, I will create css-oriented versions of my modifications).
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
This seems so cool to have. I wish I could use it.  Maybe I can do it on another project however. Let's see some demos people! 
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
IPHQ will have a demo very soon However, sorry about this LK, but I'm using another Perl-based CSS manager to merge with the entire site, so users can change every colour on the site through one dropdown box... Still, I'll leave your hack on my test board for sure, just for your sake so you have a demo for 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 |
 For those who try this one and want some more example css styles, I based this css on the files that come with ubb.threads. We have many posted here if you want some more to choose from https://www.ubbdev.com/threads/php/postlist.php?Cat=&Board=css
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, I started moving my boards over to css with this, but I get an error when I Upgrade(rebuild everything, not to 6.5.xx)
It says that my public_rating_list.pl is 1.13 when a 1.14.2.2 is expected. I'm running 6.5, so I don't know if you just zipped the wrong file
|
|
|
|
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... this might have been based on a beta 6.5  Try using Beyond Compare to check the files here and the current 6.5 files 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
while I'm doing that can anyone help me with my other problem? If I select the second color scheme (non-default), it'll show up, but once I leave the boards and come back, it shows the default again, but when I look in my profile it still says I'm using the second one. So I change it to the default, then right back and click ok, and it shows the one I wanted again. Is this a cookie issue? please, help (off topic: I just need to mention how much I love this board. I've been a member of UBBs for years, and came here once to find a hack, and saw all the stuff I could do with UBB. I've been hacking ever since and you guys are just so helpful  )
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, I've gotten 2 reports of this error. when someone's been away from the board and comes back, sometimes the boards is completely unformatted. it's in times new roman and I need to go to my profile and update my profile to get the css to work. I'm almost positive I've done the css right, and all the other hacks have been working once i ported them. if you need to access my board, it's http://www.alforadmin.com/cgi-bin/ultimatebb.cgi and you can use the following account login: UBBDEV password: UBBDEV please help
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I tried and it seems to work well for me... Though maybe you should rename your schemes, so they wouldn't have spaces or parenthesis...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Okay, I see what you mean... I forgot many steps in ultimatebb.cgi and a step in ubb_lib_2.cgi... I'll update it later today... 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
ZIP file updated, re-modify ultimatebb.cgi and ubb_lib_2.cgi and let me know if it fixes it..
|
|
|
|
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, this is a great mod 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, I added all the modifications, and it seems to be going well. but it happens at random times so I'll report back in a couple hours too
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
well the good news is that I don't get that error anymore, but I'm having a problem with UBB code now. when I edit, or quote anything I get [/code]when I should be getting UBB code. I am using quick reply if that matters (I heard it might)
also, in ubb_lib_posting.cgi I have [code] that isn't in css, but it doesn't tell me to edit it in the txt. the only reason I mention it is cause it's in sub reverse_ubb_code thanks for all your help. if anyone wants it I have ported my favorite hacks to css 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
In ubb_forum.cgi [code][/code]you might want to add that to the install txt
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
thanks.. that's odd, I did all that stuff for sure but I guess when I beyond compared to see the differences it had a problem... sub reverse_ubb_code: [/code]replace with:[code] (untested)
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
try the zip now, I also added your name to the credits 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
thanks, it fixed where I edit it and quote it in their own pages. Now I gotta figure out why the quick reply quote still does it the wrong way. it's only when I quote a quote. :-/ EDIT: weird, now everything works, thanks LK 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
the problem with quick reply quote is that it uses cache, so until you clear cache or someone posts there it won't be updated...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
just when you think you're done the member ratings don't show on the topic page. it'll show Member Rated: but no stars or red x It shows everywhere else, but not the topic page. I didn't see anything in the txt that would change anything. Have I mentioned you're my favorite member? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
lol thanks  (I hope you mean me  ) I see... ubb_lib_posting, you see in the css.txt file that it has: [code][/code]you see $rating{stars}, replace it with $rating{$stars}  (notice the "$" before "stars")
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
thanks man, it worked. Don't forget to update that zip 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Hey LK, I just wanted to say this has to be the best hack ever conceived for the UBB. I wanted to show you what's possible with just a little tweaking. I've ported the Who's Online status effect so that you can make an Admin appear red italic on one skin, but blue bold on another. I've ported DPK's smiley hack so that the popups are even skinned I've added 2 more classes, so that on the main page you can add gradients etc without messing up the looks of main posts. You would not believe how much fun it is to be able to change an entire look by just uploading a different 3KB file. After doing some tweaking, I've added jpg backgrounds to quick reply and other textareas. Here\'s a link to my boards, I just wanted to show you how much flexibility you've added I'm about to PM you a logon for my boards if you wanna look around (I had to disable registrations because of some idiots)
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
that's awesome! I love what you did with Essence theme: that the altcolumncolors have a background image, the background color of textareas, and your who's online.. also the choice of colors is pretty cool.. (for example the date/posted by color)
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
yeah, I'm havign so much fun tweaking with the looks, I just gotta get new folder icons made for it The only other thing I want to do that haven't been able to is make the shoutbox use the style sheets
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
The following file is tested against server errors, but I'm not sure if the CSS works well because my main board doesn't use this hack (because I'm a betatester and stuff): www.ubbdev.com/columns/lk/weird_ubb_shoutbox_al.txt
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
al, in http://www.alforadmin.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=2;t=000009;p=1#000006 at the bottom (and top) the "Topic closed" icon is like 2-pixels big or something... fix: (untested) ubb_lib_posting.cgi: [/code]replace with:[code] lemme know if it works, cause I'm currently adding it to the zip code...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
haha, actually I uploaded a 2 px transparent gif by accident, that was not glitch.
One thing I did add was in public_common.pl
Non-members were getting no errors, but members who hadn't selected a style yet were getting an unformatted page. so I did this...
[code][/code]I'm off to test the shoutbox, I'll report back soon
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
damnit, I'm getting the same errors from when I ported it.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
LK, which part of code would I have had to forget to make the dropdown menu in my profile to make it always default to the default style, not the chosen style?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
in ubb_shoutbox.cgi, find "use strict;" and remove it.. lemme know if it fixes the problem...
about edit profile, it's in public_edit_profile.pl
you see:[code][/code]
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
perfect! that's the place I didn't change 60 to 65 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
well it's unformatted for the shoutbox, but I looked through the source and noticed this.. [code][/code]notice how the css declaration doesn't finish (ie. no "/>)
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, I got that fixed and now it works [code][/code]now I'm off to make delete gifs for each skins 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
cool, looks good Al 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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)
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
LK, you know how I was having trouble with the game hack? Well I had to comment out one line from Colorforums to make it work. To see the code see here How important was that line, and why would it be a problem?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I replied in the other thread quote: 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) I'm confused, it means you're still gonna use colorforums? 
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|