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 December 5th 2013, 6:50 am

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 December 5th 2013, 9:15 am

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 : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Announcements for guest only?

Post by Legolas on December 6th 2013, 4:01 pm

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 December 6th 2013, 8:12 pm

@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 December 6th 2013, 8:18 pm

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 December 6th 2013, 8:26 pm

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 : 35670
Reputation : 2375
Language : English
Location : United States

http://fmthemes.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