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

Reply
 
Thread Tools
RSS Ticker AIticker V1.0 Details »»
RSS Ticker AIticker V1.0
Version: 1.00, by mpage mpage is offline
Developer Last Online: Mar 2011 Show Printable Version Email this Page

Version: 3.5.7 Rating:
Released: 11-27-2006 Last Update: 12-01-2006 Installs: 7
Template Edits
Additional Files Is in Beta Stage  
No support by the author.

This ticker is a java ticker that downloads RSS feed of your choice to your local domain, it downloads the RSS feed in the background (4 times a day),

The ticker displays the information between <title> and </title>

On clicking on the ticker information you are directed to a page on your forum which displays the description of each title.

Each one of these has a link pointing back to your site telling the user to talk about it at a location specified by you.

Demo: http://www.ai-stockmarketforum.com

update:
- applet is now set to low priority, so it doesn?t eat as much memory
- should now display any errors thrown

Show Your Support

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

Comments
  #12  
Old 11-28-2006, 07:18 PM
mpage mpage is offline
 
Join Date: Aug 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

make sure the following code is in the exact format (copy and paste from the installation Instructions):

Quote:
</applet></td>
<td width=70 class='vbmenu_control' style='font-size:11px'><center><a
href='http://www.ai-stockmarketforum.com'>AI Investing</a></center></td></tr></table>
<!-- ai stock ticker end-->
after you have done this you need to open the page up twice (the first run will download the feed, the 2nd run will display it) after this the applet will automaticaly update



Is the file tempRSSFeed.txt found in your local files, if so open it up, if it is empty I suspect this is the problem. This means you may have run the first install without the TickerInfo.txt set to an invalid RSS feed (one that will not allow you to download the feed).

To solve this, make sure TickerInfo.txt is filled out (use the example:
RSS = "http://p.moreover.com/cgi-local/page?c=Top%20finance%20stories&o=rss002"
you can change this later)

and once again just delete the tempRSSFeed.txt, this should solve the problem

(if there is no tempRSSFeed.txt found in your local files see my post below)

If this doenst work PM me your sites details so I can see where the problem is.

- the big white box is an issue that I am currently dealing with, it sticks around for a few seconds and doesnt need to.
Quote:
Ill be updating this applet, It could run allot better (that white background could be avoided), so I will work on this when I have time.
Reply With Quote
  #13  
Old 11-28-2006, 08:48 PM
mpage mpage is offline
 
Join Date: Aug 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok ive found a possible problem with fresh installs of this version, let me fix it and Ill put a working version up
Reply With Quote
  #14  
Old 11-28-2006, 09:30 PM
kofoid kofoid is offline
 
Join Date: Dec 2005
Location: Colorado
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where's the install txt?
Reply With Quote
  #15  
Old 11-28-2006, 10:05 PM
mpage mpage is offline
 
Join Date: Aug 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I have uploaded, and tested the new zip version above, and it worked

1.For fresh installs the first time you run this it will look like it hasnt worked (since the downloading of the RSS feed occurs after the page has loaded), so the applet will not run

after you have opened it the first time wait a few seconds, then close all of the windows (all!).

2. Then open a new window, goto your forum and it should be working now. (if you have followed the installation instructions)

If you change the RSS = "http://p.moreover.com/cgi-local/page?c=Top%20finance%20stories&o=rss002"

To an RSS feed of your choice, if you want to see the change immediately, delete the file tempRSSFeed.txt if it is available in your local dir.

Then once again like it was a fresh install go to step 1. Above and then step 2.

if you have found there is no tempRSSFeed.txt file in you local dir, this could be due to 3 reasons
1. The RSS feed was not available to download, try the RSS feed given as default to see if this was the case
2. In your FORUMHOME Template you have forgotten to replace <body> with:
<BODY onLoad="javascript:sndReq()" >
<script type="text/javascript" src="JSsource.js"></script>
-Please make sure you follow the instructions
3 You have not yet visited the FORUMHOME page to allow the 1st download to occur, or have not uploaded all of the files
Reply With Quote
  #16  
Old 11-29-2006, 07:01 AM
Foxsake Foxsake is offline
 
