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)

Chadi 03-19-2007 01:45 AM

Quote:

Originally Posted by chadi (Post 1204663)
I have not modified anything with this hack. I just re-uploaded all files, same error on top

Parse error: syntax error, unexpected T_STRING in /home/user/public_html/vaispy.php(337) : eval()'d code on line 1


Could someone please help me on this? Thanks

tanyeri24 03-19-2007 01:54 AM

In my modified standart style this addon doesnt work. But in unmodified styles its work.
In one of my templates I have did a crap mistake its hard to find it out.. :(

edit: ok i found the template which causes.. Navbar. But i have much individual html codes there, who makes problem dunno...

michaelsilvia 03-20-2007 11:35 PM

Is there away to take in more than one forum like vBIspy Network? I 6+ forums and would like to feed two of them together.

Mike

voter 03-28-2007 11:13 AM

Nice mod.
But please, use $vbphrase[] Variables to make it by default compatible to non Englisch Forums.

The standart phrases comming with any vbulleing could be simply used to change HardWriten Names of Tables like "Event" "Forum" ....

Here the ones I used
Quote:

<td class="thead">$vbphrase[event]</td>
<td class="thead">$vbphrase[posted_by]</td>
<td class="thead">$vbphrase[thread]/$vbphrase[post]</td>
<td class="thead">$vbphrase[forum]</td>

Invalid ID 03-28-2007 03:15 PM

How can I add it's link on Navbar?

Chadi 04-02-2007 11:43 PM

Quote:

Originally Posted by chadi (Post 1199841)
I am suddenly getting this after upgrading to 3.6.5

Parse error: syntax error, unexpected T_STRING in /home/user/public_html/vaispy.php(337) : eval()'d code on line 1

Any help appreciated.

funkmeister 04-03-2007 02:59 AM

Quote:

Originally Posted by Confused (Post 1202372)
When the forum section has an '&' in it - it's displaying &amp; in the Forum column.

Me too - how to fix this please? Thanks.

MPDev 04-06-2007 12:58 PM

Look for the htmlspecialchars() call in the vaispy.php script and remove it from the forums variable. This seems to be server dependent and not always a required change.

MPDev 04-06-2007 12:59 PM

Quote:

Originally Posted by chadi (Post 1218718)
Any help appreciated.

Looks like an error in one of your templates; I dont know that line offhand to tell you which template, but look at the line of the file to tell you which one.

Chadi 04-06-2007 01:06 PM

Line 337 from vaispy.php

eval('$headinclude = "' . fetch_template('headinclude') . '";');


My header include template:

Code:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$foruminfo[forumkeywords],$threadinfo[title],$vboptions[keywords]" />
        <meta name="description" content="$foruminfo[forumdescription]. <if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
    <if condition="$show['foruminfo']">
 <meta name="keywords" content="$foruminfo[forumkeywords],$threadinfo[title],$vboptions[keywords]" />
        <meta name="description" content="$foruminfo[forumdescription]. <if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
    <else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
    </if>
</if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>

<script type="text/javascript" src="clientscript/glossary_crosslinking.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
<script type="text/javascript">
document.cookie = "psistats_screenwidth = " + self.screen.width;
document.cookie = "psistats_screenheight = " + self.screen.height;
document.cookie = "psistats_screendepth = " + self.screen.colorDepth;
</script>
<if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
</if>
</if>
<script type="text/javascript" src="/highslide/highslide.js"></script>
<script type="text/javascript">

    // remove the registerOverlay call to disable the controlbar
    hs.registerOverlay(
        {
            thumbnailId: null,
            overlayId: 'controlbar2',
            position: 'bottom left',
            hideOnMouseOut: true,
            opacity: 0.75
        }
    );
   
    hs.graphicsDir = '/highslide/graphics/';
    hs.outlineType = 'rounded-white';
    window.onload = function() {
        hs.preloadImages(5);
    }
</script>
<link rel="stylesheet" href="/highslide/highslide.css" type="text/css" media="screen" />



All times are GMT. The time now is 09:56 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.01854 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)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