vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Advanced Snowstorm Integration for Christmas (https://vborg.vbsupport.ru/showthread.php?t=132896)

JamieLee2k 11-30-2006 11:42 PM

Not working, I have uploaded all the files into the root Dir and in the forum folder and it's still not working, can you give me the path the files should be in please?

Shazz 11-30-2006 11:44 PM

So far people that have tried 0-2?

sezmar 12-01-2006 12:54 AM

Hey nice mod but you forgot to attach the file.

I attached

Shazz 12-01-2006 01:00 AM

Quote:

Originally Posted by sezmar (Post 1129100)
Hey nice mod but you forgot to attach the file.

I attached

Lol, maybe thats why?
[high]* Shazz waits for someone to confim it works[/high]

daklay 12-01-2006 01:16 AM

Ah, I see the problem.

Instead of Putting it at the bottom of headerinclude, just put it at the bottom of header

JD45 12-01-2006 03:42 AM

Ok, I got it working and here's how:

You need to upload the contents of the attached file (image and script) to your forums root directory.

Second modify header not headinclude like a previous poster had mentioned.

Here's how my header template code looks like:

Quote:

<if condition="$bbuserinfo['field5']==YES">
<script type="text/javascript" src=" /forum/script/snowstorm.js"></script>
</if>
You can see a live demo at:

http://www.justpressplay.net/forum/

Edit: well, since it's a user option you won't be able to see it unless you register.

Jeordie015 12-01-2006 04:02 AM

var snowCollect doesn't seem to work. I have it off, but the snow still collects at the bottom.

yoyoyoyo 12-01-2006 04:18 AM

The code posted above is incorrect. Here is the proper code:

put this at the bottom of the header template:
Code:

<if condition="$bbuserinfo[field8] !='YES'">
<script type="text/javascript" src=" /forum/script/snowstorm.js"></script>
</if>

In your navbar template find:
Code:

<if condition="$show['member']">
       
                <td class="alt2" valign="top" nowrap="nowrap">
                <div class="smallfont">

add below:
Code:

<if condition="$bbuserinfo[field8] !='YES'">
<a href="javascript:snowStorm.randomizeWind()">Change Wind</a>&nbsp;&nbsp;<a href="javascript:snowStorm.stop()">Stop snowing</a><br /><br />
</if>

naturally substitute your proper profile field ID numbers as needed.

WildSharky 12-01-2006 06:48 AM

It does not seem to trun on and off tho and yes i have the right field its 6
it just stays on all the time..
and anyways to make a to start snowing with the stop to?

Code:

<if condition="$bbuserinfo[field6] !='YES'">
<a href="javascript:snowStorm.randomizeWind()">Change Wind</a>&nbsp;&nbsp;<a href="javascript:snowStorm.stop()">Stop snowing</a><br /><br />
</if>


doberlec 12-01-2006 07:04 AM

Quote:

Originally Posted by yoyoyoyo (Post 1129202)
The code posted above is incorrect. Here is the proper code:
put this at the bottom of the header template:
Code:

<if condition="$bbuserinfo[field8] !='YES'">
<script type="text/javascript" src=" /forum/script/snowstorm.js"></script>
</if>


Dude, $bbuserinfo[field8] !='YES' doesn't make any sense. Why should the Javascript be included when the Users have set the Snow-Mode to NO?! Please get your knowledge on operators in php up to date.

@all the others: Please read all the text I posted VERY thoroughly! I didn't include the javascript in my hack because it is NOT my work. It seems that most people didn't even bother to read the first step in my list :( And also the second step, which even mentions that there are files to upload!

If you follow it to the letter it works flawlessly, either in headinclude or an the end of the header template.


All times are GMT. The time now is 11:28 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.01175 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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