Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: slinouille on May 27, 2008, 08:30:01 PM

Title: Frustrate Your Guests
Post by: slinouille on May 27, 2008, 08:30:01 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1213)



FrustrateYourGuests v1.1
By Slinouille (http://custom.simplemachines.org/mods/index.php?action=search;author=68142)



Introduction
This mod gives the ability to frustrate your guest by showing them all the topics of a board, but when trying to watch a topic then all posts are hidden.

Features
o Ability to enable or disable the mod
o Ability to activate it for each board
o Will only be taken into account if Guests are allowed on the board
o Ability to disable any existing board rights for Guests on which FYG is enabled

Installation
Simply install the package to install this modification on the SMF Default Core theme.
Manual edits will be required for other themes.

This mod is compatible with SMF 2.0 RC1 and above only.

Support
Please use the modification thread for support with this modification.

Changelog
1.1 - 23th April 2009
o Bug correction: if guest was printing the topic then he/she could see the content of posts. Not any more.

1.0 - 14th April 2009
o Entirely recoded

0.1 - 27th May 2008
o first public release
Title: Re: Frustrate Your Guests
Post by: Apllicmz on May 27, 2008, 10:45:06 PM
Good Work
Work fine

translate portuguese and brazilian

<file name="$languagedir/ManagePermissions.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Begin mod Frustrate Your Guests
$txt['permissionname_view_messages'] = 'Ver quadro das mensagens';
$txt['permissionhelp_view_messages'] = 'Activar esta op&ccedil;&atilde;o permite o seu visitante para ver todas as mensagens. Se n&atilde;o for activado, os visitantes ir&atilde;o ver todos os seus conselhos de administra&ccedil;&atilde;o e t&oacute;picos, mas n&atilde;o ser&atilde;o permitidos para ver mensagens. Na verdade, ser&aacute; solicitado para entrar ou registar se.<br><br><u>IMPORTANT : Por favor note que esta op&ccedil;&atilde;o s&oacute; &eacute; possível quando voc&ecirc; esta autorizado a ver os  quadro dos visitantes.</u>';
//End mod Frustrate Your Guests
]]></add>
</operation>
</file>

<file name="$languagedir/ManagePermissions.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Begin mod Frustrate Your Guests
$txt['permissionname_view_messages'] = 'Ver quadro das mensagens';
$txt['permissionhelp_view_messages'] = 'Activar esta op&ccedil;&atilde;o permite o seu visitante para ver todas as mensagens. Se n&atilde;o for activado, os visitantes ir&atilde;o ver todos os seus conselhos de administra&ccedil;&atilde;o e t&oacute;picos, mas n&atilde;o ser&atilde;o permitidos para ver mensagens. Na verdade, ser&aacute; solicitado para entrar ou registar se.<br><br><u>IMPORTANT : Por favor note que esta op&ccedil;&atilde;o s&oacute; &eacute; possível quando voc&ecirc; esta autorizado a ver os  quadro dos visitantes.</u>';
//End mod Frustrate Your Guests
]]></add>
</operation>
</file>


<file name="$languagedir/Login.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Start mod Frustrate Your Guests
$txt['mod_fyg_message'] = 'Somente membros registrados têm permissão para ler as mensagens.';
//End mod Frustrate Your Guests
]]></add>
</operation>
</file>

<file name="$languagedir/Login.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Start mod Frustrate Your Guests
$txt['mod_fyg_message'] = 'Somente membros registrados têm permissão para ler as mensagens.';
//End mod Frustrate Your Guests
]]></add>
</operation>
</file>
Title: Re: Frustrate Your Guests
Post by: RvG on May 27, 2008, 11:05:58 PM
thanks! this is excellent for bots to crawl the site without that much surfing...
Title: Re: Frustrate Your Guests
Post by: Daggers on May 28, 2008, 03:19:21 AM
Can this be altered for 1.1.5 ........   PLEASE :D

Title: Re: Frustrate Your Guests
Post by: _Anthony_ on May 28, 2008, 04:00:50 AM
Quote from: Daggers on May 28, 2008, 03:19:21 AM
Can this be altered for 1.1.5 ........   PLEASE :D


Yes do it your self. Or see if him will do it.
Title: Re: Frustrate Your Guests
Post by: Daggers on May 28, 2008, 07:31:22 AM
Quote from: MrMoney on May 28, 2008, 04:00:50 AM
Quote from: Daggers on May 28, 2008, 03:19:21 AM
Can this be altered for 1.1.5 ........   PLEASE :D


Yes do it your self. Or see if him will do it.

I just did!!

Can this be altered for 1.1.5 ........   PLEASE
Title: Re: Frustrate Your Guests
Post by: chrisb on May 28, 2008, 08:21:02 AM
Are we able to see this version made for 1.1.5

this would be very good for alot of people who use these site as well.
Title: Re: Frustrate Your Guests
Post by: slinouille on May 28, 2008, 03:43:40 PM
Hello guys !

I see that a conversion to 1.1.5 seems vital for some of you  ;D

I'll do that in the next days (I've got to reinstall a 1.1.5 smf forum and do an adaptation)

@joomlamz : thank you for trnaslations ... I'll insert them into a next release  ;)

Any other translations ?

Bye
Title: Re: Frustrate Your Guests
Post by: nick09 on May 28, 2008, 04:39:57 PM
Quote from: slinouille on May 28, 2008, 03:43:40 PM
Hello guys !

I see that a conversion to 1.1.5 seems vital for some of you  ;D

I'll do that in the next days (I've got to reinstall a 1.1.5 smf forum and do an adaptation)

@joomlamz : thank you for trnaslations ... I'll insert them into a next release  ;)

Any other translations ?

Bye

Yeah just install a test forum for 1.1.5 and make the mod compatible.
Title: Re: Frustrate Your Guests
Post by: RvG on May 28, 2008, 04:46:47 PM
can you add also aside from guest other membergroups on the field?

Other membergroups are allowed to browse and open topics but not read. This is in regards when a group is not allowed to go beyond that category.

Is this possible? :)
Title: Re: Frustrate Your Guests
Post by: LT07 on May 28, 2008, 09:18:15 PM
I have never seen the point in the members area being hidden from guests (especially by default) they just shouldn't be able to view posts.

I thought your mod was the answer BUT

My forum is already split into two sections, members and non members. With your mod they can preview the members topics without actually viewing them however they can no longer view the topics in the guests area :(

These permissions need to be able to be set for individual forums if you already have a guest posting area.
(or maybe I haven't got it set up right)
Title: Re: Frustrate Your Guests
Post by: slinouille on May 29, 2008, 05:06:36 AM
@LT07 : it is exactly how the mod has to be set. For each individual forums you have to set or not this right on.
So for the guest forums, you should not activate this right otherwize they will not be authorized to read topics messages

@RvG : do you mean that you would like to have the same right for membergroups?
Example: if your set this right on for membergroup1, all members of this group will not be abble to read topics messages on individual forums where this same right is set on.
Is that it?

SliN
Title: Re: Frustrate Your Guests
Post by: slinouille on May 29, 2008, 05:49:57 AM
Happy nick09 (http://index.php?action=profile;u=123831)!

Please get version 0.2, it is compliant with SMF 1.1.5  ;D

SliN
Title: Re: Frustrate Your Guests
Post by: villasg on May 29, 2008, 01:41:08 PM
Quote from: slinouille on May 29, 2008, 05:49:57 AM
Happy nick09 (http://index.php?action=profile;u=123831)!

Please get version 0.2, it is compliant with SMF 1.1.5  ;D

SliN

Hi . I run a board 1.1.5
If try to send via pakage manager i get error pakage
I upload manualy in ftp and install --> ok
But dont make any change in files .
I make manualy the changes but again dont work for me .
Any help plz ?


Title: Re: Frustrate Your Guests
Post by: protonxl on May 29, 2008, 06:08:00 PM
1.     Execute Modification     ./Themes/default/languages/ManagePermissions.english.php     Test successful
2.    Execute Modification    ./Themes/default/languages/Login.english.php    Test successful
3.    Execute Modification    ./Themes/default/languages/ManagePermissions.french.php    Skipping file
4.    Execute Modification    ./Themes/default/languages/Login.french.php    Skipping file
5.    Execute Modification    ./Themes/default/languages/ManagePermissions.portuguese.php    Skipping file
6.    Execute Modification    ./Themes/default/languages/ManagePermissions.brazilian.php    Skipping file
7.    Execute Modification    ./Themes/default/languages/Login.portuguese.php    Skipping file
8.    Execute Modification    ./Themes/default/languages/Login.brazilian.php    Skipping file
9.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
10.    Execute Modification    ./Sources/Display.php    Test successful
11.    Execute Modification    ./Themes/default/Login.template.php    Test successful
Title: Re: Frustrate Your Guests
Post by: slinouille on May 30, 2008, 02:52:06 AM
Hello,
@villasg (http://index.php?action=profile;u=157642) : when installing through package manager, what is the error you get ?

@protonxl : thank you for your post but it doesn't help very much ... what it"s your version? but I suppose it is 1.1.5. As I don't have any real 1.1.5 forum, can you send me your ManagePermissions.php file ?

Thks
Title: Re: Frustrate Your Guests
Post by: LT07 on May 30, 2008, 02:58:57 AM
Quote from: slinouille on May 29, 2008, 05:06:36 AM
@LT07 : it is exactly how the mod has to be set. For each individual forums you have to set or not this right on.
So for the guest forums, you should not activate this right otherwize they will not be authorized to read topics messages

SliN

I can't get it working...
I have two sections "non members" and "members"
guests have always been able to post and view posts in the non members forum
After installing your mod I had to go into "permissions, guests" and set guest permissions "View boards messages" just so they could continue using the non members forums, now if I select a members forum and add guest to the forum they can view the posts!! what am I doing wrong?
Title: Re: Frustrate Your Guests
Post by: villasg on May 30, 2008, 03:11:25 AM
Quote from: slinouille on May 30, 2008, 02:52:06 AM
Hello,
@villasg (http://index.php?action=profile;u=157642) : when installing through package manager, what is the error you get ?

Hello no errors in the install .
But if i check my files no one have changes , and i make the changes manual but dont work again .
Title: Re: Frustrate Your Guests
Post by: LT07 on May 30, 2008, 03:17:37 AM
ok I've been through it all again, it doesn't work if you already have a non members area, whilst guests gain the ability to see to post titles of the members area they lose the ability to view posts in the non members area....
Title: Re: Frustrate Your Guests
Post by: slinouille on May 30, 2008, 04:52:19 AM
ok thank you both for your precisions!
I've quickly checked things ... and SMF1.1.5 has an absolutely different way to manage permissions on boards. In SMF2, it is possible to give different permissions on each boards, things that doesn't seem possible to do with 1.1.5.
I've got to change the strategy for this version ... a simple adaptation as I've done is not enough  >:(
I'll do that ... if possible!
Thank you for your help  :D
Title: Re: Frustrate Your Guests
Post by: уιℓмαz on May 30, 2008, 05:25:51 AM
Thanks nice mod.

Turkish translation:
Code (ManagePermissions.turkish.php) Select
//Begin mod Frustrate Your Guests
$txt['permissionname_view_messages'] = 'Mesaj içeriğini görüntüleyebilir';
$txt['permissionhelp_view_messages'] = 'Bu seçeneği etkinleştirmek ziyaretçilerinizin forum mesajlarını görebilmesini sağlar. Etkinleştirilmezse ziyaretçiler bölümleri gezebilecek ancak konularda mesaj içeriğini göremeyecektir. Ziyaretçilerin giriş yapması veya kayıt olunması istenecektir.<br><br><u>ÖNEMLİ: Lütfen dikkat edin, bu seçenek sadece ziyaretçilere bölümleri görüntüleme izni verildiğinde çalışır.</u>';
//End mod Frustrate Your Guests



Code (Login.turkish.php) Select
//Start mod Frustrate Your Guests
$txt['mod_fyg_message'] = 'Sadece kayıtlı üyeler forum mesajlarını görüntüleyebilir.';
//End mod Frustrate Your Guests
Title: Re: Frustrate Your Guests
Post by: slinouille on May 30, 2008, 07:04:54 AM
New version 0.2.1 available.

It should now works for SMF1.1.5.
I've changed the strategy for this version and is the next:
- if guest has right 'View boards messages' then guest will see topics on boards he is not allowed to access (he will ONLY see the topics list) ;
- if guest has not right 'View boards messages' then guest will not see boards he is not allowed to access ;
It is now possible to manage this mod on forums where some boards are available for guest ;)

@уιℓмαz : Thank you for translation, it's embended in v0.2.1  ;D

@LT07: I hope it corresponds to what you want  :)
Title: Re: Frustrate Your Guests
Post by: sevacycles on May 31, 2008, 02:11:43 AM
I get this test failed.
11.    Execute Modification    ./Sources/ManagePermissions.php    Test failed

I'm Running SMF 1.1.5 with Tiny Portal v0.9.8
My mods are:
1.   Auto Embed Video Clips   2.1.5      
2.    SMF Trader System    1.1    
3.    Ad Managment    2.3    
4.    Integrate Lightbox    1.5    
5.    Welcome Topic Mod    1.1
6.    Colorized Membergroups    1.0    
7.    SMF Staff Page    1.6    
8.    Are You Human? Anti-Bot Registration Check    1.3    
9.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    
10.    Contact Page    1.1
11.    TinyPortal    0.983    
12.    Enhanced Quick Reply Box  2.0.2

If you want i send you a copy of
ManagePermissions.php
Title: Re: Frustrate Your Guests
Post by: slinouille on May 31, 2008, 08:12:42 AM
Quote from: sevacycles on May 31, 2008, 02:11:43 AM
If you want i send you a copy of
ManagePermissions.php

Yes please :)

I think it's due to a previous mod that had modified the line on which I rely on to insert some new code lines ;) ... indeed I've relaunched the installation on a absolutely fresh 1.1.5 forum and I don't have this message.

I'll check that as soon I've got the file ;)

Thks
Title: Re: Frustrate Your Guests
Post by: villasg on May 31, 2008, 12:23:51 PM
I install the new version OK
But if i put on this (http://custom.simplemachines.org/mods/index.php?action-download;mod=1213;id=56867;image) my guest READ ALL THE FORUM ( and one place for only for moderators ) read everithing .....
smf 1.1.5 
Title: Re: Frustrate Your Guests
Post by: slinouille on May 31, 2008, 04:41:26 PM
Quote from: villasg on May 31, 2008, 12:23:51 PM
I install the new version OK
But if i put on this (http://custom.simplemachines.org/mods/index.php?action-download;mod=1213;id=56867;image) my guest READ ALL THE FORUM ( and one place for only for moderators ) read everithing .....
smf 1.1.5 
ARgghh SMF1.1.5 is really frustrating me  ;D

I've retried on my forum, I can't reproduce that. Can you please indicate me the way you have customized the guest group and a board on which guest should not be allowed ... 2 screen captures could be nice ;)

Title: Re: Frustrate Your Guests
Post by: slinouille on May 31, 2008, 05:02:28 PM
Under SMF1.1.5, I've tried to do some screens captures of how the mod is "working"

SC n°1: Board "Guests and Members" =>
    - Allowed groups : guests and other groups


SC n°2: Board "Members only" =>
     - Allowed groups : any group except guests


SC n°3: Set permissions for group "Guests" =>
     - View boards messages : not allowed
    => in such configuration, no guest will have access to a board where guests are not allowed

SC n°4: Logged as a guest on the forum, I just see the board where guests are allowed

SC n°5: Set permissions for group "Guests" =>
     - View boards messages : allowed
    => in such configuration, guest will have access to all boards (even those where guests are not allowed) and all topics but not to messages

SC n°6: Logged as a guest on the forum, I see all boards

SC n°7: Logged as a guest on the forum, I see all topics

SC n°8: Logged as a guest on the forum, I'm not allowed to see the messages of the topics

I hope this is more clearer now :)
Title: Re: Frustrate Your Guests
Post by: kshares on May 31, 2008, 06:17:07 PM
WOW THNX this was very very greatful post I had the same problem but after this little tutorial now works great
really appreciate
Title: Re: Frustrate Your Guests
Post by: KiLLuMiNaTi-7- on May 31, 2008, 06:22:37 PM
Quote from: slinouille on May 31, 2008, 04:41:26 PM
ARgghh SMF1.1.5 is really frustrating me  ;D

That's your punishment for frustrating the quests  :D

Nice mod btw  ;)
Title: Re: Frustrate Your Guests
Post by: sevacycles on June 01, 2008, 03:31:06 AM
Quote from: slinouille on May 31, 2008, 08:12:42 AM
Quote from: sevacycles on May 31, 2008, 02:11:43 AM
If you want i send you a copy of
ManagePermissions.php

Yes please :)

I think it's due to a previous mod that had modified the line on which I rely on to insert some new code lines ;) ... indeed I've relaunched the installation on a absolutely fresh 1.1.5 forum and I don't have this message.

I'll check that as soon I've got the file ;)

Thks

Ok here it is.   V
Title: Re: Frustrate Your Guests
Post by: slinouille on June 01, 2008, 03:34:07 AM
Thanks guys  ;D

@sevacycles : I'll check that today ;) For information, I've not taken into account the fact that people may have boards dedicated to moderators only. I'll do an evolution in order to take that into account  :P
Title: Re: Frustrate Your Guests
Post by: slinouille on June 01, 2008, 05:03:43 AM
@sevacycles : I've check your file. It's quite normal that the installation script shows an error. Here is your file:

                'search_posts' => false,
               
        'view_stafflist' => false,
        'view_contact' => false,'karma_edit' => false,
                'payPal_view' => false,


The installation script is seeking for:
                'karma_edit' => false,

You should change you file to:
        'search_posts' => false,               
        'view_stafflist' => false,
        'view_contact' => false,
        'karma_edit' => false,
        'payPal_view' => false,


When you have an installation error, always compare your file to the installation script ;)

Bye
Title: Re: Frustrate Your Guests
Post by: mark7144 on June 01, 2008, 06:39:55 AM
1.1.5:

13.     Execute Modification     ./Sources/BoardIndex.php     Test failed

