vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB-marquee - scrolling "recent threads" for non-vb page (https://vborg.vbsupport.ru/showthread.php?t=35513)

jjj0923 12-03-2002 09:26 AM

I did some tricky things with it in the javascript like changing the contents of the window that instantiated it when someone clicks on a link inside the scrolling window....

- jeff

Ninth Dimension 12-03-2002 09:33 AM

Quote:

Originally posted by jjj0923
I did some tricky things with it in the javascript like changing the contents of the window that instantiated it when someone clicks on a link inside the scrolling window....

- jeff

that sounds cool, i'm happy with what I've got so far, I've even got someone using it already :) http://www.fuchsiashockz.co.uk/index2.shtml

Anat 08-05-2003 08:09 AM

I really want this hack :( I even found out about it elsewhere and emailed jcroft but haven't heard back yet.

Anyway, I have tried installing it but am having some problems little no-php me can't deal with...

I had to change the line that calls global.php because my forums files are stored under a forums sub-dir. So I had it changed to -

require ('http://www.thecatsite.com/forums/global.php');

Now I can see the marquee but what scrolls there is an error message that says -

Fatal error: Call to a member function on a non-object in /home/www/thecatsite/marquee.php on line 72

Anyone has a solution???

I'm using 2.2.9 btw

PurpleCow 08-05-2003 11:05 AM

Anyone got this working on 2.3.0 ?? I'd also be ineterested to use this hack !

Thank you

Oblivion Knight 08-05-2003 01:56 PM

Quote:

Today at 01:05 PM PurpleCow said this in Post #34
Anyone got this working on 2.3.0 ?? I'd also be ineterested to use this hack !

Thank you

It works fine as it is with 2.3.0 :)
I tried it out, but unfortunately it made my homepage look far too cluttered, no matter how much I customised the layout.

PurpleCow 08-06-2003 04:38 AM

Okay, isn't it possible to use this hack to syndicate threads on third party sites.

If, yes, how to do it?

Also, what code should i use to include the marquee on my html page ??

Thank you

Anat 08-06-2003 06:45 AM

Are there any PHP/VB gurus around that can maybe help me with the bug? I can't get it to work properly... :(

Oblivion Knight 08-06-2003 10:45 AM

Quote:

Today at 06:38 AM PurpleCow said this in Post #36
Okay, isn't it possible to use this hack to syndicate threads on third party sites.

If, yes, how to do it?

Also, what code should i use to include the marquee on my html page ??

Thank you

If you're calling this on a html page, your extension MUST be .shtm or .shtml.

Assuming you've uploaded marquee.php to the forums root, you'd use something similar to this code where you wanted to place it in your html page:
<!--#include file="forums/marquee.php"-->




Quote:

Today at 08:45 AM Anat said this in Post #37
Are there any PHP/VB gurus around that can maybe help me with the bug? I can't get it to work properly... :(
A simple solution would be to upload marquee.php to the same directory as your forums root (where the required global.php is also located), and then to call the script from there..

Anat 08-07-2003 03:52 PM

Thanks Knight, but it's still not working. I uploaded the script to the forums directory and it's working fine there. Then I used the following code in my page (it's a PHP page anyway) -

PHP Code:

<?php include ("forums/marquee.php");?>

So this is what it comes out like - www.thecatsite.com/index.php

Still the same error message. It does make some sense I think - I know very little PHP but from what I see the include simply copies and pastes the text found in that other file...

Anat 08-09-2003 05:39 PM

Ok problem fixed using iframe - I guess it doesn't work another way.


All times are GMT. The time now is 02:43 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.01139 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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