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)

Scanu 03-12-2012 09:27 PM

no, if you tried to install the product on vbulletin 3.8, maybe it works, i never code for vbulletin 3.8 but i think that this should work

piratarg 03-12-2012 09:41 PM

Quote:

Originally Posted by Scanu (Post 2308959)
no, if you tried to install the product on vbulletin 3.8, maybe it works, i never code for vbulletin 3.8 but i think that this should work

Thanks for responding. yes, just try it but does not work. From what I see "global_bootstrap_init_complete" does not exist in 3.8.x

I tried to hook in "global_template" but neither works. :(

Scanu 03-12-2012 10:15 PM

ok thanks for notice that this will help me to do a 3.8 version :) by the way you can try toput global complete ashook just for try if this not work let me do the plugin in a few of days

piratarg 03-12-2012 10:32 PM

Quote:

Originally Posted by Scanu (Post 2308973)
ok thanks for notice that this will help me to do a 3.8 version :) by the way you can try toput global complete ashook just for try if this not work let me do the plugin in a few of days

Sorry, I was wrong!. it was "global_complete". The hook: global_template not exist. :D

Very thanks Scanu and sorry my english. :)

Scanu 03-12-2012 11:29 PM

maybe global_display should work :/

piratarg 03-13-2012 02:11 AM

Quote:

Originally Posted by Scanu (Post 2308984)
maybe global_display should work :/

Not, either. global_display not exist. They appear only these:

Code:

global_complete
global_setup_complete
global_shutdown
global_start

I tried it all and does not work. :confused:

Scanu 03-15-2012 07:29 PM

sorry actually i'm not able to use my mac and tommorow is my birthday so this will take more time

fpg19 04-30-2012 07:19 AM

How do I add anywhere? Not only on the main page

How do I do to make it appear for all (not only not logged)..?

Scanu 04-30-2012 12:11 PM

1 this is in all the Pages
2 you can download my other mod wich you can choose the Ids that you want

Alan_SP 04-30-2012 12:16 PM

Well, if you want to do this, you need to know how to remove certain if conditionals:

PHP Code:

if (in_array(THIS_SCRIPT, array('register')))
{}
else
{
if (
is_member_of($vbulletin->userinfo1)){ 

And add usergroups you want to see. So, you completely remove check for THIS_SCRIPT, and add all usergroups you want to see this notice, or, if you want really all to see, remove this if conditional altogether. Of course, you need to respect all curly braces (all open ones need to be closed after your editing).


All times are GMT. The time now is 05:04 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.01197 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)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