• Welcome to Simple Machines Community Forum. Please login or sign up.

Edit and Align Categories

Started by deadhero, May 21, 2013, 04:09:25 PM

Previous topic - Next topic

deadhero

May 21, 2013, 04:09:25 PM Last Edit: June 29, 2013, 03:09:54 AM by deadhero
Link to Mod

Edit and Align Categories Mod

Features:

  • Select categories font type.
  • Select categories font size.
  • Align cateogires.






Settings:

Administration Center » Configuration » Modifiaction Settings






License:


Colin

"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

akaewn

dostum güzel çalışma :)
thanks :) good job

akbora

Well done. Very good mod and your mod doesn't include your web address. Thanks good job.
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

deadhero

May 22, 2013, 12:50:39 AM #4 Last Edit: June 23, 2013, 01:50:44 PM by deadhero
Quote from: akbora on May 21, 2013, 05:01:20 PM
Well done. Very good mod and your mod doesn't include your web address. Thanks good job.

Thanks, i install in my adress.


I upgraded the mod.

ForumACK

Very nice ;)

Çok güzel olmuş eline sağlık :)

deadhero


deadhero

Modification from the admin panel will be set soon. Please wait.

deadhero

June 12, 2013, 03:56:36 PM #8 Last Edit: June 23, 2013, 01:51:59 PM by deadhero
Changelog:

English:

Modifiaction Upgraded.

-Added Admin Settings (Align Categories, Font Size, Font Type)
-XHTML errors have been corrected.

Turkish:

Modifikasyon Güncellendi.

-Yönetim Ayarları Eklendi (Kategorileri Ortala, Yazı Boyutu, Yazı Tipi)
-XHTML hataları giderildi.

deadhero

June 13, 2013, 10:54:04 AM #9 Last Edit: June 23, 2013, 01:52:15 PM by deadhero
English:

Modifiaction Upgraded.

-Mitigated Shadow Effect
-Now Modifiaction Seems Only Categories

Turkish:

Modifikasyon Güncellendi.

-Gölge Efekti Hafifletildi
-Modifikasyon Artık Sadece Kategorilerde Görünüyor

deadhero


deadhero

English:

Modifiaction Upgraded.

Changelog:

- Shadow effect removed.
- Some changes on admin settings.

Turkish:

Modifikasyon Güncellendi.

Değişiklikler:

- Gölge efekti kaldırıldı çünkü bazı temalarda kötü görünüyordu.
- Admin Ayarlarında bazı değişiklikler yapıldı.

deadhero


deadhero

Mod updated to new SMF version.

Kacper

Thanks for the MOD. Hope you will update it each time new version of SMF will be released.

Colin

Nicely done DeadHero. Thanks for all of the updates!
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

deadhero

Modifiaction Updated.

Changelog:
- XHTML errors have been corrected.

MaccabeeY

December 26, 2013, 04:03:41 AM #17 Last Edit: December 29, 2013, 01:59:54 AM by Colin
I think the font functionality parts do not work quite right.  Here is a fix so all the font size and family will work
Enjoy,
Edward


      if (($modSettings['catalign'] == 1))
      {
         echo '
            <object><div class="eacm_center">';
//         if (($modSettings['editcat'] == 1)) //DOESN'T SEEM HE DIDN'T PUT IN A "editcat" setting
         if (!empty($modSettings['catsize']) || !empty($modSettings['catface']))
         {
            echo '
               <span style="';
            if (!empty($modSettings['catsize']))
               echo '
                  font-size:', $modSettings['catsize'], 'px;';
            if (!empty($modSettings['catface']))
               echo '
                  font-family:', $modSettings['catface'], ';';
            echo '
               ">', $category['link'], '</span>';
         }
         else
            echo '
               ', $category['link'];
         echo '
            </div></object>';
      }
      else
      {
         echo '
            ', $category['link'];
      }
         echo '
                     </h3>
                  </div>
               </td>
            </tr>
         </tbody>';


MaccabeeY

December 27, 2013, 04:41:17 PM #18 Last Edit: December 27, 2013, 05:05:17 PM by MaccabeeY
Hi, I like your mod.  Looking at your code I can tell you are not a professional programmer and that you do not quite understand what the elements in the language do, for example, I can tell you are unclear as how the braces, {...}, serve in flow control in IF statements.

Here are a couple references you may want to review http://www.w3schools.com/php/php_if_else.asp [nofollow] and http://www.php.net/manual/en/control-structures.intro.php [nofollow]

Also, the use of the <font> tag is a deprecated (and discontinued) construct, http://www.w3schools.com/tags/tag_font.asp [nofollow]

Regardless, despite you not being a pro, I admire your efforts.

Please know, the code I sent you does not generate errors.  My forum is running with the code I wrote for you and the error log is clean as a whistle.  If you are getting errors, either they are from some other part of your forum, or you put the code in your file incorrectly.

No harm, no foul, and if I can help explain anything to you, I would be happy to help.
Keep up the good work...
ED

deadhero

This mod is very old so i first created i don't know php well.

I pm to you for your code get syntax error but i look agein and you can add
                   </h3>
                  </div>
               </td>
            </tr>
         </tbody>';
to bottom. First i can't see that. Your code can't get error but it's can't work (change style and font size) i pm my last canges to you.

Advertisement: