Welcome to Geeklog, Anonymous Thursday, November 14 2024 @ 08:43 pm EST

Geeklog Forums

CanI make the chatterblock public, without public posters?


Crissy

Anonymous
I would like everyone to see the content in the chatter, but have to be registered to post in it?

This is fun. Your stuff is so easy to use and set up. I love that I am learning without getting a headache, hehe

Thanks,
Crissy
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Not currently. You would have to add some logic in the public_html/chatterblock/cb_main.php to not show the post message form if their userid was not > 1. Any logged user would have a user id > 1

This is just after a quick read of the code and with no testing but if you are familiar with PHP and don't mind expermenting a bit. Then try this

Around line 86 in cb_main is where I build the form. Try adding this logic around that section of code to not add the FORM and it's related HTML if UID is not > 1.

if ($_USER['uid'] > 1) .. then execute that code.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Crissy

Anonymous
I tried and it messed up (had to restore) so I will ask my friend who is a programmer to do it for me

Thanks,
Crissy
 Quote

All times are EST. The time is now 08:43 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content