Look But No Read

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

Previous topic - Next topic

Deprecated

Not impossible but maybe not very likely. I have some other more urgent work to do on this modification first.

Phoenixauto

patience .. through the same I would have done very comfortable
Thank you
Sorry for my English just perfect

ryozo

#102
no news for 1.1.6? :D

---- nevermind, its good already. thanks!

Deprecated

I'm sorry about the 1.1.6. I'm still working on fixing upgrade problems at three production sites, ranging from mild to severe, so I've been either fixing or working around problems so that their respective members could go on posting without generating tons of errors. Fortunately I think I just solved the major problem yesterday, and I could have more time to go back and fine tune mod packages that haven't been verified for 1.1.6 and possibly updated. Actually I have updated a few packages already for varying reasons. Note also that sometimes simple fixes can receive priority over more complicated ones, just because it's easy to get those out of the way.

I'm planning on reviewing all my mod packages that were 1.1.5 compatible and verifying that each is 1.1.6 compatible, and probably adding a few new features like UTF-8 support, and I'm even writing new packages that are dual mode 1.1.6-2.0 compatible (dual mode is a LOT more effort). Just this last week I added 1.1.6 compatibility to a previously 2.0-only mod package. It may take 1-2 weeks before it all sorts out. As I said, I intend each of my 1.1.5 compatible packages to be upgraded where necessary and certified for 1.1.6 in the near future.

Jsd

First sorry for my very bad english.

I like this mod very much. But is he to voor dutch.
I have SMF 2.0 Beta 4

Asshandler

Will this work in 1.1.6?
The only thing necessary for the triumph of evil is for good men to do nothing.

Deprecated

I just tested it and yes it does work with 1.1.6. I have changed the mod site page to reflect that.


For the record:

"This modification has been verified to work properly with both SMF 1.1.6 and SMF 2.0 Beta 4."

Asshandler

Works great, thanks Dep. 
The only thing necessary for the triumph of evil is for good men to do nothing.

Deprecated

You're welcome! Have fun Equus asinus Handler! ;)

BlackXBOX

Installed this on my 1.1.5 (it has a custom theme), and it didn't work even though it said all tests were successful. Help?

Deprecated

Wow that's a pretty difficult question. I wasn't aware that LBNR changed any theme related files. (No templates or anything.)

I suppose it could be theme related but I'm sorry I just don't know.

katib

Great mod !!!
I was using one on phpbb
Quote from: Deprecated on August 22, 2008, 01:48:04 PM
The Googlebot and other web crawlers are guests as far as your forum is concerned. If the guests can read the posts the bots can index them. If the guests cannot read the posts, like if LBNR oprevents it, then the bots cannot index the pages.
this is a bad news, because everyone likes his forum be indexed by crawlers and bots
I am new to SMF, so
1-can we put Bots into a memebergroup like Bots_Crawlers to let them pass this limitation ?
2- instead of preventing guests from reading post contents, can we limit access to, say, 300 first characters ? again I was using a similar mod on phpbb, it is called: "guests read part of posts"
منتدى الحجاج ... منتدى للقراءة والكتاب
http://www.hijaj.net

Deprecated

To treat 'bots and crawlers differently than ordinary guests is a violation of Google terms of service and probably all the other major search engines too. I know how I would accomplish what you want, but here at the SMF forums I believe I have a certain ethical standard that I must maintain, and I expect that SMF management would be critical of any effort on my part to help people evade TOS restrictions. For that reason I'm going to tell you that it can be done but you're on your own figuring it out, and I will appreciate that if you communicate your findings that you do it somewhere other than my mod package support thread. I hope you understand the position that I'm in, that I'm really unable to help you evade the TOS.

And your second idea is a killer idea!!! I like it, I really like it, and I'm adding it to my LBNR notes as a suggested upgrade for this mod. I would probably add a new value, number of characters that guests can read without logging in. If zero the mod behaves as usual, if non-zero the guest gets to read that number of characters before they hit a message, "log in or register to read the rest of this post."

Unfortunately the changes would not be trivial. Nevertheless I'm adding your suggestion to my list and perhaps I will add the feature at a future date.

There are a few LBNR features that I am not satisfied with and I do intend to make some changes to this package at an unspecified future date. LBNR is but one of my many dozens of SMF projects so it will have to wait its turn.

Thanks for the suggestion!

katib

#113
Quote from: Deprecated on October 08, 2008, 09:51:51 AM
And your second idea is a killer idea!!!
....................
Unfortunately the changes would not be trivial. Nevertheless I'm adding your suggestion to my list and perhaps I will add the feature at a future date.
I am very glad I inspired you some good idea  :)

Quote from: Deprecated on October 08, 2008, 09:51:51 AM
I would probably add a new value, number of characters that guests can read without logging in.
ok, but my idea is to let guest read UNLIMITED number of post, but in each post, he can only read first 300 characters !!!
the limit count is post based not board or forum based
this is the code I used to use on phpbb2
hope it inpire more usefull idea to you  :)

