View Only Boards

Started by Rudolf, January 31, 2007, 10:45:10 AM

Previous topic - Next topic

zijO

QuoteI will update it for smf 2, but probably for the RC or the next beta.


WHEN?  :D :D :D

Krysia

Quote from: Rudolf on April 30, 2008, 02:27:29 AM
Indeed this is a small bug in the code, thanks for reporting it.

The code should be:
$children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : ($child['protected'] ? '<span class="vob_protected">' . $child['link'] . '</span>' : $child['link']);

But your code is good too.
Was this fixed in the 1.2 version of this mod?



Krysia

Nevermind. Got it. Just the mod I needed to help with incentive on my board.

Thank you. :)



cellax

#263
I got this error on the log:
http://www.ackronic.net/ackws/smf/index.php?topic=6162.0;wap2

Unable to load template 'kick_guest' .


I think it's your mod couse the board is View only

EDIT: it happens in two cases, hidden section, and view only board

nitishthelegendkiller

well, i upgraded my board to 1.1.5 after reinstalling the database.Now, m installing all my previous mods.Now, this mod ain't installing.While installing 2 tests are not going good:

9.     Execute Modification     ./Themes/default/BoardIndex.template.php     Test failed
10.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test failed

What to do?
I have
Powered by SMF 1.1.5 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 and theme - Mystic Jade

zijO


I use to have this mod installed with SMF 1.1.4
Now I am using SMF 2.0
Can I manually add this mod as it is described?
What about DB, it looks as it is already there.
How can I edit ./Sources/ModSettings.php if it doesn't exist with SMF 2.0

akya

I am using smf v 1.1.5 , I need this mod urgently. Plz can you update this mod for v 1.1.5 or can someone suggest a mod which provides category and forum browsing for guests but guests cannot open a topic until they register. In my forum everybody just browse the forum and leave. Sorry if I am being impatient !!!

JimM

This mod works fine on my 1.1.5 board.  I installed it prior to upgrading to 1.1.5.  If you get the test failed when trying to install on the default theme, you may have other mods that have already modified those files.  If that is the case then you will need to edit the files manually.  The edits can be found by selecting the parser on the download page for your version of the mod.
Jim "JimM" Moore
Former Support Specialist

akya

It installs successfully. But as a guest , I can still view topics. And I have applied this mod on the default core theme.

Sarge

Quote from: akya on May 18, 2008, 03:29:25 AM
It installs successfully. But as a guest , I can still view topics. And I have applied this mod on the default core theme.

Consult readme.html in the mod package.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

bassbass

Quote from: akya on May 18, 2008, 03:29:25 AM
It installs successfully. But as a guest , I can still view topics. And I have applied this mod on the default core theme.

you don't need this mod to do what you need, just set different groups with specific permissions...i use this mod and it works great, but the reason i use it is because i want guests to navigate through certain forums but without permission to post or reply.

geass

Quote from: Iron IC on February 18, 2007, 06:24:42 PM
Hello! I can try to explain what I did to make this work that way (like you want).

First you must enable the mod in admin -> configurations -> Features and options, and check the checkbox for "Show the message index for "view only" boards"

Go to admin ->members -> permissions -> permission by board. Set the boards you would like to let guests only see the topic headings in, to "local".

(I found that I also had to set my other boards to local, if/where I wanted to give guests read permissions inside topics.)

Then, go to forum -> Boards -> and Modify (choose the forum(s) where you want it enabled). There you only give the guests visibility (checkbox on the right). For those groups you want to give both access and visibility, you must check both boxes.

For the boards you want to let them into, you do the oposit thing, check both boxes for guests and only access to other groups.

Hope this helps you. This is working nice on my board as far as I can tell.
These are a wonderful set of instructions. However, there was one missed crucial part. Under Features and Options, you must also check off the box Allow Guests to Browse Forum. This will allow guests to see the topics, but not access the posts within them.

ne.miguelito

In My Forum Error Log


QuoteUndefined index: protected
Ficheiro: /home/nemigue/public_html/Themes/dilbermc/MessageIndex.template.php (main sub template - eval?)
Linha: 121
   

Undefined index: protected
Ficheiro: /home/nemigue/public_html/Themes/dilbermc/MessageIndex.template.php (main sub template - eval?)
Linha: 122

   
Undefined index: protected
Ficheiro: /home/nemigue/public_html/Themes/dilbermc/MessageIndex.template.php (main sub template - eval?)
Linha: 121


In my MessageIndex.template.php line 119 - 127

if (!empty($board['last_post']['id']))
echo '
<b>', $txt[22], '</b> ', $txt[525], ' ', $board['last_post']['protected'] ? '<span class="vob_protected">' . $txt['vob_protected'] . '</span>' : $board['last_post']['member']['link'] , '<br />
', $txt['smf88'], ' ', $board['last_post']['protected'] ? '<span class="vob_protected">' . $txt['vob_protected'] . '</span>' : $board['last_post']['link'], '<br />
', $txt[30], ' ', $board['last_post']['time'];

echo '</small>
</td>
</tr>';


using View Only Boards 1.1

some suggestion?

ne.miguelito


zijO

Where is Rudolf?
This is a great mod.
Is upgrade for SMF 2 is coming soon?

JimM

@ne.miguelito - according to the mod page, it should work for the default theme.  From looking at your errors, you are using dilbermc.  In that case use the mod parser on the download page to see the manual edits you will need to make it work with your theme.
Jim "JimM" Moore
Former Support Specialist

ssufian

I'm using default theme SMF version 1.1.5

I got this error message while testing before installing the mod (  version 1.2)...

Execute Modification     ./Themes/default/BoardIndex.template.php     Test failed

I found out this mod is very good so please tell me how to solve this problem

thank you

djrem

Quote from: ssufian on June 27, 2008, 08:31:38 AM
I'm using default theme SMF version 1.1.5

I got this error message while testing before installing the mod (  version 1.2)...

Execute Modification     ./Themes/default/BoardIndex.template.php     Test failed

I found out this mod is very good so please tell me how to solve this problem

thank you


manually install it

ssufian

Quote from: djrem on June 27, 2008, 10:55:07 AM
Quote from: ssufian on June 27, 2008, 08:31:38 AM
I'm using default theme SMF version 1.1.5

I got this error message while testing before installing the mod (  version 1.2)...

Execute Modification     ./Themes/default/BoardIndex.template.php     Test failed

I found out this mod is very good so please tell me how to solve this problem

thank you


manually install it

How to manually install it?

JimM

Use the parser on the download page, select you SMF version and it will display the manual edits for each file.
Jim "JimM" Moore
Former Support Specialist

Advertisement: