Eve Support Community
Forums
Eve Community
Customization Ideas
Announce Once Widget Code|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Groupee VIP |
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 announce_js_code_only.TXT (3 Kb, 263 downloads) code for annoucment |
||
|
|
Groupee Member |
Wow, when I saw that box showing, I almost peed my pants
But, a great feature, I love it |
|||
|
|
Eve Developer Aspiring Monkey |
That is pretty nifty. Niiice.
Jonmark Weber Developer Groupee, Inc. |
|||
|
|
Groupee Member |
swwwwweeeeeeeeet!
|
|||
|
Groupee Member![]() |
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! |
|||
|
|
Groupee VIP |
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 |
|||
|
|
Groupee Member |
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. |
|||
|
|
Groupee Member |
For instance, I'm sure your team could come up with some neat Greasemonkey hacks?
|
|||
|
Groupee Member![]() |
|
|||
|
|
Groupee Member |
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> |
|||
|
![]() |
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 |
|||
|
|
Groupee Newbie |
This is BRILLIANT!!!
I love it!! |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Eve Support Community
Forums
Eve Community
Customization Ideas
Announce Once Widget Code
