View Only Boards

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

Previous topic - Next topic

Arantor

The mod should do it automatically. If it didn't, that would imply your theme needs a BoardIndex.template.php edit as per the mod's parse page - verify that it is present.

TheListener

So ya saying there may be an edit missing from that file?

Arantor


TheListener

Well that gives me a bit more work to do tomorrow then lol

TheListener

Quote from: Old Fossil on April 04, 2013, 12:06:19 AM
Well that gives me a bit more work to do tomorrow then lol

Had a quick look using notepad## and it seems as though everything is as it should be on a clean install.

???

Arantor

Does your theme have its own board index template?

TheListener

No.

( blessing in disguise).

Thought it best to check the default one anyways.

FullyCreative

Quote from: Rudolf on May 20, 2007, 03:47:09 PM
In Errors.english.php
$txt['topic_gone'] = 'The topic or board you are looking for appears to be either missing or off limits to you.';

Hi All,

I am trying to edit the error messages which Guest get when they try to view a board that they can view but not read.
I have edited the errors.english.php to the following:
$txt['topic_gone'] = 'The topic or board you are looking for appears to be off limits to you. Please Register to be able to view.';

Yet it doesn't change my error message. As my error message shows as:
"ERROR 403
Sorry, but you have no access to this page."

For a non-member (Guest)
Where can I change this message so it can inform Guests that they need to Register?!
The website in question is: www(dot)serifusers(dot)com

Thank you, Charlie

FragaCampos

The string is $txt['only_members_can_access'] and you can find it at Themes/default/languages/login.yourlanguage.php.


I would like to know how I can allow my guests to search in the entire forum, not just the visible parts to them, ie, they can see the boards but they cannot see the topics. That's fine, but how can I make them to search and find those topics?




FragaCampos


DeroZ

hi

how can i change links's colors only for Parents Boards on index.css? (don't change childboards colors)


FemR

Using this cool mod with SimplePortal's 'Recent Image Attachments' block causes users with board-index-view-only access to still see (broken) images posted inside such boards.

Attached below is how it looks in various browsers.. basically you'll get broken image icons and/or image filename only displayed. Any idea how to fix that?

jsx

#632
It won't be possible to install the modification View Only Boards 1.2c to Core style because during the installation is a inscription "test failed" almost at every files. I noticed it and I wanted to report it.

Screen:


margarett

We only enforce the MODs to install cleanly in default theme. It is impossible for MOD authors to support any theme out there...
There is a similar MOD that doesn't touch theme files.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

jsx

I didn't know, thanks for information.

jsx

Hi, I have such a question, View Only Boards modification don't detecting any bugs in basic template during the installation, but to other templates appearing this bug:

MessageIndex.template.php Test failed (Ignore Errors)

Find code:


$children[] = $child['new'] ? '<strong>' . $child['link'] . '</strong>' : $child['link'];


Replace code:


$children[] =  $child['protected'] ? '<span class="vob_protected">' . $child['link'] . '</span>' : ($child['new'] ? '<strong>' . $child['link'] . '</strong>' : $child['link']);


And when I installed this modification without code modification that this mod is work, cause shows only inscription that it possible to ignore a bug. And now I have a question, whether I can ignore this bug or I need to change this code?

margarett

That is no bug. That's an installation error.

MODs are only forced to work and install cleanly in default theme. It would be impossible to any mod author to support every theme out there...

If you require the mod to install in other themes, check this
Manual Installation of Mods
Of course, only looking to the files that the mod failed to edit automatically ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

jsx

@margarett I understand this, but when I install this mod without manual edit file it work so it is sense to change it in this file?
I don't know exactly what it consists, I just want to ask.

Look at this:

3. Replace. MessageIndex.template.php Success

Code: (Find)**


$children[] = $child['new'] ? '<b>' . $child['link'] . '</strong>' : $child['link'];


Code: (Replace)


$children[] =  $child['protected'] ? '<span class="vob_protected">' . $child['link'] . '</span>' : ($child['new'] ? '<strong>' . $child['link'] . '</strong>' : $child['link']);


And now look at point 4, is appearing almost the same code but with the failed

4. Replace. MessageIndex.template.php Test failed (Ignore Errors)

Code: (Find) (look higher, where are two stars that is the same code, but has a difference in boldface)

$children[] = $child['new'] ? '<strong>' . $child['link'] . '</strong>' : $child['link'];

(almost the same code, I emphasized the difference in the code)

And only in this line is a difference.

Arantor

That's because it's using code that is known to be broken in some themes and tries to find it anyway.

jsx

So what? I need to change this code which is show in point 4 or I don't do this if the modification work, cause can leave out it by ignoring errors?

Advertisement: