Previous Thread
Next Thread
Print Thread
Rating: 10
#234311 01/27/2003 6:25 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
This simple little modification will allow for the style sheets to be previewed.

Download the attached file and follow the setup instructions.
Attachments
66517-cssdisplay.6.2.zip (0 Bytes, 134 downloads)

Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Thanks Dave!! You are a star!

Warm regards

Nikos


Nikos
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
And it works like a charm!

Dave is Da Man!!

Warm regards

Nikos


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thank you Dave!

You da man!

I give you 6 stars.

Last edited by JoshPet; 01/27/2003 7:25 PM.
Daine #234315 01/28/2003 2:15 PM
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
That is awesome, but I have this slight problem.. when editing my display prefrences I see this next to view:

[]Always use defaultOld SchoolLight BlueRoseStandard [/]

There should be spaces between each style, and actually I'm not even sure why those are listed next to view as they are all in the dropdown box

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thanks Dave!

Easy to install and works great!

Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
ok - great, but in 6.2 is function"get_input()" nad in 6.1 it not exist. How to change?

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Thx Dave, very nice one.

@slaweski

Just delete the two lines and you should be fine, since you have register_globals turned on.

-Fusion- #234319 01/29/2003 11:18 AM
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Dave, i put the value of the button into the language array and updated your instructions accordingly.

Attachments
66736-cssdisplay.6.2.setup_edited.txt (0 Bytes, 63 downloads)

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Great mod JustDave! This makes it so much easier for members to browse the styles before they see one they like.

I do wish to report a slight problem, though. I'm pretty sure it's conflicting with the header hack and/or table wrappers. Might not be though, just a guess.

I looked through this site, but I can't find the header hack that I use. I got it from here, and it looks like Dalantech uses it at his site. I'm also using Dalantech's 5x3 array table wrappers mod.

Not a show-stopper, just a cosmetic thing. The hack still works great for getting the picture across. If you want to see any of my code, let me know which files and I'll post them for you.

Thanks again for the great mod!

P.S. I don't have a graphics program here at work, so I had to use Word instead to get a screen-shot
Attachments
66752-screenie.zip (0 Bytes, 241 downloads)

Sponsored Links
eslmix #234321 01/29/2003 1:47 PM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Yup, guilty on both accounts. Odds are you're using my header insert mod

The table wrappers do look a little wacked in the preview display, but not a major problem.

JustDave: Let me know if you need a screen shot.

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
I found a missing closing table cell tag in my tbclose.tmpl file (detailed in this thread). Will fixing that also help to fix the error in the CSS preview? Currently it's still scewed.

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I haven't gone over anything but it may. I know the regular table wrappers worked though and validated even.

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
I updated the 5x3 table wrappers mod. The script for the tbopen and tbclose templates in it should validate.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
nice work on this Dave... I am slow to find all this good stuff


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Thanks

Things slip past me now and then too.. lol

To quick on the mark all read at times. LoL

Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
It works great Dave, thanks!


[:"red"]Lisa[/]
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
I like it!

In Safari (OSX) it opens two windows smack dab ontop of each other?
weird...


Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Hey Dave,
Did you get a chance to update the cssdisplay.php file with the changes I sent you? I know you've been busier that a one legged man in a butt kicking contest lately

Also I tried to template this one, but the send header function also sends the default style sheet.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
This works fine in 6.3.

I reposted to the new modification index here.


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
Morgan 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)