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)

Pvtiste 12-14-2010 05:24 PM

Nice work, thanks for sharing!

Namaless 12-14-2010 08:57 PM

Quote:

Originally Posted by Alibass (Post 2133833)
Where is the on/off located at in 1.2.0? Pic would be nice.

Updated version 1.2.1 have switch on/off related status of snowstorm. jQuery is very nice Javascript Framework ^_^

See new Screenshots :-)

i3lack 12-14-2010 09:20 PM

Where can i find the code to put into the style that will toggle the on/off because its not showing up for me?

Alibass 12-14-2010 09:24 PM

Same here......... 1.2.1 defaults with snow on and no switch on 4.1.0 PL2

woffie 12-14-2010 10:01 PM

Same here. Toggle on and off is not showing 4.1.0 PL2

New Joe 12-15-2010 02:25 AM

It doesn't show all over the forums, just on the fourms page.
In threads and posts it doesn't work.
And no on/off button

i3lack 12-15-2010 04:13 AM

Quote:

Originally Posted by New Joe (Post 2134079)
It doesn't show all over the forums, just on the fourms page.
In threads and posts it doesn't work.
And no on/off button

in order to show everywhere you have to tell it to there is a box for that its called

Script Locations - Show Snow Storm on pages (comma separated THIS_SCRIPT locations)
Blank to show on all pages (not recommended because of server load)

Namaless 12-15-2010 05:34 AM

Quote:

Originally Posted by i3lack (Post 2134107)
in order to show everywhere you have to tell it to there is a box for that its called

Script Locations - Show Snow Storm on pages (comma separated THIS_SCRIPT locations)
Blank to show on all pages (not recommended because of server load)

Thanks.

For the toggle link show only for logged users, fixed for guest in the next release.

steve1966 12-15-2010 08:40 AM

Quote:

Originally Posted by Namaless (Post 2133770)
Not possible.

ok thanks anyway

steve1966 12-15-2010 12:31 PM

Quote:

Originally Posted by Namaless (Post 2134126)
Thanks.

For the toggle link show only for logged users, fixed for guest in the next release.

should the link be visable for admin becuase i cannot turn off snow?

i3lack 12-15-2010 03:25 PM

Quote:

Originally Posted by steve1966 (Post 2134243)
should the link be visable for admin becuase i cannot turn off snow?

Same My Members report that they cant find a toggle off.

steve1966 12-15-2010 05:24 PM

i wll go back to previous until fixed

Alibass 12-15-2010 06:39 PM

Still nothing works, tired of constantly updating mod on site. UNINSTALLED! :mad::down:

RobbieZ 12-15-2010 06:54 PM

Why not just add the script to our own servers instead of it calling from your blog site?

i3lack 12-15-2010 08:30 PM

Quote:

Originally Posted by RobbieZ (Post 2134393)
Why not just add the script to our own servers instead of it calling from your blog site?

Good Point. I didnt notice this. hmm

Namaless 12-15-2010 09:11 PM

Quote:

Originally Posted by i3lack (Post 2134297)
Same My Members report that they cant find a toggle off.

Quote:

Originally Posted by steve1966 (Post 2134350)
i wll go back to previous until fixed

The link activation and deactivation of snow is visible only in sections where it is enabled in the snow, it is normal that the link is not present where the snow is not active.
With the 1.2.2 update was also added to the guests viewing the link, of course, always and only on pages where the snow is active.


Quote:

Originally Posted by Alibass (Post 2134386)
Still nothing works, tired of constantly updating mod on site. UNINSTALLED! :mad::down:

I believe that the MOD from what has been released the first version has undergone a sea of positive changes, if there are any problems I have always resolved very quickly, so email me with constructive comments, messages like "nothing works or is still under construction do not help the ongoing development of the MOD itself.


Quote:

Originally Posted by RobbieZ (Post 2134393)
Why not just add the script to our own servers instead of it calling from your blog site?

Quote:

Originally Posted by i3lack (Post 2134443)
Good Point. I didnt notice this. hmm

If you prefer I can create a package to load on your server, but I think a single XML file is easier to install.


Thank you whom with passion and patience in helping me make this mod better.
I ask you to send me the link via private message on your forum so I can check that everything works as it should.

Alibass 12-16-2010 04:03 AM

Quote:

Originally Posted by Namaless (Post 2134461)
Originally Posted by Alibass https://vborg.vbsupport.ru/external/2011/11/11.gif
Still nothing works, tired of constantly updating mod on site. UNINSTALLED! :mad::down:
I believe that the MOD from what has been released the first version has undergone a sea of positive changes, if there are any problems I have always resolved very quickly, so email me with constructive comments, messages like "nothing works or is still under construction do not help the ongoing development of the MOD itself.

Mate I have been posting since you started your mod here. I've told you what version I'm running and what works and did not work.
You keep saying you have fixed the switch issue, but you have not! Your latest version 1.2.2 only shows a on/off switch to guest on the index page that I have it defaulted to. For myself (admin) and my members they cant turn off snow from the index page, the switch doesn't show.
You should have just left it in the footer or header, it was working fine there. Matter a fact the mod as a whole was working then, but that's here nor there, I'm done with it and good look with your mod.

Namaless 12-16-2010 06:53 AM

Quote:

Originally Posted by Alibass (Post 2134642)
Mate I have been posting since you started your mod here. I've told you what version I'm running and what works and did not work.
You keep saying you have fixed the switch issue, but you have not! Your latest version 1.2.2 only shows a on/off switch to guest on the index page that I have it defaulted to. For myself (admin) and my members they cant turn off snow from the index page, the switch doesn't show.
You should have just left it in the footer or header, it was working fine there. Matter a fact the mod as a whole was working then, but that's here nor there, I'm done with it and good look with your mod.

I work with the default template everything works properly. Please send me the link to your website so I can check what else is wrong.

Namaless 12-16-2010 12:52 PM

Thanks to your recommendations and advice I have updated the MOD.
Thank you all.

literatestylish 12-16-2010 08:34 PM

Just updated to the new version. Good mod, but still no toggle on/off button showing. Desperately need that!

buffalorange.com

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.

Mikevet1984 12-18-2010 07:38 AM

Name should we upgrade existing xml with this new released?

I mean is this xml better than the existing ones?

I have no problem with your mod, should I upgrade now?

Ichigo88 12-18-2010 09:10 AM

not work for me!
(scusa se parlo in italiano ma se mettessi anche una piccola guida in ita nel readme sarebbe bello)

doopz 12-18-2010 10:01 AM

Nice! :)

herkulest 12-18-2010 10:29 AM

its working fine on my win 7 comp, but on xp it is very very slow??? and I am not the only one with same problem. both using firefox.

Namaless 12-18-2010 10:31 AM

Quote:

Originally Posted by Ichigo88 (Post 2135822)
not work for me!
(scusa se parlo in italiano ma se mettessi anche una piccola guida in ita nel readme sarebbe bello)

Dammi il link del tuo sito.

Namaless 12-18-2010 10:32 AM

Quote:

Originally Posted by Mikevet1984 (Post 2135810)
Name should we upgrade existing xml with this new released?

I mean is this xml better than the existing ones?

I have no problem with your mod, should I upgrade now?

This version only for members that not working 1.2.3 version.

Namaless 12-18-2010 10:34 AM

Quote:

Originally Posted by Mikevet1984 (Post 2135810)
Name should we upgrade existing xml with this new released?

I mean is this xml better than the existing ones?

I have no problem with your mod, should I upgrade now?

If you have problems with the MOD official you do not need to install this.

literatestylish 12-18-2010 08:00 PM

Quote:

Originally Posted by Namaless (Post 2135808)
I have create alternative version.

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

This one works!

How can I move the toggle to the footer though:?

Namaless 12-19-2010 12:41 PM

Quote:

Originally Posted by literatestylish (Post 2136066)
This one works!

How can I move the toggle to the footer though:?

Now I understand why someone did not go to the MOD will release the next version the ability to choose where to put the link.

Namaless 12-19-2010 12:46 PM

Finally "think" they have solved the problem plaguing some users. The link was not shown due to an error with other versions of jQuery, it works perfectly with version 1.4.4 that I use in my MOD. If they encountered any problems report them who will try to solve them.


All times are GMT. The time now is 01:17 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.01420 seconds
  • Memory Usage 1,880KB
  • 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
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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