Hide member usernames from guests, on guest=readonly forum

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
petsits
Registered User
Posts: 46
Joined: Sat Mar 31, 2007 6:31 pm

Hide member usernames from guests, on guest=readonly forum

Post by petsits »

One of my forums is readable by guests, but only members can post to it. How can I hide all member information (including usernames) from guests? Thanks!!!
Last edited by petsits on Wed Jan 13, 2016 8:10 pm, edited 2 times in total.
User avatar
alex75
Registered User
Posts: 449
Joined: Sun Jun 10, 2012 9:09 am
Location: Italy
Name: Alessandro
Contact:

Re: Hide member usernames from guests, on guest=readonly forum

Post by alex75 »

This my extension, does what you ask. I can modify it to exclude even the username.

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

here is an example of view for guest. What would you like to eliminate further? http://www.phpbb-store.it/viewtopic.php?t=2912
petsits
Registered User
Posts: 46
Joined: Sat Mar 31, 2007 6:31 pm

Re: Hide member usernames from guests, on guest=readonly forum

Post by petsits »

That is awesome. it would be great if you could hide the username also!
petsits
Registered User
Posts: 46
Joined: Sat Mar 31, 2007 6:31 pm

Re: Hide member usernames from guests, on guest=readonly forum

Post by petsits »

On second thought, playing around with it (adding username to the css), I'm not sure if this method is going to work because while the stylesheet hides the data from plain sight, it's still in the source code? I need the username to not be available at all. Also getting rid of the commas between the usernames would be nice when the usernames are hidden.
User avatar
alex75
Registered User
Posts: 449
Joined: Sun Jun 10, 2012 9:09 am
Location: Italy
Name: Alessandro
Contact:

Re: Hide member usernames from guests, on guest=readonly forum

Post by alex75 »

sorry ... I do not understand your request. i speak little english
User avatar
cprgolds
Registered User
Posts: 459
Joined: Thu Oct 11, 2007 5:49 am
Location: Portland, Oregon

Re: Hide member usernames from guests, on guest=readonly forum

Post by cprgolds »

Hi Alex -- I could be interesting in hiding the usernames also. Sounds like a good idea.

Ciao!
petsits
Registered User
Posts: 46
Joined: Sat Mar 31, 2007 6:31 pm

Re: Hide member usernames from guests, on guest=readonly forum

Post by petsits »

I ended up editing a lot of the code (mostly adding "if logged in" controls to the template .html pages). Not ideal, but it works. There are so many pages that show the usernames that I'm not sure it was worth it.
User avatar
RMcGirr83
Former Team Member
Posts: 21956
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Hide member usernames from guests, on guest=readonly forum

Post by RMcGirr83 »

Use the event core.modify_username_string to remove the users name from displaying.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
User avatar
RMcGirr83
Former Team Member
Posts: 21956
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Hide member usernames from guests, on guest=readonly forum

Post by RMcGirr83 »

See attached, I was bored. Extract into the ext directory of your forum and click on hide username to enable the extension.
Attachments
rmcgirr83.zip
(9.02 KiB) Downloaded 209 times
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
jimlill
Registered User
Posts: 4
Joined: Sat Jan 23, 2016 10:54 am

Re: Hide member usernames from guests, on guest=readonly forum

Post by jimlill »

/ext/[the files]

or

/ext/hideusername/[the files]


I am running 3.1.7-pl1 and I tried both and in neither case did the ext appear in ext manager

me = phpbb newbie
jimlill
Registered User
Posts: 4
Joined: Sat Jan 23, 2016 10:54 am

Re: Hide member usernames from guests, on guest=readonly forum

Post by jimlill »

I figured it out....

needed

../ext/rmcgirr83/hideusername/[files].
User avatar
Boardtalk.net
Registered User
Posts: 1222
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: Hide member usernames from guests, on guest=readonly forum

Post by Boardtalk.net »

RMcGirr83 wrote:See attached, I was bored. Extract into the ext directory of your forum and click on hide username to enable the extension.
Works a treat, exactly what I've been looking for, for years. Cheers Rich!
petsits
Registered User
Posts: 46
Joined: Sat Mar 31, 2007 6:31 pm

Re: Hide member usernames from guests, on guest=readonly forum

Post by petsits »

I forgot I asked about this, and came back about to ask the same question. This extension works perfectly!!! Soooo nice!!! Thank you!
petsits
Registered User
Posts: 46
Joined: Sat Mar 31, 2007 6:31 pm

Re: Hide member usernames from guests, on guest=readonly forum

Post by petsits »

Might there be a way to do something similar with the signature also?
User avatar
Mick
Support Team Member
Support Team Member
Posts: 23525
Joined: Fri Aug 29, 2008 9:49 am

Re: Hide member usernames from guests, on guest=readonly forum

Post by Mick »

Extension support is via the author, there is no extension support in the support forums.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • There will be legions of cricket lovers of both genders through whose lips the abomination ‘BATTER’ will never pass so long as we live” - Simon Heffer - Telegraph
Locked

Return to “[3.1.x] Support Forum”