vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - vBISpy - AJAX real-time feed of new posts/threads (https://vborg.vbsupport.ru/showthread.php?t=125947)

Amenadiel 09-27-2006 11:36 AM

Greetings MPDev, and congratz for the great work.

I'm trying to display the last posts in my site frontend wich runs on Postnuke... but I just cannot make vaispy.php display anything if ran or called from outside the forum path.

I tried copying it to the site root (modifying the "require once" command to adress the full path of global.php), tried an iframe, calling if with an include, with a require, etc and nothing seems to work, it just displays a blank page.

EDIT: finally, it was simpler than I though. I just added a full path call in my frontend in the form of:

require_once('http://www.site.com/forum/vaispy.php');

MPDev 09-27-2006 12:23 PM

Quote:

Originally Posted by G_Man
oh... I've edited it soooo many times, just making mistakes now....

Question that I've always wondered... how do I find a line, like like line 385... surely you don't count.

I edit my files with UltraEdit-32; you might want to look at a decent editor that gives you line numbers. As for the error, the line number came up in the JavaScript Console error dialog in FireFox.

MPDev 09-27-2006 12:27 PM

Quote:

Originally Posted by Amenadiel
Greetings MPDev, and congratz for the great work.

Be sure to click install! :)

Cheertobi 09-27-2006 01:31 PM

Quote:

Originally Posted by MPDev
I'm going to add PhotoPost thumbnails here shortly for new photos added to the gallery.

Can you do this also for Photopost vBGallery 2.0?

Tobi

G_Man 09-27-2006 07:58 PM

Quote:

Originally Posted by MPDev
I edit my files with UltraEdit-32; you might want to look at a decent editor that gives you line numbers. As for the error, the line number came up in the JavaScript Console error dialog in FireFox.

Cheers!! I knew you guys were bright, but sheesh!! Line 385!! LOL I'll look into that.. found it using FF and took out a rogue */ Thanks.

MPDev 09-28-2006 11:38 AM

Excellent.

I am making one change the to va_spy.js file in the current build as a couple users complained about not wanting the "subscribed threads only" option. (By the way, anyone tested this to make sure my query is right?)

At line 64 in va_spy.js, I added a condition:

Code:

    if (document.getElementById("subscribe")) {
        if (document.getElementById("subscribe").checked) { querystring = querystring + "&subscribe=1"; }
    }

So that the subscribe option does not have to be displayed if you do not want to display it. You can remove the checkbox option from any template and this will prevent a JavaScript error.

G_Man 09-28-2006 01:39 PM

Have you looked at my main vaispy page?

The first clips still display the HTML.... Not a big deal, but sure clutters up such a pretty Mod....

MPDev 09-28-2006 01:42 PM

What do you mean still displays the HTML? The page looks good to me.

G_Man 09-28-2006 01:49 PM

Quote:

Originally Posted by MPDev
What do you mean still displays the HTML? The page looks good to me.

REALLY??!!

You need to scroll down a bit and the G-Buddy Forum is invisible to non-staff....

Here is a screenshot.

MPDev 09-28-2006 03:37 PM

I take it you use html in your Forum titles?


All times are GMT. The time now is 08:13 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.01730 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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