Version: 1.04, by Kirk Y
Developer Last Online: Jun 2013
Category: Forum Display Enhancements -
Version: 3.6.8
Rating:
Released: 12-15-2007
Last Update: 12-30-2007
Installs: 151
DB Changes Uses Plugins Auto-Templates
Re-useable Code Translations
No support by the author.
Forumdisplay Warning Message
What does this do? This modifications adds the ability to give specific forums "warning messages" that are shown to the user before he/she enters the forum. For example: the user enters a forum that is intended for adults; the user enters this forum, is presented with the warning message explaining as much, and he/she can then choose to proceed into the forum or return back to where they were.
Installation
1. Import the Product XML and upload the two images to your /images/misc folder.
2. Configure the Warning Message through the Forum Manager.
3. Setup the Global Options through the vBulletin Options menu.
Features -Customizable message per forum
-Control background color of pop-up
-Control opacity of background layer behind pop-up
-Cookie options allow you to enable users to permanently disable messages or show them once per session
-Exclude specific Usergroups from having to view pop-ups
-Control dimensions (height and width) and coordinate position of pop-up
Version History 1.00 - Initial Release
1.01 - Added table prefixes
1.02 - Added option for cookie control
1.03 - Fixed session cookie bug; added ability to exclude usergroups from warning pop-ups; changed data type for better compatibility
1.04 - Added option for height/width and position control of pop-up
Please click Install if you use this modification
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Two questions: I am having issues with the top of the warning box being "hid behind" my forums flash header... How can I bring this to the very front of the display?
Can you post the HTML code for your sample warning message? I really liked the simplicty and color scheme of that.
Two questions: I am having issues with the top of the warning box being "hid behind" my forums flash header... How can I bring this to the very front of the display?
Can you post the HTML code for your sample warning message? I really liked the simplicty and color scheme of that.
Thank you!!
You can sort of make it out in the first screenshot:
Code:
<div align="center" style="font-weight:bold;color:yellow;font-size:25px">WARNING!</div><br />
This section of our forum is intended for Mature Audiences only.<br />
As such it may contain material that is neither suitable nor appropriate for those under the age of 17.
The "Z-index" is apparently the order of the "stack" of windows...
Quote:
Usually HTML pages can be considered two-dimensional, because text, images and other elements are arranged on the page without overlapping. There is a single rendering flow, and all elements are aware of the space taken by others.
In CSS 2.1, each box has a position in three dimensions. In addition to their horizontal and vertical positions, boxes lie along a "z-axis" and are formatted one on top of the other. Z-axis positions are particularly relevant when boxes overlap visually. (from CSS 2.1 Section 9.9.1 - Layered presentation)
It means that CSS style rules allow you to position boxes on layers in addition to the normal rendering layer (layer 0). The Z position of each layer is expressed as an integer representing the stacking order for rendering. Greater numbers mean closer to the observer. Z position can be controlled with the CSS z-index property.
So, you either edit the number by hand or you change it to a configuration option. Will try to edit it right now.
==============
Update: Tried changing Z-index to 1000 and didnt work, still was embedded behind the Flash header.
I haven't had a chance to experiment, but I'm fairly certain than any kind of active content (windows media, flash, quicktime, etc.) is always displayed on the highest level - regardless of z-indexing values.
You could try adding wmode="opaque" or wmode="transparent" to your flash/embed params. Not the most ideal solution - but it might work.
So this is my FORUMDISPLAY template (by Attachment)
Everything looks fine... can't see anything wrong off-hand that'd mess up the template replacement. If you want to set up an admin login for me, I can troubleshoot it for you.