[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.
satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

Re: [RC] Max Guest Views Before Login

Post by satandream »

When i go to board settings i get this

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/acp/acp_board.php on line 65: Undefined index: PAGES
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3189)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3189)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3189)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3189)
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 »

did you do the language file edits properly, check them again
Do one thing everyday, that scares you!
satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

Re: [RC] Max Guest Views Before Login

Post by satandream »

it was automod that cause it as it didnt change the common.php file :oops:
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 »

Hmm automod did it for me :S
Do one thing everyday, that scares you!
satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

Re: [RC] Max Guest Views Before Login

Post by satandream »

Can this mod influence with ajax chat ?
After installing this mod guests no longer can post or if they can only 2-3 messages is working.
After this messages the chat dont work for guests.

I recall ajax chat uses sessions table
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 »

Whit this mos is possibel see all forum, righit? now a see, for exempel 3 page. after i deconect internet, then i conect the intenet again and i have e diferent IP. them i see 3 diferent pages- this mod work whit IP, righit?
purusam
Registered User
Posts: 440
Joined: Sat Feb 02, 2008 10:31 pm

Re: [RC] Max Guest Views Before Login

Post by purusam »

hey looks like a great modd!!

How about the google boots ? how many paged can they look at? the same or does thay count as registered members?
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 »

they count as reg members i believe
Do one thing everyday, that scares you!
User avatar
RMcGirr83
Former Team Member
Posts: 21608
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Max Guest Views Before Login

Post by RMcGirr83 »

poppertom69 wrote:they count as reg members i believe
Correct...will have no effect on registered bots.
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
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 »

actually and it only does it if user id equals anon user so wouldn't matter anyway
Do one thing everyday, that scares you!
purusam
Registered User
Posts: 440
Joined: Sat Feb 02, 2008 10:31 pm

Re: [RC] Max Guest Views Before Login

Post by purusam »

okey now some support i gor this when i run the query in my databse
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `phpbb3_sessions` ADD `session_pages_viewed` INT( 3 ) NOT NULL DEFAU' at line 10
User avatar
RMcGirr83
Former Team Member
Posts: 21608
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Max Guest Views Before Login

Post by RMcGirr83 »

Try running those separately, eg

first this one

Code: Select all

INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('amount_guest_views', '12', '0');
then this one

Code: Select all

ALTER TABLE phpbb_sessions ADD session_pages_viewed INT( 3 ) NOT NULL DEFAULT '0';
Also, to the author there are backticks in your mod download. Backticks are for mysql only. ;)
Last edited by RMcGirr83 on Wed May 20, 2009 6:38 pm, edited 1 time in total.
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
purusam
Registered User
Posts: 440
Joined: Sat Feb 02, 2008 10:31 pm

Re: [RC] Max Guest Views Before Login

Post by purusam »

sorry about that (thanks rm) i fixed it

i cant find where im setting how many pages the guest can viuw help me please

where in acp ?


EDIT: i found it and the mod works great! thank you all
User avatar
RMcGirr83
Former Team Member
Posts: 21608
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Max Guest Views Before Login

Post by RMcGirr83 »

ACP->General->Board Configuration->Board Settings. The setting is just below "Over ride users style".

To the OP, again, here is a db_update.php file for your sql queries if you so choose to use it in your mod.
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
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 »

RMcGirr83 wrote:ACP->General->Board Configuration->Board Settings. The setting is just below "Over ride users style".

To the OP, again, here is a db_update.php file for your sql queries if you so choose to use it in your mod.
Thank you I will release it with that later cheers
Do one thing everyday, that scares you!
Locked

Return to “[3.0.x] Abandoned MODs”