Advertisement:

Author Topic: Best 3 mod (Best Member - Best Topic - Best Moderator)  (Read 38343 times)

Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #40 on: April 22, 2009, 09:19:37 AM »
as a idea, can you advise us , if there has been any changes as you stated the last edited date was today and put it as versions, so we can follow

ok, sorry about that
by the way if the edit is only add new language i will not writing the Reason of modify  :P

in every mod page there is a Feature Called (Manual Install Instructions for SMF ) Choose  your smf Version and click (Parse)

update 22-04-2009

Allright. Thats the info i was missing. I tried the parse button choosing my version. But thats result in an error page. But now i'm looking at the right mods aspecialy for the version 1.1.8. Now i can modify some lines in some files and the mods are working.

Thanks.  :D

You are welcome  :D
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Offline CesarManara

  • Jr. Member
  • **
  • Posts: 124
  • Gender: Male
  • Portuguse Brazilian Translator
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #41 on: April 26, 2009, 03:12:14 PM »
Modifications.portuguese_brazilian.php

Code: [Select]
//best3 mode for SMF by islam2hamy
$txt['admin_best3'] = 'Configurações da Modificação Best3 Para SMF';
$txt['best3_mode_enable'] = 'Habilitar a modificação Best3?';
$txt['admin_best3_user'] = 'Melhor Membro :';
$txt['admin_best3_topic'] = 'Melhor Tópico :';
$txt['admin_best3_moderator'] = 'Melhor Moderador :' ;
$txt['best3_user'] = 'Melhor Membro';
$txt['best3_topic'] = 'Melhor Tópico';
$txt['best3_moderator'] = 'Melhor Moderador' ;
« Last Edit: April 26, 2009, 03:17:28 PM by CesarManara »

Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #42 on: April 27, 2009, 01:05:56 AM »
Thank you ,
Language will be added soon.
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Offline ZeUsSaN

  • Semi-Newbie
  • *
  • Posts: 28
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #43 on: May 03, 2009, 09:41:26 PM »
ukrainian
Code: [Select]
//Best3 mod for SMF by islam2hamy - translating into Ukrainian by ZeUsSaN
$txt['admin_best3'] = 'Налаштування Best3 mode';
$txt['best3_mode_enable'] = 'Ввімкнути Best3 mode?';
$txt['admin_best3_user'] = 'Кращий Користувач :';
$txt['admin_best3_topic'] = 'Краща Тема :';
$txt['admin_best3_moderator'] = 'Кращий Модератор :' ;
$txt['best3_user'] = 'Кращий Користувач';
$txt['best3_topic'] = 'Краща Тема';
$txt['best3_moderator'] = 'Кращий модератор' ;

Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #44 on: May 04, 2009, 12:54:17 AM »
ukrainian
Code: [Select]
//Best3 mod for SMF by islam2hamy - translating into Ukrainian by ZeUsSaN
$txt['admin_best3'] = 'Налаштування Best3 mode';
$txt['best3_mode_enable'] = 'Ввімкнути Best3 mode?';
$txt['admin_best3_user'] = 'Кращий Користувач :';
$txt['admin_best3_topic'] = 'Краща Тема :';
$txt['admin_best3_moderator'] = 'Кращий Модератор :' ;
$txt['best3_user'] = 'Кращий Користувач';
$txt['best3_topic'] = 'Краща Тема';
$txt['best3_moderator'] = 'Кращий модератор' ;

Tank you,
language added .
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Offline nikoskar

  • Semi-Newbie
  • *
  • Posts: 13
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #45 on: May 15, 2009, 06:55:29 AM »
For Greek People
Code: [Select]
$txt['admin_best3'] = 'Best3 Επιλογή - Ρυθμίσεις';
$txt['best3_mode_enable'] = 'Ενεργοποίηση Best3 Επιλογή?';
$txt['admin_best3_user'] = 'Καλύτερο Μέλος :';
$txt['admin_best3_topic'] = 'Καλύτερο Θέμα :';
$txt['admin_best3_moderator'] = Καλύτερος Συντονιστής:' ;
$txt['best3_user'] = 'Καλύτερο Μέλος';
$txt['best3_topic'] = 'Καλύτερο Θέμα';
$txt['best3_moderator'] = 'Καλύτερος Συντονιστής' ;

Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #46 on: May 15, 2009, 11:21:55 PM »
For Greek People
Code: [Select]
$txt['admin_best3'] = 'Best3 Επιλογή - Ρυθμίσεις';
$txt['best3_mode_enable'] = 'Ενεργοποίηση Best3 Επιλογή?';
$txt['admin_best3_user'] = 'Καλύτερο Μέλος :';
$txt['admin_best3_topic'] = 'Καλύτερο Θέμα :';
$txt['admin_best3_moderator'] = Καλύτερος Συντονιστής:' ;
$txt['best3_user'] = 'Καλύτερο Μέλος';
$txt['best3_topic'] = 'Καλύτερο Θέμα';
$txt['best3_moderator'] = 'Καλύτερος Συντονιστής' ;

Tank you ,
language added.
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





TheListener

  • Guest
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #47 on: May 17, 2009, 07:25:49 PM »
This is a fantastic mod.

Can 'Best Topic" be replaced with something like Top Gamer?

as in arcade

Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #48 on: May 18, 2009, 01:17:10 AM »
This is a fantastic mod.

Thank you

Quote
Can 'Best Topic" be replaced with something like Top Gamer?

as in arcade

Yes you can do that , edit the "Modifications" file and the image in your "images" directory .
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Offline Verso

  • Jr. Member
  • **
  • Posts: 201
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #49 on: May 21, 2009, 08:41:42 AM »
I have installed this mod but it didn't install to my theme:- DS-Natural from Dziner Studio




Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #50 on: May 21, 2009, 09:25:27 AM »
I have installed this mod but it didn't install to my theme:- DS-Natural from Dziner Studio

edit the "index.template.php" file

Find:
Code: [Select]
// The main content should go here.
Add Before:

Code: [Select]
//best3 mode for SMF by islam2hamy
   if (!empty($modSettings['best3_mode_enable']))
echo'
<br/>
      <div align="center">
        <table border="1"  align="center">
<tr>
            <td align="center" class="catbg" valign="center"><font size="4">' ,$txt['best3_user'], '</font></td>
            <td align="center" class="catbg" valign="center"><font size="4">' ,$txt['best3_topic'], '</font></td>
<td align="center" class="catbg" valign="center"><font size="4">' ,$txt['best3_moderator'], '</font></td>
</tr>
<tr>
            <td align="center" class="catbg2" valign="center"><img width="128" height="128" border="0" title="' ,$txt['best3_user'], '" alt="' ,$txt['best3_user'], '" src="' . $settings['images_url'] . '/user.png" /></td>
<td align="center" class="catbg2" valign="center"><img width="128" height="128" border="0" title="' ,$txt['best3_topic'], '" alt="' ,$txt['best3_topic'], '" src="' . $settings['images_url'] . '/topic.png" /></td>
<td align="center" class="catbg2" valign="center"><img width="128" height="128" border="0" title="' ,$txt['best3_moderator'], '" alt="' ,$txt['best3_moderator'], '" src="' . $settings['images_url'] . '/moderator.png" /></td>
</tr>
<tr>
            <td align="center" class="catbg" valign="center">', !empty($modSettings['admin_best3_user']) ? $modSettings['admin_best3_user'] : '', '</td>
<td align="center" class="catbg" valign="center">', !empty($modSettings['admin_best3_topic']) ? $modSettings['admin_best3_topic'] : '', '</td>
<td align="center" class="catbg" valign="center">', !empty($modSettings['admin_best3_moderator']) ? $modSettings['admin_best3_moderator'] : '', '</td>
</tr>
    </table>
  </div>';
//End best3
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Offline Atty

  • Newbie
  • *
  • Posts: 8
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #51 on: June 12, 2009, 01:41:38 PM »
Is there a way to link the name in mast mod and best user to that person profile page and same with best topic links to that topic

also it would be nice to add extra settings that auto pick people like best user would be the user that made the most post in the past X days. and best topic would be the wone with most new posts in past X days

is any of that possable?

PS im am not good at editing so and update file woudl be much better for me :P

Norwegian
Code: [Select]
$txt['admin_best3'] = 'Best3 modus for SMF - Innstillinger';
$txt['best3_mode_enable'] = 'Aktiver Best2 modus?';
$txt['admin_best3_user'] = 'Beste Medlem :';
$txt['admin_best3_topic'] = 'Beste Emne :';
$txt['admin_best3_moderator'] = 'Beste Moderatorer :' ;
$txt['best3_user'] = 'Beste Medlem';
$txt['best3_topic'] = 'Beste Emne';
$txt['best3_moderator'] = 'Beste Moderatorer' ;

Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #52 on: June 13, 2009, 02:07:57 AM »
Is there a way to link the name in mast mod and best user to that person profile page and same with best topic links to that topic
yes you can try this

Code: [Select]
<a href="URL to profile" target="_blank">username</a>
Quote
also it would be nice to add extra settings that auto pick people like best user would be the user that made the most post in the past X days. and best topic would be the wone with most new posts in past X days

is any of that possable?

thank you for the idea,
i will work on new Features in the summer holiday


Quote
Norwegian
Code: [Select]
$txt['admin_best3'] = 'Best3 modus for SMF - Innstillinger';
$txt['best3_mode_enable'] = 'Aktiver Best2 modus?';
$txt['admin_best3_user'] = 'Beste Medlem :';
$txt['admin_best3_topic'] = 'Beste Emne :';
$txt['admin_best3_moderator'] = 'Beste Moderatorer :' ;
$txt['best3_user'] = 'Beste Medlem';
$txt['best3_topic'] = 'Beste Emne';
$txt['best3_moderator'] = 'Beste Moderatorer' ;

thank you for the translation i will add it soon .
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





TheListener

  • Guest
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #53 on: July 02, 2009, 07:15:32 PM »
Having used this mod previously it was becoming popular on the forum.

However despite manual edits I have been unable to get the mod working on the new theme.

We use 2.0 RC1-1 with the blackrain v2 theme.

Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #54 on: July 03, 2009, 01:23:29 AM »
Thank you.

search for :

Code: [Select]
   // Show the menu here, according to the menu sub template.
   template_menu();

   echo '
      <div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';
    theme_linktree2();

add after (your custom code) :

Code: [Select]
   //best3 mode for SMF by islam2hamy
   if (!empty($modSettings['best3_mode_enable']))
   echo'
   <br/>
      <div align="center">
        <table border="1"  align="center">
       <tr>
            <td align="center" class="catbg" valign="center"><font size="4">' ,$txt['best3_user'], '</font></td>
            <td align="center" class="catbg" valign="center"><font size="4">' ,$txt['best3_topic'], '</font></td>
         <td align="center" class="catbg" valign="center"><font size="4">' ,$txt['best3_moderator'], '</font></td>
       </tr>     
       <tr>
            <td align="center" class="catbg2" valign="center"><img width="128" height="128" border="0" title="' ,$txt['best3_user'], '" alt="' ,$txt['best3_user'], '" src="' . $settings['images_url'] . '/user.png" /></td>
         <td align="center" class="catbg2" valign="center"><img width="128" height="128" border="0" title="' ,$txt['best3_topic'], '" alt="' ,$txt['best3_topic'], '" src="' . $settings['images_url'] . '/topic.png" /></td>
         <td align="center" class="catbg2" valign="center"><img width="128" height="128" border="0" title="' ,$txt['best3_moderator'], '" alt="' ,$txt['best3_moderator'], '" src="' . $settings['images_url'] . '/moderator.png" /></td>
       </tr>
       <tr>
            <td align="center" class="catbg" valign="center">', !empty($modSettings['admin_best3_user']) ? $modSettings['admin_best3_user'] : '', '</td>
         <td align="center" class="catbg" valign="center">', !empty($modSettings['admin_best3_topic']) ? $modSettings['admin_best3_topic'] : '', '</td>
         <td align="center" class="catbg" valign="center">', !empty($modSettings['admin_best3_moderator']) ? $modSettings['admin_best3_moderator'] : '', '</td>
       </tr>
       </table>
     </div>';
   //End best3

or you can use file attach (and don't forget to copy the images to the new theme image folder)
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





TheListener

  • Guest
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #55 on: July 08, 2009, 01:44:41 AM »
Which piece of text should I remove to delete one of the two best 3s?

I have attached the index template for you to look at and also an image of the error.

I have added an image to my images folder as i want to change the 'best topic' to 'best game' but am unsure where the image should go and am also unsure of the location of the template where the best topic should be changed.


Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #56 on: July 08, 2009, 02:02:34 AM »
ok i thing , you will need to change

Code: [Select]
$txt['admin_best3_topic'] = 'Best Topic :';
from the "Modifications.YOURLANGUAGE.php" file

to

Code: [Select]
$txt['admin_best3_topic'] = 'best game :';
and rename the "best game" image to "topic.png"
and add it to "Themes/BlackRainV220rc1/images/"

does that help??
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





TheListener

  • Guest
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #57 on: July 08, 2009, 02:12:14 AM »
Seems my tired eyes ( or old) can't find the modifications file.

Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #58 on: July 08, 2009, 06:50:25 AM »
in your default theme
Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





TheListener

  • Guest
Re: Best 3 mod (Best Member - Best Topic - Best Moderator)
« Reply #59 on: July 08, 2009, 07:34:52 PM »
Woohoo sorted ( almost) just need an image lol

Are the images a certain size?