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.

Different Announcements for Guests and Members

View previous topic View next topic Go down

Solved Different Announcements for Guests and Members

Post by Rhino.Freak on March 8th 2014, 9:41 am

Greetings everyone, so, yes like the title says, I wanna add 2 different sets of announcements in my forum, one which guests can see and members can't and others which registered members can see and guests can't.. Can someone tell me how to do this?
I guess some codes needs to be used so I posted in this section..
Any help is appreciable..

Thanx a lot Smile


Last edited by Rhino.Freak on March 15th 2014, 6:23 am; edited 1 time in total

Rhino.Freak
Active Poster

Male Posts : 1243
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Rhino.Freak on March 9th 2014, 6:00 pm

May I bump?

Rhino.Freak
Active Poster

Male Posts : 1243
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Spyro Dragon™ on March 9th 2014, 10:23 pm

You can do this with Pictures...but like the announcement text that scrolls right to left..no idea..

but you can set a custom navi bar ,  2 navis and just have one of the pictures be the announcement and only be set to guest can see, kinda  like the Sign up button//

Spyro Dragon™
Forumember

Male Posts : 202
Reputation : 2
Language : English

http://SpyroDragon.com

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Pizza Boi on March 10th 2014, 12:45 am


Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Rhino.Freak on March 10th 2014, 5:51 am

Pizza man : heyo, thahat's not what I want

Spyro Dragon : can you explain in detail? coz im pretty sure I've seen it in forums.. I don't mind images..

Rhino.Freak
Active Poster

Male Posts : 1243
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Rhino.Freak on March 12th 2014, 7:24 am

bump I guess

Rhino.Freak
Active Poster

Male Posts : 1243
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Pizza Boi on March 12th 2014, 10:43 am

Hi Very Happy

Can you please provide an example print screen and your forum version and URL please?

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Rhino.Freak on March 12th 2014, 10:54 am



this is the general announcement in my forum..

I want a different announcement for Guests.. how?
forum is phpbb3 and link : http://onepiecea-edition.yoo7.com/forum

Rhino.Freak
Active Poster

Male Posts : 1243
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Pizza Boi on March 12th 2014, 11:18 am

@Rhino.Freak wrote:

this is the general announcement in my forum..

I want a different announcement for Guests.. how?
forum is phpbb3 and link : http://onepiecea-edition.yoo7.com/forum

Hi Very Happy

Hmm... it would be easy if we can edit templates here, but I have an idea. You can create 2 widgets, one for guests and the other for members as their permissions are edited in that way.

And then, that announcement will be moved in the original position of the announcements as an overlay for it.

Here's an example of what I mean:

ACP < Modules < Widget Management < Create a New Widget < Paste this code:

Code:
<center>
    <br />    <a href="URL Link" id="Lepop"><img src="IMG Link" /></a><br />
</center><br />

^ That's one set for the members to see only.

Add this in your CSS:

Code:
#Lepop {
    position: absolute;
    top: 300px;
    bottom: 0px;
    line-height: 16px;
    right: 200px;
    z-index: 999;
    opacity: 0.8;
    width: 760px;
    border-radius: 3px;
    }

#Lepop:hover {
    opacity: 1;
    }

The codes I provided are just my custom styled codes. Anyway, as I said, the one example above is for the members only, but you need to create another widget for the guests and with different selectors and making sure that the position of the announcement is the SAME as the members'.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Rhino.Freak on March 14th 2014, 5:19 pm

Okay, but I dont want it on widget I want it as announcements.

Rhino.Freak
Active Poster

Male Posts : 1243
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Pizza Boi on March 15th 2014, 3:47 am

Hi Very Happy

You are creating an announcement, right? Well, that's the only way unless someone could apparently script it. Besides that, you can adjust it to a no table form :/ . I also checked your forum and you're using widgets, in any case, it won't be a problem at all since if you set it to a not table type, the widget won't appear and just overlay the announcement as is.

The announcement can be modified via the content in the widget :/ .

Say, like this:

Code:
[color=#000000][font=Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace]<a href="URL Link" id="Lepop">Hi, and welcome to One Piece forum, please register bla bla bla<img src="IMG Link" /></a><br />[/font][/color][color=#000000][font=Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace]


Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Rhino.Freak on March 15th 2014, 6:01 am


I added the widget as you guided, but its not in the right position..
(just underneath ads and is very small too) how to have it on a perfect position of announcement ?


also this appears under my recent topics widgets (where I placed it)

thanks and greetings ! (ps: I used my test forum)

Rhino.Freak
Active Poster

Male Posts : 1243
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Pizza Boi on March 15th 2014, 6:15 am

Hi Very Happy

My apologies, I didn't realize that when I copy pasted the code, the BBC version was added. Please delete the codes that start of with [ and ends with ] since they cannot be used for HTML codes.

Also, if you want to fix the position, please ADJUST this:

Code:
#Lepop {
    position: absolute;
    top: 300px;
    bottom: 0px;
    line-height: 16px;
    right: 200px;
    z-index: 999;
    opacity: 0.8;
    width: 760px;
    border-radius: 3px;
    }

#Lepop:hover {
    opacity: 1;
    }


It is not up to me on how it will be exact since it depends on your forum. right, top, and bottom are all for positioning. Width can be adjusted but seeing as you added only the text version, you have to create anything that has a background or of any sort that exceeds 760px or anything that can be adjusted in that size. Say:

Code:
#Lepop {
    background-img:url(IMG Link goes here) /* or you can use */ background-color: #Hex color !important;
    padding: 3px 3px 3px 3px;
    margin: 1px;
    border-radius: 3px 3px 0px 0px;
    position: absolute;
    width: 760px;
    top: 300px;
    right: 200px;
    line-height: 16px;
    line-width: 32px;
    z-index: 999;
    opacity: 0.8;   
    }

#Lepop:hover {
    opacity: 1;
    }


I cannot give you a full styled code since we can only give you similar examples Smile .

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Rhino.Freak on March 15th 2014, 6:21 am

I see, thanks man Wink

Rhino.Freak
Active Poster

Male Posts : 1243
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Pizza Boi on March 15th 2014, 6:28 am

Hi Very Happy

The pizza's here! That'd be 2.99 Wink .

No problem~

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Ange Tuteur on March 15th 2014, 7:05 am

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

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