Join Date: Apr 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mpage View Post
make sure the following code is in the exact format (copy and paste from the installation Instructions):



after you have done this you need to open the page up twice (the first run will download the feed, the 2nd run will display it) after this the applet will automaticaly update



Is the file tempRSSFeed.txt found in your local files, if so open it up, if it is empty I suspect this is the problem. This means you may have run the first install without the TickerInfo.txt set to an invalid RSS feed (one that will not allow you to download the feed).

To solve this, make sure TickerInfo.txt is filled out (use the example:
RSS = "http://p.moreover.com/cgi-local/page?c=Top%20finance%20stories&o=rss002"
you can change this later)

and once again just delete the tempRSSFeed.txt, this should solve the problem

(if there is no tempRSSFeed.txt found in your local files see my post below)

If this doenst work PM me your sites details so I can see where the problem is.

- the big white box is an issue that I am currently dealing with, it sticks around for a few seconds and doesnt need to.
Thanks for your quick response on this, i will try it this evening.
Hopefully all will go to plan.
One question from a newbie though - I dont understand where to find the local file tempRSSFeed.txt?
I cant find anything called that or anything called local files, but hey i am probably looking in the completley wrong place Sorry

Cheers mpage

Rob
Reply With Quote
  #17  
Old 11-29-2006, 06:17 PM
Foxsake Foxsake is offline
 
Join Date: Apr 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tried everything again with the new zip - and it say applet loaded but nothing scrolls with the rss link you suggest or any other ive tried?

Now im really confused
Reply With Quote
  #18  
Old 11-29-2006, 08:05 PM
mpage mpage is offline
 
Join Date: Aug 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Foxsake View Post
Thanks for your quick response on this, i will try it this evening.
Hopefully all will go to plan.
One question from a newbie though - I don’t understand where to find the local file tempRSSFeed.txt?
I cant find anything called that or anything called local files, but hey i am probably looking in the completely wrong place Sorry

Cheers mpage

Rob
The local is the same place your vbulletin files are stored and should be the same place the jar file is stored.

If the file tempRSSFeed.txt? isn’t present but you uploaded all of the php files and the jscript file (all of which have been tested), and you are using the default settings (which has been tested)

This leaves only one source of error:
Quote:
Originally Posted by Mpage View Post
2. In your FORUMHOME Template you have forgotten to replace <body> with:
<BODY onLoad="javascript:sndReq()" >
<script type="text/javascript" src="JSsource.js"></script>
-Please make sure you follow the instructions
To see if this is the case, go to your fourmhome page right click>view source> search for the term "</head>", under this you will see the code for the body it should display:
PHP Code:
<BODY onLoad="javascript:sndReq()" >
<
script type="text/javascript" src="JSsource.js"></script
and not just
PHP Code:
<BODY
If it displays just "<body>" you have not yet edited you forumhome template

To edit the forum home template: Styles & templates>Style Manager> <<>> > Forum Home Templates

Then search for <body> and change appropriately

I suspect the problem that you might have found is that you only did this for one style, and not the main style that ppl will use, so do this for each style to be sure.

---------------------------------------------------------------------------------------------

One other possibility is that you have not enable javascripts in your browser, this isn’t a problem since the applet still works without javascript enabled, but the rss feed requires JavaScript for it to be updated. Once again this isnt a problem, since if at least one user comes to your forum per day with JS enabled the applet will be updated every day (most ppl do not have JS disabled since all of the Ajax sites would fail to work).

To test it with the tempRSSFeed.txt I have added the file to this post, upload this to where you have stored your forum files:
Reply With Quote
  #19  
Old 11-29-2006, 08:53 PM
mpage mpage is offline
 
Join Date: Aug 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Foxsake, i have just checked the site, the minimum the link can be is "AI Investing"(I assume you have tried this and it still doesnt work?), I am once again updating the zip since it is set to a quite high priority, and doesn’t need to be.

- also try changing the P to a small p in your param url value

Ill keep looking and see if I can find anything else that it might be (try adding the file above so we can eliminate possibilities)

I just looked at the TickerInfo.txt on your site and it looks a bit odd, try deleting it all and adding
RSS = "http://p.moreover.com/cgi-local/page?c=Top%20finance%20stories&o=rss002"
only
the [] shouldnt be present which means it may have saved in a different format after downloading (which the applet will treat differently)
Reply With Quote
  #20  
Old 11-29-2006, 10:42 PM
mpage mpage is offline
 
Join Date: Aug 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

even the php files have the [] (this is replacing the retuns and tabs), the format you are saving them seems to be strange

How are you extracting them (I have download these and used winzip, and they dont do this for me)

I have now updated the zip file with no compression to see if this helps you (oddly it didnt do the same thing for TheBlackPoet or me)


If all else fails try directy downloading the files from here:

http://www.ai-stockmarketforum.com/A...aiTicker.class
http://www.ai-stockmarketforum.com/A...r/aiTciker.jar
http://www.ai-stockmarketforum.com/A.../fetchRSS2.php
www.ai-stockmarketforum.com/AIticker/JSsource.js
www.ai-stockmarketforum.com/AIticker/meths.class
http://www.ai-stockmarketforum.com/A...DisplayPhp.php
http://www.ai-stockmarketforum.com/A...TickerInfo.txt

open up the TickerInfo.txt, does it still have the [] where there should be a return (new line).
If not upload these and that should solve it, no idea why your files were being extracted in the format they were.

If you want to change the setup so it updates every couple of hours look at the fetchRSS2.php

change the following code:
PHP Code:
if ( ((date('h') - date('h'filemtime("TempRSSFeed.txt")) ) > 6) || 
((
date('d') - date('d'filemtime("TempRSSFeed.txt")) ) > 0) ) 
To:

PHP Code:
if ( ((date('h') - date('h'filemtime("TempRSSFeed.txt")) ) > 1) ||
 ((
date('d') - date('d'filemtime("TempRSSFeed.txt")) ) > 0) ) 
Good luck

Ill change the jar when i get time so you only need to link to the term AI (less space)
Reply With Quote
  #21  
Old 11-30-2006, 03:33 PM
Foxsake Foxsake is offline
 
Join Date: Apr 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mpage View Post
even the php files have the [] (this is replacing the retuns and tabs), the format you are saving them seems to be strange

How are you extracting them (I have download these and used winzip, and they dont do this for me)

I have now updated the zip file with no compression to see if this helps you (oddly it didnt do the same thing for TheBlackPoet or me)


If all else fails try directy downloading the files from here:

http://www.ai-stockmarketforum.com/A...aiTicker.class
http://www.ai-stockmarketforum.com/A...r/aiTciker.jar
http://www.ai-stockmarketforum.com/A.../fetchRSS2.php
www.ai-stockmarketforum.com/AIticker/JSsource.js
www.ai-stockmarketforum.com/AIticker/meths.class
http://www.ai-stockmarketforum.com/A...DisplayPhp.php
http://www.ai-stockmarketforum.com/A...TickerInfo.txt

open up the TickerInfo.txt, does it still have the [] where there should be a return (new line).
If not upload these and that should solve it, no idea why your files were being extracted in the format they were.

If you want to change the setup so it updates every couple of hours look at the fetchRSS2.php

change the following code:
PHP Code:
if ( ((date('h') - date('h'filemtime("TempRSSFeed.txt")) ) > 6) || 
((
date('d') - date('d'filemtime("TempRSSFeed.txt")) ) > 0) ) 
To:

PHP Code:
if ( ((date('h') - date('h'filemtime("TempRSSFeed.txt")) ) > 1) ||
 ((
date('d') - date('d'filemtime("TempRSSFeed.txt")) ) > 0) ) 
Good luck

Ill change the jar when i get time so you only need to link to the term AI (less space)
mpage, I really appreciate all your help in this and sorry its being a pain.
I have checked all the files you mentioned and i cannot see any [] in my files this end?
I also used winzip to unzip the files
Changed the P to p as suggested and also added the temp file but alas no change?
all i get is applet loaded at the bottom and no scrolling
I will keep looking and see if i can find anything obvious to me, but i dont hold out much hope as im not a coder in anyway.

Thanks for all your help again
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 03: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.15185 seconds
  • Memory Usage 2,351KB
  • 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
  • (6)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete