[CDB] Show first post only to guest

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: [RC] Show first post only to guest

Post by uruguayito »

RMcGirr83 wrote:Github updated. You can now choose how many characters to display for the first post. Thanks to nickvergessen for use of his classes from his nv news page mod.
thank you very much :mrgreen:
Nice work
I speak spanish
Sorry for my bad english
User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [RC] Show first post only to guest

Post by nero »

Another fantastic ext.
mara-
Registered User
Posts: 11
Joined: Thu Jan 21, 2016 6:49 pm

Re: [RC] Show first post only to guest

Post by mara- »

What about bots, can they access other posts?
User avatar
RMcGirr83
Former Team Member
Posts: 22106
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Show first post only to guest

Post by RMcGirr83 »

Probably help if you read the topic.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
mecaman
Registered User
Posts: 49
Joined: Wed Dec 31, 2008 5:15 pm
Location: Barcelona

Re: [RC] Show first post only to guest

Post by mecaman »

Hi, congratulations on this great Mod, my forum has more than 700 forums created, is there any way that all are activated without having to go one on one?
Thank you and sorry for my bad English
User avatar
RMcGirr83
Former Team Member
Posts: 22106
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Show first post only to guest

Post by RMcGirr83 »

700 forums? You are going to run into issues with the software if you add many more to that but anyway. Run this SQL query via phpmyadmin

Code: Select all

UPDATE phpbb_forums SET sfpo_guest_enable = 1, sfpo_characters = 150 WHERE forum_type = 1
you will need to change phpbb_ to the actual extension of the database tables and you can change the 150 to however many characters you want to display too. Always do a backup of the database prior to running this or any other SQL query directly on a database.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
mecaman
Registered User
Posts: 49
Joined: Wed Dec 31, 2008 5:15 pm
Location: Barcelona

Re: [RC] Show first post only to guest

Post by mecaman »

OK thank you very much :D
User avatar
RMcGirr83
Former Team Member
Posts: 22106
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [CDB] Show first post only to guest

Post by RMcGirr83 »

Extension has been validated and released.

https://www.phpbb.com/customise/db/exte ... _to_guest/

Closed.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺

Return to “Extensions in Development”