<?php
/**********************************************************************************
* BoardIndex.php                                                                  *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 1.1                                             *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006 by:          Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/
if (!defined('SMF'))
die('Hacking attempt...');

/* The single function this file contains is used to display the main
board index.  It uses just the following functions:

void BoardIndex()
- shows the board index.
- uses the BoardIndex template, and main sub template.
- may use the boardindex subtemplate for wireless support.
- updates the most online statistics.
- is accessed by ?action=boardindex.

bool calendarDoIndex()
- prepares the calendar data for the board index.
- takes care of caching it for speed.
- depends upon these settings: cal_showeventsonindex,
 cal_showbdaysonindex, cal_showholidaysonindex.
- returns whether there is anything to display.
*/

// Show the board index!
function BoardIndex()
{
global $txt, $scripturl, $db_prefix, $ID_MEMBER, $user_info, $sourcedir;
global $modSettings, $context, $settings;



// For wireless, we use the Wireless template...
if (WIRELESS)
$context['sub_template'] = WIRELESS_PROTOCOL . '_boardindex';
else
loadTemplate('BoardIndex');

// Remember the most recent topic for optimizing the recent posts feature.
$most_recent_topic = array(
'timestamp' => 0,
'ref' => null
);

// Find all boards and categories, as well as related information.  This will be sorted by the natural order of boards and categories, which we control.
$result_boards = db_query("
SELECT
c.name AS catName, c.ID_CAT, b.ID_BOARD, b.name AS boardName, b.description,
b.numPosts, b.numTopics, b.ID_PARENT, IFNULL(m.posterTime, 0) AS posterTime,
IFNULL(mem.memberName, m.posterName) AS posterName, m.subject, m.ID_TOPIC,
IFNULL(mem.realName, m.posterName) AS realName,"
. ($user_info['is_guest'] ? "
1 AS isRead, 0 AS new_from"
: "
(IFNULL(lb.ID_MSG, 0) >= b.ID_MSG_UPDATED) AS isRead, IFNULL(lb.ID_MSG, -1) + 1 AS new_from,
c.canCollapse, IFNULL(cc.ID_MEMBER, 0) AS isCollapsed"
) . ",
IFNULL(mem.ID_MEMBER, 0) AS ID_MEMBER, m.ID_MSG,
IFNULL(mods_mem.ID_MEMBER, 0) AS ID_MODERATOR, mods_mem.realName AS modRealName
FROM
{$db_prefix}boards AS b
LEFT JOIN
{$db_prefix}categories AS c ON (c.ID_CAT = b.ID_CAT)
LEFT JOIN
{$db_prefix}messages AS m ON (m.ID_MSG = b.ID_LAST_MSG)
LEFT JOIN
{$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)" . (!$user_info['is_guest'] ? "
LEFT JOIN
{$db_prefix}log_boards AS lb ON (lb.ID_BOARD = b.ID_BOARD AND lb.ID_MEMBER = $ID_MEMBER)
LEFT JOIN
{$db_prefix}collapsed_categories AS cc ON (cc.ID_CAT = c.ID_CAT AND cc.ID_MEMBER = $ID_MEMBER)" : '') . "
LEFT JOIN
{$db_prefix}moderators AS mods ON (mods.ID_BOARD = b.ID_BOARD)
LEFT JOIN
{$db_prefix}members AS mods_mem ON (mods_mem.ID_MEMBER = mods.ID_MEMBER)
WHERE (
$user_info[query_see_board]" . ($user_info['is_guest'] ? " OR b.ID_BOARD IN (19, 16, 22, 27)" : '') .')' . (empty($modSettings['countChildPosts']) ? "
AND b.childLevel <= 1"
: ''), __FILE__, __LINE__);

// Run through the categories and boards....
$context['categories'] = array();
while ($row_board = mysql_fetch_assoc($result_boards))
{
// Haven't set this category yet.
if (empty($context['categories'][$row_board['ID_CAT']]))
{
$context['categories'][$row_board['ID_CAT']] = array(
'id' => $row_board['ID_CAT'],
'name' => $row_board['catName'],
'is_collapsed' => isset($row_board['canCollapse']) && $row_board['canCollapse'] == 1 && $row_board['isCollapsed'] > 0,
'can_collapse' => isset($row_board['canCollapse']) && $row_board['canCollapse'] == 1,
'collapse_href' => isset($row_board['canCollapse']) ? $scripturl . '?action=collapse;c=' . $row_board['ID_CAT'] . ';sa=' . ($row_board['isCollapsed'] > 0 ? 'expand' : 'collapse;') . '#' . $row_board['ID_CAT'] : '',
'collapse_image' => isset($row_board['canCollapse']) ? '<img src="' . $settings['images_url'] . '/' . ($row_board['isCollapsed'] > 0 ? 'expand.gif" alt="+"' : 'collapse.gif" alt="-"') . ' border="0" />' : '',
'href' => $scripturl . '#' . $row_board['ID_CAT'],
'boards' => array(),
'new' => false
);
$context['categories'][$row_board['ID_CAT']]['link'] = '<a name="' . $row_board['ID_CAT'] . '" href="' . (isset($row_board['canCollapse']) ? $context['categories'][$row_board['ID_CAT']]['collapse_href'] : $context['categories'][$row_board['ID_CAT']]['href']) . '">' . $row_board['catName'] . '</a>';
}

// If this board has new posts in it (and isn't the recycle bin!) then the category is new.
if (empty($modSettings['recycle_enable']) || $modSettings['recycle_board'] != $row_board['ID_BOARD'])
$context['categories'][$row_board['ID_CAT']]['new'] |= empty($row_board['isRead']) && $row_board['posterName'] != '';

// Collapsed category - don't do any of this.
if ($context['categories'][$row_board['ID_CAT']]['is_collapsed'])
continue;

// Let's save some typing.  Climbing the array might be slower, anyhow.
$this_category = &$context['categories'][$row_board['ID_CAT']]['boards'];

// This is a parent board.
if (empty($row_board['ID_PARENT']))
{
// Is this a new board, or just another moderator?
if (!isset($this_category[$row_board['ID_BOARD']]))
{
// Not a child.
$isChild = false;

$this_category[$row_board['ID_BOARD']] = array(
'new' => empty($row_board['isRead']),
'id' => $row_board['ID_BOARD'],
'name' => $row_board['boardName'],
'description' => $row_board['description'],
'moderators' => array(),
'link_moderators' => array(),
'children' => array(),
'link_children' => array(),
'children_new' => false,
'topics' => $row_board['numTopics'],
'posts' => $row_board['numPosts'],
'href' => $scripturl . '?board=' . $row_board['ID_BOARD'] . '.0',
'link' => '<a href="' . $scripturl . '?board=' . $row_board['ID_BOARD'] . '.0">' . $row_board['boardName'] . '</a>'
);
}
if (!empty($row_board['ID_MODERATOR']))
{
$this_category[$row_board['ID_BOARD']]['moderators'][$row_board['ID_MODERATOR']] = array(
'id' => $row_board['ID_MODERATOR'],
'name' => $row_board['modRealName'],
'href' => $scripturl . '?action=profile;u=' . $row_board['ID_MODERATOR'],
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row_board['modRealName'] . '</a>'
);
$this_category[$row_board['ID_BOARD']]['link_moderators'][] = '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row_board['modRealName'] . '</a>';
}
}
// Found a child board.... make sure we've found its parent and the child hasn't been set already.
elseif (isset($this_category[$row_board['ID_PARENT']]['children']) && !isset($this_category[$row_board['ID_PARENT']]['children'][$row_board['ID_BOARD']]))
{
// A valid child!
$isChild = true;

$this_category[$row_board['ID_PARENT']]['children'][$row_board['ID_BOARD']] = array(
'id' => $row_board['ID_BOARD'],
'name' => $row_board['boardName'],
'description' => $row_board['description'],
'new' => empty($row_board['isRead']) && $row_board['posterName'] != '',
'topics' => $row_board['numTopics'],
'posts' => $row_board['numPosts'],
'href' => $scripturl . '?board=' . $row_board['ID_BOARD'] . '.0',
'link' => '<a href="' . $scripturl . '?board=' . $row_board['ID_BOARD'] . '.0">' . $row_board['boardName'] . '</a>'
);

// Counting child board posts is... slow :/.
if (!empty($modSettings['countChildPosts']))
{
$this_category[$row_board['ID_PARENT']]['posts'] += $row_board['numPosts'];
$this_category[$row_board['ID_PARENT']]['topics'] += $row_board['numTopics'];
}

// Does this board contain new boards?
$this_category[$row_board['ID_PARENT']]['children_new'] |= empty($row_board['isRead']);

// This is easier to use in many cases for the theme....
$this_category[$row_board['ID_PARENT']]['link_children'][] = &$this_category[$row_board['ID_PARENT']]['children'][$row_board['ID_BOARD']]['link'];
}
// Child of a child... just add it on...
elseif (!empty($modSettings['countChildPosts']))
{
if (!isset($parent_map))
$parent_map = array();

if (!isset($parent_map[$row_board['ID_PARENT']]))
foreach ($this_category as $id => $board)
{
if (!isset($board['children'][$row_board['ID_PARENT']]))
continue;

$parent_map[$row_board['ID_PARENT']] = array(&$this_category[$id], &$this_category[$id]['children'][$row_board['ID_PARENT']]);
$parent_map[$row_board['ID_BOARD']] = array(&$this_category[$id], &$this_category[$id]['children'][$row_board['ID_PARENT']]);

break;
}

if (isset($parent_map[$row_board['ID_PARENT']]))
{
$parent_map[$row_board['ID_PARENT']][0]['posts'] += $row_board['numPosts'];
$parent_map[$row_board['ID_PARENT']][0]['topics'] += $row_board['numTopics'];
$parent_map[$row_board['ID_PARENT']][1]['posts'] += $row_board['numPosts'];
$parent_map[$row_board['ID_PARENT']][1]['topics'] += $row_board['numTopics'];

continue;
}

continue;
}
// Found a child of a child - skip.
else
continue;

// Prepare the subject, and make sure it's not too long.
censorText($row_board['subject']);
$row_board['short_subject'] = shorten_subject($row_board['subject'], 24);
$this_last_post = array(
'id' => $row_board['ID_MSG'],
'time' => $row_board['posterTime'] > 0 ? timeformat($row_board['posterTime']) : $txt[470],
'timestamp' => forum_time(true, $row_board['posterTime']),
'subject' => $row_board['short_subject'],
'long_subject' => $row_board['subject'],
'long_subject' => $row_board['subject'],
'member' => array(
'id' => $row_board['ID_MEMBER'],
'username' => $row_board['posterName'] != '' ? $row_board['posterName'] : $txt[470],
'name' => $row_board['realName'],
'href' => $row_board['posterName'] != '' && !empty($row_board['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row_board['ID_MEMBER'] : '',
'link' => $row_board['posterName'] != '' ? (!empty($row_board['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MEMBER'] . '">' . $row_board['realName'] . '</a>' : $row_board['realName']) : $txt[470],
),
'start' => 'msg' . $row_board['new_from'],
'topic' => $row_board['ID_TOPIC']
);

// Provide the href and link.
if ($row_board['subject'] != '')
{
$this_last_post['href'] = $scripturl . '?topic=' . $row_board['ID_TOPIC'] . '.msg' . ($user_info['is_guest'] ? $modSettings['maxMsgID'] : $row_board['new_from']) . (empty($row_board['isRead']) ? ';boardseen' : '') . '#new';
$this_last_post['link'] = '<a href="' . $this_last_post['href'] . '" title="' . $row_board['subject'] . '">' . $row_board['short_subject'] . '</a>';
}
else
{
$this_last_post['href'] = '';
$this_last_post['link'] = $txt[470];
}

// Set the last post in the parent board.
if (empty($row_board['ID_PARENT']) || ($isChild && !empty($row_board['posterTime']) && $this_category[$row_board['ID_PARENT']]['last_post']['timestamp'] < forum_time(true, $row_board['posterTime'])))
$this_category[$isChild ? $row_board['ID_PARENT'] : $row_board['ID_BOARD']]['last_post'] = $this_last_post;
// Just in the child...?
if ($isChild)
{
$this_category[$row_board['ID_PARENT']]['children'][$row_board['ID_BOARD']]['last_post'] = $this_last_post;

// If there are no posts in this board, it really can't be new...
$this_category[$row_board['ID_PARENT']]['children'][$row_board['ID_BOARD']]['new'] &= $row_board['posterName'] != '';
}
// No last post for this board?  It's not new then, is it..?
elseif ($row_board['posterName'] == '')
$this_category[$row_board['ID_BOARD']]['new'] = false;

// Determine a global most recent topic.
if (!empty($row_board['posterTime']) && forum_time(true, $row_board['posterTime']) > $most_recent_topic['timestamp'])
$most_recent_topic = array(
'timestamp' => forum_time(true, $row_board['posterTime']),
'ref' => &$this_category[$isChild ? $row_board['ID_PARENT'] : $row_board['ID_BOARD']]['last_post'],
);
}
mysql_free_result($result_boards);

// Load the users online right now.
$result = db_query("
SELECT
lo.ID_MEMBER, lo.logTime, mem.realName, mem.memberName, mem.showOnline,
mg.onlineColor, mg.ID_GROUP, mg.groupName
FROM
{$db_prefix}log_online AS lo
LEFT JOIN
{$db_prefix}members AS mem ON (mem.ID_MEMBER = lo.ID_MEMBER)
LEFT JOIN
{$db_prefix}membergroups AS mg ON (mg.ID_GROUP = IF(mem.ID_GROUP = 0, mem.ID_POST_GROUP, mem.ID_GROUP))", __FILE__, __LINE__);

$context['users_online'] = array();
$context['list_users_online'] = array();
$context['online_groups'] = array();
$context['num_guests'] = 0;
$context['num_buddies'] = 0;
$context['num_users_hidden'] = 0;

$context['show_buddies'] = !empty($user_info['buddies']);

while ($row = mysql_fetch_assoc($result))
{
if (empty($row['realName']))
{
$context['num_guests']++;
continue;
}
elseif (empty($row['showOnline']) && !allowedTo('moderate_forum'))
{
$context['num_users_hidden']++;
continue;
}

// Some basic color coding...
if (!empty($row['onlineColor']))
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" style="color: ' . $row['onlineColor'] . ';">' . $row['realName'] . '</a>';
else
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';

$is_buddy = in_array($row['ID_MEMBER'], $user_info['buddies']);
if ($is_buddy)
{
$context['num_buddies']++;
$link = '<b>' . $link . '</b>';
}

$context['users_online'][$row['logTime'] . $row['memberName']] = array(
'id' => $row['ID_MEMBER'],
'username' => $row['memberName'],
'name' => $row['realName'],
'group' => $row['ID_GROUP'],
'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
'link' => $link,
'is_buddy' => $is_buddy,
'hidden' => empty($row['showOnline']),
);

$context['list_users_online'][$row['logTime'] . $row['memberName']] = empty($row['showOnline']) ? '<i>' . $link . '</i>' : $link;

if (!isset($context['online_groups'][$row['ID_GROUP']]))
$context['online_groups'][$row['ID_GROUP']] = array(
'id' => $row['ID_GROUP'],
'name' => $row['groupName'],
'color' => $row['onlineColor']
);
}
mysql_free_result($result);

krsort($context['users_online']);
krsort($context['list_users_online']);
ksort($context['online_groups']);

$context['num_users_online'] = count($context['users_online']) + $context['num_users_hidden'];

// Track most online statistics?
if (!empty($modSettings['trackStats']))
{
// Determine the most users online - both all time and per day.
$total_users = $context['num_guests'] + $context['num_users_online'];

// More members on now than ever were?  Update it!
if (!isset($modSettings['mostOnline']) || $total_users >= $modSettings['mostOnline'])
updateSettings(array('mostOnline' => $total_users, 'mostDate' => time()));

$date = strftime('%Y-%m-%d', forum_time(false));

// One or more stats are not up-to-date?
if (!isset($modSettings['mostOnlineUpdated']) || $modSettings['mostOnlineUpdated'] != $date)
{
$request = db_query("
SELECT mostOn
FROM
{$db_prefix}log_activity
WHERE date = '
$date'
LIMIT 1"
, __FILE__, __LINE__);

// The log_activity hasn't got an entry for today?
if (mysql_num_rows($request) == 0)
{
db_query("
INSERT IGNORE INTO
{$db_prefix}log_activity
(date, mostOn)
VALUES ('
$date', $total_users)", __FILE__, __LINE__);
}
// There's an entry in log_activity on today...
else
{
list ($modSettings['mostOnlineToday']) = mysql_fetch_row($request);

if ($total_users > $modSettings['mostOnlineToday'])
trackStats(array('mostOn' => $total_users));

$total_users = max($total_users, $modSettings['mostOnlineToday']);
}
mysql_free_result($request);

updateSettings(array('mostOnlineUpdated' => $date, 'mostOnlineToday' => $total_users));
}
// Highest number of users online today?
elseif ($total_users > $modSettings['mostOnlineToday'])
{
trackStats(array('mostOn' => $total_users));
updateSettings(array('mostOnlineUpdated' => $date, 'mostOnlineToday' => $total_users));
}
}

// Set the latest member.
$context['latest_member'] = &$context['common_stats']['latest_member'];

// Load the most recent post?
if ((!empty($settings['number_recent_posts']) && $settings['number_recent_posts'] == 1) || $settings['show_sp1_info'])
$context['latest_post'] = $most_recent_topic['ref'];

if (!empty($settings['number_recent_posts']) && $settings['number_recent_posts'] > 1)
{
require_once($sourcedir . '/Recent.php');

if (($context['latest_posts'] = cache_get_data('boardindex-latest_posts:' . md5($user_info['query_see_board'] . $user_info['language']), 180)) == null)
{
$context['latest_posts'] = getLastPosts($settings['number_recent_posts']);
cache_put_data('boardindex-latest_posts:' . md5($user_info['query_see_board'] . $user_info['language']), $context['latest_posts'], 180);
}

// We have to clean up the cached data a bit.
foreach ($context['latest_posts'] as $k => $post)
{
$context['latest_posts'][$k]['time'] = timeformat($post['raw_timestamp']);
$context['latest_posts'][$k]['timestamp'] = forum_time(true, $post['raw_timestamp']);
}
}

$settings['display_recent_bar'] = !empty($settings['number_recent_posts']) ? $settings['number_recent_posts'] : 0;
$settings['show_member_bar'] &= allowedTo('view_mlist');
$context['show_stats'] = allowedTo('view_stats') && !empty($modSettings['trackStats']);
$context['show_member_list'] = allowedTo('view_mlist');
$context['show_who'] = allowedTo('who_view') && !empty($modSettings['who_enabled']);

// Set some permission related settings.
$context['show_login_bar'] = $user_info['is_guest'] && !empty($modSettings['enableVBStyleLogin']);
$context['show_calendar'] = allowedTo('calendar_view') && !empty($modSettings['cal_enabled']);

// Load the calendar?
if ($context['show_calendar'])
$context['show_calendar'] = calendarDoIndex();

$context['page_title'] = $txt[18];
}

// Called from the BoardIndex to display the current day's events on the board index.
function calendarDoIndex()
{
global $modSettings, $context, $user_info, $scripturl, $sc, $ID_MEMBER;

// Make sure at least one of the options is checked.
if (empty($modSettings['cal_showeventsonindex']) && empty($modSettings['cal_showbdaysonindex']) && empty($modSettings['cal_showholidaysonindex']))
return false;

// Get the current forum time and check whether the statistics are up to date.
if (empty($modSettings['cal_today_updated']) || $modSettings['cal_today_updated'] != strftime('%Y%m%d', forum_time(false)))
updateStats('calendar');

// Load the holidays for today, ...
if (!empty($modSettings['cal_showholidaysonindex']) && isset($modSettings['cal_today_holiday']))
$holidays = unserialize($modSettings['cal_today_holiday']);
// ... the birthdays for today, ...
if (!empty($modSettings['cal_showbdaysonindex']) && isset($modSettings['cal_today_birthday']))
$bday = unserialize($modSettings['cal_today_birthday']);
// ... and the events for today.
if (!empty($modSettings['cal_showeventsonindex']) && isset($modSettings['cal_today_event']))
$events = unserialize($modSettings['cal_today_event']);

// No events, birthdays, or holidays... don't show anything.  Simple.
if (empty($holidays) && empty($bday) && empty($events))
return false;

// This shouldn't be less than one!
if (empty($modSettings['cal_days_for_index']) || $modSettings['cal_days_for_index'] < 1)
$days_for_index = 86400;
else
$days_for_index = $modSettings['cal_days_for_index'] * 86400;

$context['calendar_only_today'] = $modSettings['cal_days_for_index'] == 1;

// Get the current member time/date.
$now = forum_time();

// This is used to show the "how-do-I-edit" help.
$context['calendar_can_edit'] = allowedTo('calendar_edit_any');

// Holidays between now and now + days.
$context['calendar_holidays'] = array();
for ($i = $now; $i < $now + $days_for_index; $i += 86400)
{
if (isset($holidays[strftime('%Y-%m-%d', $i)]))
$context['calendar_holidays'] = array_merge($context['calendar_holidays'], $holidays[strftime('%Y-%m-%d', $i)]);
}

// Happy Birthday, guys and gals!
$context['calendar_birthdays'] = array();
for ($i = $now; $i < $now + $days_for_index; $i += 86400)
if (isset($bday[strftime('%Y-%m-%d', $i)]))
{
foreach ($bday[strftime('%Y-%m-%d', $i)] as $index => $dummy)
$bday[strftime('%Y-%m-%d', $i)][$index]['is_today'] = strftime('%Y-%m-%d', $i) == strftime('%Y-%m-%d', forum_time());
$context['calendar_birthdays'] = array_merge($context['calendar_birthdays'], $bday[strftime('%Y-%m-%d', $i)]);
}

$context['calendar_events'] = array();
$duplicates = array();
for ($i = $now; $i < $now + $days_for_index; $i += 86400)
{
if (empty($events[strftime('%Y-%m-%d', $i)]))
continue;

foreach ($events[strftime('%Y-%m-%d', $i)] as $ev => $event)
{
if (empty($event['topic']) || (count(array_intersect($user_info['groups'], $event['allowed_groups'])) != 0 || allowedTo('admin_forum')))
{
if (isset($duplicates[$events[strftime('%Y-%m-%d', $i)][$ev]['topic'] . $events[strftime('%Y-%m-%d', $i)][$ev]['title']]))
{
unset($events[strftime('%Y-%m-%d', $i)][$ev]);
continue;
}

$this_event = &$events[strftime('%Y-%m-%d', $i)][$ev];
$this_event['href'] = $this_event['topic'] == 0 ? '' : $scripturl . '?topic=' . $this_event['topic'] . '.0';
$this_event['modify_href'] = $scripturl . '?action=' . ($this_event['topic'] == 0 ? 'calendar;sa=post;' : 'post;msg=' . $this_event['msg'] . ';topic=' . $this_event['topic'] . '.0;calendar;') . 'eventid=' . $this_event['id'] . ';sesc=' . $sc;
$this_event['can_edit'] = allowedTo('calendar_edit_any') || ($this_event['poster'] == $ID_MEMBER && allowedTo('calendar_edit_own'));
$this_event['is_today'] = (strftime('%Y-%m-%d', $i)) == strftime('%Y-%m-%d', forum_time());
$this_event['date'] = strftime('%Y-%m-%d', $i);

$duplicates[$this_event['topic'] . $this_event['title']] = true;
}
else
unset($events[strftime('%Y-%m-%d', $i)][$ev]);
}

if (!empty($events[strftime('%Y-%m-%d', $i)]))
$context['calendar_events'] = array_merge($context['calendar_events'], $events[strftime('%Y-%m-%d', $i)]);
}

for ($i = 0, $n = count($context['calendar_birthdays']); $i < $n; $i++)
$context['calendar_birthdays'][$i]['is_last'] = !isset($context['calendar_birthdays'][$i + 1]);
for ($i = 0, $n = count($context['calendar_events']); $i < $n; $i++)
$context['calendar_events'][$i]['is_last'] = !isset($context['calendar_events'][$i + 1]);

// This is used to make sure the header should be displayed.
return !empty($context['calendar_holidays']) || !empty($context['calendar_birthdays']) || !empty($context['calendar_events']);
}

?>


:(
Title: Re: Frustrate Your Guests
Post by: villasg on June 01, 2008, 07:52:52 AM
THanks work
But dont is usefull for me .
Because i have a section < hidden for all exept one group >
With this < http://www.simplemachines.org/community/index.php?action=dlattach;topic=241586.0;attach=57359;image > guest see all forum and prive section .
I want guests view all forum , not view prive and canot view and cannot view any message in forum
I thing this is difficult .
Can u fixe it plase .

I want guests see all forum < exept prive section > but cannot view the messages in rest forum

Can make something for this
I think is very usefull for admins with prive sections in forum
Title: Re: Frustrate Your Guests
Post by: slinouille on June 01, 2008, 08:13:32 AM
@mark7144 : the error comes from the fact the line my mod has to modify isn't found in your file. Indeed your line is:
      WHERE ($user_info[query_see_board]" . ($user_info['is_guest'] ? " OR b.ID_BOARD IN (19, 16, 22, 27)" : '') .')' . (empty($modSettings['countChildPosts']) ? "
AND b.childLevel <= 1" : ''), __FILE__, __LINE__);

I'm seeking for:
        WHERE $user_info[query_see_board]" . (empty($modSettings['countChildPosts']) ? "
            AND b.childLevel <= 1" : ''), __FILE__, __LINE__);

Try this (without any garantee):
      WHERE (".(!allowedTo('view_messages') ? "$user_info[query_see_board]" : '1'). ($user_info['is_guest'] ? " OR b.ID_BOARD IN (19, 16, 22, 27)" : '') .')' . (empty($modSettings['countChildPosts']) ? "
AND b.childLevel <= 1" : ''), __FILE__, __LINE__);


I don't know why your file isn't the standard one but I can imagine that it's a self modification or a existing mod modification ;)

@villasg : I understand what you want with the "private" boards. I'm on that but it's not as simple as it seems because my mod relies on a query modification but on your case, it's much more ... but i'll try  :)
Can you please post a screen capture with the permissions on such a private board? thank you
Title: Re: Frustrate Your Guests
Post by: villasg on June 01, 2008, 08:56:05 AM

greece translation:

Code (ManagePermissions.greek-utf8.php) Select
//Begin mod Frustrate Your Guests
$txt['permissionname_view_messages'] = 'Βλεποντας τα μυνηματα των πινακων';
$txt['permissionhelp_view_messages'] = 'Ενεργοποιώντας αυτή την επιλογή  επιτρέπεις στους επισκέπτες να δουν όλα τα μηνύματα . Εαν δεν την ενεργοποιήσεις , τότε οι επισκέπτες θα μπορούν να δουν όλους τους πίνακες και όλα τα θέματά σας αλλά δεν θα επιτρέπετε να διαβάσουν τα μηνύματα . Έτσι αυτοί θα ερωτηθούν για να κάνουν login ή register.<br><br><u>ΣΗΜΑΝΤΙΚΟ : παρακαλώ λάβετε υπόψιν ότι αυτή η επιλογή είναι δυνατή μονό εάν έχετε επιτρέψει στους επισκέπτες να διαβάζουν το forum . </u>';
//End mod Frustrate Your Guests




Code (Login.greek-utf8.php) Select
//Start mod Frustrate Your Guests
$txt['mod_fyg_message'] = 'Μόνο τα μέλη έχουν την άδεια για να διαβάσουν τα μηνύματα .';
//End mod Frustrate Your Guests

Title: Re: Frustrate Your Guests
Post by: villasg on June 01, 2008, 09:00:43 AM
Quote from: slinouille on June 01, 2008, 08:13:32 AM

@villasg : I understand what you want with the "private" boards. I'm on that but it's not as simple as it seems because my mod relies on a query modification but on your case, it's much more ... but i'll try  :)
Can you please post a screen capture with the permissions on such a private board? thank you

In this area allow the mebers o group named "Ειδικο μελος" and the global moderators too.
Title: Re: Frustrate Your Guests
Post by: mark7144 on June 01, 2008, 12:41:05 PM
Thanks slinouille.

I'm really quite confused as to what to do with this mod for my situation. I have a VIP room which I never want guests to access or view topics of so I didn't install the mod for that.

But I installed the mod because I want the users to go into our members only forum board and see the thread titles but not go into them, how on earth can I do this? I've been playing around with the mod and when I give guests access to the members area they can see all the posts even when I have "View messages" unchecked.
Title: Re: Frustrate Your Guests
Post by: slinouille on June 01, 2008, 03:07:24 PM
Hello mark ... for the moment you can't do that.
I'm working on a new version that will be abble for SMF1.1.5 to forbid access to boards where "regular members" are not allowed. I hope that during this week I'll found some time to see how to do that :)
It's a functionnality that Villasg where describing just above;)
Title: Re: Frustrate Your Guests
Post by: mark7144 on June 01, 2008, 04:58:09 PM
Thanks, I'll keep an eye on this thread and try that out :)
Title: Re: Frustrate Your Guests
Post by: SwapsRulez on June 02, 2008, 12:54:59 AM
Hey, i think bots are considered as guest here. Suppose if i disallowed the guests to see the messages, will bots be able to see the message to crawl the site data. if bots are allowed & guests are not allowed, is it legal to have such structure of site which breaks the rules & conditions of google. :(
Please explain me how bots & guests are managed here ?
Thanks in advance :)
Title: Re: Frustrate Your Guests
Post by: slinouille on June 02, 2008, 08:00:42 AM
Hello,

I've put on line a version 0.2.2 that should forbid the access to guests on "private" boards (dedicated boards to specific member group).
During my tests, it works great ... guests and regular members can't see those "private" boards if the right "view boards messages" is enabled for guests.
Please tell me if it works in your configurations ;)

@SwapsRulez : concerning bots I just don't how it works (I don't know the google conditions). I think that bots will have exactly the same rights as guests. So they will only see the list of messages but not the messages themselves if the specific "view boards messages" is enabled.
Title: Re: Frustrate Your Guests
Post by: mark7144 on June 02, 2008, 09:57:43 AM
Quote from: slinouille on June 02, 2008, 08:00:42 AM
I've put on line a version 0.2.2 that should forbid the access to guests on "private" boards (dedicated boards to specific member group).
During my tests, it works great ... guests and regular members can't see those "private" boards if the right "view boards messages" is enabled for guests.
Please tell me if it works in your configurations ;)
Is this message to me? Can you give me brief instructions as what I should do?
Title: Re: Frustrate Your Guests
Post by: slinouille on June 02, 2008, 10:08:32 AM
Hello Mark,
You can test of course ... just uninstall previous version and reinstall this new one.
Activate the "View boards messages" for Guests and check if everything is ok for you ... that's all ;)
Title: Re: Frustrate Your Guests
Post by: villasg on June 02, 2008, 10:15:30 AM
With this version 0.2.2 in first test i take errors

1.     Execute Modification     ./Themes/default/languages/ManagePermissions.english.php     Test successful
2.    Execute Modification    ./Themes/default/languages/Login.english.php    Test successful
3.    Execute Modification    ./Themes/default/languages/ManagePermissions.french.php    Skipping file
4.    Execute Modification    ./Themes/default/languages/Login.french.php    Skipping file
5.    Execute Modification    ./Themes/default/languages/ManagePermissions.portuguese.php    Skipping file
6.    Execute Modification    ./Themes/default/languages/ManagePermissions.brazilian.php    Skipping file
7.    Execute Modification    ./Themes/default/languages/Login.portuguese.php    Skipping file
8.    Execute Modification    ./Themes/default/languages/Login.brazilian.php    Skipping file
9.    Execute Modification    ./Themes/default/languages/ManagePermissions.turkish.php    Skipping file
10.    Execute Modification    ./Themes/default/languages/Login.turkish.php    Skipping file
11.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
12.    Execute Modification    ./Sources/Display.php    Test failed
13.    Execute Modification    ./Sources/BoardIndex.php    Test failed
14.    Execute Modification    ./Sources/Load.php    Test failed
15.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test failed
16.    Execute Modification    ./Themes/default/Login.template.php    Test successful

With the previus 0.2.1 ( check again now all is OK )

1.     Execute Modification     ./Themes/default/languages/ManagePermissions.english.php     Test successful
2.    Execute Modification    ./Themes/default/languages/Login.english.php    Test successful
3.    Execute Modification    ./Themes/default/languages/ManagePermissions.french.php    Skipping file
4.    Execute Modification    ./Themes/default/languages/Login.french.php    Skipping file
5.    Execute Modification    ./Themes/default/languages/ManagePermissions.portuguese.php    Skipping file
6.    Execute Modification    ./Themes/default/languages/ManagePermissions.brazilian.php    Skipping file
7.    Execute Modification    ./Themes/default/languages/Login.portuguese.php    Skipping file
8.    Execute Modification    ./Themes/default/languages/Login.brazilian.php    Skipping file
9.    Execute Modification    ./Themes/default/languages/ManagePermissions.turkish.php    Skipping file
10.    Execute Modification    ./Themes/default/languages/Login.turkish.php    Skipping file
11.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
12.    Execute Modification    ./Sources/Display.php    Test successful
13.    Execute Modification    ./Sources/BoardIndex.php    Test successful
14.    Execute Modification    ./Sources/Load.php    Test successful
15.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test successful
16.    Execute Modification    ./Themes/default/Login.template.php    Test successful


Any idea ? plz ( dont proceed to install 0.2.2 )
Title: Re: Frustrate Your Guests
Post by: villasg on June 02, 2008, 10:52:22 AM
In the new put and the greek translation plz

Quote from: villasg on June 01, 2008, 08:56:05 AM

greece translation:

Code (ManagePermissions.greek-utf8.php) Select
//Begin mod Frustrate Your Guests
$txt['permissionname_view_messages'] = 'Βλεποντας τα μυνηματα των πινακων';
$txt['permissionhelp_view_messages'] = 'Ενεργοποιώντας αυτή την επιλογή  επιτρέπεις στους επισκέπτες να δουν όλα τα μηνύματα . Εαν δεν την ενεργοποιήσεις , τότε οι επισκέπτες θα μπορούν να δουν όλους τους πίνακες και όλα τα θέματά σας αλλά δεν θα επιτρέπετε να διαβάσουν τα μηνύματα . Έτσι αυτοί θα ερωτηθούν για να κάνουν login ή register.<br><br><u>ΣΗΜΑΝΤΙΚΟ : παρακαλώ λάβετε υπόψιν ότι αυτή η επιλογή είναι δυνατή μονό εάν έχετε επιτρέψει στους επισκέπτες να διαβάζουν το forum . </u>';
//End mod Frustrate Your Guests




Code (Login.greek-utf8.php) Select
//Start mod Frustrate Your Guests
$txt['mod_fyg_message'] = 'Μόνο τα μέλη έχουν την άδεια για να διαβάσουν τα μηνύματα .';
//End mod Frustrate Your Guests

Title: Re: Frustrate Your Guests
Post by: slinouille on June 02, 2008, 01:14:35 PM
Ooops ... I've changed php editor and it doesn't manage the "tabulation" key as the previous one  O:)
I've check the package ... I've got no more errors!
Sorry for that stupid mistake  :-[

Thank you villasg for your translation ... I've not put it in the 0.2.2 due to the fact that the encoding og greek characters are not taken into account in my xml file (instead of characters I see only ? ? ? ?).
I'll check how to encode the file in order to succeed ;)

I've put on line the corrected package  ;D
Title: Re: Frustrate Your Guests
Post by: villasg on June 02, 2008, 01:33:22 PM
Ok install good now the new pakage  .
But :
If have checked " View boards messages "
Guests can again see the HIDDEN BOARDS - TOPIKS but cant read THE MESSAGES (want register )
Is not usefull again .
I want guests CANNOT SEE ANY HIDDEN BOARD include topiks and messages .

I unistall again  :(
Title: Re: Frustrate Your Guests
Post by: mark7144 on June 02, 2008, 02:19:44 PM
Quote from: slinouille on June 02, 2008, 10:08:32 AM
Hello Mark,
You can test of course ... just uninstall previous version and reinstall this new one.
Activate the "View boards messages" for Guests and check if everything is ok for you ... that's all ;)
Can I choose for certain boards to be fully available to guests and a couple of others restricted to just seeing the thread title?
Title: Re: Frustrate Your Guests
Post by: slinouille on June 02, 2008, 02:59:29 PM
@villasg : Why do you write in big letters? you think I don't understand and I don't do my best on my free time for you? :) ... What do you call "HIDDEN BOARDS" ? (what is the associate parameters in terms of rights)
Don't forget that my forum is in SMF2 and I spend my time  just for you to be pleased on SMF1.1.5 ;)
In SMF2.0, you can parameter with much more precision each board ;)

@mark: no you can't this right is global for guest. I'll do a mini tutorial for customizing the "non regular members boards" later in the evening (time to eat now) ... switch to SMF2, you can parameter as you want the boards ;)

Keep in touch

Title: Re: Frustrate Your Guests
Post by: villasg on June 02, 2008, 03:10:07 PM
Iam sorry for big letters and thanks for ur work
Hidden boards is the boards have include the non for all topiks
like i have a board named "special"--> inside have 3 topiks named  " 1 , 2 , 3 " with some posts
If i check the " View boards messages " my guests see :
The board named "special " the topiks "1,2,3" and the titles of posts but canot read the posts .
The best combination is my guests cannot see  this area not see the board at all .
Sorry again for my writing but dont have good english speaking
Title: Re: Frustrate Your Guests
Post by: slinouille on June 03, 2008, 03:08:51 AM
Hello,
In order to explain in a better way, I've done some screen captures.

SC1 : this are the membergroups I've got. You can see a Moderators that I've created

SC2 : I've created a member that is in this new membergroup "Moderators"

SC3 : Here are the 4 boards my forum has

SC4 : Here is the member group permissions for the board dedicated for Moderators

SC5 : Here is the member group permissions for the board dedicated for Members

SC6 : For guests, I've enabled the right "view boards messages"

SC7 : Logged as moderator, I see all boads

SC8 : Logged as a normal member, I see all boards except the one for membergroup "Moderators"

SC9 : Logged as a guest, I see all boards except the one for membergroup "Moderators" but I can't see the messages of "members" boards.

Is it more clearer on how it works?
Title: Re: Frustrate Your Guests
Post by: mark7144 on June 03, 2008, 05:56:37 AM
Quote from: slinouille on June 02, 2008, 02:59:29 PM
@mark: no you can't this right is global for guest.
Then I assume this mod isn't right for me as I want guests to view my forum but I want my members only board to only show the threads to guests, not the messages within those threads.

Will such functionality be available in the future?

PS. Thanks for the instructions/screenshots.
Title: Re: Frustrate Your Guests
Post by: cleanfiles on June 03, 2008, 07:25:04 PM
Hello I installed the latest version of this mod today and am having the same problem (using smf 1.1.5), guests can see every board including my staff only board which regular members cant even see. I wish I could get it to work like the screen shots suggest, it just wont.
I would attach screen shots my self but they look just like the ones above except that guests can see every board thats the only difference.
I will deactivate this mod now but I will keep an eye on this thread for any improvements, if there is any way you can help me work out why it does not work properly for me please let me know what you need from me to do so.
Thanks.
Title: Re: Frustrate Your Guests
Post by: zijO on June 03, 2008, 07:47:31 PM
why don't you use "view only boards" mod
http://www.simplemachines.org/community/index.php?topic=146964.260
Title: Re: Frustrate Your Guests
Post by: cleanfiles on June 03, 2008, 07:57:38 PM
Quote from: zijO on June 03, 2008, 07:47:31 PM
why don't you use "view only boards" mod
http://www.simplemachines.org/community/index.php?topic=146964.260
Didn't know about that mod cheers m8 it sounds like what I'm looking for.:)
Title: Re: Frustrate Your Guests
Post by: zijO on June 05, 2008, 05:44:44 AM
The problem with this mod is that guests can't read any posts or they can read all selected.
If we set it to not read then Google can't read it as well. If we set it so they are able to read, then what is the point of this mod.
I was expecting that SMF 2 would have built in option where some member groups could be set to read only titles bout not posts.
Now I have to wait until view only boards is updated to smf2 or until slinouille comes up with something. The best would be if these 2 mods are combined.
Title: Re: Frustrate Your Guests
Post by: slinouille on June 05, 2008, 07:57:26 AM
IN SMF2, if you set enable this new right, your guests will be able to read the titles on boards they are not normal allowed to access to. BUT they will not have the possible to read the associated posts ;)
THis mod will never allowed guests to read entire posts but just the posts title!

