Welcome, Guest. Please Login or Register.
June 26, 2024, 12:24:11 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.4.+][Code]Nicer categories « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: [Beta 1.4.+][Code]Nicer categories  (Read 7334 times)
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
[Beta 1.4.+][Code]Nicer categories
« on: August 10, 2002, 07:30:05 AM »
Reply with quote

This takes "Forum name" off and removes that row.  Puts "Topics", "Posts", & "Last post" in the category row.  Also, every category is now a table so you can do stuff like adding space in the middle (which this mod does with 3 line breaks).  If you want to host a boardmod file for me, go ahead and copy this.

This should work for 1.4 and 1.4.1 ;D

<edit file>/Sources/BoardIndex.php</edit file>

<search for>
  <tr>
    <td class="titlebg" colspan="2"><b>$txt[20]</b></td>
    <td class="titlebg" width="6%" align="center"><b>$txt[330]</b></td>
    <td class="titlebg" width="6%" align="center"><b>$txt[21]</b></td>
    <td class="titlebg" width="22%" align="center"><b>$txt[22]</b></td>
  </tr>
EOT;
</search for>

<replace></replace>

<search for>
    <td colspan="5" class="catbg" height="18"><a name="$row_board[ID_CAT]"><b>$row_board[catName]</b></a></td>
</search for>

<replace>
   <td class="catbg" height="18"><a name="$row_board[ID_CAT]"><b>$row_board[catName]</b></a></td>
   <td class="titlebg" align="center"><b>$txt[21]</b></td>
   <td class="titlebg" align="center"><b>$txt[21]</b></td>
   <td class="titlebg" align="center"><b>$txt[22]</b></td>
</replace>

<search for>
    <td class="windowbg2" valign="middle" width="22%"><font size="1">$latestPostTime<br />$txt[yse88] <a href="$scripturl?board=$row_board[ID_BOARD];action=display;threadid=$topicID;start=$startPage;boardseen=1">$subject</a><br> $txt[525] $latestPostName</font></td>
  </tr>
EOT;
</search for>

<replace>
    <td class="windowbg2" valign="middle" width="22%"><font size="1">$latestPostTime<br />$txt[yse88] <a href="$scripturl?board=$row_board[ID_BOARD];action=display;threadid=$topicID;start=$startPage;boardseen=1">$subject</a><br> $txt[525] $latestPostName</font></td>
  </tr>
  </table><br><br><br>
EOT;
</replace>

<search for>
  <tr>
    <td class="titlebg" colspan="6" align="center">
    <table cellpadding="0" border="0" cellspacing="0" width="100%">
      <tr>
        <td align="left">
        <img src="$imagesdir/new_some.gif" border="0" alt="$txt[333]">&nbsp;&nbsp;
        <img src="$imagesdir/new_none.gif" border="0" alt="$txt[334]"></td>
        <td align="right"><font size="1">&nbsp;
EOT;
</search for>

<add before>
<table border=0 width="100%" cellspacing="1" cellpadding="5" class="bordercolor">
</add before>
« Last Edit: August 16, 2002, 07:31:57 AM by groundup » Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
KillaP
Full Member
***
Posts: 131


I'm fine..... No really I am.

WWW
Re:[code][beta]Nicer categories
« Reply #1 on: August 13, 2002, 10:42:20 PM »
Reply with quote

Can we have this updated for 1.4.1?   I beg you.  :-*
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:[code][beta]Nicer categories
« Reply #2 on: August 13, 2002, 10:59:40 PM »
Reply with quote

LOL I like the kisses  ;)

I will probably do it when I get home from dinner.  Does the code actually work?  Do you have a test forum I can see :)?
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
KillaP
Full Member
***
Posts: 131


I'm fine..... No really I am.

WWW
Re:[code][beta]Nicer categories
« Reply #3 on: August 13, 2002, 11:27:07 PM »
Reply with quote

Actually I haven't had the chance to install it and then 1.4.1 came out.  I would love to use it and beta test it for you if you wish.  :)  Also, I knew you would like the kisses.  ;) :-*
Logged
KillaP
Full Member
***
Posts: 131


