HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Chatroom shoutbox

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#38196 (In Topic #8592)
Avatar

Fan in action

 How do i keep the chat room posting to the shoutbox every time someone goes into chat room? it ends up making a vary long list in the shoutbox on the main page. so and so has entered the room. I have looked around and can not find an option or button to turn it off.

also what is the easiest and best way to ( for security reasons) allow or disallow access to different forum Chanel's and still keep the point system alive and well? For example I'm running the Bord and forums for a clan in a MMORPG. we have a clan and an alliance with multi clans in it i need to be able to have clan A see and be able to post in some Chanel's and clan B be able to post in some of the other Chanel's and both be able to post in yet other Chanel's. and still keep the point system govern group advancement. is this possible? and how
Back to the top
 
Posted
Rating:
#38201
Avatar

Community saint

1. Remove the side_shoutbox block from your side panel.

2. Needs an answer from somebody higher up the food chain - sorry!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#38202
Avatar

Fan in action

well i want the shoutbox there i just want to keep the many johndoe has entered the room updates from the chatroom out of the shoutbox
Back to the top
 
Posted
Rating:
#38204
Avatar

Well-settled

setup a another chatroom  as default room. Then it must be working
Back to the top
 
Posted
Rating:
#38221
Avatar

Hi,

1)
This is a new issue for us, but I can easily see your point. Try changing the BLOCK_SIDE_SHOUTBOX_MESSAGE template to be a bit smart about what it'll display:

Code

{+START,IF,{$NOT,{$IN_STR,{MESSAGE},has entered the room}}}
<div class="compact_spacing">
   <span class="shoutbox_by">{!BY_SIMPLE,{USER}}</span>, <span class="shoutbox_time">{TIME*}</span><br />
   <span class="shoutbox_message">{MESSAGE}</span>
</div>
<br />
{+END}

(this code is untested but it should work fine)

2)
I think perhaps your concern might be that you want group advancement, but don't want that to mess up your permissions.

It shouldn't be a problem. Just keep your primary usergroup for the rank, and give all the rank groups the same access. Then give people extra permissions via putting them in secondary usergroups.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#38227
Avatar

Community saint

Chris Graham said

Try changing the BLOCK_SIDE_SHOUTBOX_MESSAGE template to be a bit smart about what it'll display:

(this code is untested but it should work fine)

Thanks to Warshield for asking, and Chris for the solution. It works a treat - retrospective, even!!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#38268
Avatar

Fan in action

Altered the text/code in the template for your first suggestion and works perfectly


as far as the second suggestion. i think i understand. Just keep your primary usergroup for the rank, and give all the rank groups the same access.(((what do you suggest that access be ? full access or no access or access to everything i want everybody to be able to see{all general public areas} ))) then create separate groups able to see  certain areas. then add those peeps to those groups?
Back to the top
 
Posted
Rating:
#38300
Avatar

what do you suggest that access be ? full access or no access or access to everything i want everybody to be able to see{all general public areas} ))) then create separate groups able to see  certain areas. then add those peeps to those groups?

I'd choose "access to everything i want everybody to be able to see" so that new members do not need to be in any secondary group to continue to use the site.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: