Welcome, Guest. Please Login or Register.
November 06, 2024, 12:20:30 AM
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  |  [Done] Reverse columns « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [Done] Reverse columns  (Read 1319 times)
I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
[Done] Reverse columns
« on: June 13, 2003, 10:04:09 AM »
Reply with quote

This mod will reverse the column totals of "threads/posts" and "posts/views" so that the larger figure is on the left.

This works with 1.5.x versions, though I'm not sure how far back it actually applies.

My assertion is that on a YaBB SE, Westerners will generally tend to unconsciously place more emphasis on the left-hand column totals than the right column totals, notably as a consequence of reading left-to-right.

Therefore this mod should help create a casual information illusion, intended to fool prospective members into thinking your forum is more active.

I'm not going to argue and defend the point of my reasoning. It rests. :)


Here's the mod code:



<id>
Reverse Columns
</id>

<name>
Reverse Columns
</name>

<version>
1.0 (YaBB SE 1.5.3)
</version>

<mod info>
Reverses the columns "threads/posts" and "posts/views" to help fledgling communities appear bigger to the very casual visitor.
</mod info>

<author>
Text by I, Brian, but actual coding by Daniel Hofverberg. Additional thanks to Aquilo and Grudge.
</author>

<homepage>
http://www.chronicles-network.net
</homepage>


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

<search for>
                  <td class="titlebg" width="6%" align="center"><b>' . $txt[330] . '</b></td>

                  <td class="titlebg" width="6%" align="center"><b>' . $txt[21] . '</b></td>
</search for>

<replace>
                  <td class="titlebg" width="6%" align="center"><b>' . $txt[21] . '</b></td>

                  <td class="titlebg" width="6%" align="center"><b>' . $txt[330] . '</b></td>
</replace>


<search for>
                  <td class="windowbg" valign="middle" align="center" width="6%">

                     ' . $row_board['numTopics'] . '

                  </td>

                  <td class="windowbg" valign="middle" align="center" width="6%">

                     '. $row_board['numPosts'] . '
</search for>

<replace>
                  <td class="windowbg" valign="middle" align="center" width="6%">

                     ' . $row_board['numPosts'] . '

                  </td>

                  <td class="windowbg" valign="middle" align="center" width="6%">

                     '. $row_board['numTopics'] . '
</replace>


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

<search for>
               <td class="titlebg" bgcolor="' . $color['titlebg'] . '" width="4%" align="center">

                  <font size="2" class="text1" color="' . $color['titletext'] . '"><b>' . $txt[110] . '</b></font>

               </td>

               <td class="titlebg" bgcolor="' . $color['titlebg'] . '" width="4%" align="center">

                  <font size="2" class="text1" color="' . $color['titletext'] . '"><b>' . $txt[301] . '</b></font>

               </td>
</search for>

<replace>
               <td class="titlebg" bgcolor="' . $color['titlebg'] . '" width="4%" align="center">

                  <font size="2" class="text1" color="' . $color['titletext'] . '"><b>' . $txt[301] . '</b></font>

               </td>

               <td class="titlebg" bgcolor="' . $color['titlebg'] . '" width="4%" align="center">

                  <font size="2" class="text1" color="' . $color['titletext'] . '"><b>' . $txt[110] . '</b></font>

               </td>
</replace>


<search for>
               <td class="windowbg" valign="middle" width="4%" align="center" bgcolor="' . $color['windowbg'] . '">

                  <font size="2">' . $mreplies . '</font></td>

               <td class="windowbg" valign="middle" width="4%" align="center" bgcolor="' . $color['windowbg'] . '">

                  <font size="2">' . $views . '</font></td>
</search for>

<replace>
               <td class="windowbg" valign="middle" width="4%" align="center" bgcolor="' . $color['windowbg'] . '">

                  <font size="2">' . $views . '</font></td>

               <td class="windowbg" valign="middle" width="4%" align="center" bgcolor="' . $color['windowbg'] . '">

                  <font size="2">' . $mreplies . '</font></td>
</replace>



« Last Edit: June 13, 2003, 10:05:44 AM by I, Brian » Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done] Reverse columns « 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.071 seconds with 21 queries.