vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - New way to force guests to register (https://vborg.vbsupport.ru/showthread.php?t=272295)

john7911 11-11-2013 07:03 PM

Hi,
I see the picture even if i am connected as Admin, any solution?
Thank you.

dszuecs 11-12-2013 03:28 PM

Quote:

Originally Posted by john7911 (Post 2459990)
Hi,
I see the picture even if i am connected as Admin, any solution?
Thank you.

Hi John

What vBulletin version are you using? Is the :if condition correct?:
<vb:if condition="$show['guest']">

Do you have <guest> as additional usergroup on your account?

Cheers.

john7911 11-13-2013 10:31 AM

Quote:

Originally Posted by dszuecs (Post 2460147)
Hi John

What vBulletin version are you using? Is the :if condition correct?:
<vb:if condition="$show['guest']">

Do you have <guest> as additional usergroup on your account?

Cheers.

Hi ;)
I'm using 4.2.2
I want the picture disarear after a few minutes this is the code what I have:
PHP Code:

<!--robot-->
<
script type="text/javascript">
<!-- 

// When page loads ...
window.addEventListener("load", function()
{
    
// Run in 5 seconds
    
setTimeout(function()
    {
        
// Put div into variable and show it
        
var div window.document.querySelector("#forcetoregister");
        
div.style.display "block";

        
// Run in 5 seconds
        
setTimeout(function()
        {
            
// Hide div
            
div.style.display "none";
        }, 
5000);
    }, 
5000);
}, 
false);

//-->
</script>

<!--<
a href="/forum/register.php"><div id "forcetoregister" class="forcetoregister"></div></a>-->


<
vb:if condition="THIS_SCRIPT == 'index'">
 <
vb:if condition="$show['guest']"><a href="/forum/register.php"><div class="forcetoregister"></div></a></vb:if>
 </
vb:if>

<!--
fin robot--> 

Thank you :)

RVP99 11-13-2013 02:28 PM

Thanks, works a treat!

Macgiber 11-28-2013 02:09 PM

thank you

naveeid 12-05-2013 07:26 AM

installed in vb4.2.2
its great , its working great.
thanks friend

naveeid 12-05-2013 07:31 AM

just modified the image for my website

https://vborg.vbsupport.ru/external/2013/12/37.png

naveeid 12-05-2013 08:43 AM

https://vborg.vbsupport.ru/external/2013/12/36.png

BBNZowner 12-24-2013 05:54 AM

This is great, I'm getting an artist to create a forum mascot for this purpose

newbie2007 01-12-2014 12:14 AM

This isnt working for me on 4.2.2? Anyone else having a problem with it on 4.2.2?


All times are GMT. The time now is 12:50 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.01586 seconds
  • Memory Usage 1,748KB
  • 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_php_printable
  • (2)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