vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Dynamic News Slider Plugin (RSS Driven) jQuery (https://vborg.vbsupport.ru/showthread.php?t=281012)

lovevn 05-19-2012 05:56 AM

Quote:

Originally Posted by rtyagis (Post 2316432)
Did you added RSS Feed?

How can I add rss feed?
By changing the url of this code?

Code:

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


rtyagis 05-29-2012 02:33 PM

Quote:

Originally Posted by lovevn (Post 2330624)
How can I add rss feed?
By changing the url of this code?

Code:

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


Add RSS Feed of your CMS/ Forum [In my CMS it is - http://www.policywala.com/external.p...s=120&count=10

rtyagis 05-29-2012 02:34 PM

Quote:

Originally Posted by pesclub (Post 2328374)
I did everything as in the manual and it does not work

Could you pls tell in detail?

lovevn 05-31-2012 03:34 AM

Thanks for your reply. I have more questions:

Quote:

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
Do I have to manually put the headlines and news details? If not what should I do with the following:

Quote:

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

DocZaius 09-11-2012 12:31 PM

Quote:

Originally Posted by tarzan22 (Post 2316395)

Mine also looks like this. And yes, I did add the RSS feed like you suggested. Here is my ad_global_header1 template:

Code:

<script src="the-back-alley.com/dnews/jquery-1.4.4.min.js" type="text/javascript"></script>

    <script src="www.the-back-alley.com/dnews/dnews.js" type="text/javascript"></script>

    <link href="http://www.the-back-alley.com/dnews/dnews.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        google.load("feeds", "1");
        $(document).ready(function() {
            $('#snews').dnews({ feedurl: 'http://www.the-back-alley.com/forum/external.php?do=rss&type=newcontent&sectionid=1&days=120&count=10', showdetail: false, controlsalwaysvisible: false,entries:10,controls:false});
        });
    </script>


    <style type="text/css">
        #container
        {
            width: 668px;
            top: 10px;
            margin: auto;
        }
        .demo
        {
            position: relative;
            margin-top: 10px;
        }
    </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>


bjornb 09-16-2012 10:13 PM

Add
Code:

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
to the top of the ad_global_header1 template (according to my browser console the script had problems with the google.load("feeds", "1"); part).

https://developers.google.com/feed/v1/devguide

DocZaius 09-18-2012 12:40 PM

Thanks, but that didn't work.

Mark_Zuckerberg 09-27-2012 07:56 PM

will this mod work on vb 4.2 and if so will it get news by itself as updated on forum or only specific news can be added?


All times are GMT. The time now is 03:37 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.01140 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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