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
  #12  
Old 04-03-2012, 01:52 PM
safakuygur's Avatar
safakuygur safakuygur is offline
 
Join Date: Sep 2007
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice thanks
Reply With Quote
  #13  
Old 04-03-2012, 03:04 PM
tarzan22 tarzan22 is offline
 
Join Date: Apr 2008
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works for me but thanks

http://img809.imageshack.us/img809/6...nshot003ax.gif
Reply With Quote
  #14  
Old 04-03-2012, 03:48 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tarzan22 View Post
That's what mine looked like too.
No News ???
Reply With Quote
  #15  
Old 04-03-2012, 04:33 PM
rtyagis rtyagis is offline
 
Join Date: Feb 2009
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr_Running View Post
That's what mine looked like too.
No News ???
Did you added RSS Feed?
Quote:
Add RSS Feed of your CMS/ Forum [In my CMS it is - http://www.policywala.com/external.p...s=120&count=10
Reply With Quote
  #16  
Old 04-03-2012, 04:34 PM
rtyagis rtyagis is offline
 
Join Date: Feb 2009
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ptceuro View Post
Thanks Installed
Could you please share the weblinks with us?
Reply With Quote
  #17  
Old 04-03-2012, 04:51 PM
tarzan22 tarzan22 is offline
 
Join Date: Apr 2008
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rss actived y no funciona

http://www.foroxd.com/
Reply With Quote
  #18  
Old 04-03-2012, 05:05 PM
rtyagis rtyagis is offline
 
Join Date: Feb 2009
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tarzan22 View Post
rss actived y no funciona

http://www.foroxd.com/
You have not uploaded dnews folder in your public_html - http://www.foroxd.com/dnews/
Also update RSS Feed Link
Reply With Quote
  #19  
Old 04-03-2012, 05:32 PM
tarzan22 tarzan22 is offline
 
Join Date: Apr 2008
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I got on the wrong website.

There is no way they are in Spanish?

thanks
Reply With Quote
  #20  
Old 04-03-2012, 06:33 PM
rtyagis rtyagis is offline
 
Join Date: Feb 2009
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tarzan22 View Post
Sorry, I got on the wrong website.

There is no way they are in Spanish?

thanks
It is just picking RSS feed of your website. It support all languages. :up:
Reply With Quote
  #21  
Old 05-11-2012, 11:53 AM
pesclub pesclub is offline
 
Join Date: Sep 2011
Location: Poland
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did everything as in the manual and it does not work
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 11:27 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.04891 seconds
  • Memory Usage 2,370KB
  • 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
  • (6)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • 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
  • fetch_musername
  • 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