Previous Thread
Next Thread
Print Thread
Rate Thread
#64389 01/02/2003 3:14 PM
Joined: May 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 5
Hi there,

I was just wondering - how easy is it to customize content islands?

Can you fully customize the code (font/colour etc) to integrate with other dynamic elements on a page? Also, is there anything that lets you list/de-list topics from appearing on the content island? For example if some user figures he/she is going to be a smartass and post a bunch of vulgar things to the board just to have it appear on a sitewide content island? :-)

Sponsored Links
Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
Content islands can be fed as unstyled, and you can use CSS rules to style them as you see fit.

There isn't a way to exempt forums from appearing without hacking the code.

#64391 01/02/2003 10:23 PM
Joined: Aug 2000
Posts: 206
Member
Member
Offline
Joined: Aug 2000
Posts: 206
Any idea on what the specific CSS codes are to be used? The UBB control panel refers to the UBB Admin Guide for the information, but the Guide appears to not have been updated yet to include the CSS classes and such to properly format an unstyled CSS content island.

#64392 01/02/2003 10:30 PM
Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
This was posted up in Mod Suggestions

Quote
quote:
Originally posted by tackaberry:
After taking a peek at the Content Islands, the following CSS classes are being used for the CSS flavor for new posts. Perhaps this can be useful to whomever is working on further development of the CI's.

ip-ci: controls border settings?
ip-ci-title: background/face settings for title bar
ip-ci-entry-even: settings for even rows in table
ip-ci-entry-odd: setting for odd rows in table
ip-ci-byline: text settings for author/post #

Joined: May 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 5
Neat smile

Got Content islands now working. Now another question about formatting...

I'm calling the content island via SSI as unstyled html as an include file. Ideally, I'd like to be able to change the font sizes and formatting (in similar fashion to what has been done on this site with the "latest posts" content island to he left). From what I'm gathering, this has to be done through CSS - but the question is how? Does anyone have any code snippets from their own content island (or the one on this site) to see how proper formatting is acheived?

Do you have to physically go into the ContentIslands directory and edit the css.html file, while applying formatting etc to it?

Sponsored Links
Joined: Nov 2000
Posts: 2,759
Pooh-Bah
Pooh-Bah
Offline
Joined: Nov 2000
Posts: 2,759
Here is a sample you can use to start playing with:

[Linked Image]

Here is some sample css:

[code][/code]

Joined: Nov 2000
Posts: 2,759
Pooh-Bah
Pooh-Bah
Offline
Joined: Nov 2000
Posts: 2,759
Recent Visitors CI Classes:

ip-ci: control borders
ip-ci-title: background/face settings for title bar
ip-ci-pntf-userlist: settings for background of Recent Visitors cell
ip-ci-pntf-user: text setting for user links
ip-ci-pntf-guests: text settings for guests

Joined: Nov 2000
Posts: 2,759
Pooh-Bah
Pooh-Bah
Offline
Joined: Nov 2000
Posts: 2,759
New Members CI Classes:

ip-ci: control borders
ip-ci-title: background/face settings for title bar
ip-ci-entry-even: settings for background of even rows
ip-ci-entry-odd: settings for background of even rows
ip-ci-numline: text settings for member #

#64397 03/25/2003 10:38 PM
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 for the tips Tacks, our index page is finally adopting CI smile


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
What's this I've read about ip-ci-1 and ip-ci-1-title?

Sponsored Links
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
Hello? Bump? Yes, bump please...

My CSS looks like this, put isn't working:

Code
 .ip-ci-title {
font-size: 16px;
font-weight: bold;
color: #FFFFFF;
background-color: #0066CC;
text-align: center;
margin: 0px;
padding: 3px;
}
.ip-ci {
background-color: #FFFFFF;
text-align: center;
padding: 5px;
border: 1px #FFFFFF;
}

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
can we have a link to the page your putting the content island in?

Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
Absolutely Ian, thanks for asking:

http://www.catcherman.com/index2.htm

(bottom left table)

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
You're using a styled CI. Go into your cp and change it to unstyled to use css

Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
You're right I was. Shows me for not reading what I'm copying!

I wonder why the boxes are in reverse order from the Create Content Island Page to the Viewing Page...

Now, how do I keep all of the text from running together like it is? There are no breaks.

Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
Nevermind, I figured it out. I needed to add "Block" to my classes.

Do me a favor, though, and take a look at it again. Let me know how you think it looks now.


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
Posts: 70
Joined: January 2007
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
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)