Customizing SMF > Modifications and Packages

Replies and Views on Recent Posts

(1/2) > >>

pzyhô:
Link to Mod

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 ;)

-=[Vyorel]=-:
Nice mod!

Thanks

Joomlamz:
Nice work good mod
when update dont forget portuguese files


--- Code: ---<!-- 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>
--- End code ---

pzyhô:

--- Quote from: Joomlamz on June 01, 2011, 08:04:24 PM ---Nice work good mod
when update dont forget portuguese files

--- End quote ---
Jep thanks ill add this in the next version or Tomorrow we will see but for now i go sleep :)

-=[Vyorel]=-:
Romanian language :P


--- Code: ---<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>
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version