Send a message to your visitors in real-time
|
Posted
#72154
(In Topic #15149)
|
|
|---|---|
|
Well-settled |
|
|
Posted
|
|
|
Community saint |
Although it is not restricted to privileged users, it could be modified.
Visit Last Gamer because its made with ocPortal.
Stay for the content - Video game retrospectives, reviews, galleries and discussions. Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio . |
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
Community saint |
Code
{+START,IF,{$OR,{$IS_STAFF},{$IS_SUPER_ADMIN}}}
I don't know exactly which template it is because I don't have Supershout installed.
Visit Last Gamer because its made with ocPortal.
Stay for the content - Video game retrospectives, reviews, galleries and discussions. Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio . |
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
Well-settled |
But, when I a normal user goes to a page the fly in messaging and shake of screen doesn't happen because of the shout box doesn't show up. |
|
Posted
|
|
|
Community saint |
Visit Last Gamer because its made with ocPortal.
Stay for the content - Video game retrospectives, reviews, galleries and discussions. Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio . |
|
Posted
|
|
|
Well-settled |
What do you mean? All I added was: (This was before the shout box block: {+START,IF,{$OR,{$IS_STAFF},{$IS_SUPER_ADMIN}}} This is after: {+END} What's wrong with that I did? |
|
Posted
|
|
|
Community saint |
From memory, supershout is more or less a drop-in replacement for the standard shoutbox, in which case the template you want should be BLOCK_SIDE_SHOUTBOX.tpl . In that template, put the code around: Code
<form ...
Visit Last Gamer because its made with ocPortal.
Stay for the content - Video game retrospectives, reviews, galleries and discussions. Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio . |
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
Community saint |
Edit templates and select BLOCK_SIDE_SHOUTBOX.tpl .
Visit Last Gamer because its made with ocPortal.
Stay for the content - Video game retrospectives, reviews, galleries and discussions. Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio . |
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
Community saint |
Visit Last Gamer because its made with ocPortal.
Stay for the content - Video game retrospectives, reviews, galleries and discussions. Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio . |
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
Community saint |
That code there hides the whole shout box from everyone except staff and admin.
Visit Last Gamer because its made with ocPortal.
Stay for the content - Video game retrospectives, reviews, galleries and discussions. Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio . |
|
Posted
|
|
|
Well-settled |
But with the super-members above don't get shown the send and shake buttons. But I do. |
|
Posted
|
|
|
Community saint |
The main group numbers are 1 Guests 2 Administrators 3 Staff 4 Super-members See ocPortal Tutorial: Tempcode programming - ocPortal for more info on IS_IN_GROUP.
Visit Last Gamer because its made with ocPortal.
Stay for the content - Video game retrospectives, reviews, galleries and discussions. Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio . |
1 guests and 0 members have just viewed this: None
Control functions:






