Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 03-26-2002, 01:47 AM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well sounds great bud

make sure, are someone here tell us how to make it in a jacascript little popupwindow
Reply With Quote
  #22  
Old 03-26-2002, 03:25 AM
Dan203 Dan203 is offline
 
Join Date: Dec 2001
Location: Nevada
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK here are the files. I had to make a couple of changes to the PHP file which I did not test, so please let me know via e-mail if you come across any errors.

Dan

P.S. Don't laugh at my PHP code! Until I wrote this I had never written a single line of PHP or SQL code.
Attached Files
File Type: zip ticker.zip (7.4 KB, 51 views)
Reply With Quote
  #23  
Old 03-26-2002, 03:28 AM
Dan203 Dan203 is offline
 
Join Date: Dec 2001
Location: Nevada
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh yeah, to open the ticker paste the following code into your document template...
Code:
<script language="javascript">
<!--
var tickerWindow = null;;


function openTicker(){
 if (document.layers || document.all || document.getElementById){
   var tt = 255;
   var tl = 177;
   if (screen.width){
     tt = (screen.height-130)/2;
     tl = (screen.width-445)/2;
   }
   if (tickerWindow == null || tickerWindow.closed)
     tickerWindow = window.open("/ticker/ticker.htm", "twindow", "toolbar=0,status=0,menubar=0,scrollbars=0,location=0,directories=0,resizable=0,height=100,width=434,top="+tt+",left="+tl);
 }
 else {
   alert ("We\'re sorry but the Latest Post Ticker only works in Netscape 4\+\, IE4\+ or a 100\% DOM\/CSS compliant browser.");
 }
}
//-->
</script>
then call if from a link like so...

<a href="#" onClick="openTicker()">Open Ticker</a>

Dan
Reply With Quote
  #24  
Old 03-27-2002, 03:34 AM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey thanks buddy,

hey what do I ezactly put in for the Cron job??
Reply With Quote
  #25  
Old 03-27-2002, 05:49 AM
Dan203 Dan203 is offline
 
Join Date: Dec 2001
Location: Nevada
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Psychdrone
hey what do I ezactly put in for the Cron job??
Sorry, but servers aren't my area! David set that part up for the TiVo Community, so either he, or one of the other guys, will have to help you with that part.

Dan
Reply With Quote
  #26  
Old 03-27-2002, 08:09 AM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seeing that servers come in differnt flavors, please see your system admin or hosting provider in regards to run a cron job every 5 mins or whatever. (Don'y say you were not warned. )
Reply With Quote
  #27  
Old 03-28-2002, 01:07 AM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do you mean.... I mean is it really that different......I run a lynx system..you can't give me the code I would put in??
Reply With Quote
  #28  
Old 03-28-2002, 01:15 AM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well...This is how ours looks in cron...

Code:
*/5 * * * * /usr/bin/php -c /etc/php.ini.nocache /home/tivo-vb/ticker_new_js.php >/dev/null 2>&1
But as I said, thus can differ and other items by be needed for your server. We did say this was a custom type fuction remember.
Reply With Quote
  #29  
Old 03-28-2002, 02:50 AM
nafae's Avatar
nafae nafae is offline
 
Join Date: Nov 2001
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what my cron job looks like, how would I configure this to work with the ticker?
Attached Images
File Type: gif cronjob.gif (7.3 KB, 0 views)
Reply With Quote
  #30  
Old 03-28-2002, 10:12 AM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Again, I am sorry, but can not off any help in this area. Please contact your ISP.
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 02:48 AM.


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.04682 seconds
  • Memory Usage 2,265KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete