フルバージョンを見る: ISpyはプラグインページにはCSSか、または画像
こんにちはミシェル、万一あなたが見て、このための簡単 な修正があるかどうか見ることができる。
コンピュータジュース - サイトのスパイ(http://www.computer-juice.com/forums/pt/vaispy.php)
スクリプトが正常にcssファイルを取得していないと画像の間違った場所で探しているようです...
私は見ての通りこのページはまったく変換しません。おそらくほとんどglobal_completeフックはそこに使用されていません。あなたはglobal_completeフックを使用していない改造のために統合を試すことができます。
説明についてはこちらを参照:
本当にglobal_completeがそこで使用されていないではありません最初のチェックをしてください。
私は正直にその指示に従う方法がわからない、それはシンプルなMODです、ただ一つのPHPファイルが、ない製品またはテンプレートを、私が思うにAJAXを実行します。ここにファイルの内容です。
<?PHP
//################################################ ################################//
/ / MODのNAME:VBISpy#/ /
//################################################ ################################//
/ /説明:vBulletinのためのこの変更は、"ライブ"スクロール#/ /を追加します
フォーラムに新しい投稿の/ /更新#/ /
//################################################ ################################//
/ / BY:MPDev#/ /
/ / DATE:9.26.06#/ /
/ / VERSION:1.0.12#/ /
//################################################ ################################//
/ / ####################### SET PHP環境###################### #####
(E_ALL&〜E_NOTICE)error_reportingを。
/ / ####################重要定 数を定義#######################
('THIS_SCRIPT'、'vaispyする');
/ / ################### PRE - CACHEテンプレートとデータ######################
/ /特別な語句のグループを取得
$ phrasegroups =配列();
/ /データストアから特殊なデータテンプレートを取得
$は=配列を()specialtemplates;
すべてのアクションで使用される/ /プリキャッシュのテンプレート
$は=配列を()globaltemplates;
特定のアクションで使用される/ /プリキャッシュのテンプレート
$は=配列を()actiontemplates;
/ / ######################### BACK - ENDの###################が必要となる場合#########
するrequire_once('/ global.php。');
/ / ######################### CONFIG VARS ##################### #######
/ /の ためにテーブルをスキャンする日数.. (86400は24時間の秒数を表す)
$ daysprune = 1;
/ /(試験区分、など)が権限を持っていても、これらのフォーラムを一覧表示しません
$ blockforums ="";
/ / ######################### CONFIG VARS ##################### #######
$ forumperms =配列();
$ lastpostid =(int)が$ _REQUEST ['最後の'];
$サブスク=(int)が$ _REQUEST ['購読'];
foreachの($フォーラムAS $ vbulletin -> forumcache){
$ forumid = $フォーラム['forumid'];
$ forumperms =&$ vbulletin ->はuserinfo ['forumpermissions ']["$ forumid"];
するif(!どうかの判断($ vbulletin -> forumcache ["$ forumid"])OR!($ forumperms&$ vbulletin -> bf_ugp_forumpermissions ['canview'])OR!($ forumperms&$ vbulletin -> bf_ugp_forumpermissions ['canviewothers'] )OR!verify_forum_password($ forumid、$ vbulletin -> forumcache ["$ forumid"] ['password']を、偽))
{
$ blockforums .= ','.$フォーラム['forumid'];
}
}
するunset($フォーラム);
$ datecut ="AND thread.lastpost> ="。 (TIMENOW - ($ daysprune * 86400));
$プリフェッチ= NULL;
############################################################################
/ /私はで投稿したスレッドの取得
require_onceをは(。DIR'/ / functions_forumdisplay.php含まれています');
$結果= $ DB -> query_read("
threadidはセレクト
スレッドとして"。TABLE_PREFIX。"スレッドから
WHEREと(0 $ blockforums)NOT INをthread.forumid
thread.visible = 1と
thread.open <> 10と
thread.lastpostid> $ lastpostid
$ datecut
");
$ idsArray =配列();
一方、(します$ id = $ DB -> fetch_array($結果))
{
$ idsArray [] = $ idを['threadidは'];
}
$ dotthreads = fetch_dot_threads_array(崩壊する(',', $ idsArray));
############################################################################
/ /は、スレッドの取得
あなたがページの下部にある[HTMLを変更する方法を知っている限り、/ /(およびライン291で)20以上に設定しないでください
$ limitq =(どうかの判断($ _REQUEST ['行う'])"20":?"5,20");
場合($購読== 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、
プレビューAS post.pagetext、
lastpuserid AS post.userid
subscribethread AS"。TABLE_PREFIX。"FROM subscribethread
"JOIN。TABLE_PREFIXが。"スレッドがスレッドとしてログオン(subscribethread.threadid = thread.threadid)INNER
LEFT JOIN"。TABLE_PREFIXを。"deletionlogをONにdeletionlogのAS(thread.threadid = deletionlog.primaryid AND型='スレッド')
LEFT JOIN"。TABLE_PREFIX。"ON後(post.postid = thread.lastpostid)などのポストは、
WHERE subscribethread.userid ="。$ vbulletin ->はuserinfo ['ユーザーID']。"
AND NOT INをthread.forumid(0 $ blockforums)
AND thread.visible = 1
AND subscribethread.canview = 1
とthread.lastpostid> $ lastpostid
とdeletionlog.primaryidは、IS NULLを
$ datecut
thread.lastpost DESC LIMIT、ORDER BY $ limitq
");
}
他
{
$ 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、
プレビューAS post.pagetext、
lastpuserid AS post.userid
スレッドAS FROM"。TABLE_PREFIX。"スレッド
LEFT JOIN"。TABLE_PREFIXを。"deletionlogをONにdeletionlogのAS(thread.threadid = deletionlog.primaryid AND型='スレッド')
LEFT JOIN"。TABLE_PREFIX。"ON後(post.postid = thread.lastpostid)などのポストは、
WHERE <> 10オープン
$ datecut
AND NOT INをthread.forumid(0 $ blockforums)
AND thread.visible = '1'
とthread.lastpostid> $ lastpostid
AND post.visible = 1
とdeletionlog.primaryidは、IS NULLを
thread.lastpost DESC LIMIT、ORDER BY $ limitq
");
}
$行= $ highestid = 1;
$ rowcolor ="alt2";
一方、($スレッド= $ DB -> fetch_array($ getthreads)){
$色= $色=='ALT1'? "alt2':'ALT1';
$スレッド[は'title'] = htmlspecialchars_uni(fetch_censored_text(fetch_trimmed_title(unhtmlspecialchars($スレッド['タイトル'])、85)));
$スレッド['日付'] = vbdate($ vbulletin - >オプション['DATEFORMAT']、$スレッド['lastpost']、1);
$スレッド['時間'] = vbdate($ vbulletin - >オプション['TIMEFORMAT']、$スレッド['lastpost']);
/ / HTMLとBBCodeと最初の取り払いなさい
$スレッド['プレビュー'] =に対してstrip_tags(strip_bbcode($スレッド['プレビュー']、真、真));
$スレッド['プレビュー'] = htmlspecialchars_uni(fetch_trimmed_title($スレッド['プレビュー']、200));
$スレッド['プレビュー'] = fetch_censored_text(fetch_word_wrapped_string($スレッド['プレビュー']、20));
$スレッド['replycount'] = vb_number_format($スレッド['replycount']);
$スレッド['ビュー'] = vb_number_format($スレッド['ビュー']);
$ tforumid = $スレッド['forumid'];
$スレッド['フォーラム'] = htmlspecialchars_uni($ vbulletin -> forumcache ["$ tforumid"] ['タイトル']);
するif($スレッド['lastpostid'] == $スレッド['firstpostid'])
{
$ ETYPE ="新しいスレッド";
}
他
{
$ ETYPE ="新規ポスト";
}
/ / Statusicon
/ /表示ドットのフォルダ?
するif($ vbulletin ->はuserinfo ['ユーザーID']と$ vbulletin - >オプション['showdots']と$ dotthreads ["$スレッド[threadidは]"])
{
$スレッド['statusicon'] .='_dot';
$スレッド['dot_count'] = $ dotthreads ["$スレッド[カウント]"][' threadidは'];
$スレッド['dot_lastpost'] = $ dotthreads ["$スレッド[threadidは]"][' lastpost'];
}
/ /ホットフォルダを表示する?
するif($ vbulletin - >オプション['usehotthreads'] AND(($スレッド['replycount']> = $ vbulletin - >オプション['hotnumberposts']と$ vbulletin - >オプション['hotnumberposts']> 0)OR( $スレッド['ビュー']> = $ vbulletin - >オプション['hotnumberviews']と$ vbulletin - >オプション['hotnumberviews']> 0)))
{
$スレッド['statusicon'] .='_hot';
}
/ /は、ロックされたフォルダを表示する?
するif(!$スレッド['オープン'])
{
$スレッド['statusicon'] .='_lock';
}
$スレッド['statusicon'] ="blank.gif";
($ _REQUESTには、=="XML"['か']を)場合
{
ここで第二部は、vbetフォーラムは、大規模な投稿を停止します。
$出力.= <<<VAPRINT
<event>に
<ID> {$スレッド['lastpostid ']}</ ID>
引数<what> $ ETYPE </何>
引数<when > {$スレッド['日付']} {$スレッド['時間の']}</時>
<TITLE> {$スレッド['タイトル']}</のタイトル>
<preview> {$スレッド['プレビュー']}</のプレビュー>
<poster> {$スレッド['lastposter ']}</ポスター>
<threadid> {$スレッド['threadidは']}</ threadidは>
<postid> {$スレッド['lastpostid ']}</ postid>
<lastpost> {$スレッド['lastpost ']}</ lastpost>
<userid>は{$スレッド['lastpuserid ']}</のユーザID>
<forumid> {$スレッド['forumid ']}</ forumid>
<forumname> {$スレッド['フォーラム']}</ forumname>
<Views>に{$スレッド['ビュー']}</景色>
<replies> {$スレッド['replycountの']}</応答>
<statusicon> {$スレッド['statusicon ']}</ statusicon>
</イベント>
VAPRINT;
}
他
{
$ rowcolor =($ rowcolor =="ALT1""alt2":?"ALT1");
$ここで、= $クリップ= $ poster_clip = $ポスター= NULL;
場合(あらわれる箇所より($ ETYPE、"スレッド"))
{
$ post_url ="showthread.php?T = {$スレッド['threadidは']}";
}
他
{
$ post_url ="showthread.php?P = {$スレッド['lastpostid']}#POST {$スレッド['lastpostid ']}";
}
するif(!$スレッド['タイトル'])
{
$クリップ="ある[<strong>不明</ strong>の";
}
他
{
$クリップ="ある[<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <Aターゲット= \\"_blank \\"HREF = \\"{$ post_url} \\ "> {$スレッド['タイトル']}</ A> </ strong>の";
}
するif($スレッド['プレビュー'])
{
$クリップ.="<br /> {$スレッド['プレビュー']}";
}
$クリップ.="({$スレッド['ビュー']}ビュー、{$スレッド['replycount']}回答)";
するif($スレッド['lastpuserid'])
{
$ poster_clip ="<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$スレッド['lastposter ']}</ a>"に;
}
$ poster_clip .="<br /> {$スレッド['日付']} {$スレッド['時間']}";
するif($スレッド['フォーラム'])
{
$ここで、.="ある[<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$スレッド['フォーラムの']}</ > </ strong>の";
}
他
{
$ここで、="";
}
場合(is_browser('オペラ'))
{
$プリフェッチ.= <<<VAPRINT
<div id="row{$row}"> <table cellpadding="3" cellspacing="0"邵width="100%"> <TR> <TDの幅="20"クラス="$ rowcolor smallfont"NOWRAP ="NOWRAPセンター""=を揃える"> $ ETYPE </ TD> <td class="$rowcolor smallfont" width="225" nowrap="nowrap" ALIGN="LEFT"> $ poster_clip </ TD > <td class="$rowcolor smallfont" width="80%"> $クリップ</ TD> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $ここで、 </ TD> </ TR> </ TABLE> </ DIV> \\ nの
VAPRINT;
}
他
{
$プリフェッチ.= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ ETYPE </ DIV> </ TD> <TDクラス=" $ rowcolor smallfont"> <div class="smallfont"> $ poster_clip </ DIV> </ TD> <td class="$rowcolor smallfont"> <div class="smallfont"> $クリップ</ DIV> </ TD > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ここで、</ DIV> </ TD> </ TR> \\ nの
VAPRINT;
}
$行+ +;
するif($スレッド['lastpostid']> $ highestid)
{
$ highestid = $スレッド['lastpostid'];
}
}
}
するif($行<20)
{
用($ X = $行、$ X <21、$ xは+ +)
{
場合(is_browser('オペラ'))
{
$プリフェッチ.= <<<VAPRINT
<div id="row{$x}"> </ DIV> \\ nの
VAPRINT;
}
他
{
$プリフェッチ.= <<<VAPRINT
<tr id="row{$x}"> <td class="$rowcolor smallfont" align="center"> </ TD> <td class="$rowcolor smallfont"> </ TD> < TDクラス="$ rowcolor smallfont"> </ TD> <td class="$rowcolor smallfont" align="center"> </ TD> </ TR> \\ nの
VAPRINT;
}
}
}
/ /メモリ節約
するunset($スレッド);
$ DB -> free_result($ getthreads);
($ _REQUESTには、=="XML"['か']を)場合
{
ヘッダ("Content - Typeの:text / xml'に。!?($ stylevar ['文字セット'] = ''';文字セット='$ stylevar ['文字セット']:''));
エコー'<?xmlのバージョン="1.0"エンコード="'。$ stylevar ['文字セット']。'"?>'。は"\\ r \\ n";
するif($出力)
{
エコー"<events> $出力</イベント>";
}
他
{
エコー"<events />";
}
出口;
}
$ navbits =配列();
$ navbits [$親] ='サイトのスパイ';
$ navbits = construct_navbits($ navbits);
でeval('$ナビバー="'。fetch_template("ナビゲーションバー")。'";');
$ナビバー= process_replacement_vars($ナビバー);
でeval('$ headinclude ="'。fetch_template('headinclude')。'";');
$ headinclude = process_replacement_vars($ headinclude);
でeval('$フッター="'。fetch_template("フッタ")。'";');
$フッター= process_replacement_vars(フッタ$);
エコー<<<VAPRINT
$ stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<HEAD>
$ headinclude
<style type="text/css">
。spyfade1のdiv、。spyfade1スパン、、。spyfade1 TD、。spyfade1 IMG {
不透明度:0.90;
フィルタ:アルファ(不透明度= 90);
の- moz -混濁:0.90;
}
。spyfade2のdiv、。spyfade2スパン、。spyfade2 TD、。spyfade2 IMG {
不透明度:0.80;
フィルタ:アルファ(不透明度= 80);
の- moz -混濁:0.80;
}
。spyfade3 DIV、。spyfade3スパン、。spyfade3 TD、。spyfade3 IMG {
不透明度:0.70;
フィルタ:アルファ(不透明度= 70);
の- moz -混濁:0.70;
}
。spyfade4 DIV、。spyfade4スパン、。spyfade4 TD、。spyfade4 IMG {
不透明度:0.50;
フィルタ:アルファ(不透明度= 50);
の- moz -混濁:0.50;
}
。spyfade5 DIV、。spyfade5スパン、。spyfade5 TD、。spyfade5 IMG {
不透明度:0.30;
フィルタ:アルファ(不透明度= 30);
の- moz -混濁:0.30;
}
</スタイル>
<script language="javascript" src="clientscript/va_prototype.js"> </ SCRIPT>
<script language="javascript" src="clientscript/va_effects.js"> </ SCRIPT>
<script language="javascript" src="clientscript/va_spy.js"> </ SCRIPT>
<script language="javascript"のtype="text/javascript">
</ SCRIPT>
<TITLE>コンピュータジュース - サイトのスパイ</タイトル>
</ HEAD>
<body onload="spyinit();">
$ヘッダ
$ナビゲーションバー
<table width="90%" align="center"> <TR> <td width="50%" ALIGN="LEFT"> <input type="checkbox" id="subscribe" value="1"> ;サブスクライブされたスレッドだけ</ TD>
<td width="50%" align="right">
id="vaplay" src="images/misc/play_down.gif" style="c ursor:pointer;" alt="Play" title="Play Comments" onclick="playSpy();"を<img />
<img id="vapause" src="images/misc/pause_up.gif" style="c ursor:pointer;" alt="Pause" title="Pause Comments" onclick="pauseSpy();" />
</ TD> </ TR> </ TABLE>
<br />
VAPRINT;
場合(is_browser('オペラ'))
{
$出力.= <<<VAPRINT
<table class="tborder" cellpadding="0" cellspacing="0"邵width="100%" align="center" id="spy_table">
<TR> <td width="20" class="tcat" nowrap="nowrap" style="height:25px;"> </ TD>
<td class="tcat" width="225" nowrap="nowrap" style="height:25px;">メンバー</ TD>
<td class="tcat" width="80%" style="height:25px;">スレッド/ポスト</ TD>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;">フォーラム
</ TR>
<TR> <td colspan="4" class="alt1">
プリフェッチ$
<div id="row21" style="display:none;" class="spyfade1"> </ DIV>
<div id="row22" style="display:none;" class="spyfade2"> </ DIV>
<div id="row23" style="display:none;" class="spyfade3"> </ DIV>
<div id="row24" style="display:none;" class="spyfade4"> </ DIV>
<div id="row25" style="display:none;" class="spyfade5"> </ DIV>
</ TD> </ TR>
</ TABLE>
VAPRINT;
}
他
{
$出力.= <<<VAPRINT
<table class="tborder" cellpadding="6" cellspacing="1"邵width="100%" align="center" id="spy_table">
<THEAD>
<tr align="center"> <td class="thead" width="100">イベント</ TD> <td class="thead" width="100">メンバー</ TD> <TDクラス="thead要素">スレッド/ポスト</ TD> <td class="thead" width="190">フォーラム</ TD> </ TR>
</ THEAD>
<tbody class="alt1">
プリフェッチ$
<tr id="row21" style="display: none;" class="spyfade1"> <td align="center"> </ TD> <TD> </ TD> <TD> < / TD> <td align="center"> </ TD> </ TR>
<tr id="row22" style="display: none;" class="spyfade2"> <td align="center"> </ TD> <TD> </ TD> <TD> < / TD> <td align="center"> </ TD> </ TR>
<tr id="row23" style="display: none;" class="spyfade3"> <td align="center"> </ TD> <TD> </ TD> <TD> < / TD> <td align="center"> </ TD> </ TR>
<tr id="row24" style="display: none;" class="spyfade4"> <td align="center"> </ TD> <TD> </ TD> <TD> < / TD> <td align="center"> </ TD> </ TR>
<tr id="row25" style="display: none;" class="spyfade5"> <td align="center"> </ TD> <TD> </ TD> <TD> < / TD> <td align="center"> </ TD> </ TR>
</ TBODY>
</ TABLE>
VAPRINT;
}
$出力.= <<<VAPRINT
フッター$
VAPRINT;
$出力をエコー;
?>
出力は単純に印刷されますので、通常の方法でそれを変換する可能性はない - と、これは問題です。
しかし - 私はあなたを指して1 - 我々はこのためのソリューションを持っている。それはこのようなケースを処理します。正確にあなたが悩みを持っているステップとを教えてください。我々は、よりわかりやすくするためにそれを変更してもあなたに休耕指示を助けたりします。)
PS。
このMODのライセンスは、そのコードを公開できることを確認していますか?されていない場合は、それを削除してください。
私ははっきりさせ、私はあなたがこの仕事をしたい、私は支払うことができます。
私ははっきりさせ、私はあなたがこの仕事をしたい、私は支払うことができます。
もちろん、我々はインストールのようにも有料サービスを提供し、アップグレードしてください。我々は、統合サービスを考えていませんでしたが、アップグレードサービス(http://www.vbenterprisetranslator.com/upgrade-service.phpを)買うことができると我々はあなたのためにそれを行います。
( - ; FTPは決定的にyesと実際の設定が大丈夫かそうでないかもしれない場合に管理CP)我々はこの統合を行うにできるようにあなたのFTPとAdmin CPにアクセスする必要があることに注意してください。
Automatic Translations (Powered by Google, Microsoft®,
Yandex, SDL Language Cloud, IBM Watson and Apertium):
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.