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

Deprecated

Okay nwobhm, I guess the language barrier impeded my understanding of what you were telling me. I see what you're saying now and apparently I'll have to modify Recent.php and put restrictions in that too. Thank you for bringing this to my attention and I'll address this issue as soon as possible. Please monitor this thread for a fix which I expect to make available in the near future.

jlove207

#81
Quote from: Deprecated on September 02, 2008, 04:43:27 PM
Jlove, the mods got into your ModSettings.php perfectly. I installed LBNR on my 1.1.5 test forum and compared your file to my file and they are identical.

Either:

1.) Go to the mod site and hit the "Manual Install Instructions" button and use that to verify that all the changes got in

Or

2.) Attach your index.php and Modifications.english.php files to your next post and I'll do it.

You might also try manually putting the language strings in your index.english.php file. Let us know if you have any mod packages or other non-standard stuff going on at your forum.


One other thing that is maybe a long shot. Maybe you're looking at it and don't see it. On your Admin -> Configuration -> Features and Options page, you should see a menu BASIC FEATURES, LAYOUT AND OPTIONS, LOOK BUT NO READ, KARMA. You have to hit the LOOK BUT NO READ tab before you will see LBNR's settings.

I'm including the index.php file but I don't have the "Modifications.english.php" file.



Jlove207

Deprecated

Quote from: jlove207 on September 02, 2008, 06:37:40 PM
I'm including the index.php file but I don't have the "Modifications.english.php" file.

Well if you don't have Modifications.english.php then that's why you don't have any configurations screen! Here, you can have mine. Put it in your ./Themes/default/languages directory and that should fix you up. Let me know.

jlove207

#83
Quote from: Deprecated on September 02, 2008, 07:32:33 PM
Quote from: jlove207 on September 02, 2008, 06:37:40 PM
I'm including the index.php file but I don't have the "Modifications.english.php" file.

Well if you don't have Modifications.english.php then that's why you don't have any configurations screen! Here, you can have mine. Put it in your ./Themes/default/languages directory and that should fix you up. Let me know.

Well thanks for trying. It didn't work. Could it be I have a different theme other than the default theme? I have the Bluesound theme from Hoochie Choochie man. Also the "Look but no Read" mod is the only mod installed.

According to the install, everything installed right with no errors. I cannot figure it out why it's not showing?

jlove207

Deprecated

Well... you never told me you had themes installed.... I don't know themes.

jlove207

Quote from: Deprecated on September 02, 2008, 09:47:33 PM
Well... you never told me you had themes installed.... I don't know themes.

Oh, so the themes makes a difference? Sorry for the trouble.

jlove207

Deprecated

#86
Try the file Jlove. I don't care about themes. I just want to get you up and running. I want you to walk away a happy customer. Please take the theme out and try the LBNR for a test, and if it works then maybe it might be appropriate to try getting themes help.

Before that you should try putting the same language strings in your index.english.php. Make sure you flush your caches before you test your changes.

Adish - (F.L.A.M.E.R)

#87
I had 2 test failed for index.php and modsettings.php so i did the manual edits, after doing so, i am getting this error.

Parse error: syntax error, unexpected T_ELSEIF in /home/goldysun/public_html/index.php on line 320

Please let me know what maybe the problem


EDIT:-
All Solved, i added the code before one bracket which caused the error... All done..cheers..

Deprecated

@Jlove: I'm just looking this over and the more I think about it, your only problem is that the language strings -- the $txt[] ones -- are not available to your SMF so the modification cannot be enabled. All you have to do is get those strings in the right spot. Look at the file I attached above and figure out which language file you're using and manually put them in that file. I believe you said you're "light php." This should be well within your capabilty.

Hoochie Choochie man is a good guy. Go ask him where you should put the language strings if they don't work in your index.english.php file. He will fix you up.

hw610

Ok We installed this for version 2 and its working like a charm except the hit recent post link then the guests can see them, I read all the replies but I wasnt able to see a clear cut solution for that. Is there one? We are using the default them as well
**Thanks for all the help but we have moved to vB.

Deprecated

I have yet to fix the action=recent bug. I have other obligations besides supporting this modification and due to the minimal severity of this flaw the fix will have to wait until I can figure out the code.

As long as anybody can simply create a member account using a disposable address and read the posts anyway I do not consider this to be of pressing importance, but I do intend to fix it when I have the time.

Please either monitor this topic or periodically check the mod's revision level to determine when it is fixed. I will post a notice in this topic when it is fixed.

Marcus Forsberg

Looks interesting.
I'll try iy out when I have time!

anakmacan

Quote from: Deprecated on August 28, 2008, 08:09:20 AM
Quote from: anakmacan on August 28, 2008, 06:20:44 AM
Depre: Have you found out whats going on with my forum?

Hi anakmacan. I'm sorry but I forgot about you. I had a look at your files but I was primarily interested in ModSettings.php, and the file you attached is not your ModSettings.php so you'll have to do it again, attach that file to a reply.

Thats ok  ;D

It wasnt?  ::) well, okay, ill download from /source and upload again. here it is.

ManilaGurL

Will this work with SMF 1.1.5, DilberMC and Tinyportal installed?

Deprecated

@anakmakan:

Attached is your ModSettings.php with LBNR manually edited in. You're suffering from "mod clog," that too many mods have been installed, some written by less tidy people who did not look at the post-modification code to see that their installation script did what they intended. As a result they mess up the file for other modifications that are added afterwards. That was your problem.

Please let us know how the new file works for you.

Deprecated

Quote from: ManilaGurL on September 09, 2008, 02:35:32 AM
Will this work with SMF 1.1.5, DilberMC and Tinyportal installed?

It beats the heck out of me. :) I'm not a themer, nor have I tried TP yet. Perhaps somebody who has those installed can answer your question.

Yes, this modification works for SMF 1.1.5 (and 2.0). That's all I can tell you.

REHK

#96
At Last!! ive been waiting for a mod like this it is exactly what ive been looking for and havent managed to achieve with other mods :( Ive installed on a test of SMF 2 Beta 4 and all is cool :D However I cant get it working on my forum which is now 1.1.6. The 'look but no read' option shows in the setting and options but does nothing when i click it :( please help O:)

Ive attatched screen and will gladly forward any information needed.

**UPDATE** **FIXED**

:D :D :D :D :D :D :D :D :D :D :D :D

Fixed and really happy great mod ;D

I believe already installed mods had used lines needed so they wernt written, so i did it manually. The lines were both instances of:-

'lbnr' => 'ModifyLbnrSettings',

once i put these in everything was good :D

anakmacan

Quote from: Deprecated on September 09, 2008, 10:27:07 AM
@anakmakan:

Attached is your ModSettings.php with LBNR manually edited in. You're suffering from "mod clog," that too many mods have been installed, some written by less tidy people who did not look at the post-modification code to see that their installation script did what they intended. As a result they mess up the file for other modifications that are added afterwards. That was your problem.

Please let us know how the new file works for you.

I see... Thanks for your explanation.

Which new file do you mean? This mod's file at the mod page?

Deprecated

Quote from: anakmacan on September 13, 2008, 08:37:51 AM
Quote from: Deprecated on September 09, 2008, 10:27:07 AM
@anakmakan:

Attached is your ModSettings.php with LBNR manually edited in. You're suffering from "mod clog," that too many mods have been installed, some written by less tidy people who did not look at the post-modification code to see that their installation script did what they intended. As a result they mess up the file for other modifications that are added afterwards. That was your problem.

Please let us know how the new file works for you.

I see... Thanks for your explanation.

Which new file do you mean? This mod's file at the mod page?

attached

Phoenixauto

Hello and thank you for the excellent mod
I installed perfectly but I wanted to know if it was possible to extend the restriction to not only guest but also to registered users but not belonging to groups.
Is this possible?

Advertisement: