[ABD] Max Guest Views Before Login

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
youngjediknight
Registered User
Posts: 385
Joined: Wed Apr 22, 2009 2:58 pm

Re: [RC] Max Guest Views Before Login

Post by youngjediknight »

poppertom69 wrote:it counts towards every page visited e.g. index, search, viewforum, viewtopic so you may want to take that into account when setting the x amount of pages
To be clear, guest visits site views 6 pages, a week later same guest comes back and views 6 pages, next page view (assuming 12 page limit), guest is redirected to login / register page?

This is a brilliant mod idea.
poppertom69
Registered User
Posts: 383
Joined: Wed Jun 06, 2007 7:44 am
Location: Bucks, UK
Name: Tom Martin

Re: [RC] Max Guest Views Before Login

Post by poppertom69 »

Yeh that is true as long as they have the same ip address!!
Do one thing everyday, that scares you!
georgiablakk
Registered User
Posts: 34
Joined: Thu Aug 21, 2003 12:25 am

Re: [RC] Max Guest Views Before Login

Post by georgiablakk »

FINALLY!
I've been requesting this for quite a while.

I have a feature request.
How about instead of a login/password dialog with "You have viewed 'X' pages please login or register..." as the title, you give the admin the option of typing a bbcode or html enabled message of there own. This option should replace the login/password boxes all together
poppertom69
Registered User
Posts: 383
Joined: Wed Jun 06, 2007 7:44 am
Location: Bucks, UK
Name: Tom Martin

Re: [RC] Max Guest Views Before Login

Post by poppertom69 »

georgiablakk wrote:FINALLY!
I've been requesting this for quite a while.

I have a feature request.
How about instead of a login/password dialog with "You have viewed 'X' pages please login or register..." as the title, you give the admin the option of typing a bbcode or html enabled message of there own. This option should replace the login/password boxes all together
I might look into this later, I have two other mods that I am working on, And I consider this mod stable, just waiting for moddb validation, then I may consider writing a whole acp module for this mod with different options to suit everyones needs!
Do one thing everyday, that scares you!
youngjediknight
Registered User
Posts: 385
Joined: Wed Apr 22, 2009 2:58 pm

Re: [RC] Max Guest Views Before Login

Post by youngjediknight »

georgiablakk wrote:FINALLY!
I've been requesting this for quite a while.

I have a feature request.
How about instead of a login/password dialog with "You have viewed 'X' pages please login or register..." as the title, you give the admin the option of typing a bbcode or html enabled message of there own. This option should replace the login/password boxes all together
I haven't installed this mod yet but I presume you can just change the language file to whatever message you want.
poppertom69
Registered User
Posts: 383
Joined: Wed Jun 06, 2007 7:44 am
Location: Bucks, UK
Name: Tom Martin

Re: [RC] Max Guest Views Before Login

Post by poppertom69 »

Correct you can change the language file you show a different message above the login screen
Do one thing everyday, that scares you!
User avatar
Lisbon
Registered User
Posts: 825
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

Re: [RC] Max Guest Views Before Login

Post by Lisbon »

We can adapt this mod to a specifs foruns?
poppertom69
Registered User
Posts: 383
Joined: Wed Jun 06, 2007 7:44 am
Location: Bucks, UK
Name: Tom Martin

Re: [RC] Max Guest Views Before Login

Post by poppertom69 »

Lisbon wrote:We can adapt this mod to a specifs foruns?
How do you mean?
Do one thing everyday, that scares you!
User avatar
Lisbon
Registered User
Posts: 825
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

Re: [RC] Max Guest Views Before Login

Post by Lisbon »

poppertom69 wrote:
Lisbon wrote:We can adapt this mod to a specifs foruns?
How do you mean?
eg. Some forums are still private and can not access. But the other forums you can access only after x pages visited. A visitor can see x pages before the register or login page but not all the forums
youngjediknight
Registered User
Posts: 385
Joined: Wed Apr 22, 2009 2:58 pm

Re: [RC] Max Guest Views Before Login

Post by youngjediknight »

Lisbon wrote:
poppertom69 wrote:
Lisbon wrote:We can adapt this mod to a specifs foruns?
How do you mean?
eg. Some forums are still private and can not access. But the other forums you can access only after x pages visited. A visitor can see x pages before the register or login page but not all the forums
You should be able to accomplish that just by setting guest premissions for those particular forums you don’t want accessed.
ChezUK
Registered User
Posts: 74
Joined: Wed May 20, 2009 8:45 pm

Re: [RC] Max Guest Views Before Login

Post by ChezUK »

What are the Search Engine implications of this? Could this be considered 'cloaking', where what the bot sees differs from what the public can see? Google have been known to block sites form indexing for that.. :?:
onel0ve
Registered User
Posts: 182
Joined: Thu Aug 21, 2008 6:26 pm

Re: [RC] Max Guest Views Before Login

Post by onel0ve »

onel0ve wrote:how to removed this sql

Code: Select all

INSERT INTO `phpbb_config` (
`config_name` ,
`config_value` ,
`is_dynamic`
)
VALUES (
'amount_guest_views', '12', '0'
);

ALTER TABLE `phpbb_sessions` ADD `session_pages_viewed` INT( 3 ) NOT NULL DEFAULT '0';
i wana uninstall this mod
please help me anyone how to remove it from my database
i wana uninstall this mod
Petesat
Registered User
Posts: 63
Joined: Thu Apr 10, 2008 8:42 am

Re: [RC] Max Guest Views Before Login

Post by Petesat »

Great little mod, thanks. :mrgreen:

Pete
Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: [RC] Max Guest Views Before Login

Post by Richazey »

Really like your mod, hope you do an ACP module with the ability to select which pages are not included in the count.

Is there away of having a list of pages to count instead of pages not to count as I only want it on the froum part of my site and i have loads of custom pages?
User avatar
oxfordsi
Registered User
Posts: 266
Joined: Sun Jan 06, 2008 10:06 pm
Location: Witney, Oxfordshire, UK

Re: [RC] Max Guest Views Before Login

Post by oxfordsi »

onel0ve wrote:
onel0ve wrote:how to removed this sql

Code: Select all

INSERT INTO `phpbb_config` (
`config_name` ,
`config_value` ,
`is_dynamic`
)
VALUES (
'amount_guest_views', '12', '0'
);

ALTER TABLE `phpbb_sessions` ADD `session_pages_viewed` INT( 3 ) NOT NULL DEFAULT '0';
i wana uninstall this mod
please help me anyone how to remove it from my database
i wana uninstall this mod
To be honest, messing with mySQL can have disastrous consequences. Instead I'd suggest readjusting the file edits as per the download and leave it at that. The data within the SQL database is so tiny it makes no difference whatsoever!
Locked

Return to “[3.0.x] Abandoned MODs”