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)
-   -   Portal Software - vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS (https://vborg.vbsupport.ru/showthread.php?t=126421)

StevanMD 09-15-2006 12:23 PM

Quote:

Originally Posted by MPDev
Stevan,

I don't see a Live Feeds block on your index page at all; did you add the module?

Yes, I uploaded it from Download / Upload Module and it shows in the AdminCP. I also tried moving it to both left and right columns to see if it would show there, but it didn't.
Here is a screenshot:

MPDev 09-15-2006 12:31 PM

Well, I see all the code in place; except for the HTML from the template from the module. I'm afriad I don't know enough about vBadvanced to tell you why it isn't appearing if it is enabled; except to make sure the template is there.

StevanMD 09-15-2006 12:33 PM

Quote:

Originally Posted by MPDev
Well, I see all the code in place; except for the HTML from the template from the module. I'm afriad I don't know enough about vBadvanced to tell you why it isn't appearing if it is enabled; except to make sure the template is there.

I've found where I've gone wrong.
When installing the module, I didn't check the Update All Pages box. I've reinstalled the module checking that box and it's all fine now, and the module is the best one I've seen as of yet. Really.

Thanks

MPDev 09-15-2006 12:42 PM

Cool, be sure to click INSTALL. ;)

StevanMD 09-15-2006 12:44 PM

Quote:

Originally Posted by MPDev
Cool, be sure to click INSTALL. ;)

I just did and I also nominated it for the Mod of the month. :)

Capt. GannA 09-15-2006 02:33 PM

Quote:

Originally Posted by StevanMD
I've found where I've gone wrong.
When installing the module, I didn't check the Update All Pages box. I've reinstalled the module checking that box and it's all fine now, and the module is the best one I've seen as of yet. Really.

Thanks

lol, same was the case with me it seems. Thanks.

ZGeek 09-16-2006 11:18 PM

Quote:

Originally Posted by glorify
Any way to limit the characters?

I'd like to know this too. I've modified my module to run on my site but I'd like to limit the characters outputted by this bit. Anyone help?
PHP Code:

    if(title.length == 0) {
        
clip 'Unknown';
    } else {
        
clip '<a href="' post_url '" title="' preview +'" class="style1">' title '</a>';
    } 


stud 09-19-2006 12:44 PM

Are there any plans to update this code or to provide modification options? I have two questions regarding it.

a. how do you remove or modify the fade options? I'd like to reduce how faded the topics become.

b. how do you limit the number of stories scrolled? I changed the number that is displayed by modifying the Spymax number - however it still scrolls 10 or so stories first, making the loading time quite slow.

c. the ability to minimize it using the #top feature that many other modules use.

MPDev 09-20-2006 11:39 AM

a. You can change the fade options in the vBIspy module (va_spy.js)

/* Effect delay of fade-in */
var fadetime = .25;

b. In the vBIspy thread you'll find several references on changing the block size; but not only do you have to change the spymax number, you also need to add or remove rows from the table to reflect that number.

c. A minimize could be added easily, yes.

Spikeman 09-21-2006 02:51 AM

Excellent mod :) needed to change template slightly for complete intergration with style,(30 second job) but now it is perfect. Clicked install, thanks MPDev

Spikeman 09-22-2006 05:40 PM

I have installed mod and it works perfectly, however, I have my whole site wrapped in vBa which now becomes a problem.
I have 2 pages within vBa, the first shows my front page(index) with most of the modules including vbispy module, this page works fine.
The second page wraps all the forum pages inluding a links directory which works fine with the vbispy module installed, however i do not want vbispy on every page in my site just the front page.
So, I disable vbispy on second page (turn off module) which works, however I get the dreaded yellow triangle showing javascript error!! I know the error is the vBispy script in the header of vba portal calling for the object.

Any ideas on a fix, site works in firefox and shows no error ie gives me the yellow triangle but the site works, I have for the moment uninstalled the vBa side of vbispy as i will not have javascript erros in my site, call it my OCD :)

Any suggestions welcomed, but i do want to use vbispy within vBa.

oh and please do not say go to vBa site as i have spent enough wasted time waiting for replies there!

MPDev 09-23-2006 04:14 PM

