Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1528 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

Stuck on IPB Skin

Thread title: Stuck on IPB Skin
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
06-03-2008, 01:56 AM
#1
Zara is offline Zara
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 249
iTrader: 9 / 100%
 

Zara is on a distinguished road

  Old  Stuck on IPB Skin

Hello, I am trying to code a skin for Invision Board (Please do not make this thread a debate between phpBB, vB, IPB, ect.)... Anyway, I have some categories setup and between each category is a black line (no space) then on the last category I want a unique style on the bottom without the black line. I'm sure your all confused (I would be too) so I threw together a little image to help you understand.



Thanks,
- Phaaze

06-03-2008, 04:23 AM
#2
Jordan is offline Jordan
Jordan's Avatar
Status: #pugs {display: block;}
Join date: Jan 2007
Location: Chicago
Expertise: CSS, HTML, PHP
Software: Sublime Text 2
 
Posts: 1,187
iTrader: 7 / 100%
 

Jordan is on a distinguished road

  Old

It would help if you had a question...

06-03-2008, 05:49 AM
#3
Sam Granger is offline Sam Granger
Status: Request a custom title
Join date: Feb 2005
Location: The Netherlands
Expertise:
Software:
 
Posts: 2,616
iTrader: 19 / 88%
 

Sam Granger is on a distinguished road

Send a message via MSN to Sam Granger

  Old

what you can do is per category row, have a unique style id with the category id as name eg. row_$id. What you then do, is check what forums are at the end of the categories (the id's) and make the row_$id's in css with a different bottom. You don't have to style the others with id - just with the main class will be good enough. Make sure the id is mentioned after class in the html. If I'm confusing you, I can make it in IPB code.

06-03-2008, 02:17 PM
#4
Zara is offline Zara
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 249
iTrader: 9 / 100%
 

Zara is on a distinguished road

  Old

I understand what your saying but how can I check which category is the last one to be displayed? I was looking through IPB's source for something I could count() but didn't have much luck with that either.

Thanks,
- Phaaze

06-03-2008, 03:17 PM
#5
Sam Granger is offline Sam Granger
Status: Request a custom title
Join date: Feb 2005
Location: The Netherlands
Expertise:
Software:
 
Posts: 2,616
iTrader: 19 / 88%
 

Sam Granger is on a distinguished road

Send a message via MSN to Sam Granger

  Old

Originally Posted by Phaaze View Post
I understand what your saying but how can I check which category is the last one to be displayed? I was looking through IPB's source for something I could count() but didn't have much luck with that either.

Thanks,
- Phaaze
Hover your mouse over the last ones link - the id will be displayed in that url.

06-03-2008, 08:51 PM
#6
Zara is offline Zara
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 249
iTrader: 9 / 100%
 

Zara is on a distinguished road

  Old

Erm, that won't work because different categories are visible to different user groups. Not to mention that at some point in time I may re-arrange the forums or add a new category.

Thanks,
- Phaaze

06-03-2008, 09:39 PM
#7
Sam Granger is offline Sam Granger
Status: Request a custom title
Join date: Feb 2005
Location: The Netherlands
Expertise:
Software:
 
Posts: 2,616
iTrader: 19 / 88%
 

Sam Granger is on a distinguished road

Send a message via MSN to Sam Granger

  Old

Originally Posted by Phaaze View Post
Erm, that won't work because different categories are visible to different user groups. Not to mention that at some point in time I may re-arrange the forums or add a new category.

Thanks,
- Phaaze
in that case, unskinnable - unless you make a modification...

06-03-2008, 09:40 PM
#8
Sam Granger is offline Sam Granger
Status: Request a custom title
Join date: Feb 2005
Location: The Netherlands
Expertise:
Software:
 
Posts: 2,616
iTrader: 19 / 88%
 

Sam Granger is on a distinguished road

Send a message via MSN to Sam Granger

  Old

Originally Posted by Phaaze View Post
Erm, that won't work because different categories are visible to different user groups. Not to mention that at some point in time I may re-arrange the forums or add a new category.

Thanks,
- Phaaze
in that case, unskinnable - unless you make a modification...

You can edit catend but the lines under cateogies will also display for each including the last....

06-03-2008, 10:15 PM
#9
Zara is offline Zara
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 249
iTrader: 9 / 100%
 

Zara is on a distinguished road

  Old

I beg to differ, I placed the bottom style below the categories then in the stylesheet used position: relative; and a negative top margin.

Mission Accomplished without any PHP Mods or complex skinning.

Thanks,
- Phaaze

06-03-2008, 11:42 PM
#10
strikedata is offline strikedata
Status: I'm new around here
Join date: May 2008
Location: Texas, USA
Expertise:
Software:
 
Posts: 6
iTrader: 0 / 0%
 

strikedata is on a distinguished road

Send a message via AIM to strikedata

  Old

Way to go Phaaze. Stick at it and you figured it out

Closed Thread  
Page 1 of 2 1 2 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed