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

Reply
 
Thread Tools
Dynamic News Slider Plugin (RSS Driven) jQuery Details »»
Dynamic News Slider Plugin (RSS Driven) jQuery
Version: 1.00, by rtyagis rtyagis is offline
Developer Last Online: Mar 2018 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.1.11 Rating:
Released: 04-01-2012 Last Update: Never Installs: 17
Uses Plugins Template Edits
Re-useable Code Additional Files  
No support by the author.

This mod is not written by me. It was written by Muhammad Shahbaz Saleem of egrappler.com

If you like this, you can show your support by Rating it, Marking it as installed, Nominating for MOTM. Thanks!

What is Dynamic News Slider Plugin?
Dynamic News is a jQuery news slider plugin that makes news integration to your CMS and forum very easy. Dynamic News plugin supports two ways to add news data. You can either enter your news via HTML mark-ups manually or let Dynamic News plugin load the news from rss feed and build the necessary HTML mark-ups automatically. One cool feature of Dynamic News slider plugin is the news preview or news summary pane, hovering over news headline will show news summary in a tool tip like pop up, which also provides link to news detail page. All the features of Dynamic News slider plugin are configurable. It?s up to you whether you want to display news preview pane, display control bar, auto hide control bar or keep it always visible.


Demo on vbulletin forum - http://www.policywala.com/forum/
Demo on vbulletin CMS - http://www.policywala.com/
Working on Vbulletin Forum/CMS version ? 4.1.11 P1

Dynamic News Plugin Features
1. Dynamic/RSS Driven
2. Can set the no of news entries to be fetched from RSS
3. Supports manual entry of headlines and news detail via HTML markups
4. Supports news preview

Dynamic News Slider Plugin Parameters (You can set these as per your need)
? feedurl: URL of rss feed, default is ''. If 'feedurl' is empty then plugin will look for headlines within HTML markup.
? entries: Total no or news entries to be used by Dynamic News Plugins
? switchinterval: No of milliseconds single headline stays, default is 5000 ms or 5 secs.
? controls: Boolean value if true the news plugin will display the controls bar, default is true.
? showdetail: Boolean value if true, hovering over headline will pop up news summary, default is true.
? moretext: The text that will be displayed on news detail link within news summary pop up, default is 'more detail'.
? controlsalwaysvisible: Boolean value if true the control bar will remain visible, auto hide otherwise, default is false.

How to set up?
1. Download ? dnews folder

2. Upload ?dnews? folder in your public_html folder

3. Add below code in ad_global_header1

Admin CP -> Styles & Templates -> Style Manager -> Edit Templates -> Ad Location Templates -> ad_global_header1

Change -
1- Yourwebsite.com
PHP Code:
 <script src="yourwebsite.com/dnews/jquery-1.4.4.min.js" type="text/javascript"></script>

    <
script src="www.yourwebsite.com/dnews/dnews.js" type="text/javascript"></script>

    <
link href="http://www.yourwebsite.com/dnews/dnews.css" rel="stylesheet" type="text/css" />

    <
script type="text/javascript">
        
google.load("feeds""1");
        $(
document).ready(function() {
            $(
'#snews').dnews({ feedurl'Your Website.com RSS Feed'showdetailfalsecontrolsalwaysvisiblefalse,entries:10,controls:false});
        });
    </
script>


    <
style type="text/css">
        
#container
        
{
            
width668px;
            
top10px;
            
marginauto;
        }
        .
demo
        
{
            
positionrelative;
            
margin-top10px;
        }
    </
style>
      <
div id="container">
        <
div class="demo">
            <
div class="news-wrapper" id="snews">
                <
div class="news">
                    <
div class="headline">
                        <
a href="#" title="Title 1: Title 1 ">
                            
JTitle 1</a>
                    </
div>
                    <
div class="headline">
                        <
a href="#" title="Title 2 ">
                            
Title 2.</a>
                    </
div>
                    <
div class="headline">
                        <
a href="#" title="Title 3">
                            
Title 3</a>
                    </
div>
                    <
div class="headline">
                        <
a href="#" title="Title 4">
                            
Title 4.</a>
                    </
div>
                 </
div>
            </
div>
        </
div>
     </
div
2- Add RSS Feed of your CMS/ Forum [In my CMS it is - http://www.policywala.com/external.p...s=120&count=10
3- OR If you want to change any of the Dynamic News Slider Plugin Parameters setting as specified above.


Others changes (if you need)

1- Commented ?remember me? box so that the news slider look good.

PHP Code:
<div id="remember" class="remember">
                    <
label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label>
                </
div
How to change Remember me - https://vborg.vbsupport.ru/showthrea...+button&page=4

2- Edit the Additional CSS
Admin CP -> Styles & Templates -> Style Manager -> Edit Templates -> CSS Templates -> additional.css

Edit the additional.css template and add this code:

A- To adjust the logo (if needed)

HTML Code:
.logo-image {
clear:both;
display:block;
float:none;
padding-top: 35px;
padding-bottom: 8px;
}
Note: You can adjust the top and bottom values as needed to fine tune the logo placement.

B- To adjust the ad global header (if needed)

HTML Code:
.ad_global_header {
float:right;
position:absolute;
right:40px;
top:40px;
}
Note: You can adjust the right and top values as needed to fine tune the News Slider placement.

I am not an expert in this slider. I just really liked it for my forum, it looks the best and works quite well for me. I thought I would share it. If anyone has any suggestions on how to make it better, let me know. I will update the files accordingly.

Please Mark as Installed if you use this.

Download Now

File Type: zip dnews.zip (37.1 KB, 127 views)

Show Your Support

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

Comments
  #2  
Old 04-02-2012, 01:16 PM
rtyagis rtyagis is offline
 
Join Date: Feb 2009
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

* Keeping this thread for any update.

Google API Key not required (plugin updated) -
The Google Loader no longer requires keys. You don't need to make any changes if you're already using one, but if you choose you may simply remove the key parameter from your requests. Remember that some API calls still require proper identification through HTTP referer as per the documentation and Terms of Service.

Source -
https://developers.google.com/loader/signup
Reply With Quote
  #3  
Old 04-02-2012, 03:13 PM
lapiervb lapiervb is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have some screenshots?

The demos you provided do not use the plugin.
Reply With Quote
  #4  
Old 04-02-2012, 03:35 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lapiervb View Post
Do you have some screenshots?

The demos you provided do not use the plugin.
It's in the header.
Reply With Quote
  #5  
Old 04-02-2012, 03:41 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason I am not see the google feed API in the Google API's Console?
Reply With Quote
  #6  
Old 04-02-2012, 04:17 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will try later...It looks like some things are being moved around.
Attached Images
File Type: jpg google_apis.jpg (6.9 KB, 0 views)
Reply With Quote
  #7  
Old 04-02-2012, 04:59 PM
rtyagis rtyagis is offline
 
Join Date: Feb 2009
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr_Running View Post
For some reason I am not see the google feed API in the Google API's Console?
Pluging updated. Google API Key not required.
Reply With Quote
  #8  
Old 04-02-2012, 05:09 PM
rtyagis rtyagis is offline
 
Join Date: Feb 2009
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lapiervb View Post
Do you have some screenshots?

The demos you provided do not use the plugin.
See the image - http://img820.imageshack.us/img820/8...iderplugin.jpg
Reply With Quote
  #9  
Old 04-02-2012, 11:08 PM
ptceuro ptceuro is offline
 
Join Date: Jan 2012
Location: U.S.A
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Installed
Reply With Quote
  #10  
Old 04-03-2012, 07:54 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reason why people don't see it is because it's being blocked by the adblocker.
Reply With Quote
Благодарность от:
rtyagis
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:07 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.10058 seconds
  • Memory Usage 2,359KB
  • Queries Executed 26 (?)
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_html
  • (2)bbcode_php
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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_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
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete