Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: pzyhô on June 01, 2011, 07:07:26 PM

Title: Replies and Views on Recent Posts
Post by: pzyhô on June 01, 2011, 07:07:26 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3028)

This is my First mod i ever made

This will Add the Replies and Views of the Posts to the Recent Post bar
Its a little ugly at the moment cause its just add the Translation Text and the Number but in Future it will look friendly

NOTE:

I tested this only on 2.0 RC5 without any mods so its maybe not working with other Versions or Mods.

Features for the Next version:

- Icon infront of Titel
- Complete in a Table

Update:

- added a Table
- Fixed some little bugs
- removed the german translation cause it faild

At the Moment i cant handle it with the Icon infront of the Subject so we have to wait until i found a way :)
Before you install the New Version, uninstall the previous cause its not updating it.

You may have to use it with "Recent Topics On Board Index" for an Better look



Changelog for 1.2


- Fixed Undefined index 'icon' .... BoardIndex.template.php line 333 caused by $post['icon']
- Fixed validation errors (table inside <dl>)
- Added <install for="2.0 RC5"> and <uninstall for="2.0 RC5"> in Install.xml
- Changed <id>views-replies</id> to <id>pzyhô:views-replies_1.2</id> in package-info.xml


Changelog for 1.2.1


- Fixed validation issue in HTML


Enjoy it ;)
Title: Re: Replies and Views on Recent Posts
Post by: -=[Vyorel]=- on June 01, 2011, 07:12:51 PM
Nice mod!

Thanks
Title: Re: Replies and Views on Recent Posts
Post by: Apllicmz on June 01, 2011, 08:04:24 PM
Nice work good mod
when update dont forget portuguese files

<!-- Modifcations.portuguese_pt.php  -->
    <file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
        <search position="end" /><![CDATA[?>]]>
        <add><![CDATA[$txt['recent_title'] = 'Assunto';
$txt['recent_views'] = 'Vistos';
$txt['recent_replies'] = 'Respostas';
$txt['recent_boardname'] = 'Nome do quadro';
$txt['recent_by'] = 'Autor';
$txt['recent_time'] = 'Data';]]></add></search>
</operation>
       
    </file>
Title: Re: Replies and Views on Recent Posts
Post by: pzyhô on June 01, 2011, 08:11:39 PM
Quote from: Joomlamz on June 01, 2011, 08:04:24 PM
Nice work good mod
when update dont forget portuguese files
Jep thanks ill add this in the next version or Tomorrow we will see but for now i go sleep :)
Title: Re: Replies and Views on Recent Posts
Post by: -=[Vyorel]=- on June 01, 2011, 09:51:31 PM
Romanian language :P

<file name="$languagedir/Modifications.english.php">
<operation>
<search position="end" /><![CDATA[?>]]>
<add><![CDATA[$txt['recent_title'] = 'Subiect';
$txt['recent_views'] = 'Vizualizari';
$txt['recent_replies'] = 'Raspunsuri';
$txt['recent_boardname'] = 'Nume sectiune';
$txt['recent_by'] = 'Autor';
$txt['recent_time'] = 'Data';]]></add></search>
</operation>

</file>
Title: Re: Replies and Views on Recent Posts
Post by: pzyhô on June 04, 2011, 06:59:20 PM
I update it, if 2.0 is out.

greetz pzyhô
Title: Re: Replies and Views on Recent Posts
Post by: Kimmen on September 29, 2011, 02:49:27 AM
I want this for my forums, i use 2.0 gold. Could please update this for us?
Title: Re: Replies and Views on Recent Posts
Post by: prolink on June 23, 2012, 05:02:51 PM
I install this mod already but I could not find set for use. Please tell me  :)