I don't really understand what you want, can I have a clear explanation because this mod is done for my own purpuse at the begining, and until I've not understand others expectations, I just can't see if I can develop it ;)
Title: Re: Frustrate Your Guests
Post by: zijO on June 05, 2008, 09:56:55 AM

SMF 2.0 ,3.1
If view board messages is enabled, guests can read boards where they have permission.
Nothing is changed.

If it is disabled they can see only titles of boards where they have permission they can't read posts. That is what mod is doing, but if we use it then google can't see any board posts.

That is how it works on my site, if something is wrong please tell me.


We need that guests can see every board but they can read only board where they have permission.
Title: Re: Frustrate Your Guests
Post by: slinouille on June 05, 2008, 10:46:03 AM
Hello zijO,

Actually the mod works as you have described it because it was what I was looking ofr on my forum.

Concerning your expectation, it seems that you want to have something quite different from what I expected at the begining of this mod. Indeed, if I've well understood your expectation, you want the mod to authorize the guests to see all boards (even if not allowed) and to see only the topics of boards where they are allowed, is that it ?

If yes, then what I could eventualy do, is to add a new right that could be "View only board". If this right is enabled, then Guests could see the board but not the topics inside this board even if guests have no permission on this board, does it suit you?
Title: Re: Frustrate Your Guests
Post by: zijO on June 05, 2008, 11:11:45 AM
Yes that is exactly what we need.
Quote
SC9 : Logged as a guest, I see all boards except the one for membergroup "Moderators" but I can't see the messages of "members" boards.

