php forum
php mysql forum
php mysql smarty
 
Topic Options
#226720 - 10/23/02 10:17 AM Question on a few minor changes
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Ok, there are just a few changes I want to make, but so far have not been able to figure out.<br /><br />1st - In ubbthreads.php I want the forum links to be underlined. Sure that's easy to just change the links text-decoration, but I don't want all links to be underlined. Just those main forum headings. I tried a few things, but nothing worked.<br /><br />2nd - In postlist.php in the subject column, I would also like to adjust the size of just that column with links. Even if it is only 1px or so, I'd like it a little bigger. Again, I can't find a way to do just that and not affect everything else.<br /><br />3rd - It goes along with postlist.php, and this may be a template specific issue, but how do I make the rows a bit taller? Right now they seem to really squish the text. I'd like a bit more padding on the top and bottom to help space things out a bit.<br /><br />Any help with that would be appreciated <img src="/forum/images/graemlins/smile.gif" alt="" /> Thanks!

Top
#226721 - 10/23/02 11:55 AM Re: Question on a few minor changes [Re: palmen]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
1 - you can add a specific class to accomplish this, then wrap the boxes with the class <img src="/forum/images/graemlins/smile.gif" alt="" /> Say:<br /><br /><br /><br />.forumlinks A:link {<br /> text-decoration: underline;<br />}<br />.forumlinks A:visited {<br /> text-decoration: underline;<br />}<br />.forumlinks A:active {<br /> text-decoration: underline;<br />}<br />.forumlinks A:HOVER {<br /> text-decoration: underline;<br />}<br /><br />2. are you adjusting the text size? You could handle it the same way, add a class, then set font-size to the size you prefer.<br /><br />3. you can adjust cellpadding in your theme settings up one pixel and see if it's better. If you don't like the way it loks throughout, you can adjust that particular table in the postlist.tmpl <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#226722 - 10/23/02 12:26 PM Re: Question on a few minor changes [Re: SurfMinister]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Thanks Dave! I got #1 working as you suggested. But number 2 is not working. This is how I have postlist.tmpl:<br /><br /><pre><font class="small">code:</font><hr><td align="left" width="50%" class="tdheader"><br /><font class="subjectsize"><br /><a href="{$config['phpurl']}/postlist.php?Cat=$Cat&amp;Board=$Board&amp;page=$page&amp;view=$view&amp;sb=$sortsubject&amp;o=$o"><br />{$ubbt_lang['SUBJECT_TEXT']}<br /></a><br /></font><br /> $SubjectS<br /></td></pre><hr><br /><br />Here is the entry in the CSS for subjectsize:<br /><pre><font class="small">code:</font><hr>.subjectsize {<br /> font-size : 16px;<br />}</pre><hr><br /><br />I just think its weird, the first one works fine, but doing the same thing for this doesn't. I'm probably just putting a tag in the wrong spot or something dumb.

Top
#226723 - 10/23/02 12:43 PM Re: Question on a few minor changes [Re: palmen]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
who's dave? <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />tdheader may be over-riding the font class... you can try:<br /><br /><td align="left" width="50%" class="tdheader subjectsize"> <br /><br />and see if that fixes it, otherwise you might need to edit tdheader's font-size setting <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#226724 - 10/23/02 01:36 PM Re: Question on a few minor changes [Re: SurfMinister]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Sorry Allen, I get in such a habit thanking dave I forget who I'm talking to <img src="/forum/images/graemlins/laugh.gif" alt="" /><br /><br />Anyway, I found my mistake, I overlooked it but I was making the change in the template for just the header of the subject table, not in the loop where it displays all the posts. So, it is working now. Thanks Allen

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks