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)
-   -   Board Optimization - Welcome headers - Improve community registration rates (https://vborg.vbsupport.ru/showthread.php?t=119572)

Ted S 07-12-2007 03:26 PM

Quote:

Originally Posted by AlexanderT (Post 1288928)
My suggestion: What about adding a small check button in the inactivity welcome header which a user can click to disable the reminder for x days (as defined in the control panel?). I may be wrong but I think it would only require a few additional Javascript lines to do that.

Alex,

This has come up a few times before...

I can't think of any way to do this without queries which I'd like to avoid. But I'm still thinking.

AlexanderT 07-12-2007 04:20 PM

Quote:

Originally Posted by Ted S (Post 1289225)
Alex,

This has come up a few times before...

I can't think of any way to do this without queries which I'd like to avoid. But I'm still thinking.

Ted, I am by no means a Javascript expert (I much prefer server-based languages), but shouldn't it be possible to control this all via Javascript? Via Javascript, you could set an additional cookie when a user clicks on the close button and that cookie could contain information when it was the last time the message popped up.

Ted S 07-12-2007 07:14 PM

Using a cookie like that is an option but it also has limitations (i.e. users who use multiple machines) but may be the best option.

AlexanderT 07-13-2007 07:42 AM

True. Well, it'd be fantastic if you could implement something like this (cookie-based message click away) if you get the chance. In the meantime I'll disable the inactivity welcome header because of the negative feedback I received from it.

Still, one of the most useful hacks. Thanks!

vcruiser 07-14-2007 01:36 AM

Thanks for the mod. How do I add links, bullets and such to the messages?

breakdance 07-15-2007 12:11 PM

real good stuff

Ted S 07-16-2007 01:45 AM

Quote:

Originally Posted by vcruiser (Post 1290459)
Thanks for the mod. How do I add links, bullets and such to the messages?

Go to the welcome headers options and select the messages you wish to modify.

andy91287 07-19-2007 04:30 PM

This is appearing on every page, any way to limit it to the home page?

Sorry if this is answered already.

Ted S 07-19-2007 05:26 PM

You could edit the template welcome_headers adding the variable THIS_SCRIPT == 'index' but that would defeat the entire purpose of the hack and I wouldn't recommend using it.

Remember, just because it's your homepage doesn't mean it's the page someone comes to your site through.

Avixe 07-20-2007 05:08 PM

This is an awesome hack, thank you! :up:


All times are GMT. The time now is 06:31 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.03662 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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