This is confusing.
How guests can see the boards, and not messages if you enabled it?
Title: Re: Frustrate Your Guests
Post by: LT07 on June 05, 2008, 10:06:09 PM
Quote from: slinouille on May 30, 2008, 07:04:54 AM
New version 0.2.1 available.

It should now works for SMF1.1.5.
I've changed the strategy for this version and is the next:
- if guest has right 'View boards messages' then guest will see topics on boards he is not allowed to access (he will ONLY see the topics list) ;
- if guest has not right 'View boards messages' then guest will not see boards he is not allowed to access ;
It is now possible to manage this mod on forums where some boards are available for guest ;)

@уιℓмαz : Thank you for translation, it's embended in v0.2.1  ;D

@LT07: I hope it corresponds to what you want  :)

This is GREAT news.
I'm looking forwards to testing the new mod :)
Title: Re: Frustrate Your Guests
Post by: LT07 on June 06, 2008, 12:03:36 AM
Unfortunately this new mod works just the same for me

In permissions I have to have ( Guests "view forum messages" enabled ) for them to be able to use the non members area but when I go into board permissions and add "guests" to a members forum they can also view the posts.

Your mod works great on a standard forum but once you try to use it on a forum that has different membership levels (especially when there is already a non members posting area) it doesn't seem to work (at least not for me, I have rather complex user level permissions)

"Ideally" in the modify boards section a link on each board that had a checkbox to say what "groups" can view the board index would be perfect.
Title: Re: Frustrate Your Guests
Post by: SpelingMistakes on June 06, 2008, 08:42:10 AM
I have next problem

This has been
1.   My all forum was restricted expect some part – like a demo  - simply guests can see only that part and it works – they also have permissions to read topics in those demo boards – only read
2.   When somebody try to type address of some board (not to click on it because it cant see is) he get warning that board is off limits for them

After install of this mode situation is next

1.   All boards I have seen like a gests are there, but I can see all others simply typing its number (id of board) – and not only that – I can read all topics in them – NOT even one warning to register or similar
2.   That all is allowed WITHPOUT any other changing of permissions to see or not see board, to read or similar – I must mention – only installation has been done – nothing else
3.   after changing one board in a way that guest can see it – nothing changed – guest can see what is in topic – not only its name


I need mod which will simply allow to all guest to see boards – to see topics names and nothing else – I have think this will give me that – but when I check I didn't get that and not to speak about security issue of this. I have uninstall mod for now – waiting to get an answer about this


Spel
Title: Re: Frustrate Your Guests
Post by: slinouille on June 06, 2008, 09:39:38 AM
thanks for comments!

What version of SMF ?
Title: Re: Frustrate Your Guests
Post by: SpelingMistakes on June 06, 2008, 12:40:43 PM
I am on 1.1.5
Title: Re: Frustrate Your Guests
Post by: fecu2008 on June 08, 2008, 07:19:59 AM
I tried this mod with 1.1.5 and got the sources mangagepermission.php fail.

I installed and did all the manual edits and its still not working.  I read through this, am I not setting it up correct through permissions?  I have the box unticked. 
Title: Re: Frustrate Your Guests
Post by: ruaduck on June 12, 2008, 05:42:22 PM
I was wondering if it is possible to make it so they can see only one's they "may" have access to, but still it pops up and says you must register to go any farther.  So that they may see a possible member's area but not the mod's area.  So basically, under the permissions they have access to the board, but in all actuality they don't and need to register.

I hope you understand what i'm saying.

Title: Re: Frustrate Your Guests
Post by: KarKess on June 20, 2008, 02:31:52 PM
It says it installs fine I click the turn on the view board messages, and have made the boards visible to guests, but then I log out and everything is till visible. :-[  Help!
Title: Re: Frustrate Your Guests
Post by: jiraya on June 21, 2008, 01:43:10 PM
i have a forum with normal,moderator and VIPs boards.
how i make to the guest access to the normal and VIPs and read only the message in normal boards.
And the moderators have access to all but dont read the message in VIPS.
Title: Re: Frustrate Your Guests
Post by: Ricky. on June 22, 2008, 06:39:38 AM
Can anyone show me link where its LIVE :P
Title: Re: Frustrate Your Guests
Post by: slinouille on June 24, 2008, 07:52:35 AM
Please indicate the SMF version.

Quote from: Ricky. on June 22, 2008, 06:39:38 AM
Can anyone show me link where its LIVE :P
Yes, goto my forum : http://www.vag-technique.fr/forum/ (http://www.vag-technique.fr/forum/)
Select board called "Moteur TDI (http://www.vag-technique.fr/forum/index.php/board,26.0.html)" and you'll see all posts. Click on a post, you'll get a "error page"  ;)

