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)
-   -   Integration with vBulletin - [Namaless] Snow Storm (https://vborg.vbsupport.ru/showthread.php?t=254998)

Namaless 12-16-2010 08:49 PM

Quote:

Originally Posted by literatestylish (Post 2135007)
Just updated to the new version. Good mod, but still no toggle on/off button showing. Desperately need that!

buffalorange.com

Find in your template "footer" this code:
Code:

{vb:raw template_hook.footer_javascript}
For me you have removed this template hook and the links not be added.

For all remain javascript code is all ok.

woffie 12-16-2010 08:59 PM

Updated to the new one, still no on/off

Namaless 12-16-2010 09:15 PM

Quote:

Originally Posted by woffie (Post 2135017)
Updated to the new one, still no on/off

Send me the link of your forum, I think you miss the template_hook.footer_javascript

literatestylish 12-16-2010 10:22 PM

Quote:

Originally Posted by Namaless (Post 2135013)
Find in your template "footer" this code:
Code:

{vb:raw template_hook.footer_javascript}
For me you have removed this template hook and the links not be added.

For all remain javascript code is all ok.

That code is there. Here is my entire footer code (I bolded the part you mentioned).

BTW, thanks for all the help. The mod is perfect except for the no toggle.

Code:

{vb:raw ad_location.ad_footer_start}
{vb:raw ad_location.global_above_footer}
<div id="footer" class="floatcontainer footer">

        <form action="{vb:raw vboptions.forumhome}.php" method="get" id="footer_select" class="footer_select">

                       
                <vb:if condition="$show['quickchooser']">
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="{vb:rawphrase quick_style_chooser}">
                                        {vb:raw quickchooserbits}
                                </optgroup>
                        </select>       
                </vb:if>
               
                <vb:if condition="$show['languagechooser']">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="{vb:rawphrase quick_language_chooser}">
                                        {vb:raw languagechooserbits}
                                </optgroup>
                        </select>
                </vb:if>
        </form>

        <ul id="footer_links" class="footer_links">
                <vb:if condition="$show['contactus']"><li><a href="{vb:raw vboptions.contactuslink}" rel="nofollow" accesskey="9">{vb:rawphrase contact_us}</a></li></vb:if>
                <vb:if condition="$vboptions['hometitle']"><li><a href="{vb:raw vboptions.homeurl}">{vb:raw vboptions.hometitle}</a></li></vb:if>
                <vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase admin}</a></li></vb:if>
                <vb:if condition="$show['modcplink']"><li><a href="{vb:raw modcpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li></vb:if>
                <vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php">{vb:rawphrase archive}</a></li></vb:if>
                {vb:raw template_hook.footer_links}
                <vb:if condition="$vboptions['privacyurl']"><li><a href="{vb:raw vboptions.privacyurl}">{vb:rawphrase privacy_statement}</a></li></vb:if>
                <vb:if condition="$vboptions['tosurl']"><li><a href="{vb:raw vboptions.tosurl}">{vb:rawphrase terms_of_service}</a></li></vb:if>
                <li><a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a></li>
        </ul>
       
       
        <vb:if condition="$show['dst_correction']">
        <!-- auto DST correction code -->
                <form action="profile.php?do=dst" method="post" name="dstform">
                        <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
                        <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                        <input type="hidden" name="do" value="dst" />
                </form>
                <script type="text/javascript">
                <!--
                        var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw bbuserinfo.dstonoff};
                        var utcOffset = new Date().getTimezoneOffset() / 60;
                        if (Math.abs(tzOffset + utcOffset) == 1)
                        {        // Dst offset is 1 so its changed
                                document.forms.dstform.submit();
                        }
                //-->
                </script>
                <!-- / auto DST correction code -->
        </vb:if>
       
        <script type="text/javascript">
        <!--
                // Main vBulletin Javascript Initialization
                vBulletin_init();
        //-->
        </script>
        {vb:raw template_hook.footer_javascript}
</div>
</div> <!-- closing div for body_wrapper -->

<div class="below_body">
<div id="footer_time" class="shade footer_time">{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div>

<div id="footer_copyright" class="shade footer_copyright">
        <!-- Do not remove this copyright notice -->
        {vb:rawphrase powered_by_vbulletin}
        <!-- Do not remove this copyright notice -->       
</div>
<div id="footer_morecopyright" class="shade footer_morecopyright">
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw cronimage}
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw vboptions.copyrighttext}
</div>

{vb:raw ad_location.ad_footer_end}
</div>


onehost 12-17-2010 04:18 AM

suggestion: allow an option that only allows snow just below
the header area, which is fine, but i see snow following about
clearly past the first screen, which i can see could annoy anyone...
I think people can get the idea of snow around the header area...
I do not think it needs to extend a 1 1/2 screen pages down...

Namaless 12-17-2010 09:07 PM

Quote:

Originally Posted by literatestylish (Post 2135047)
That code is there. Here is my entire footer code (I bolded the part you mentioned).

BTW, thanks for all the help. The mod is perfect except for the no toggle.

Code:

{vb:raw ad_location.ad_footer_start}
{vb:raw ad_location.global_above_footer}
<div id="footer" class="floatcontainer footer">

        <form action="{vb:raw vboptions.forumhome}.php" method="get" id="footer_select" class="footer_select">

                       
                <vb:if condition="$show['quickchooser']">
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="{vb:rawphrase quick_style_chooser}">
                                        {vb:raw quickchooserbits}
                                </optgroup>
                        </select>       
                </vb:if>
               
                <vb:if condition="$show['languagechooser']">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="{vb:rawphrase quick_language_chooser}">
                                        {vb:raw languagechooserbits}
                                </optgroup>
                        </select>
                </vb:if>
        </form>

        <ul id="footer_links" class="footer_links">
                <vb:if condition="$show['contactus']"><li><a href="{vb:raw vboptions.contactuslink}" rel="nofollow" accesskey="9">{vb:rawphrase contact_us}</a></li></vb:if>
                <vb:if condition="$vboptions['hometitle']"><li><a href="{vb:raw vboptions.homeurl}">{vb:raw vboptions.hometitle}</a></li></vb:if>
                <vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase admin}</a></li></vb:if>
                <vb:if condition="$show['modcplink']"><li><a href="{vb:raw modcpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li></vb:if>
                <vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php">{vb:rawphrase archive}</a></li></vb:if>
                {vb:raw template_hook.footer_links}
                <vb:if condition="$vboptions['privacyurl']"><li><a href="{vb:raw vboptions.privacyurl}">{vb:rawphrase privacy_statement}</a></li></vb:if>
                <vb:if condition="$vboptions['tosurl']"><li><a href="{vb:raw vboptions.tosurl}">{vb:rawphrase terms_of_service}</a></li></vb:if>
                <li><a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a></li>
        </ul>
       
       
        <vb:if condition="$show['dst_correction']">
        <!-- auto DST correction code -->
                <form action="profile.php?do=dst" method="post" name="dstform">
                        <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
                        <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                        <input type="hidden" name="do" value="dst" />
                </form>
                <script type="text/javascript">
                <!--
                        var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw bbuserinfo.dstonoff};
                        var utcOffset = new Date().getTimezoneOffset() / 60;
                        if (Math.abs(tzOffset + utcOffset) == 1)
                        {        // Dst offset is 1 so its changed
                                document.forms.dstform.submit();
                        }
                //-->
                </script>
                <!-- / auto DST correction code -->
        </vb:if>
       
        <script type="text/javascript">
        <!--
                // Main vBulletin Javascript Initialization
                vBulletin_init();
        //-->
        </script>
        {vb:raw template_hook.footer_javascript}
</div>
</div> <!-- closing div for body_wrapper -->

<div class="below_body">
<div id="footer_time" class="shade footer_time">{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div>

<div id="footer_copyright" class="shade footer_copyright">
        <!-- Do not remove this copyright notice -->
        {vb:rawphrase powered_by_vbulletin}
        <!-- Do not remove this copyright notice -->       
</div>
<div id="footer_morecopyright" class="shade footer_morecopyright">
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw cronimage}
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw vboptions.copyrighttext}
</div>

{vb:raw ad_location.ad_footer_end}
</div>


Code:

jQuery.cookie is not a function
[Break on this error] if ( jQuery.cookie("namaless_snowstorm_show") == "null" ) {\r\n

I found the error. I think it is due to the use of another mod that displays notifications with jQuery and this may create a problem with my MOD.
Try disabling this MOD and see if my MOD works. If it does, you will create an alternative version for you to try. If I make it official resolve.
I'm glad you like my way of giving support. I want the mod works perfectly and I do it for free.

literatestylish 12-17-2010 11:59 PM

Quote:

Originally Posted by Namaless (Post 2135574)
Code:

jQuery.cookie is not a function
[Break on this error] if ( jQuery.cookie("namaless_snowstorm_show") == "null" ) {\r\n

I found the error. I think it is due to the use of another mod that displays notifications with jQuery and this may create a problem with my MOD.
Try disabling this MOD and see if my MOD works. If it does, you will create an alternative version for you to try. If I make it official resolve.
I'm glad you like my way of giving support. I want the mod works perfectly and I do it for free.

I disabled every mod I have but the toggle still isn't there?

Namaless 12-18-2010 07:04 AM

I check but not found any errors, if you want move che toggle link to bottom (footer link).

The MOD works correctly: http://www.downloadgeneration.info

Namaless 12-18-2010 07:06 AM

Quote:

Originally Posted by onehost (Post 2135203)
suggestion: allow an option that only allows snow just below
the header area, which is fine, but i see snow following about
clearly past the first screen, which i can see could annoy anyone...
I think people can get the idea of snow around the header area...
I do not think it needs to extend a 1 1/2 screen pages down...

In the MOD options set "header"
Quote:

Target Element
Element which snow will be appended to (default: document body) - can be an element ID string eg. 'myDiv', or a DOM node reference.

Namaless 12-18-2010 07:16 AM

1 Attachment(s)
I have create alternative version.

If have problem with official version test it and report to me if you works correctly, thanks.


All times are GMT. The time now is 06:34 AM.

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.01222 seconds
  • Memory Usage 1,807KB
  • 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
  • (6)bbcode_code_printable
  • (7)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