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 - Remember me box automatically ticked vB 4.0.x INC vb 4.0 PL 1 (GOLD) (https://vborg.vbsupport.ru/showthread.php?t=231609)

Welshy2008 05-01-2010 08:38 AM

That's strange,

It works for me after an Upgrade from 4.02 - 4.0.3 PL1. Have you reverted the templates back?

Juggernaut 07-21-2010 04:15 AM

Love this, it works in vB 4.0.5 :D

Welshy2008 07-25-2010 04:11 PM

Thank You for confirming that it works in vB4.0.5, Destron. :)

bahattab 08-10-2010 09:52 AM

hi

can you make this mode as auto Template as a product

i hope that pleas pleas pleas :p :p :p

thanks

miket1234 08-19-2010 01:51 PM

works also on 4.0.6

bahattab 09-17-2010 01:54 AM

1 Attachment(s)
hi

is this right code to make a plugin from this hack:


PHP Code:



$repl 
= array(
        array(
            
'<div id="remember" class="remember"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label></div>',
            
'<div id="remember" class="remember"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked="checked"/> {vb:rawphrase remember_me}</label></div>'
        
));
        
    foreach (
$repl as $r)
    {
        
$vbulletin->templatecache['navbar'] = str_replace($r[0],$r[1],$vbulletin->templatecache['navbar']);
    }
    unset(
$repl$r);

    
$repl = array(
        array(
            
'<input type=\"checkbox\" name=\"cookieuser\" value=\"1\" id=\"cb_cookieuser_navbar\" class=\"cb_cookieuser_navbar\" accesskey=\"c\" tabindex=\"103\" />'
            '<input type=\"checkbox\" name=\"cookieuser\" value=\"1\" id=\"cb_cookieuser_navbar\" class=\"cb_cookieuser_navbar\" accesskey=\"c\" tabindex=\"103\" checked=\"checked\"/>'
        
));
        
    foreach (
$repl as $r)
    {
        
$vbulletin->templatecache['register_rules'] = str_replace($r[0],$r[1],$vbulletin->templatecache['register_rules']);
    }
    unset(
$repl$r); 



thanks

sticky 09-17-2010 05:59 AM

Installed 4.0.2, works great.

bahattab 09-17-2010 11:44 AM

i have vb 4.0.7 and it does not work in my site ???

the file: product-autorememberbox.xml is defrent from the code, i hope if some one can fix the code, the file is vb 3.5 and the code for vb 4.0

thanks

Welshy2008 09-17-2010 12:20 PM

Quote:

Originally Posted by bahattab (Post 2099594)
i have vb 4.0.7 and it does not work in my site ???

the file: product-autorememberbox.xml is defrent from the code, i hope if some one can fix the code, the file is vb 3.5 and the code for vb 4.0

thanks


You have the wrong mod there Mate. There are no files to upload on this one. ;)

bahattab 09-17-2010 01:06 PM

i am talking about the file i uploaded i want some one to fix it so we can use it as product and we do not need to change the style code.

thanks


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