The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Announcements for guest only?

View previous topic View next topic Go down

Solved Announcements for guest only?

Post by Darksphere92 on Thu Dec 05 2013, 07:50

As title says is there anyway to make Announcements for guest only?

Darksphere92
Forumember

Posts : 101
Reputation : 1
Language : English

http://fastforum.forum-board.net

Back to top Go down

Solved Re: Announcements for guest only?

Post by Sanket on Thu Dec 05 2013, 10:15

The default announcement that forumotion offers, you cannot.
However, you can add anything in the widget & give its permission for guests.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2820
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Announcements for guest only?

Post by Legolas on Fri Dec 06 2013, 17:01

Hello. Just make a new announcement with a class, for example:
Code:

<div class="guest">Your announcement goes here</div>
And add this to your Javascript codes, tick all page.
Code:

jQuery(document).ready(function(){
if(!document.getElementById('i_icon_mini_register')) {
jQuery('.guest').hide();
}
});

Legolas
Forumember

Male Posts : 262
Reputation : 33
Language : English

http://www.daily-support.org

Back to top Go down

Solved Re: Announcements for guest only?

Post by Darksphere92 on Fri Dec 06 2013, 21:12

@Legolas wrote:Hello. Just make a new announcement with a class, for example:
Code:

<div class="guest">Your announcement goes here</div>
And add this to your Javascript codes, tick all page.
Code:

jQuery(document).ready(function(){
if(!document.getElementById('i_icon_mini_register')) {
jQuery('.guest').hide();
}
});
Thanks that worked and is solved.

Darksphere92
Forumember

Posts : 101
Reputation : 1
Language : English

http://fastforum.forum-board.net

Back to top Go down

Solved Re: Announcements for guest only?

Post by Legolas on Fri Dec 06 2013, 21:18

Your welcome Wink !

Legolas
Forumember

Male Posts : 262
Reputation : 33
Language : English

http://www.daily-support.org

Back to top Go down

Solved Re: Announcements for guest only?

Post by SLGray on Fri Dec 06 2013, 21:26

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 37624
Reputation : 2530
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum