vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Forumdisplay Warning Message (https://vborg.vbsupport.ru/showthread.php?t=165278)

dacho 12-17-2007 07:44 AM

I do not know why, but this do not work at my place :confused:
I installed the xml, I defined informed in the specific forum and nothing happen

Mark K 12-17-2007 08:40 AM

Wow didnt realise so many people would like this mod :p

Kirk Y 12-17-2007 09:54 AM

Quote:

Originally Posted by dacho (Post 1402692)
I do not know why, but this do not work at my place :confused:
I installed the xml, I defined informed in the specific forum and nothing happen

Could you post up your FORUMDISPLAY template in CODE tags please?

Qwest 12-17-2007 03:50 PM

Wow that's pretty cool.

Mecho 12-17-2007 06:56 PM

nice idea .. would u add an option for exclude usergroups .

thanks

Wayne Luke 12-17-2007 09:20 PM

Tagged for next version when user has the ability to place cookie control on this.

Kirk Y 12-18-2007 01:19 AM

v1.02 released: cookie control functionality added.

XFSImperial 12-18-2007 01:31 AM

Quote:

Originally Posted by Kirk Y (Post 1403222)
v1.02 released: cookie control functionality added.

Awesome, greatly appreciated!

Derek Chai 12-18-2007 01:35 AM

Thanks I hope to see my suggestion soon.

Kirk Y 12-18-2007 01:40 AM

Quote:

Originally Posted by Derek Chai (Post 1403235)
Thanks I hope to see my suggestion soon.

Yes, it'll be in the next version. I just wanted to get this one out quickly as so many people wanted control over how the cookies were handled.

kollam003 12-18-2007 02:19 AM

updated mine thanks

Doctor Death 12-18-2007 09:49 AM

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!!

Mecho 12-18-2007 01:38 PM

i really want to use this too . but is there anyway to exclude some usergroups ?

Kirk Y 12-18-2007 02:56 PM

Quote:

Originally Posted by Doctor Death (Post 1403499)
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.


And I'll have a look into the flash issue.

Doctor Death 12-19-2007 12:34 AM

Thanks a lot... I believe there is some parameter that needs to be adjusted to ensure the flash takes front position.

Doctor Death 12-19-2007 01:01 AM

I went back and looked and I think the line that can fix this is

Quote:

document.write('<div id="slashpage" style="position: absolute; z-index: 100; bottom:90px; left:275px; color: white; background-color:$vboptions[splashbgcolor]; border: solid 1px black;">') //Main splashpage container
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.

Kirk Y 12-19-2007 06:06 AM

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.

Doctor Death 12-19-2007 09:15 AM

There was another modification that fixed a similar problem...

Found at https://vborg.vbsupport.ru/showthrea...=135106&page=4

This might help.

dacho 12-19-2007 03:18 PM

Quote:

Originally Posted by dacho (Post 1402692)
I do not know why, but this do not work at my place :confused:
I installed the xml, I defined informed in the specific forum and nothing happen

Quote:

Originally Posted by Kirk Y (Post 1402723)
Could you post up your FORUMDISPLAY template in CODE tags please?

So this is my FORUMDISPLAY template (by Attachment)

Kirk Y 12-19-2007 05:51 PM

Quote:

Originally Posted by Doctor Death (Post 1404392)
There was another modification that fixed a similar problem...

Found at https://vborg.vbsupport.ru/showthrea...=135106&page=4

This might help.

I'll have a look at it this evening.

Quote:

Originally Posted by dacho (Post 1404703)
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.

Doctor Death 12-19-2007 10:58 PM

Quote:

Originally Posted by dacho (Post 1404703)
So this is my FORUMDISPLAY template (by Attachment)

Did you turn on the Modification under OPTIONS as well??

dacho 12-20-2007 04:27 AM

Quote:

Originally Posted by Kirk Y (Post 1404806)
I'll have a look at it this evening.
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.

I send you Private Messages
Quote:

Originally Posted by Doctor Death (Post 1405047)
Did you turn on the Modification under OPTIONS as well??

clear

Doctor Death 12-21-2007 12:10 AM

Any progress on figuring out how to make it to the top of the stack on windows and content?

Bflat5 12-21-2007 03:48 AM

I'm getting the database error too. So it doesn't install. Would be a cool add-on though.

Kirk Y 12-21-2007 04:27 AM

Quote:

Originally Posted by Bflat5 (Post 1405909)
I'm getting the database error too. So it doesn't install. Would be a cool add-on though.

The table prefixes issue was fixed. What's the exact error you're getting?

Bflat5 12-21-2007 03:33 PM

Here's the error I'm getting.

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE `forum` ADD `kirky_splash` VARCHAR( 1500 ) NOT NULL;

MySQL Error : Too big column length for column 'kirky_splash' (max = 255). Use BLOB instead
Error Number : 1074
Date : Friday, December 21st 2007 @ 12:30:37 PM
Script : http://www.mydomain.com/forums/admin...=productimport
Referrer : http://www.mydomain.com/forums/admin...?do=productadd
IP Address :
Username :
Classname : vb_database

Kirk Y 12-21-2007 08:10 PM

Quote:

Originally Posted by Bflat5 (Post 1406272)
Here's the error I'm getting.

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE `forum` ADD `kirky_splash` VARCHAR( 1500 ) NOT NULL;

MySQL Error : Too big column length for column 'kirky_splash' (max = 255). Use BLOB instead
Error Number : 1074
Date : Friday, December 21st 2007 @ 12:30:37 PM
Script : http://www.mydomain.com/forums/admin...=productimport
Referrer : http://www.mydomain.com/forums/admin...?do=productadd
IP Address :
Username :
Classname : vb_database

I'll post an updated version later tonight.

Spika 12-21-2007 09:00 PM

Hello! Excellent job!
One question... Can I put into warnig message a link (to another thread or post)?
code '[url]' don“t work
Thanks

Kirk Y 12-21-2007 09:17 PM

Quote:

Originally Posted by Spika (Post 1406446)
Hello! Excellent job!
One question... Can I put into warnig message a link (to another thread or post)?
code '[url]' don?t work
Thanks

No, you can't use BBCode; use HTML instead.

Code:

<a href="http://path/to/forum/showthread.php?t=1234"></a>

cnredd 12-21-2007 10:00 PM

Is there a way this could be reconfigured to where...

A) Only guests can see it?...and...

B) Instead of a warning, make it something like "Thank you for entering this thread, We'd like you to register and join our conversation." and then they don't see it again when they close it?

Kirk Y 12-21-2007 10:19 PM

Quote:

Originally Posted by cnredd (Post 1406471)
Is there a way this could be reconfigured to where...

A) Only guests can see it?...and...

B) Instead of a warning, make it something like "Thank you for entering this thread, We'd like you to register and join our conversation." and then they don't see it again when they close it?

(a) Yes, in the next version (tonight hopefully).
(b) The display is completely customizable. The only thing that is physically set are the "Return Back - Continue Forward" links -- everything above is set by you.
(Note however that this was designed for use on a per forum basis - not a per thread basis.)

cnredd 12-21-2007 10:23 PM

Quote:

Originally Posted by Kirk Y (Post 1406484)
(a) Yes, in the next version (tonight hopefully).
(b) The display is completely customizable. The only thing that is physically set are the "Return Back - Continue Forward" links -- everything above is set by you.
(Note however that this was designed for use on a per forum basis - not a per thread basis.)

Thank you...sounds promising...

I'll check in in a day or two and see if you have the next version ready...

LCN2007 12-22-2007 03:49 AM

Nice mod exactly what i was looking for for my adult area.

SNATCH3R 12-22-2007 06:40 AM

Good idea..thanks for this..will be installing later to my forum....

Alibass 12-22-2007 06:05 PM

Seems hack is setting cookie when you select return to previous page, so if you select that same forum again you do not get the pop-up message in the same session but instead you are taken straight into the forum. Is this correct? Seems to me cookie shouldn't be set until you select skip or continue forward. :erm:

Kirk Y 12-23-2007 08:46 PM

Quote:

Originally Posted by Alibass (Post 1406983)
Seems hack is setting cookie when you select return to previous page, so if you select that same forum again you do not get the pop-up message in the same session but instead you are taken straight into the forum. Is this correct? Seems to me cookie shouldn't be set until you select skip or continue forward. :erm:

Yes, this shouldn't be happening - it should only set the cookie as you said, when you click to continue. I'll add this to my list of bugs to fix.

Alibass 12-23-2007 09:08 PM

Thank you for the reply, will be looking forward to your update. :)

Happy Holidays!

Doctor Death 12-23-2007 10:37 PM

I would still like to see this mod be able to overcome the layering of flash headers... any further thought on that???

dacho 12-24-2007 07:26 AM

Quote:

Originally Posted by Kirk Y (Post 1404806)
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.

Kirk
I send you private message with my admin login
you can help me please ;)

Jason Black 12-24-2007 01:23 PM

Greatttt Hackkkkkkkkkkkkkkkkk


All times are GMT. The time now is 09:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01545 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete