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)

Pearl 12-16-2006 08:46 AM

Great work, you can view it here for those that need an example.
http://www.clanlife.eu

R34GTT 12-22-2006 08:01 PM

I have installed this. Works perfectly.

Although I did have a handful of users complaining it slowed down there computers to much. I would say around 15% of users complained. (I did a poll about it)

I have now only put it on the Forumhome not the whole forum.

winpro19 12-22-2006 10:11 PM

Hello
Great hack, no lagging or anything for me. One question though...is there any way I can make it so it randomly picks one javascript out of all those? I want to make it random...so it changes everytime...snowflakes sometimes..witches...bats..etc...possible?
Thanks

Deimos 12-22-2006 11:05 PM

Works brilliantly on my forum
www.uoforums.com

Many thanks!

fishhub 12-23-2006 09:26 AM

can this work for 3.5.4? TIA

ShackMaster 12-23-2006 02:53 PM

The zip file does not include the product xml file?

product-guidevb_bgcolor.xml

???

EDIT: Okay... the instructions say to upload "product-guidevb_bgcolor.xml" ... actually it probably should read "import vbgseason.xml".

sinanmoda 12-24-2006 05:37 PM

Thank you its great hack. How can I use only one ghost or snow? I want it to be seen only one...

Many Thanks...

TheWhite 12-28-2006 04:04 AM

cool

richTV 12-28-2006 08:29 AM

thank you. :)

richTV 12-30-2006 06:54 AM

Hi.

I'm having trouble getting this to run at all.

v3.6.4, Kartel Fluid style

1) vbgseason.xml installed

AdminCP / Plugins & Products / Manage Products / Add/Import Product

also set it to "allow overwrite" and then clicked Import

verified its listing in the Installed Products
verified its listing in the vBulletin Options / vBGuides: Season Effects

2) uploaded season FOLDER to my directory [ie, the folder itself which includes its contents within it]:

/html/forum_name/forum/
where forum_name is just an example of the actual name of my site

resulting in,

/html/forum_name/forum/season/

3) Styles & Templates / Style Manager / Kartel Fluid / Edit Templates / header

and added the code for it at the very top of header:

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 -->

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<body onLoad="MM_preloadImages('$stylevar[imgdir_misc]/home_on.gif','$stylevar[imgdir_misc]/usercp_on.gif','$stylevar[imgdir_misc]/members_on.gif','$stylevar[imgdir_misc]/register_on.gif','$stylevar[imgdir_misc]/calendar_on.gif','$stylevar[imgdir_misc]/faq_on.gif')"><table style="background: url($stylevar[imgdir_misc]/header_level1_bg.gif);" border="0" width="$stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0">
<!-- header navigation area vBCore.com -->       
<tr>
<td width="103"><a href="index.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Home','','$stylevar[imgdir_misc]/home_on.gif',1)"><img src="$stylevar[imgdir_misc]/home_off.gif" alt="Home" name="Home" border="0"/></a></td>
<td width="103"><a href="usercp.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('UserCP','','$stylevar[imgdir_misc]/usercp_on.gif',1)"><img src="$stylevar[imgdir_misc]/usercp__off.gif" alt="UserCP" name="UserCP" border="0"/></a></td>
<td width="101"><a href="memberlist.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Members','','$stylevar[imgdir_misc]/members_on.gif',1)"><img src="$stylevar[imgdir_misc]/members__off.gif" alt="Memberlist" name="Members" border="0"/></a></td>
<td width="103"><a href="register.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Register','','$stylevar[imgdir_misc]/register_on.gif',1)"><img src="$stylevar[imgdir_misc]/register__off.gif" alt="Register" name="Register" border="0"/></a></td>
<td width="102"><a href="calendar.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Calendar','','$stylevar[imgdir_misc]/calendar_on.gif',1)"><img src="$stylevar[imgdir_misc]/calendar__off.gif" alt="Calendar" name="Calendar" border="0"/></a></td>
<td><a href="faq.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('FAQ','','$stylevar[imgdir_misc]/faq_on.gif',1)"><img name="FAQ" border="0" src="$stylevar[imgdir_misc]/faq__off.gif" alt="FAQ"/></a></td>
</tr>
<!-- / header navigation area end -->
</table>

<table style="background: url($stylevar[imgdir_misc]/header_level2_bg.gif);" border="0" width="$stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0">
<!-- header level 2 area vBCore.com -->       
<tr>
<td width="144"><img src="$stylevar[imgdir_misc]/header_left.gif" alt="" width="144" height="164"/></td>
<td><a href="index.php"><img src="$stylevar[imgdir_misc]/logo.gif" alt="Home" width="280" height="164" border="0"/></a></td>
<td align="right"><img src="$stylevar[imgdir_misc]/header_right.gif" alt="" width="218" height="164"/></td>
</tr>
<!-- / header level 2 area end -->
</table>



<!-- content table -->
$spacer_open
$_phpinclude_output
$welcomeheaders

and then clicked on Save & Reload

4) Styles & Templates / Style Manager / Kartel Fluid / Edit Templates / Forum Home Templates / FORUMHOME

before $header, i added the code....

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
        $headinclude
</head>
<body>
<!-- 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 -->
$header
$navbar

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$forumbits
<tbody>
        <tr>
                <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
                        &nbsp; &nbsp;
                        <a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
                </strong></div></td>
        </tr>
</tbody>
</table>
<!-- /main -->

<br />
<br />
 <!-- top category table setup -->
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
      <tr>
        <td width="24" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_level1_left.gif" alt="" width="24" height="13"/></td>
        <td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_level1_bg.gif)"><img src="$stylevar[imgdir_misc]/cat_level1_bg.gif" alt="" width="1" height="13"/></td>
        <td width="214" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_level1_right.gif" alt="" width="214" height="13"/></td>
      </tr>
    </table>
       
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_level2_bg.gif)" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_level2_left.gif" alt="" width="24" height="34"/></td>
    <td width="100%" class="tcat" style="background-image:url($stylevar[imgdir_misc]/cat_level2_bg.gif)" valign="middle">
        $vbphrase[whats_going_on]
       
        </td>
    <td width="140" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_level2_right.gif" alt="" width="214" height="34"/></td>
  </tr>
</table>
        <!-- End top category table setup -->
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
                <td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
                <td class="alt1" width="100%">
                        <div class="smallfont">
                                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                                <div>$activeusers</div>
                        </div>
                </td>
        </tr>
</tbody>
<!-- end logged-in users -->
</if>

<!-- Irc-Useronline -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_$channel[channel_id]')"><img id="collapseimg_forumhome_$channel[channel_id]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                        <b>members in the Chat</b> <a href="irc://irc.cinemajuggs.com#CinemaJuggs"><b>irc.cinemajuggs.com</b></a> Channel: <b> #CinemaJuggs</b> Port: <b>6667</b>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_$channel[channel_id]" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
                <td class="alt2" valign="middle"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></td>
                <td class="alt1" width="100%" valign="middle">
                        <div class="smallfont">
                                <!-- <div style="white-space: nowrap">$ist $ircircuseronline2 $nutzer $guests $ircirctoprecord $ircirctopdatum $ircirctopuhrzeit<br /></div> -->
                                <div style="padding-top: 7px">$irc_include&nbsp;</div>
                        </div>
                </td>
        </tr>
        <!-- <tr>
                <td class="alt1" colspan="2" width="100%">
                        <div class="smallfont">
                                <div style="white-space: nowrap"><b>Legende:</b> OP&nbsp;<img src="ircgif/op_online.gif" border="0" alt="OP" title="OP" /> - HalfOP&nbsp;<img src="ircgif/halfop_online.gif" border="0" alt="HalfOP" title="HalfOP" /> - ChannelMod&nbsp;<img src="ircgif/channelmod_online.gif" border="0" alt="ChannelMod" title="ChannelMod" /> - Besucher&nbsp;<img src="ircgif/users_online.gif" border="0" alt="Besucher" title="Besucher" /></div>
                </td>
        </tr> -->
</tbody>


<!-- end Irc-Useronline -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
        <tr>
                <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
                <td class="alt1" width="100%">
                <div class="smallfont">
                        <div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
                        <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
                </div>
                </td>
        </tr>
        $tracker_stats_bit
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        $vbphrase[todays_birthdays]
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
        <tr>
                <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
        </tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
                <td class="alt2"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</tbody>
</if>
</table>
  <!-- bottom table setup -->
    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/botleft.gif" alt="" height="17"/></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/botcenter.gif)"><img src="$stylevar[imgdir_misc]/botcenter.gif" alt="" width="100%" height="17" border="0"/></td>
        <td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/botright.gif" alt="" height="17"/></td>
      </tr>
    </table>
  <!-- End bottom table setup -->
<br />
<!-- end what's going on box -->

<!-- icons and login code -->

<table width="50%"  border="0" cellpadding="4" cellspacing="1" bgcolor="#212A31" style="border: 1px solid #1A2025;" align="center">
                  <tr class="alt1">
                    <td class="alt2" align="center" valign="middle">

<img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
                        <td class="alt1"  align="left">&nbsp; New Posts</td>

                        <td class="alt2" align="center"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
                        <td class="alt1" align="left">&nbsp;No New Posts</td>

                        <td class="alt2"align="center"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
                        <td class="alt1" align="left">&nbsp; Closed Forum

                    </td>
                  </tr>
  </table>

<!-- / icons and login code -->

$footer
</body>
</html>

and then clicked on Save & Reload

5) went to vBulletin Options and then enabled it there.

saw no change to the forum so i logged out and cleared my cache and then logged back in but still didn't change.

can u tell me where i might have erred?


All times are GMT. The time now is 12:51 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.01959 seconds
  • Memory Usage 1,824KB
  • 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
  • (2)bbcode_code_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