Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
RDS - Sponsor List using Javascript - Clean & Smooth Details »»
RDS - Sponsor List using Javascript - Clean & Smooth
Version: 1.00, by BlackJacket BlackJacket is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.1 Rating:
Released: 01-29-2010 Last Update: 01-29-2010 Installs: 40
Template Edits
Re-useable Code  
No support by the author.

Javascript Sponsor List -

What this does -
The JS Sponsor List puts a clean sponsor list at the bottom of your website. To view a demo, please click here.

All credit goes to Web-kreation as this is their mod. I am making it useful for VBulletin.

What you need to know -

You will need to know how to make sprites. You can find a great tutorial by visiting the Web-Kreation link above.

To Install -
It is highly recommended that you use Lynne's Additional CSS Mod before getting started.

Once you have installed Lynne's Additional CSS do the following -

AdminCP -> Styles and Templates -> (current style) -> edit templates

Double click on CSS Templates and find Lynne's Additional_css.css template and open it. Once you have it opened, add the following lines to it -


Code:
#sponsors {
    width: 940px;
    display: block;
    clear: both;
    border: 1px solid #eee;
    padding: 10px 5px;
    margin: 15px auto;
    text-transform: uppercase;
    font-weight: bold;
    color: #666;
}
#sponsors span {
    display: block;
    float: left;
    padding: 0 10px;
    height: 20px;
    line-height: 20px;
}
#sponsors a {
    display: block;
    float: left;
    height: 20px;
    padding: 0 10px;
}
a.mootools {background: url(images/mootools.jpg) no-repeat 0 0; width:85px;}
a.drupal {background: url(images/drupal.jpg) no-repeat 0 0; width:74px;}
a.technorati {background: url(images/Technorati.Jpg) no-repeat 0 0; width:107px;}
a.jquery {background: url(images/jquery.jpg) no-repeat 0 0; width:63px;}
a.miro {background: url(images/miro.jpg) no-repeat 0 0; width:23px;}
a.mozilla {background: url(images/mozilla.jpg) no-repeat 0 0; width:63px;}
a.nbc {background: url(images/nbc.jpg) no-repeat 0 0; width:75px;}
a.twitter {background: url(images/twitter.jpg) no-repeat 0 0; width:87px;}
a.wordpress {background: url(images/wordpress.jpg) no-repeat 0 0; width:20px;}
 
    /*mouseover*/
    a:hover.mootools, 
    a:hover.drupal, 
    a:hover.technorati, 
    a:hover.jquery, 
    a:hover.miro, 
    a:hover.mozilla, 
    a:hover.nbc, 
    a:hover.twitter, 
    a:hover.wordpress {background-position: 0 -20px;} /* reveal color version */
Adjust what you need to then click save.

Next open up your Footer template and add the following -

Find -

HTML Code:
{vb:raw ad_location.ad_footer_end} 
</div>
and below that add -

HTML Code:
<!-- sponsors -->
<div id="sponsors">
    <span>Our Sponsors:</span>
 
    <a href="http://web-kreation.con/index.php/blog" title="Sponsor" class="mootools"></a>
    <a href="http://web-kreation.con/index.php/blog" title="Sponsor" class="drupal"></a>
    <a href="http://web-kreation.con/index.php/blog" title="Sponsor" class="technorati"></a>
    <a href="http://web-kreation.con/index.php/blog" title="Sponsor" class="jquery"></a>
    <a href="http://web-kreation.con/index.php/blog" title="Sponsor" class="miro"></a>
    <a href="http://web-kreation.con/index.php/blog" title="Sponsor" class="mozilla"></a>
    <a href="http://web-kreation.con/index.php/blog" title="Sponsor" class="nbc"></a>
    <a href="http://web-kreation.con/index.php/blog" title="Sponsor" class="twitter"></a>
    <a href="http://web-kreation.con/index.php/blog" title="Sponsor" class="wordpress"></a>
 
    <div class="clearfix"></div>
</div>
<!-- /end sponsors -->
Edit where you need to then click save.

Next open up your header template and do the following -

At the very beginning of your Header template add -


HTML Code:
<script src="js/mootools-1.2.1-core-yc.js" type="text/javascript"></script>
<script src="js/colorize.js" type="text/javascript"></script>
Download the attached .zip for the images you will need. Create a directory in your "images" directory called "Sponsors" and place the sponsor sprites there. Place the JS directory in your forum root (www.yoursite.com/forum)

If you did everything correctly, you should have a beautiful list at the bottom of your community. If you do not have a beautiful list, you did something wrong.



If you use this, please mark installed.

Download Now

File Type: zip RDS-JS-Sponsor 1.00.zip (84.5 KB, 277 views)

Screenshots

File Type: jpg sponsor-screenshot.jpg (13.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
rodriiverduguez

Comments
  #12  
Old 04-23-2010, 01:55 PM
sKippah sKippah is offline
 
Join Date: Oct 2008
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sKippah View Post
would be nice to get this as a widget
Noone?
Reply With Quote
  #13  
Old 04-24-2010, 04:18 PM
Shadawg's Avatar
Shadawg Shadawg is offline
 
Join Date: Aug 2008
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like a good mod, tagged, will try out when got the time.....
Reply With Quote
  #14  
Old 05-31-2010, 07:02 PM
ndut ndut is offline
 
Join Date: Sep 2007
Location: Indonesia
Posts: 335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks good
Reply With Quote
  #15  
Old 06-01-2010, 09:47 PM
joomla's Avatar
joomla joomla is offline
 
Join Date: Feb 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks very good. joomla add logo would be better
Reply With Quote
  #16  
Old 07-31-2010, 06:30 PM
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Testing in 3.8.4 :P...
Reply With Quote
  #17  
Old 08-04-2010, 10:28 PM
Nano_ Nano_ is offline
 
Join Date: May 2006
Location: Rio de Janeiro - Brasil
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

List works (i remove all and use only 1, for test), but is falling outside container:


And how i make a image and put here?
Reply With Quote
  #18  
Old 08-08-2011, 12:19 PM
sivaganeshk sivaganeshk is offline
 
Join Date: Oct 2010
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice..

removed border: 1px solid #eee; :P
and it looks great !!
Reply With Quote
  #19  
Old 08-08-2011, 09:05 PM
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Location: Norway
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice! Thanks for sharing
Reply With Quote
  #20  
Old 08-11-2011, 04:48 PM
sivaganeshk sivaganeshk is offline
 
Join Date: Oct 2010
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has conflict with CKeditor - not appearing. please make some changes.
Reply With Quote
Reply


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 07:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13455 seconds
  • Memory Usage 2,333KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (3)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete