Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Guest Topic View Limit V0.1.1 for YaBB 2.5 (Read 8960 times)
pyragony
Junior Member
**
Offline


abgeschlafft und ausgebufft

Posts: 85
Location: Eichenau
Joined: Apr 26th, 2008
Gender: Male
Re: Guest Topic View Limit V0.1.1 for YaBB 2.5
Reply #15 - May 10th, 2012 at 8:29am
Print Post  
Quote:
<edit file>
Languages/German/Admin.lng
</edit file>

<search for>
);

%floodtxt = (
</search for>

<add before>
'enable_guest_view_limit' => 'Aktiviert Gast-Themen-Ansicht-Limit?<br /><span class="small">Wenn diese Option gesetzt wird, können sie die Themen, die Gäste sehen können, begrenzen. Damit werden sie ermutigt, sich zu registrieren. Die Mengen der Themen kann frei gewählt werden.</span>',
'guest_view_limit' => 'Gast-Themen-Ansicht-Limit:<br /><span class="small">Stellen Sie die Menge an Themen ein, die Gäste sehen können, bevor sie dazu ermutigt werden, sich zu registrieren.</span>',
'guest_view_limit_block' => 'Blockiere Gäste von der Themenansicht, nachdem sie das Limit erreicht haben?<br /><span class="small">Wenn diese Option aktiviert ist, werden die Gäste vom betrachten von mehr Themen blockiert, nachdem das Limit erreicht wurde.<br />Unkontrolliert lassen eine freundliche Nachricht am oberen Bereich der Nachricht erscheinen.</span>',
</add before>

<edit file>
Languages/German/Display.lng
</edit file>

<search for>
);

1;
</search for>

<add before>
'guest_message' => 'Besuchernachricht',
'guest_message_block' => "Hallo Besucher,<br /><br />sorry, aber Sie haben die Menge an Themen, die Sie berechtigt sind als Gast zu besichtigen, überschritten. Um möglichst viele Themen anzuzeigen, wie Sie möchten und von vielen weiteren Features zu profitieren, warum <a href=\"$scripturl?action=register\" style=\"font-weight: bold;\">registrieren sie sich nicht bei uns?</a>. Die Registration ist leicht und dauert nur ein paar Minuten.<br /><br />Sie sind bei uns bereits Mitglied, dann können sie sich <a href=\"$scripturl?action=login\" style=\"font-weight: bold;\">hier einlogen</a> um diese Nachricht zu stoppen.<br /><br />Vielen Dank!<br /><br />Das $mbname Team",
'guest_message_warn' => "Hallo Besucher,<br /><br />wie es aussieht, genießen sie das Lesen in unserem Forum. Also warum <a href=\"$scripturl?action=register\" style=\"font-weight: bold;\">registrieren sie sich nicht bei uns</a> um diese Nachricht zu stoppen und profitieren von den vielen weiteren Features? Die Registrierung ist einfach und dauert nur ein paar Minuten.<br /><br />Wenn sie bereits Mitglied bei uns sind, dann <a href=\"$scripturl?action=login\" style=\"font-weight: bold;\">klicken sie hier zum einlogen.</a><br /><br />Vielen Dank,<br /><br />das $mbname Team",
</add before>



%floodtxt = (  wrong

%floodtxt=(  right

The German characters are corrupted (ä, ö, ü, ß)

A blank is missing, fault of mine.

errors also in German_Du


I'll see if there are more mistakes and make a new package today.
How can I see you've also changed the mod again. I look at this again.
  

Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Guest Topic View Limit V0.1.1 for YaBB 2.5
Reply #16 - May 10th, 2012 at 1:22pm
Print Post  
Ah, okay. Could you attach them as text files for me instead then please? I've had problems before copying from the browser window...
  
Back to top
 
IP Logged
 
pyragony
Junior Member
**
Offline


abgeschlafft und ausgebufft

Posts: 85
Location: Eichenau
Joined: Apr 26th, 2008
Gender: Male
Re: Guest Topic View Limit V0.1.1 for YaBB 2.5
Reply #17 - May 11th, 2012 at 9:46am
Print Post  
Okay, will it do so. Need more time, because we have problems with a DDoS attack.
  

Back to top
WWW  
IP Logged
 
pyragony
Junior Member
**
Offline


abgeschlafft und ausgebufft

Posts: 85
Location: Eichenau
Joined: Apr 26th, 2008
Gender: Male
Re: Guest Topic View Limit V0.1.1 for YaBB 2.5
Reply #18 - May 12th, 2012 at 11:55am
Print Post  
Hi Derek,
I've got a problem that I see today for the first time.
If I want to save the German files individually, they can not be installed.
I get the following error message (see picture).



I work them right into the mod, it works without problems. I do not know why.
I find no fault. So here is the full mod, including the German files.

  

guest_topic_view_limit_011.mod ( 13 KB | Downloads )

Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Guest Topic View Limit V0.1.1 for YaBB 2.5
Reply #19 - May 12th, 2012 at 12:15pm
Print Post  
Hi pyragony,

I think I must have saved the files in a different character set - hopefully it hasn't affected any of my other mods I've released lately. Undecided

I might be a bit busy over the weekend, but I'll take a look at it as soon as I can.
  
Back to top
 
IP Logged
 
pyragony
Junior Member
**
Offline


abgeschlafft und ausgebufft

Posts: 85
Location: Eichenau
Joined: Apr 26th, 2008
Gender: Male
Re: Guest Topic View Limit V0.1.1 for YaBB 2.5
Reply #20 - May 18th, 2012 at 8:56pm
Print Post  
Hi Derek,
The blockade, however, has an undesirable side effect. The cookie that is set to remain valid in the long run. The visitors must always delete their cookies to see again the amounts of certain topics. Would not it be better if the cookie is eliminated after a certain period of time by myself? The time should be set by the forum operators. Is such a thing possible?
  

Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Guest Topic View Limit V0.1.1 for YaBB 2.5
Reply #21 - May 21st, 2012 at 3:36pm
Print Post  
pyragony wrote on May 18th, 2012 at 8:56pm:
The blockade, however, has an undesirable side effect. The cookie that is set to remain valid in the long run. The visitors must always delete their cookies to see again the amounts of certain topics.  

Isn't that sort of the point though? To stop guests viewing any more topics so they have to login or register...

pyragony wrote on May 18th, 2012 at 8:56pm:
The time should be set by the forum operators. Is such a thing possible?

I actually set the cookie to expire in one year, but it would be easy enough to make that an admin option - I'll see about adding it in when I get chance. If you want to change it yourself for now though, in Display.pl change the highlighted to the amount of time in minutes you feel is suitable:

Code
Select All
                -expires => '+525600m'); 

  
Back to top
 
IP Logged
 
pyragony
Junior Member
**
Offline


abgeschlafft und ausgebufft

Posts: 85
Location: Eichenau
Joined: Apr 26th, 2008
Gender: Male
Re: Guest Topic View Limit V0.1.1 for YaBB 2.5
Reply #22 - May 24th, 2012 at 10:08pm
Print Post  
Hi Derek,

Smiley
  

Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint