vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - SCANU's Guest Warn 3 - Elegant Floating Warning for your guests (https://vborg.vbsupport.ru/showthread.php?t=270070)

Alan_SP 01-10-2012 11:37 PM

I just noticed problem with cookies.

I set up that guests could dismiss notice and that it reappears after 1 day.

I dismissed notice 9.1 about 18:00 and now (11.1 1:35) I still don't see guest message. I'll wait for a day more, but if it don't reappear, that's a problem.

Also, could you change days to hours? It could be more practical and easier to test.

EDIT: I found where the problem is (using FireFox). At first cookies were set to expire after 20 days. I maybe (not sure, but most probably) dismissed notice with this setting still on. Later I changed it to one day.

Now I manually removed this setting from my cookies and after that it properly sets cookies to one day.

Could you set deafult settings to smallest available value (i.e. 1 day instead 20) so that those of us who want to use shorter periods could do this right away after mod's installation. Not a too big problem, but it's not too hard for you too. :)

And yes, I still would prefer if I could set it in hours.

Paul. 02-01-2012 02:01 PM

I love this.. thanks XiT Club for linking me!

Is there a webpage version of this?!

Scanu 02-02-2012 06:47 PM

For put this on your website contact me, it depends on the website

Kraxell 02-04-2012 09:24 AM

Is it possible to show this for all usergroups?

Alan_SP 02-05-2012 05:27 PM

Yes.

You could decide to which usergroups you want to show it, or simply remove checking for certain usergroup altogether.

You need to edit plugin (there's only one in this mod), or xml file, whatever you find easier.

Conditional that checks for usergroup is this:

PHP Code:

if (is_member_of($vbulletin->userinfo1)) 

You could remove it (watch your curly braces, you need to remove them too), or add additional usergroups you want to see warning.

Add it in this fashion:

PHP Code:

if (is_member_of($vbulletin->userinfo1,2,3,4)) 

Use usergroup IDs here. It may be easier for you just to add all usergroups you want to see this warning.

Toorak Times 02-05-2012 06:27 PM

Thanks for this. I just noticed that it partially merged the Facebook connect and register link on my Animated arena skin, But it works a charm, love it

Nirjonadda 02-24-2012 04:20 PM

Nice mod Installed working on 4.1.10

piratarg 03-12-2012 03:17 AM

Hi, I like this mod! Is possible to adapt it to 3.8.x? :(

Thanks!

Scanu 03-12-2012 08:39 PM

did you try it?

piratarg 03-12-2012 09:11 PM

Quote:

Originally Posted by Scanu (Post 2308941)
did you try it?

Sorry, I missed your question. If I tried to change it? It would be impossible, I know not how.


All times are GMT. The time now is 04:14 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.01286 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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