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 Home Enhancements - Seasonal Forum Effects (https://vborg.vbsupport.ru/showthread.php?t=132657)

beduino 12-03-2006 06:01 PM

A goooood question.
I try in adv_portal and don't works :(
All the best
Beduino

smoknz28 12-03-2006 06:36 PM

Installed on vB 3.6.3 and working as advertised. ;)

Thanks for sharing this with the rest of us. :)

Shazz 12-03-2006 06:39 PM

Quote:

Originally Posted by beduino (Post 1131005)
A goooood question.
I try in adv_portal and don't works :(
All the best
Beduino

Make a custom template
Hook it up to your vBadvanced
Then place the code that was givin above..
it should work
Ive tried it in all mine and it did the same

Q139 12-03-2006 07:39 PM

Quote:

Originally Posted by beduino (Post 1131005)
A goooood question.
I try in adv_portal and don't works :(
All the best
Beduino

I edited the location of the java scripts

Code:

<script type="text/javascript" src="/forum/season/$vboptions[guidesvbs_type].js"></script>
and edited the location of the image files in the java scripts

Code:

var snowsrc="/forum/season/ghost/snow2.gif"
or you could place another season folder in you adv_portal directory...

TrueDeath 12-03-2006 10:08 PM

Quote:

Originally Posted by beduino (Post 1131005)
A goooood question.
I try in adv_portal and don't works :(
All the best
Beduino

Upload the Season folder to the root directory (as said above),

I didnt realize as i usually work by using vBulletin as my root + changing index to forums.php.

But yeh then it should work :).

blogtorank 12-04-2006 01:02 AM

This is one kick ass addon!!!!!!!! Works perfect for me in all browsers IE, FF, Opera, Konqueror.. Does NOT hog my bandwidth NOR does it lag. Great hack man!

haris_led 12-04-2006 02:12 AM

This is a very good hack, and i combined it with a user profile field :)
From now on, my users can enable, or disable it :)

But i had the same problem with some other guys, that said that in firefox (and opera) the snowflakes(and the hearts, etc) dissapear quickly, and they do not drop down to the end of the page.

I did change the 2.js file (for small snowflakes) to 1000 pixels, but there was no difference :(

Although, in IE this works fine, to the end of the page.

Any solution?
Thanks again :)

blogtorank 12-04-2006 03:02 AM

Quote:

Originally Posted by haris_led (Post 1131344)
This is a very good hack, and i combined it with a user profile field :)
From now on, my users can enable, or disable it :)

But i had the same problem with some other guys, that said that in firefox (and opera) the snowflakes(and the hearts, etc) dissapear quickly, and they do not drop down to the end of the page.

I did change the 2.js file (for small snowflakes) to 1000 pixels, but there was no difference :(

Although, in IE this works fine, to the end of the page.

Any solution?
Thanks again :)

Would you mind sharing your idea on how you did the enable or disable here in the user profile field, if you don't mind.. :chinese:

haris_led 12-04-2006 10:47 AM

Quote:

Originally Posted by blogtorank (Post 1131364)
Would you mind sharing your idea on how you did the enable or disable here in the user profile field, if you don't mind.. :chinese:

Of course :)

Before making the template edits, do theese:
1) AdminCP -> User Profile Fields -> Add New User Profile Field
2) Choose "Single Selection Radio Buttons"
3) Fill in all required fields and insert two values in the Options Box: (seperated with a return)
YES
NO

4) Set "Default" to YES
5) Hit "Save" and memorize the name of your field, in my case it's "field8".
6) Now, instead of adding
Code:

<!-- Start vBGuides Season -->
<if condition="$vboptions[guidesvbs_onoff] == 1">
<if condition="$vboptions[guidesvbs_area] == 0">
<script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
</if></if>
<!-- End vBGuides Season -->

at the top of the header, add this:
Code:

<!-- Start vBGuides Season -->
<if condition="$bbuserinfo['fieldX']=='YES'">
<if condition="$vboptions[guidesvbs_onoff] == 1">
<if condition="$vboptions[guidesvbs_area] == 0">
<script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
</if></if>
</if>
<!-- End vBGuides Season -->

7)Also, instead of adding
Code:

<!-- Start vBGuides Season -->
<if condition="$vboptions[guidesvbs_onoff] == 1">
<if condition="$vboptions[guidesvbs_area] == 1">
<script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
</if></if>
<!-- End vBGuides Season -->

in forumhome, add this:
Code:

<!-- Start vBGuides Season -->
<if condition="$bbuserinfo['fieldX']=='YES'">
<if condition="$vboptions[guidesvbs_onoff] == 1">
<if condition="$vboptions[guidesvbs_area] == 1">
<script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
</if></if>
</if>
<!-- End vBGuides Season -->

You should replace the fieldX to the one specified on step 5 :)

Known bug: If i set from acp the default to YES, it does not show the snowflakes, but my users, must set it to yes from user cp, and save, to see them. Any ideas to make it working for all users, without having to enable it for the first time?

alawee.blawee 12-04-2006 04:01 PM

man can i ask you if you faced some problems installing this hack?

coz the shapes sometimes go out from the screen and create a bar down the page destroying the fixed width

heeeeeeeeeeeeeeeelp heeeeeeeeeeeeeeeeelp


All times are GMT. The time now is 11:56 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.01455 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)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