Quote from: KarKess on June 20, 2008, 02:31:52 PM
It says it installs fine I click the turn on the view board messages, and have made the boards visible to guests, but then I log out and everything is till visible. :-[   Help!
Hello, have you followed isntructions from thiis post : http://www.simplemachines.org/community/index.php?topic=241586.msg1562922#msg1562922 (http://www.simplemachines.org/community/index.php?topic=241586.msg1562922#msg1562922)
Tell me if not.

Quote from: jiraya on June 21, 2008, 01:43:10 PM
i have a forum with normal,moderator and VIPs boards.
how i make to the guest access to the normal and VIPs and read only the message in normal boards.
And the moderators have access to all but dont read the message in VIPS.
I think it is possible if you're in SMF1.1.5 ... but not sure ... to be tested.
Title: Re: Frustrate Your Guests
Post by: ^code_future^ on June 24, 2008, 09:31:12 PM
This messed up my board admins can;t see several forums because they have all permissions, and that means that they have this mod checked in permissions, so they don't see some forums, moderators see them ....

is there any help ...
Title: Re: Frustrate Your Guests
Post by: Ace Frye on June 27, 2008, 06:14:15 PM
This mod doesn't work or something.

I got it to work whenever I actually check the box "enabled guests to see messages" & then it will block the messages. If I have the box unchecked then guests can see the messages.

The problem is, whenever I check the box, sure it blocks them but then they call see THE ENTIRE board, including the moderators section - which I of course do not want to happen.

What's going on? I've tried changing themes & more.
Title: Re: Frustrate Your Guests
Post by: dtommy79 on June 29, 2008, 03:44:26 PM
Hi,

How can I translate this mod?
Title: Re: Frustrate Your Guests
Post by: slinouille on July 01, 2008, 03:07:50 AM
Hello ... please indicate your smf versions! Indeed for SMF1, the mod is not perfect because I'm not using this version.

@dtommy79 : just copy the $txt
Title: Re: Frustrate Your Guests
Post by: dtommy79 on July 01, 2008, 04:56:05 AM
Quote from: slinouille on July 01, 2008, 03:07:50 AM

@dtommy79 : just copy the $txt
  • variables from english language into your modifications.<your language>.php file. Then translate english sentences into your language. Don't forget to clear the cache if using SMF2 ;)
    If you translate into a language that is not in the installation package, please post here in order to integrate in it.
Hi,

Thanks.

Here is the Hungarian translation:

<!-- Ha UTF-8 karakterkódolást használsz akkor file-t konvertáld át abba! -->
<file name="$languagedir/ManagePermissions.hungarian-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
//Begin mod Frustrate Your Guests
$txt['permissionname_view_messages'] = 'Fórum hozzászólások megtekintése';
$txt['permissionhelp_view_messages'] = 'Az opció aktiválásával a vendégek láthatják a fórum hozzászólásokat. Ha nincs aktiválva, a vendégek láthatják a fórumokat és témáka, de a hozzászólásokat nem. Ilyenkor a vendég üzenetet kap, hogy regisztráljon a fórumon. <br><br><u>FIGYELEM: Ez a beállítás csak abban az esetben fog működni, amennyiben engedélyezted a vendégeknek, hogy láthassák a fórumokat.</u>';
//End mod Frustrate Your Guests
]]></add>
</operation>
</file>

<file name="$languagedir/Login.hungarian-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
//Start mod Frustrate Your Guests
$txt['mod_fyg_message'] = 'Csak regisztrált és bejelentkezett felhasználók tekinthetik meg az üzeneteket.';
//End mod Frustrate Your Guests
]]></add>
</operation>
</file>



Title: Re: Frustrate Your Guests
Post by: ide on July 01, 2008, 11:48:39 AM
To use in a forum with Spanish language and another theme that I have to change exactly into the manual form.?
Title: Re: Frustrate Your Guests
Post by: darkxman on July 06, 2008, 02:51:38 AM
Installed the mod on SMF 2.0 Beta 3.1 Public. Everything works fine except one problem. When guests click on "View the most recent posts on the forum." on the board index at the bottom in the Forum Stats section it basically shows all the posts. They don't even have to click on topic names to see the content on the forum.

Will I just have to comment that part out in the board index code?
Title: Re: Frustrate Your Guests
Post by: butchs on July 12, 2008, 03:10:09 PM
 I can not download this mod.  Has this mod been deleted?   >:(
Title: Re: Frustrate Your Guests
Post by: Fallen Angel on July 13, 2008, 09:34:54 AM
Looking for the download link for SMF 1.1.5 my self... any one???
Title: Re: Frustrate Your Guests
Post by: Bulakbol on July 19, 2008, 07:43:08 PM
http://www.simplemachines.org/community/index.php?topic=249699.msg1615613#msg1615613
Title: Re: Frustrate Your Guests
Post by: Adish - (F.L.A.M.E.R) on August 14, 2008, 01:09:20 PM
any dates fixed to get this mod for public download ? I actually am so in need of this.. Hope the mod comes back fast.. ;)
Title: Re: Frustrate Your Guests
Post by: karlbenson on August 14, 2008, 03:10:10 PM
Its waiting for the mod author. IF and WHEN they fix the issues with it.
Title: Re: Frustrate Your Guests
Post by: mrstime on September 04, 2008, 09:22:47 PM
Dang, I was wanting this one too. 
Title: Re: Frustrate Your Guests
Post by: slinouille on September 13, 2008, 02:18:48 AM
Hello guys!

Actually I've got no time for making any update of that mod.
But I will do that in some months (before the end of this year)

In the meantime, if someone one to make any update, he can ;)

Just contact me !

SliN
Title: Re: Frustrate Your Guests
Post by: butchs on September 13, 2008, 07:26:59 PM
I kinda looked into that a while back for SMF 2 Beta 3 and discovered that it will not work unless you make sure the data base is excluded from the limitation.
:o
Title: Re: Frustrate Your Guests
Post by: slinouille on April 20, 2009, 10:56:58 AM
Hi all!

I've received a lot of PM concerning an update of this mod in order to correct some problems.

Now it's done, I've entirely recoded the mod in order to provide a customization by board.

I hope you'd like it.

SliN
Title: Re: Frustrate Your Guests
Post by: Tanks on April 23, 2009, 02:52:52 PM
Hi Slinouille

This mod would be so fantastic if you could frustrate other member groups.

Many are using the paid subscription and they could use this mod to show "regular" members what is inside the "paid subscribers" area. and so regular members would sign up to a paid subscription.

There is a mod that does this. It's named "view only boards" but it seems to have been abandoned by the author.

The is also a mod named "look but no read" but that mod does almost the same as your mod. It only works for guests.

Personally i think it should be built in to SMF what member groups that should be allowed to view a message index but not enter any topics to read the posts.

So any chance of you improving this mod so it can be used for member groups ?

Cheers,
Tank
Title: Re: Frustrate Your Guests
Post by: Galedon on April 27, 2009, 03:57:48 AM
Quote from: Tanks on April 23, 2009, 02:52:52 PM
Personally i think it should be built in to SMF what member groups that should be allowed to view a message index but not enter any topics to read the posts.

So any chance of you improving this mod so it can be used for member groups ?


/sign

!!!

Title: Re: Frustrate Your Guests
Post by: allymcbeal on April 28, 2009, 05:45:37 PM
Hi, I have 1.8 can I intall it?

I read I can't, please can someone help me? What kind of modification I have to do for 1.8?
Title: Re: Frustrate Your Guests
Post by: DirtRider on May 09, 2009, 04:35:43 AM
I installed this mod V1.2 and after that none of my members (Normal members, mods and Global Mods) could do anything in the forum area besides read. Even the menus at the bottom of the mods view had disappeared  :o These were in all area not just those that I had selected with this mod  :-\

This was on SMF RC1
Title: Re: Frustrate Your Guests
Post by: ディン1031 on May 11, 2009, 02:50:31 PM
Quote from: DirtRider on May 09, 2009, 04:35:43 AM
I installed this mod V1.2 and after that none of my members (Normal members, mods and Global Mods) could do anything in the forum area besides read. Even the menus at the bottom of the mods view had disappeared  :o These were in all area not just those that I had selected with this mod  :-\

This was on SMF RC1
I can confirm this. If you install this Modification every Permission is lost! Only Admin can do things after it.
It's better to update this modification.
Title: Re: Frustrate Your Guests
Post by: DirtRider on May 11, 2009, 03:07:56 PM
Yip that is what happened  ;D