I don't know enough about vBa to tell you what to do; but can you put a condition tag around the include for the va_*.js files in the vbadvanced header so that those are only included on a specific page (like 'index')?

Spikeman 09-24-2006 04:53 AM

Quote:

Originally Posted by MPDev
I don't know enough about vBa to tell you what to do; but can you put a condition tag around the include for the va_*.js files in the vbadvanced header so that those are only included on a specific page (like 'index')?

I did not think about that :ermm: I will give that a try and get back to you, thanks.

MPDev 09-26-2006 02:00 AM

Correction below.

MPDev 09-26-2006 11:20 AM

For the new release, the template adv_portal_vbispy should be replaced with:

Code:

<if condition="is_browser('opera')">

<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td colspan="4" class="tcat smallfont" align="left"  style="height:25px;"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="190" nowrap="nowrap" style="height:20px;">By</td>
<td class="tcat" width="80%" style="height:20px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:20px;">Forum
</tr>
<tr><td colspan="4" class="alt1">
<div id="row1" style="display:none;"></div>
<div id="row2" style="display:none;"></div>
<div id="row3" style="display:none;"></div>
<div id="row4" style="display:none;"></div>
<div id="row5" style="display:none;"></div>
<div id="row6" style="display:none;"></div>
<div id="row7" style="display:none;"></div>
<div id="row8" style="display:none;"></div>
<div id="row9" style="display:none;"></div>
<div id="row10" style="display:none;"></div>
</td></tr>
</table>

<else />

<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr><td colspan="4" class="tcat smallfont" align="left" colspan="4"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr align="center"><td class="thead" width="20">&nbsp;</td><td class="thead" width="190">By</td><td class="thead">Thread/Post</td><td class="thead" width="190">Forum</td></tr>
</thead>
<tbody class="alt1">
<tr id="row1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>

</if>

<input type="checkbox" id="subscribe" value="1" /> &nbsp; subscribed theads only


Trana 09-26-2006 08:36 PM

This doesn't seem to be working for me. I made the file edit and added the template changes. Also I replaced the template with the post above, still nothing. My vbispy self contained page loads fine.

G_Man 09-26-2006 11:02 PM

Quote:

Originally Posted by Trana
This doesn't seem to be working for me. I made the file edit and added the template changes. Also I replaced the template with the post above, still nothing. My vbispy self contained page loads fine.


ditto.

MPDev 09-27-2006 11:10 AM

Make sure your vburl variable in va_spy.js is filled in properly:

For example:

var vburl = '/theforum/';

not:

var vburl = 'theforum';

G_Man 09-27-2006 11:31 AM

Quote:

Originally Posted by MPDev
Make sure your vburl variable in va_spy.js is filled in properly:

For example:

var vburl = '/theforum/';

not:

var vburl = 'theforum';

Yeah... goofed this last time, but changed it and no difference.

maroceve 09-27-2006 11:38 AM

same problem as Gman

Still points to forum/...instead of forums/...

MPDev 09-27-2006 01:06 PM

In your portal header, under:

Code:

spymax = 15;
add:

Code:

highestid = 0;
Otherwise everything else looks fine.

MPDev 09-27-2006 01:07 PM

Quote:

Originally Posted by maroceve
same problem as Gman

Still points to forum/...instead of forums/...

Not sure what you mean 'still points for forum/'?

G_Man 09-27-2006 08:11 PM

