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)

G_Man 09-28-2006 03:45 PM

Quote:

Originally Posted by MPDev
I take it you use html in your Forum titles?

Some. Makes them all colorful and pretty... and from the sound of it a pain the arse!! LOL

Actually though, it works GREAT with your hack. Like all my Staff forum titles are read, so they really stand out when they pop-up on ispy!!

Its only since you changed it and had first threads pop up instantly that there is a problem. As the feed one at a time they look as they should.

MPDev 09-28-2006 04:21 PM

In vaispy.php, line 166, change:

Code:

    $thread['forum'] = htmlspecialchars_uni($vbulletin->forumcache["$tforumid"]['title']);
to:

Code:

    $thread['forum'] = $vbulletin->forumcache["$tforumid"]['title'];

Daruka 09-28-2006 04:28 PM

Hi MPDev, I gotta say that your mod is incredible. We run a very busy forum (132,000+ members, 1.5+ million posts) and this is a real life saver for our moderator. Thanks for sharing it with the rest of us!

My only question: Is it possible to support colored user names? We have it set up so our staff members show up in a bright blue color so people can quickly distinguish them from normal users. We are using the "Username HTML Markup" fields in the Usergroup Manager to apply the color. If not, no big deal, but it would help to see that info.

Thanks again,
-Daruka

MPDev 09-28-2006 05:26 PM

I assume the query would have to be modified to pull in the user table properties of the lastposter (lastposterid) and then fetch_musername() would have to be called; but I don't have the time to write it out just now.

nymyth 09-28-2006 06:55 PM

^^i have a question MPDev. Is there anyway that posts from a particular forum NOT show up. I have one area where people posts links to their OWN MUSIC. It's a forum cat. whereby you need to be added to a usergroup that allows you to see it.

Right now, that forum and its post contents are visible. Can this be done?

Thank.s

MPDev 09-28-2006 07:17 PM

Sure, look in the vaispy.php script in the configuration area at the $blockforums variable; just put forum ids sperated by commas in that variable.

G_Man 09-28-2006 09:38 PM

Quote:

Originally Posted by MPDev
In vaispy.php, line 166, change:

Code:

    $thread['forum'] = htmlspecialchars_uni($vbulletin->forumcache["$tforumid"]['title']);
to:

Code:

    $thread['forum'] = $vbulletin->forumcache["$tforumid"]['title'];

Works... but...

After the change the CMPS module quit working.

Changed it back and CMPS module started working again.

MPDev 09-28-2006 11:22 PM

Well, how about:

Code:

$thread['forum'] = htmlspecialchars_uni(strip_tags($vbulletin->forumcache["$tforumid"]['title']));
until I can look at it closer.

G_Man 09-28-2006 11:25 PM

Quote:

Originally Posted by MPDev
Well, how about:

Code:

$thread['forum'] = htmlspecialchars_uni(strip_tags($vbulletin->forumcache["$tforumid"]['title']));
until I can look at it closer.


You Rock. That seems to be working just fine on both CMPS and the ispy.php page. :D

Firestar.chkn 09-29-2006 02:04 PM

Any idea why mine won't pick up new posts? I have to refresh the page for it to be picked up. It worked previously, but for some weird reason it won't work now.

Here it is.

Any help would be appreciated.


All times are GMT. The time now is 10:38 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.01719 seconds
  • Memory Usage 1,744KB
  • 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
  • (6)bbcode_code_printable
  • (3)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