vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Warning Splash Page (https://vborg.vbsupport.ru/showthread.php?t=165127)

Mark K 12-14-2007 08:45 AM

Warning Splash Page
 
Hello,

I'm looking for a mod so that when a member enters a certain forum a splash page pops up warning the member they are entering a forum which may contain strong offensive language. It will then have 2 links on the splash page, one to go back and the other to continue to view the forum, maybe have a tick box to not ask this question again.

Any mods like this currently available or can someone make this easily?

Thanks

Cloverfield 12-14-2007 04:32 PM

I also need such a hack!

Hex_legend 12-14-2007 05:27 PM

So do I :)

Kirk Y 12-14-2007 05:43 PM

You could use some simple conditional statements to get the basic concept down.

Code:

<if condition="$GLOBALS['forumid'] == X">
Warning. You are entering a Mature Audience forum.
etc...etc....
</if>


Hex_legend 12-14-2007 05:47 PM

thanks Kirk,

do you think someone could turn it into a mod that can be enabled / disabled per forum?

Kirk Y 12-14-2007 05:54 PM

It could easily be done, yes. In fact, I would normally be happy to do it for you, however, my server is presently down and I have no access to a development installation of vBulletin at the moment.

Hex_legend 12-14-2007 05:56 PM

I could provide development access if needed, I have a development board up on my server :)

Mark K 12-15-2007 06:25 AM

Would be most useful to have the ability to enable for selected forums, if thtas possible, but i'm happy just having it for one forum :p

I hope you are able create this mod, i think many would benifit from it.

Kirk Y 12-16-2007 04:26 AM

Here you go: https://vborg.vbsupport.ru/showthread.php?t=165278


All times are GMT. The time now is 08:42 AM.

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.00979 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete