Úprimne neviem, ako riadiť týmito pokynmi, je to jednoduchý mod, beží Ajax si myslím, len jeden php súbor, žiadne alebo šablóny. Tu je obsah súboru.

<? Php
//################################################ ################################//
/ / MOD Meno: VBISpy # / /
//################################################ ################################//
/ / Popis: Táto modifikácia na phpBB dodáva "live" rolovanie # / /
/ / Aktualizácia nových pracovných miest v tomto fóre # / /
//################################################ ################################//
/ / By: MPDev # / /
/ / DATE: 9.26.06 # / /
/ / Verzia: 1.0.12 # / /
//################################################ ################################//

/ / ####################### SET PHP PROSTREDIA ###################### #####
error_reporting (E_ALL & ~ E_NOTICE);

/ / DEFINE #################### Dôležité konštanty #######################
define ('THIS_SCRIPT', 'vaispy');

/ / PRE-################### CACHE šablón a DATA ######################
/ / Dostať špeciálne výraz skupiny
$ Phrasegroups = array ();

/ / Získať špeciálne dátové šablóny z dátového úložiska
$ Specialtemplates = array ();

/ / Pre-cache šablón používajú všetky akcie
$ Globaltemplates = array ();

/ / Pre-cache Šablóny použité konkrétnych akcií
$ Actiontemplates = array ();

/ / ######################### Vyžadovať, back-end ################### #########
require_once ('/ global.php.');

/ / ######################### CONFIG VARS ##################### #######
/ / Počet dní skenovanie tabuľky .. (86400 predstavuje počet sekúnd, za 24 hodín)
Daysprune $ = 1;

/ / Neuvádzajte týchto fórach, aj keď majú oprávnenie (test kategórií, atď)
Blockforums $ = "";

/ / ######################### CONFIG VARS ##################### #######

$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['posledný'];
Prihlásiť $ = (int) $ _REQUEST ['Prihlásiť sa'];

foreach ($ vBulletin-> forumcache AS $ forum) {
Forumid $ = $ forum ['forumid'];
$ $ = & Forumperms vBulletin-> userinfo ['forumpermissions']["$ forumid "];

if (! isset ($ vBulletin-> forumcache ["$ forumid"]) alebo! ($ a $ forumperms vBulletin-> bf_ugp_forumpermissions ['CANview']) alebo! ($ a $ forumperms vBulletin-> bf_ugp_forumpermissions ['canviewothers'] ) alebo! verify_forum_password ($ forumid, $ vBulletin-> forumcache ["$ forumid"] ['heslo'], false))
{
$ Blockforums .=','.$ forum ['forumid'];
}
}
unset ($ forum);

Datecut $ = "a thread.lastpost> =". (TIMENOW - ($ daysprune * 86400));
$ Najprv = null;

############################################################################
/ / Získanie vlákien som publikoval v
require_once (. DIR "/ includes / functions_forumdisplay.php ');
$ Result = $ db-> query_read ("
SELECT ThreadId
Z ". TABLE_PREFIX." Závit je závit
Kde thread.forumid NOT IN (0 Sk blockforums) a
thread.visible = 1 a
thread.open <> 10 a
thread.lastpostid> $ lastpostid
$ Datecut
");

$ IdsArray = array ();
while ($ id = $ db-> fetch_array ($ result))
{
$ IdsArray [] = $ id ['ThreadId'];
}

$ Dotthreads = fetch_dot_threads_array (implodujú (',', $ idsArray));
############################################################################
/ / Získanie vlákien

/ / Nenastavujte na viac ako 20, ak neviete, ako upraviť html v dolnej časti stránky (a na riadku 291)
$ Limitq = (isset ($ _REQUEST ['do']), "20": "5,20");

if ($ prihlásiť == 1)
{
Getthreads $ = $ db-> query_read ("
SELECT subscribethread.subscribethreadid,
thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext je náhľad,
post.userid AS lastpuserid
Z ". TABLE_PREFIX." Subscribethread AS subscribethread
INNER JOIN ". TABLE_PREFIX." Závitom závit na (subscribethread.threadid thread.threadid =)
LEFT JOIN ". TABLE_PREFIX." Deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid A type = "téma")
LEFT JOIN ". TABLE_PREFIX." Post príspevok (post.postid thread.lastpostid =)
KDE subscribethread.userid = ". $ VBulletin-> userinfo ['userid']."
A thread.forumid NOT IN (0 Sk blockforums)
A thread.visible = 1
A subscribethread.canview = 1
A thread.lastpostid> $ lastpostid
A deletionlog.primaryid IS NULL
$ Datecut
ORDER BY DESC LIMIT $ thread.lastpost limitq
");
}
iný
{
Getthreads $ = $ db-> query_read ("
SELECT thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext je náhľad,
post.userid AS lastpuserid
Z ". TABLE_PREFIX." Vlákno ako vlákno
LEFT JOIN ". TABLE_PREFIX." Deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid A type = "téma")
LEFT JOIN ". TABLE_PREFIX." Post príspevok (post.postid thread.lastpostid =)
Ak by otvorenými <> 10
$ Datecut
A thread.forumid NOT IN (0 Sk blockforums)
A thread.visible = '1 '
A thread.lastpostid> $ lastpostid
A post.visible = 1
A deletionlog.primaryid IS NULL
ORDER BY DESC LIMIT $ thread.lastpost limitq
");
}

$ Row = $ highestid = 1;
$ Rowcolor = "ALT2";

while ($ niť = $ db-> fetch_array ($ getthreads)) {
$ $ Color = farba == "ALT1? "ALT2": "ALT1";

$ Závitu ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ závit ['title']), 85)));
$ Závitu ['dátum'] = vbdate ($ vBulletin-> Možnosti ['FORMÁT_DATA'], $ závit ['lastpost'], 1);
$ Závitu ['time'] = vbdate ($ vBulletin-> Možnosti ['timeformat'], $ závit ['lastpost']);

/ / Zbavte HTML a BBCode prvý
$ Závit ["Náhľad"] = strip_tags (strip_bbcode ($ závit ["Náhľad"], pravda, true));
$ Závitu ['náhľad'] = htmlspecialchars_uni (fetch_trimmed_title ($ závit ["Náhľad"], 200));
$ Závitu ['náhľad'] = fetch_censored_text (fetch_word_wrapped_string ($ závit ["Náhľad"], 20));

$ Závitu ['replycount'] = vb_number_format ($ závit ['replycount']);
$ Závitu ['Zobrazenie'] = vb_number_format ($ závit ['Zobrazenie']);

Tforumid $ = $ závitu ['forumid'];
$ Závitu ['Forum'] = htmlspecialchars_uni ($ vBulletin-> forumcache ["$ tforumid"] ['title']);

if ($ závit ['lastpostid'] == $ závitu ['firstpostid'])
{
$ ETYPE = "Nová téma";
}
iný
{
$ ETYPE = "Nový príspevok";
}

/ / Statusicon
/ / Zobraziť zložky bod?
if ($ vBulletin-> userinfo ['userid'] a $ vBulletin-> Možnosti ['showdots'] a $ dotthreads ["$ vlákna [ThreadId]"])
{
$ Závitu ['statusicon "] .=' _dot";
$ Závitu ['dot_count'] = $ dotthreads ["$ závitu [ThreadId ]"][' počet '];
$ Závitu ['dot_lastpost'] = $ dotthreads ["$ závitu [ThreadId ]"][' lastpost '];
}

/ / Zobraziť horúcej zložky?
if ($ vBulletin-> Možnosti ['usehotthreads'] a (($ závit ['replycount']> = $ vBulletin-> Možnosti ['hotnumberposts'] a $ vBulletin-> Možnosti ['hotnumberposts']> 0) alebo ( $ závitu ['Zobrazenie']> = $ vBulletin-> Možnosti ['hotnumberviews'] a $ vBulletin-> Možnosti ['hotnumberviews']> 0)))
{
$ Závitu ['statusicon "] .=' _hot";
}

/ / Zobraziť zamknuté zložky?
if (! $ závit ['otvorený'])
{
$ Závitu ['statusicon "] .=' _Zamknout";
}

$ Závitu ['statusicon'] = "blank.gif";

if ($ _REQUEST ['do'] == "xml")
{