Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Eve Community  Hop To Forums  Customization Ideas    Announce Once Widget Code
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Groupee VIP
Posted
Sometimes you want your Community to see an announcement as soon as they login.

One way to do this is by setting a "Terms of Service" date in the control panel. Everyone must agree to it before proceeding.

A different way is to use the code provided here (see attachment)

An announcement will appear. When the user clicks a button to say "I have read it" it will not appear again.


INSTRUCTIONS

1) Copy the marked sections into YOUR eve style "Custom HTML".

2) Paste this at the very end of the "BEFORE Closing body tag" section of your style.

3) Be SURE you have put it in a style that is used in the main pages of the site.

4) Test. In order to reset the display, delete a cookie in your browser called ra.
OR you can change the id of the announcement DIV

5) Removed the code completely when you no longer want the announcemnt to appear.


ADVANCED

Do not attempt these things unless you are familar with basic HTML and javascript and how cookies work.

You can use this code on other web pages IF you include the eve_constructor.js code below AND you edit the value

show_to_guests = false;
to be
show_to_guests = true;


You can update the announcement (make it appear again to users) by changing the DIV id: ann_001 to ann_002, then ann_003 and then to ann_004 etc.


NOTICE:

This is an an unsupported script for use in the eve community platform. Infopop makes no representation about the suitability or function
of this code for your web pages.


Infopop Corporation


Text Fileannounce_js_code_only.TXT (3 Kb, 263 downloads) code for annoucment
 
Posts: 3604 | Registered: February 23, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of JeremyV
Posted Hide Post
Wow, when I saw that box showing, I almost peed my pants Red Face

But, a great feature, I love it Big Grin
 
Posts: 371 | Location: Lansing, MI | Registered: February 12, 2002Reply With QuoteEdit or Delete MessageReport This Post
Eve Developer
Aspiring Monkey
Posted Hide Post
That is pretty nifty. Niiice.


Jonmark Weber
Developer
Groupee, Inc.
 
Posts: 1887 | Location: Seattle | Registered: November 10, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of Commish
Posted Hide Post
swwwwweeeeeeeeet!
 
Posts: 103 | Registered: August 24, 2004Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of Daveht
Posted Hide Post
Hello!

Is there anyway to get this to work in the Main page?

It works great in the forums. But when I put it in the main page the box shows but no text!

Thanks!
 
Posts: 178 | Location: NH | Registered: March 07, 2005Reply With QuoteEdit or Delete MessageReport This Post
Groupee VIP
Posted Hide Post
Hi Dave

This will work on any page within your *eve domain* and ONLY on those pages. It will not work on a www. version of your domain. If by "main" page you mean http://www.smithandwessonforums.com, it will not work.

Take a look at the advanced section of the instructions for how to add the widget outside of the forums. However, I need to stress this is an eve related widget which relies on eve related cookies and so is not a universal announcement tool.


Infopop Corporation
 
Posts: 3604 | Registered: February 23, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Posted Hide Post
Nice feature! Thanks Michael.

BTW, this is the kind of thing I would like to see more of from InfoPop - little hacks that can be really useful and don't require big upgrades. Thanks again.
 
Posts: 31 | Location: County Cork, Ireland | Registered: May 08, 2004Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Posted Hide Post
For instance, I'm sure your team could come up with some neat Greasemonkey hacks? Smile
 
Posts: 31 | Location: County Cork, Ireland | Registered: May 08, 2004Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of Daveht
Posted Hide Post
Test message

Where avatars cut off here or in all forums??
 
Posts: 178 | Location: NH | Registered: March 07, 2005Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Posted Hide Post
quote:
2) Paste this at the very end of the "BEFORE Closing body tag" section of your style.
Does this get placed outside of the </TABLE>

Here's the last part of our BEFORE Closing body...

value="http://www.organicgardening.com/">Organic Gardening</option>
<option value="http://www.organicstyle.com/">Organic Style</option>
<option value="http://www.prevention.com">Prevention</option>
<option value="http://www.runnersworld.com">Runner's World</option>
</select>
</td>
</tr>
</table></td>
</tr>
</table>
 
Posts: 105 | Registered: June 01, 2005Reply With QuoteEdit or Delete MessageReport This Post

Posted Hide Post
at the very end of the "BEFORE Closing body tag" section of your style = at the very end of the "BEFORE Closing body tag" section of your style

e.g. after the table tag.


Michael Farris<br/>
Groupee
 
Posts: 185 | Registered: September 08, 2004Reply With QuoteEdit or Delete MessageReport This Post
Groupee Newbie
Posted Hide Post
This is BRILLIANT!!!

I love it!!
 
Posts: 3 | Registered: June 08, 2005Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Eve Community  Hop To Forums  Customization Ideas    Announce Once Widget Code