I'm fine..... No really I am.

WWW
Re:[Beta 1.4.0][Code]Nicer categories
« Reply #4 on: August 14, 2002, 06:01:57 PM »
Reply with quote

Not to rush, but how's it coming?  I am eager to try it out.  ;D
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:[Beta 1.4.0][Code]Nicer categories
« Reply #5 on: August 14, 2002, 09:53:40 PM »
Reply with quote

I just looked at it and it should work for 1.4 and 1.4.1.  Try that out and tell me the effect :)
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
KillaP
Full Member
***
Posts: 131


I'm fine..... No really I am.

WWW
Re:[Beta 1.4.0][Code]Nicer categories
« Reply #6 on: August 14, 2002, 09:57:42 PM »
Reply with quote

I'm trying right now.  ;D
Logged
KillaP
Full Member
***
Posts: 131


I'm fine..... No really I am.

WWW
Re:[Beta 1.4.0][Code]Nicer categories
« Reply #7 on: August 14, 2002, 10:08:35 PM »
Reply with quote

ooo.  Since I have a lot of mods that have edited the boardindex, this is tougher than I thought.  It may take me longer.  :o
Logged
Floyds
Noobie
*
Posts: 48


I'm a llama!

Re:[Beta 1.4.+][Code]Nicer categories
« Reply #8 on: September 04, 2002, 08:15:00 AM »
Reply with quote

what must you replace here..

<search for>
 <tr>
   <td class="titlebg" colspan="2"><b>$txt[20]</b></td>
   <td class="titlebg" width="6%" align="center"><b>$txt[330]</b></td>
   <td class="titlebg" width="6%" align="center"><b>$txt[21]</b></td>
   <td class="titlebg" width="22%" align="center"><b>$txt[22]</b></td>
 </tr>
EOT;
</search for>

<replace></replace>

It's in the first part of de script/code ??
Logged
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:[Beta 1.4.+][Code]Nicer categories
« Reply #9 on: September 04, 2002, 09:41:23 AM »
Reply with quote

Replace it with nothing, in other words delete it
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:[Beta 1.4.+][Code]Nicer categories
« Reply #10 on: September 07, 2002, 05:08:37 PM »
Reply with quote

Does anyone have this mod working, so that I can see how it looks?
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
Kalin Somphane
YaBB God
*****
Posts: 555


I am personal text!

ICQ - 20280987 WWW
Re:[Beta 1.4.+][Code]Nicer categories
« Reply #11 on: September 09, 2002, 12:37:38 AM »
Reply with quote

good question
Logged

EZTARCH - The Original YaBBSE PHP Portal
Unlike many others, I accept support requests, in exchange for godly worship every weekday including saturday and sunday.
scunderground
Noobie
*
Posts: 11


I'm a llama!

Re:[Beta 1.4.+][Code]Nicer categories
« Reply #12 on: September 25, 2002, 03:53:46 AM »
Reply with quote

i am having 2 parse errors and i did everything it said
can someone post a board index file that has it already done? in a zip?
the only mod i have installed is chris cromer's global mod center
i zipped BoardIndex.php
if you have time look at it,
http://scunderground.com/BoardIndex.zip
« Last Edit: September 25, 2002, 04:07:41 AM by scunderground » Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:[Beta 1.4.+][Code]Nicer categories
« Reply #13 on: September 25, 2002, 10:23:23 PM »
Reply with quote

what are the errors?  post the line numbers and what is on those numbers.  Thank You
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
Ma§t£r Öf Ŧçh£m¥
Jr. Member
**
Posts: 58


Bow down before the one you serve...

WWW
Re:[Beta 1.4.+][Code]Nicer categories
« Reply #14 on: October 05, 2002, 04:27:16 AM »
Reply with quote

I'd suggest instead of deleting that section just replace it with something like "//This section removed for Nicer Caegories Mod" this would allow easier removal of this mod in the future ;)
Logged

Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.4.+][Code]Nicer categories « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.101 seconds with 20 queries.