Still confused... not working and I LOVE THIS, but its broke... :( :(

*waits for MPDev to work some more magic* ;)

MPDev 09-27-2006 11:35 PM

I'll check first thing in the morning.

arrow21987 09-28-2006 04:22 AM

for some reason the module is active, but it doesnt display threads or posts.

check it out here:
http://www.halo-havoc.com

ive made sure i added all the html properly, the vaispy.php works

http://www.halo-havoc.com/vb/vaispy.php

Im lost, i went over everything i would have thought it would be... any ideas?

MPDev 09-28-2006 11:27 AM

G_Man, change your spymax variable to 10.

Arrow, you need to change your template as instructed in this post and change your spymax variable to 10.

I should be able to change the upload to new code today.

MPDev 09-28-2006 11:35 AM

Okay, I've updated the module. Basically, if you already have it installed; you need to modify your adv_portal_vbispy templates according this this thread.

Then you need to edit your adv_portal template and change this:

Code:

spymax = 15;
to this:

Code:

spymax = 10;
highestid = 0;


G_Man 09-28-2006 11:58 AM

Quote:

Originally Posted by MPDev
Okay, I've updated the module. Basically, if you already have it installed; you need to modify your adv_portal_vbispy templates according this this thread.

Then you need to edit your adv_portal template and change this:

Code:

spymax = 15;
to this:

Code:

spymax = 10;
highestid = 0;


Score. that did it. Cheers.

MPDev 09-28-2006 12:46 PM

G_Man, if you don't like that statusicon in either of your spy apps, you can remove this from the clip line:

Code:

<img src="' + statusicon + '" alt="" />
from your va_spy.js file - it will remove it from both vaispy.php and the module; but you have larger post icons and may or may not want them displayed.

G_Man 09-28-2006 01:30 PM

Quote:

Originally Posted by MPDev
G_Man, if you don't like that statusicon in either of your spy apps, you can remove this from the clip line:

Code:

<img src="' + statusicon + '" alt="" />
from your va_spy.js file - it will remove it from both vaispy.php and the module; but you have larger post icons and may or may not want them displayed.

I think I'll do that. I can see how it would look good on some, but you are right. Mine are pretty obnoxiously huge! LOL I think they look good on the actual forum, though. :)

Thanks again for all the work on this Mod. One of those Mods that really shine.

Guest0321 09-28-2006 03:42 PM

No worky for me since the upgrades, I'll have to disable it. My forums are at the root level, my vbadvanced is in a forum under root. That must screw something up. No script errors either, just a blank module page.

In addition, I got "invalid module" when I tried to upload the module to vbadvanced, and if your forums are in /forum/, you'll have to edit a coupla href's in the vbispy template to reference where your vaispy.php file is

MPDev 09-28-2006 04:06 PM

Did you set your forum variable in va_spy.js as per the instructions?

If you did, you wouldn't need to edit anything.

pascalvisit 09-29-2006 11:46 AM

Quote:

Originally Posted by MPDev
Did you set your forum variable in va_spy.js as per the instructions?

If you did, you wouldn't need to edit anything.

You still have to replace in the adv_portal_vbispy :

Code:

<a href="/forum/vaispy.php">Live Forum Updates</a>
by

Code:

<a href="/forums/vaispy.php">Live Forum Updates</a>
with "/forums/" your forum root folder

Guest0321 09-29-2006 04:01 PM

Quote:

Did you set your forum variable in va_spy.js as per the instructions?
Yes, I tried "" and "/", and the full URL with http:// (just for giggles) because my forums are in the root directory of my site, none worked. It was working before the last release, now it isn't. No biggie, I just disabled it.

darkblade25 09-29-2006 09:01 PM

How do u add the module?

Ok nvm I figured it out. The instruction were not very helpful.
But I have a problem now. My site look screwed up now. http://www.rzgamers.com

alkatraz 09-30-2006 12:52 AM

fresh install of this,

vbIspy.php is working

can't install the module through "upload / download vba module"

double checked the upload settings, but getting this error, "invalid module"

Hades-1 09-30-2006 03:10 AM

Quote:

Originally Posted by alkatraz
fresh install of this,

vbIspy.php is working

can't install the module through "upload / download vba module"

double checked the upload settings, but getting this error, "invalid module"

same here no matter what i do, i import most moduales just fine

murrtex 09-30-2006 07:22 AM

"The file you have uploaded is not a valid module file."

I get this error.When I try to upload the module :(
what will we do?

I will try to put manuel.......

question? 10-01-2006 05:45 PM

I get that too :S

Trana 10-01-2006 08:45 PM

Quote:

Originally Posted by murrtex
"The file you have uploaded is not a valid module file."

You guys need to chmod 777 your modules directory, that will resolve this problem.


All times are GMT. The time now is 01:58 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.01737 seconds
  • Memory Usage 1,849KB
  • 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
  • (11)bbcode_code_printable
  • (1)bbcode_php_printable
  • (15)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
  • (40)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