News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Display Posted Topics Mod

Started by Lintz, July 17, 2008, 09:59:41 PM

Previous topic - Next topic

Deprecated

I've just given this modification package a cursory test on SMF 2.0b3.1p (default theme) and it appears to work correctly. You might want to consider changing your modsite listing to indicate it is compatible with 2.0.

I expect to install it on my production forum tomorrow. Thanks for your work! :)

Lintz

Thanks Deprecated, have updated my mod listing.

Deprecated

#22
Great. It's cool to come out with a mod package, even better if it is 1.1.5/2.0b3.1p compatible.

xrunner

I was getting the error below, over 800+ pages of them, and when I took out this mod, the errors quit. So it looks like this mod caused them. Any ideas why?

8: Undefined index: postedinthread
File: /home/whydoes1/public_html/forums/Themes/default/MessageIndex.template.php (main sub template - eval?)
Line: 224

Deprecated

Please upload a zip of your MessageIndex.template.php so that everybody can look at it.

xrunner

Quote from: Deprecated on August 13, 2008, 05:22:39 PM
Please upload a zip of your MessageIndex.template.php so that everybody can look at it.

I can't because I am only the Admin, the owner of the forum is the only one who has Cpanel access and he isn't around now.

Basie

Superb mod.

I actually find this to be a very useful feature.

Thankyou. :)


JungleBunny

OK, long time ago.......
But THANKS for this useful mod ! :D :D :D :D :D :D :D :D :D

Kimmie

#29
anyone tried this on RC1.2 yet? and of so does it work? I had it on my 1.1.9 forum and lost it in the upgrade. My members (and myself) are LOST without it..lol


EDIT: I went ahead and tried it because it only does 2 edits.. and it works great on RC1.2. The only problem I had was with installation - messageindex.template.php. The layout that it looks for, is not the same layout that is in the default code (its all on one line instead of 3 lines like te parser shows) therefore it couldnt find it and it had to be manually edited. (seems alot of mods do that on 2.0 lol).

bazo

Hi, i have SMF 1.1.10 actually and i tried to install this MOD on my forum but nothing happened, i use the defaut template,, i tried to change manually directly in the file but again nothing happened

bazo

No response it's too bad, i think it's a good MOD

TDNY

Seamless install via package manager on my default core smf vers 1.1.11 Thanks for the great mod!
TDNY

luismanson

Quote from: Lintz on July 17, 2008, 09:59:41 PM
Link to Mod

This mod will display an image next to each topic the currently logged in user has posted in.

Hi, i made a little upgrade on your mod so it works with the latest 2.0 RC2 SMF its ok with you if i share it? or maybe you could upgrade yours :)

thanks!


Kimmie

Will this mod be updated for use with RC3? Sure hope so, we miss it..lol

Bugo

modification.xml for install on SMF 2.0 RC3:
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
    <id>Lintz:DisplayPostedTopicsMod</id>
    <version>1.0</version>
    <name>DisplayPostedTopicsMod</name>

    <file name="$themedir/MessageIndex.template.php">
        <operation>
            <search position="after"><![CDATA[
            // Is this topic new? (assuming they are logged in!)]]></search>
            <add><![CDATA[
           
            if (!empty($topic['is_posted_in']))
                 echo '
            <img src="' . $settings['images_url'] . '/icons/posted.gif" align="right" title="' , $txt['postedinthread'] ,'" style="margin: 0;" />';]]></add>
        </operation>
    </file>

   <file name="$languagedir/Modifications.english.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
$txt['postedinthread'] = 'You have posted in this thread';
]]></add>
      </operation>
   </file>
   
</modification>

Uni Azul

Quote from: Kimmie on August 14, 2009, 03:33:43 PM
anyone tried this on RC1.2 yet? and of so does it work? I had it on my 1.1.9 forum and lost it in the upgrade. My members (and myself) are LOST without it..lol


EDIT: I went ahead and tried it because it only does 2 edits.. and it works great on RC1.2. The only problem I had was with installation - messageindex.template.php. The layout that it looks for, is not the same layout that is in the default code (its all on one line instead of 3 lines like te parser shows) therefore it couldnt find it and it had to be manually edited. (seems alot of mods do that on 2.0 lol).

Tengo el mismo problema, me podés mostrar en un messageindex.template.php donde hiciste la edición? Gracias, no se que hacer con eso

(I have the same problem, you can show me a messageindex.template.php where did the editing? Thank you, that can not do with it)


Advertisement: