Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
Fading credits in admincp Details »»
Fading credits in admincp
Version: 1.00, by Protoman Protoman is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 02-26-2006 Last Update: Never Installs: 4
Code Changes Is in Beta Stage  
No support by the author.

Fading vBulletin Credits

What does it do?
It makes the vbulletin credits fade in on your admincp / modcp


How is this useful?
ugh.. It's really not, I just liked how it looks

How do i install it?

1. open includes/vbulletin_credits.php

search for
PHP Code:
print_column_style_code(array('white-space: nowrap''')); 
delete all lines in the file after the one above ^
2. paste this at the end of the file.
PHP Code:
?>
<tr><td class="alt1" colspan="2" align="center">
<script type="text/javascript">

/***********************************************
* Fading Scroller- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var delay = 5000; //set delay between message change (in miliseconds)
var maxsteps=30; // number of steps to take to change from start color to endcolor
var stepdelay=40; // time in miliseconds of a single step
//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
var startcolor= new Array(0,152,204); // start color (red, green, blue)
var endcolor=new Array(255,255,255); // end color (red, green, blue)

var fcontent=new Array();
begintag='<div align="center" style="font: normal 14px Arial; padding: 0px;">'; //set opening tag, such as font declarations
fcontent[0]="<b>Software Developed By</b><br><br><a href='http://www.jelsoft.com/' target='vbulletin'>Jelsoft Enterprises Limited</a>";
fcontent[1]="<b>Product Managers</b><br><br><a href='http://www.vbulletin.com/forum/member.php?u=1034' target='vbulletin'>Kier Darby</a>, <a href='http://www.vbulletin.com/forum/member.php?u=1' target='vbulletin'>John Percival</a>";
fcontent[2]="<b>Business Development</b><br><br><a href='http://www.vbulletin.com/forum/member.php?u=2' target='vbulletin'>James Limm</a>, <a href='http://www.vbulletin.com/forum/member.php?u=22709' target='vbulletin'>Ashley Busby</a>";
fcontent[3]="<b>Software Development</b><br><br><a href='http://www.vbulletin.com/forum/member.php?u=1034' target='vbulletin'>Kier Darby</a>, <a href='http://www.vbulletin.com/forum/member.php?u=224' target='vbulletin'>Freddie Bingham</a>, <a href='http://www.vbulletin.com/forum/member.php?u=1814' target='vbulletin'>Scott MacVicar</a>,<br><a href='http://www.vbulletin.com/forum/member.php?u=37' target='vbulletin'>Mike Sullivan</a>, <a href='http://www.vbulletin.com/forum/member.php?u=24628' target='vbulletin'>Jerry Hutchings</a>, <a href='http://www.vbulletin.com/forum/member.php?u=42096' target='vbulletin'>Andreas Kirbach</a>";
fcontent[4]="<b>Graphics Development</b><br><br><a href='http://www.vbulletin.com/forum/member.php?u=1034' target='vbulletin'>Kier Darby</a>, <a href='http://www.meshweaver.com' target='vbulletin'>Fabio Passaro</a>";
fcontent[5]="<b>Other Contributions Provided By</b><br><br><a href='http://www.vbulletin.com/forum/member.php?u=2026' target='vbulletin'>Jake Bunce</a>, <a href='http://www.vbulletin.com/forum/member.php?u=65' target='vbulletin'>Doron Rosenberg</a>, <a href='http://www.vbulletin.com/forum/member.php?u=219' target='vbulletin'>Overgrow</a>, <a href='http://www.vbulletin.com/forum/member.php?u=2751' target='vbulletin'>Kevin \'Tubedogg\' Schumacher</a>, <a href='http://www.vbulletin.com/forum/member.php?u=5755' target='vbulletin'>Chen \'FireFly\' Avinadav</a>, <a href='http://www.vbulletin.com/forum/member.php?u=11606' target='vbulletin'>Floris Fiedeldij Dop</a>, <a href='http://www.vbulletin-germany.com/forum/member.php?u=2' target='vbulletin'>Stephan \'pogo\' Pogodalla</a>, <a href='http://www.vbulletin-germany.com/forum/member.php?u=274' target='vbulletin'>Michael \'Mystics\' K?nig</a>, <a href='http://www.vikjavev.com/hovudsida/umtestside.php' target='vbulletin'>Torstein H?nsi</a>";
fcontent[6]="<b>Copyright Enforcement Provided By</b><br><br><a href='http://www.piratereports.com/' target='vbulletin'>Pirate Reports</a>";
closetag='</div>';

var fwidth='700px'; //set scroller width
var fheight='70px'; //set scroller height

var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////


var ie4=document.all&&!document.getElementById;
var DOM2=document.getElementById;
var faderdelay=0;
var index=0;


/*Rafael Raposo edited function*/
//function to change content
function changecontent(){
  if (index>=fcontent.length)
    index=0
  if (DOM2){
    document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
    document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
    if (fadelinks)
      linkcolorchange(1);
    colorfade(1, 15);
  }
  else if (ie4)
    document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
  index++
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

function linkcolorchange(step){
  var obj=document.getElementById("fscroller").getElementsByTagName("A");
  if (obj.length>0){
    for (i=0;i<obj.length;i++)
      obj[i].style.color=getstepcolor(step);
  }
}

/*Rafael Raposo edited function*/
var fadecounter;
function colorfade(step) {
  if(step<=maxsteps) {
    document.getElementById("fscroller").style.color=getstepcolor(step);
    if (fadelinks)
      linkcolorchange(step);
    step++;
    fadecounter=setTimeout("colorfade("+step+")",stepdelay);
  }else{
    clearTimeout(fadecounter);
    document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
    setTimeout("changecontent()", delay);

  }
}

/*Rafael Raposo's new function*/
function getstepcolor(step) {
  var diff
  var newcolor=new Array(3);
  for(var i=0;i<3;i++) {
    diff = (startcolor[i]-endcolor[i]);
    if(diff > 0) {
      newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
    } else {
      newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
    }
  }
  return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
}

if (ie4||DOM2)
  document.write('<div id="fscroller" style="border:0px;width:'+fwidth+';height:'+fheight+'"></div>');

if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
window.onload=changecontent
</script>
</html>

</td></tr>
<?php
print_table_footer
();
?>
upload the new file and you're done!


Like = Click Install :nervous:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-28-2006, 03:36 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once it fades that it stay faded or does it come back to full strength? Or does it completely fade to nothing?

the screen shot confused me lol.
Reply With Quote
  #3  
Old 02-28-2006, 04:43 AM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the script only fades in. so, the text will start invisible and fades into view, then disappears as the next starts to fade into view
Reply With Quote
  #4  
Old 02-28-2006, 04:57 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Useless hacks have risen to an all-time new high.










*Clicks install*
Reply With Quote
  #5  
Old 03-04-2006, 04:55 PM
JakeS JakeS is offline
 
Join Date: Feb 2006
Location: United Kingdom
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod, aint gonna use it because well, i have no use for it :P otherwize i would.
Reply With Quote
  #6  
Old 06-07-2007, 06:42 PM
UltimateOreo! UltimateOreo! is offline
 
Join Date: Nov 2006
Location: Missouri
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lmao, this may be one of the most useless hacks I have ever seen, although I will use this for a basis for other hacks. Thanks.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:08 PM.


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.06047 seconds
  • Memory Usage 2,268KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete