Guest See Only First Post

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28009
Joined: Sat Aug 16, 2003 7:36 am

Guest See Only First Post

Post by Extensions Robot » Mon Jul 02, 2007 6:53 pm

Modification name: Guest See Only First Post
Author: Wicher
Modification description: This mod shows only defined number of posts in a topic to users that are not logged in.
Admin can define number of posts to show in ACP/General Admin/Configuration ( or in ACP/Forum Admin/Management ) as well as the message that has to be showed to the not logged in user.
In the ACP/Forum Admin/Management you can choose if you want to use this function per forum.
and if you want to use it along with announcements sticky's or polls.
Bot Indexing Mod 1.3.1 ( http://www.phpbb.com/phpBB/viewtopic.php?t=473524 ) is also compatible with thus preventing bots like google to show up in the stats for this mod in the ACP/GSOFP stats.
Modification version: 1.1.9
Tested on phpBB version: 2.0.22

Download file: Guest_See_Only_First_Post-1.1.9.zip
File size: 66757 Bytes

Modification overview page: View


Selected tags:
  1. category
    1. Admin Tools
  2. phpbb
    1. 2.0.22
Support for this modification needs to be asked within this topic. The phpBB Team is not responsible or required to give anyone support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version listed in the topic. It may not work in any other versions of phpBB.
(this is a non-active account manager for the phpBB Extension Customisations Team)

TerraFrost
Former Team Member
Posts: 5957
Joined: Sun Dec 26, 2004 3:40 am
Location: Austin, TX

Guest See Only First Post

Post by TerraFrost » Mon Jul 02, 2007 6:53 pm

Modification validated/released

Notes:
The description says it all :)

User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Re: Guest See Only First Post

Post by Wicher » Mon Jul 02, 2007 9:10 pm

Thank you very much for validating terrafrost.

example: http://www.wichersmods.nl/viewtopic.php?t=58
Log out if you are automatic logged in and return to above link.
Last edited by Wicher on Sun Dec 21, 2008 11:20 am, edited 1 time in total.

Irfaan Santoe
Registered User
Posts: 10
Joined: Sun Jun 17, 2007 10:07 am

Re: Guest See Only First Post

Post by Irfaan Santoe » Tue Jul 03, 2007 3:52 pm

Question:

Does this MOD work for all kind of Database ??

Greetings,
Irfaan

User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Re: Guest See Only First Post

Post by Wicher » Tue Jul 03, 2007 4:29 pm

Its tested on mysql, just try installing it and see if all works ok.
If not, you are in bad luck.

Beth
Registered User
Posts: 248
Joined: Mon May 19, 2003 10:57 pm

Re: Guest See Only First Post

Post by Beth » Sun Sep 23, 2007 4:08 pm

Can we assume this mod drastically limits the content that search engines will see as well?
It seems it would encourage guests to register, but our boards get a GREAT DEAL of traffic from searches.

Any ideas on this theory?

User avatar
Xclavo
Registered User
Posts: 185
Joined: Thu Sep 20, 2007 1:54 am

Re: Guest See Only First Post

Post by Xclavo » Sun Sep 23, 2007 8:46 pm

Beth wrote:Can we assume this mod drastically limits the content that search engines will see as well?
It seems it would encourage guests to register, but our boards get a GREAT DEAL of traffic from searches.

Any ideas on this theory?
Yeah, Search engines are considerd "guests" so your board would a seem to have less content ... BUT then agian, the first post is usually the most important and has good content then the rest. assuming each reply to the first post is not as rich in content as the first post. not to say that comments to posts are not important.

Beth
Registered User
Posts: 248
Joined: Mon May 19, 2003 10:57 pm

Re: Guest See Only First Post

Post by Beth » Sun Sep 23, 2007 10:52 pm

That's sort of what I've been thinking as well.

bisbeeblue
Registered User
Posts: 4
Joined: Mon Nov 12, 2007 1:09 pm

Re: Guest See Only First Post

Post by bisbeeblue » Mon Nov 12, 2007 1:16 pm

When I try to install with easymod, I get the following error message:
Critical Error

FIND FAILED: In file [includes/usercp_register.php] could not find:

$template->assign_vars(array(
'USERNAME' => isset($username) ? $username : '',

MOD script line #1024 :: FAQ :: Report

My board is heavily modified. Easymod, spellcow, red bar, troll mod, 13 or older, memberlist access, avatars secret gallery, log ip on registration, change forum banner, textual confirmation, anonymous posting by registered users, and split posts.

Any ideas for an easy fix?

User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Re: Guest See Only First Post

Post by Wicher » Mon Nov 12, 2007 6:55 pm

look for

Code: Select all

$template->assign_vars(array( 
and paste the AFTER, ADD action after that.

bisbeeblue
Registered User
Posts: 4
Joined: Mon Nov 12, 2007 1:09 pm

Re: Guest See Only First Post

Post by bisbeeblue » Sun Nov 18, 2007 12:58 pm

Wicher wrote:look for

Code: Select all

$template->assign_vars(array( 
and paste the AFTER, ADD action after that.
I am somewhat of a newbie to this. What action should I paste there?

bisbeeblue
Registered User
Posts: 4
Joined: Mon Nov 12, 2007 1:09 pm

Re: Guest See Only First Post

Post by bisbeeblue » Sun Nov 18, 2007 1:18 pm

Does this look right?

$template->assign_vars(array(
// Start Guest See Only First Post by Wicher
$read_limit = $forum_data[$j]['read_limited'];
// End Guest See Only First Post by Wicher
'REGISTRATION' => $lang['Registration'],
'AGREEMENT' => $lang['Reg_agreement'],
"AGREE_OVER_13" => $lang['Agree_over_13'],
"AGREE_UNDER_13" => $lang['Agree_under_13'],
'DO_NOT_AGREE' => $lang['Agree_not'],
"U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&agreed=true"),
"U_AGREE_UNDER13" => append_sid("profile.$phpEx?mode=register&agreed=true&coppa=true")) );

If this is correct, where will I find the controls?

PS If this is correct, it is not working.

bisbeeblue
Registered User
Posts: 4
Joined: Mon Nov 12, 2007 1:09 pm

Re: Guest See Only First Post

Post by bisbeeblue » Sun Nov 25, 2007 12:24 am

Update: I had to undo the above change as it kept everyone from accessing their profiles. I really would like to get this working. Any help would be appreciated.

Glenn I
Registered User
Posts: 172
Joined: Wed Apr 20, 2005 6:11 am

Re: Guest See Only First Post

Post by Glenn I » Sun Dec 02, 2007 1:59 am

I have it set so that only one post is viewable but when you click on the Login here and be redirected to this TopicLogin here and be redirected to this Topic Register button, it goes to a page and says page cannot be found.

Any ideas?

Glenn I
Registered User
Posts: 172
Joined: Wed Apr 20, 2005 6:11 am

Re: Guest See Only First Post

Post by Glenn I » Sun Dec 02, 2007 2:10 am

Actually when you click to login, it doesn't redirect to the topic. It goes to page cannot be found.

Post Reply

Return to “[2.0.x] MOD Database Releases”