// Begin Gusets see only part of posts

# here you can specify certain forums and topics to be excluded from not reading by guests



if ((($forum_id == 1) or ($forum_id == 2) or ($forum_id == 3) or ($forum_id == 4) or ($forum_id == 5) or ($forum_id == 6) or ($forum_id == 7) or ($forum_id == 8) or ($forum_id == 11) or ($forum_id == 14) or ($forum_id == 15) or ($forum_id == 16) or ($forum_id == 21) or ($forum_id == 22) or ($forum_id == 23) or ($forum_id == 28)) && ($topic_id != 31) && ($topic_id != 20))

{

$lettercount = (strlen($message));

if (($userdata['username'] == 'Anonymous') && ($lettercount > 400))

{

$path = __FILE__;

$file = basename ($path);

if ($file != 'portal.php')//needed for portal support, otherwise portal layout will breakout when clips are played.

{

//first check if message has quote in it or a ot, quote box breaks forums layout.





$message = str_replace("[ot", "[ ot", $message);

$message = substr(($message), 0, 400).'... <br><br><table border=1 color=red style="background-color:#99CCFF"><tr><td>'.$lang['onlyforeguser'].'<tr><td><b><a href="http://'.$board_config['server_name'].$board_config['script_path'].'profile.php?mode=register">'.$lang['Register'].'</a><tr><td> '.$lang['or'].' <a href="http://'.$board_config['server_name'].$board_config['script_path'].'login.php?redirect=viewtopic.php?t='.$postrow[$i]['topic_id'].'">'.$lang['Login'].'</a> '.$lang['GuestWantReadAll'].'</b></td></tr></table>';

}

}

}

// End Gusets see only part of posts




Quote from: Deprecated on October 08, 2008, 09:51:51 AM
To treat 'bots and crawlers differently than ordinary guests is a violation of Google terms of service and ...
I dont like to break any TOS
my taughts about a spider membergroup was inspired by phpbb3 logic
There, I had a membergroup called spider/robots where I can adjust many settings including board layaout an theme to be veiwied by this robots....
In phpbb3, one can set a switch like that:  <!-- IF not S_IS_BOT --> or <!-- IF S_IS_BOT -->
(the following example is tacken from bluieimp.net ajax shat witch is also available for SMF )

<!-- IF not S_IS_BOT -->
<div style="font-size:1.3em; margin-bottom:20px;">{SHOUTBOX}</div>
<!-- ELSE -->
<div id="ajaxChatCopyright"><a href="https://blueimp.net/ajax/">AJAX Chat</a> &copy; <a href="https://blueimp.net">blueimp.net</a></div>
<!-- ENDIF -->

منتدى الحجاج ... منتدى للقراءة والكتاب
http://www.hijaj.net

Deprecated

Sorry, but phpBB code is useless to SMF.

Please don't post stuff in my modification support topic about aiding in violating the search engines' TOS. This topic is for supporting my mod package and your comments are off topic. Please stick to the topic.

katib

 
Quote from: Deprecated on October 08, 2008, 10:30:14 AM
Please don't post stuff in my modification support topic about aiding in violating the search engines' TOS.
Sorry if I wrote any things wrong  :-[  :-[
and right now, I dont figure out how my request would break any TOS  :(
Is it illegal to treat robots in a specific way !?
Once again, I am so sorry if I wrote any things wrong  :-[  :-[
منتدى الحجاج ... منتدى للقراءة والكتاب
http://www.hijaj.net

Deprecated

I am annoyed because this topic is about supporting the Look But No Read modification package, and your posts are off topic.

If you want to start your own topic and post whatever you want, please feel welcome to do so. Thank you.

arifwicaksono

i've installed this mod but why the menu like image below. i'm using smf 1.1.6 , is this the problem of my themes(i'm using default themes) or the mod?



i'm sorry my english is bad. i hope all understand what i mean.

Deprecated

Well that's my own screen shot so I don't understand what your problem is.

Yours will probably look a little different because I had to reduce the width of the browser window and scrunch up the lines so that I could get a narrow enough screen shot that it could be posted here in the support topic. Yours will probably have those labels all on one line instead of two.

So what is the problem?

SpeedQuest

I like this mod if I could only get it to work :P...

Here is my situation.  I am running 1.1.6 and have the following mods installed:
Mod Name Version 
1. Easy Edit Meta Data 1.0   
2. Hide Info Center From Guests 1.0 
3. Look But No Read 1.2
4. Message for your guests 0.1     
5. Referrals Mod 2.0.1 
6. Remove SMF Logo 1.2   
7. TinyPortal 0.983   
8. Treasury 2.31   

When I initially installed I received an error message:
!!Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


With this following:
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful

The issue I am having is this:

When I go to the 'Features and Options' menu, I can see the 'Look But No Read' Tab but when I click on it, my 'Basic Features' Tab is activated.

Do I need to manually edit my modsettings file?  I can attach or send any files you may need to look at, in the meantime I will hunt and peck.

Thanks in advance!

Advertisement: