Hide Topic Replies

Started by tyty1234, August 22, 2009, 07:45:23 AM

Previous topic - Next topic

waruna

Quote from: tyty1234 on February 17, 2010, 12:27:52 AM
Quote from: waruna on February 13, 2010, 02:40:45 AM
Also, I got this error when done installing.

url: action=recent
Quote
"Not unique table/alias: 't'
File: /home/mydomain/domains/mydomain.net/public_html/v10/Sources/Recent.php
Line: 279"

How to solve this? :(

Can you attach the Recent.php file?

Recent.php attached. Thank you sir.
Trust of Lust

tyty1234

@waruna: I apologize deeply about the delay. I've been caught up with school work, and a couple of projects, but I attached the recent.php file. It should fix the problem.

As a note to everyone else who wants the suggested features, I'll try to do that when I can. As I mentioned above, I've been getting caught up with school work, and I'm also actively involved in a couple SMF projects, so please bear with me. :)
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

waruna

tyty1234, after put that Recent.php file, nothing really changed. Guests can freely browse the forum.  :'(
Trust of Lust

tyty1234

Can you provide a link to your forum? Did it fix the error at least?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

waruna

Quote from: tyty1234 on March 01, 2010, 03:52:51 AM
Can you provide a link to your forum? Did it fix the error at least?

I think not.

First, I install this mod and yes, guest can only see first post of a thread. But action=recent still show the error. Then I replaced the Recent.php file attached by you, and action=recent back to normal, but guest can browse freely back.

I PM-ed you my link. Thanks :)
Trust of Lust

tyty1234

Quote from: waruna on March 01, 2010, 05:15:16 AM
Quote from: tyty1234 on March 01, 2010, 03:52:51 AM
Can you provide a link to your forum? Did it fix the error at least?

I think not.

First, I install this mod and yes, guest can only see first post of a thread. But action=recent still show the error. Then I replaced the Recent.php file attached by you, and action=recent back to normal, but guest can browse freely back.

I PM-ed you my link. Thanks :)
Did you verify that you enabled the "Hide topic replies from guests" option found in Admin -> Forum -> Post and Topics -> Topic Settings?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

waruna

Quote from: tyty1234 on March 01, 2010, 05:55:23 AM
Quote from: waruna on March 01, 2010, 05:15:16 AM
Quote from: tyty1234 on March 01, 2010, 03:52:51 AM
Can you provide a link to your forum? Did it fix the error at least?

I think not.

First, I install this mod and yes, guest can only see first post of a thread. But action=recent still show the error. Then I replaced the Recent.php file attached by you, and action=recent back to normal, but guest can browse freely back.

I PM-ed you my link. Thanks :)
Did you verify that you enabled the "Hide topic replies from guests" option found in Admin -> Forum -> Post and Topics -> Topic Settings?

Ah my bad :D. Sorry I forgot to enable that option. Thanks tyty1234. It works now!. Great, thanks a bunch :*
Trust of Lust

Eclipse16V

Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
I worked with:
SMF 2 in German

Shop:
SID Giessen

rbeuker

I just wanted to say: thanks for this great mod! I love it :D

Oh, and one question, about this:

$txt['hideTopicReplies_notify'] = 'Hello Guest! Replies in this topic have been hidden from view. You are currently missing %1$d replies. Please register or login if you want to view the replies.';

If there is only 1 reply, it reads like 'You are currently missing 1 replies'. It would be nice if it could read '1 reply' instead. How could I do that? ;)

Thanks again!

Ronald

Dennissmith

hi i installed this mod on smf2.0rc3 is not workin i can see n read the replies from it wich is not good :(

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

eng_HK

This mod is really greate!

Here the translation you for Italian.
You have to add this part to install-languages.xml

Thanks again.

<file name="$languagedir/Modifications.italian.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Hide Topic Replies Mod.
$txt['hideTopicReplies'] = 'Nascondi Risposte a ospiti';
$txt['hideTopicReplies_notify'] = 'Benvenuto ospite! Le risposte a questa discussione sono %1$d . Le risposte non sono visibili agli utenti non registrati.';]]></add>
      </operation>
   </file>


Apllicmz

portuguese

<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Hide Topic Replies Mod
$txt['hideTopicReplies'] = 'Esconder respostas dos topicos aos visitantes';
$txt['hideTopicReplies_notify'] = 'Ol&aacute; Visitante! As respostas deste topico foram ocultas a visitantes. Por Favor <a href="'.$scripturl.'?action=register">registe-se</a> ou <a href="'.$scripturl.'?action=login">Entre</a> para poder ter acesso a todo o Forum.';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Hide Topic Replies Mod
$txt['hideTopicReplies'] = 'Esconder respostas dos topicos aos visitantes';
$txt['hideTopicReplies_notify'] = 'Ol&aacute; Visitante! As respostas deste topico foram ocultas a visitantes. Por Favor <a href="'.$scripturl.'?action=register">registe-se</a> ou <a href="'.$scripturl.'?action=login">Entre</a> para poder ter acesso a todo o Forum.';]]></add>
        </operation>
    </file>



hcfwesker

Very , very handy MOd to have.  One question, i looked but couldn't find where to change the text color for the guests message under the first post.  The default is red.

Sakae

Does it works on SMF 2.0 RC4? :)
http://www.tigrelog.com.br
l: simple p: machines

rbeuker

Quote from: Sakae on December 01, 2010, 08:30:39 PM
Does it works on SMF 2.0 RC4? :)
I can confirm it works! :) I had to update the install-rc2.xml and package-info.xml files though.

hcfwesker

Care to share the edits?  I plan on using this when i upgrade to RC4 next month.

hcfwesker

Quote from: Sakae on December 01, 2010, 08:30:39 PM
Does it works on SMF 2.0 RC4? :)

I emulated my version down to RC3, and downloaded the first zip, and installed with no errors, and works fine.

tyty1234

Quote from: hcfwesker on December 09, 2010, 08:36:53 PM
Quote from: Sakae on December 01, 2010, 08:30:39 PM
Does it works on SMF 2.0 RC4? :)

I emulated my version down to RC3, and downloaded the first zip, and installed with no errors, and works fine.

Yes if you emulate to RC3, you should be fine :)
If I do find the time this week to update, then I will update the mod.
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Sakae

I got this working since then :)
http://www.tigrelog.com.br
l: simple p: machines

Advertisement: