News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Look But No Read

Started by Deprecated, August 17, 2008, 08:55:53 PM

Previous topic - Next topic

bullbreedluverz

Quote from: Deprecated on November 20, 2008, 06:16:55 PM
Actually I designed the package to install and work perfectly for 30 days, and then it implodes your forum! :)

Haha, I'm kidding too! :P I'm glad you like it! :)

you any good at phpBB coding/design? could you make a mod that does this for a rival forum on phpBB lmao

Deprecated

I'm good at all coding and design. I had never even heard of SMF until less than 4 months ago. Everything I know about SMF I learned since the beginning of August when I had my first look at SMF's code.

Let me know anytime you want to finance about 4 months of my lifestyle expenses so that I can put the same effort into phpBB. :P ;)

The_Wii_Nes_Boy

#182
Quote from: Deprecated on November 20, 2008, 06:22:35 PM
Quote from: The_Wii_Nes_Boy on November 20, 2008, 06:51:03 AM
Everything appears to go good this is the Installations actions for "Look But No Read":

1. Execute Modification     ./index.php                                                                        Test successful
2. Execute Modification     ./Sources/ModSettings.php                                               Test successful
3. Execute Modification     ./Themes/default/languages/Modifications.english.php    Test successful

but nothing happens! I use the Blue Ace theme but even if I switch back to the default theme nothing appears in the features and options.

The Forum Error log shows me this

8: Undefined index: mods_cat_lbnr
ModSettings.php
Line: 141

I have installed a test forums so I can test packages before i addd them to my own forums and I get the same error there.

Please tell me if your forum uses UTF-8, and if your language setting is other than English.
[/quote]

Hi,

Thanks for replying, I believe my forums are using UTF-8 and my main language is English.

[EDIT] After asking me if my forums use UTF-8 I checked these files and discovered that the file had not been modified after quickly making the required changes this mod is now half working, I can deny guests reading catagories but I can't deny them reading boards!

bullbreedluverz

Quote from: Deprecated on November 20, 2008, 07:38:43 PM
I'm good at all coding and design. I had never even heard of SMF until less than 4 months ago. Everything I know about SMF I learned since the beginning of August when I had my first look at SMF's code.

Let me know anytime you want to finance about 4 months of my lifestyle expenses so that I can put the same effort into phpBB. :P ;)

im poor and couldnt afford to pay that but ill trade in my girlfriend.....  :D :D :D :D

Deprecated

The_Wii_Nes_Boy, please try the new version 1.3 and let me know if you continue to have problems, although the changes do not specifically address your complaint. Perhaps the new package will work better.

I've changed the way that the package installs using a new technique I've developed to keep other mod packages from interfering with my own mods.

I've also added not only English UTF-8 language strings, but also British both with and without UTF-8. In the future all my mod packages will cover at least English and British both with and without UTF-8, and I'll be adding them to every existing package as I maintain them for other fixes or improvements.

Let me know if you still have problems, and if you have problems with the NEW package please attach your index.php to your reply post.


And Bull, you've got yourself a deal! ;) :P

The_Wii_Nes_Boy

Well I uninstalled v1.2 from both my forums and installed v1.3 which installed perfect, I didn't have to manually edit any files again (which is good seeing as I just edited them to remove v1.2  :P).

Can deny access to categories as before but still can't deny guests access to boards!! I am trying to deny 21 board if it helps any.

Deprecated

Nes Boy, please attach your index.php to your reply post, tell me which categories and which boards you have denied access, and post a URL for your forum site. Also, please verify that you are separating the denied board numbers with commas.

The_Wii_Nes_Boy

#187
here is my site -->> http://twnb-worldofstuff.com

I have denied guest access to all my boards except....

News & Announcements
Introductions & Farewells

[EDIT] Sorry forgot to say all numbers a seperated by a comma

Deprecated

Again, please tell me which categories and which boards you have denied access to. Please cut 'n paste the settings out of your LBNR control panel. I need the exact settings, the numbers.

The_Wii_Nes_Boy

Ah! sorry got you now, here you go....

Enable guest browsing control:         Ticked 
Categories to deny guest reading:    1, 2, 4, 7, 8
Boards to deny guest reading:          2, 8, 9, 10, 11, 12, 13, 16, 17, 18, 35, 36, 37, 38, 39, 40, 43, 47, 50, 53, 54

Everything looks correct, either that or I'm really stupid lol

gemigene

Thank for another great Mod, installed without a hitch and works as described.

Cheers,
Gene
"Religion is metaphysical statism. I will be ruled by no man on earth, nor by any god in heaven"

Deprecated

Glad you liked it Gene. :)

Nes Boy, I'm sorry. I just now saw my note to visit this topic, simultaneously with Gene posting to the topic and bringing it up on my New Replies. Unfortunately I've been sick for the last few days, and just spent all day coughing my lungs out, and I'm so damned tired now that I've got enough oomph to address simple problems, but I'm just flat out too damned tired to tackle the difficult stuff.

I have an idea though. I don't actually know how many boards you can add to the list. Could you please try it with just a few boards, like perhaps 4 or 5 boards, and see if it works then? Please let me know what you find out.

The_Wii_Nes_Boy

Quote from: Deprecated on November 22, 2008, 07:10:57 PM
Glad you liked it Gene. :)

Nes Boy, I'm sorry. I just now saw my note to visit this topic, simultaneously with Gene posting to the topic and bringing it up on my New Replies. Unfortunately I've been sick for the last few days, and just spent all day coughing my lungs out, and I'm so damned tired now that I've got enough oomph to address simple problems, but I'm just flat out too damned tired to tackle the difficult stuff.

I have an idea though. I don't actually know how many boards you can add to the list. Could you please try it with just a few boards, like perhaps 4 or 5 boards, and see if it works then? Please let me know what you find out.
Reduced it to 4 post but people can still read the topics.

Deprecated

Please leave it at just 4 boards for the time being, and tell me what they are. And if you change the category settings, tell me too.

The_Wii_Nes_Boy

@ Deprecated: this is the settings now.

Enable guest browsing control:         Ticked 
Categories to deny guest reading:    1, 2, 4, 7, 8
Boards to deny guest reading:          2, 8, 9, 10,

Deprecated

I see what your problem is. Board 10 doesn't have any topics, just child boards. The child boards are readable unless you add them to the list. Add the child boards 58-61 to your list.

Same situation on boards 8-9. Add the child boards.

Board 2, the restriction works. :) I can't read the topics. :) "Only registered members are allowed to access this section." :)

The_Wii_Nes_Boy

#196
Quote from: Deprecated on November 23, 2008, 01:35:33 PM
I see what your problem is. Board 10 doesn't have any topics, just child boards. The child boards are readable unless you add them to the list. Add the child boards 58-61 to your list.

Same situation on boards 8-9. Add the child boards.

Board 2, the restriction works. :) I can't read the topics. :) "Only registered members are allowed to access this section." :)
yeah but if i try and deny just boards you can access them!! Sorry i don't hink i made that clear from the beginning. At the moment I am just denying boards but you can still access them

Enable guest browsing control:         Ticked 
Categories to deny guest reading:   
Boards to deny guest reading:          2, 8, 9, 10,

Deprecated

The restrictions do not apply to child boards unless you put them on the board list.

And your board #2 restriction IS working. It prevented me from reading it.

You should log out before testing access. You are logging out, right?

The_Wii_Nes_Boy

Yep logged out again and tested it works a treat, like I though it was just me being stupid child boards must be added seperate :-[ Sorry for wasting your time Deprecated

Deprecated

Aw, I gotta do the work if I wanna make the big bucks, right? :D Hey! Wait a second! I'm not getting paid any bucks! :( :( :( ;) >:D

Glad to have helped you. :)

Advertisement: