The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Different Announcements for Guests and Members

4 posters

Go down

Solved Different Announcements for Guests and Members

Post by Rhino.Freak 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
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
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 March 9th 2014, 6:00 pm

May I bump?
Rhino.Freak
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
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™ 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™
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 March 10th 2014, 12:45 am

Pizza Boi
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: Different Announcements for Guests and Members

Post by Rhino.Freak 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
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
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 March 12th 2014, 7:24 am

bump I guess
Rhino.Freak
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
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 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
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: Different Announcements for Guests and Members

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

Different Announcements for Guests and Members  Untitl27

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
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
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 March 12th 2014, 11:18 am

Rhino.Freak wrote:Different Announcements for Guests and Members  Untitl27

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
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: Different Announcements for Guests and Members

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

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

Male Posts : 1248
Reputation : 104
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 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
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: Different Announcements for Guests and Members

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

Different Announcements for Guests and Members  Untitl28
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 ?

Different Announcements for Guests and Members  Untitl29
also this appears under my recent topics widgets (where I placed it)

thanks and greetings ! (ps: I used my test forum)
Rhino.Freak
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
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 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
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: Different Announcements for Guests and Members

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

I see, thanks man Wink
Rhino.Freak
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 104
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 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
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: Different Announcements for Guests and Members

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

Topic solved and archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top


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