Hi Michel, bất kỳ cơ hội bạn có thể có một cái nhìn và xem nếu có một sửa chữa dễ dàng cho việc này;
Máy tính Juice - Site Spy
Có vẻ kịch bản là không nhận được file css đúng cách và đang tìm kiếm ở vị trí sai cho hình ảnh ...
Hi Michel, bất kỳ cơ hội bạn có thể có một cái nhìn và xem nếu có một sửa chữa dễ dàng cho việc này;
Máy tính Juice - Site Spy
Có vẻ kịch bản là không nhận được file css đúng cách và đang tìm kiếm ở vị trí sai cho hình ảnh ...
Như tôi thấy trang này không phải là dịch ở tất cả. Móc có thể nhất global_complete không được sử dụng ở đó. Bạn có thể thử tích hợp cho mods không sử dụng móc global_complete.
Xem ở đây mô tả: http://www.vbenterprisetranslator.co....html # post1795
Hãy kiểm tra đầu tiên không thực sự global_complete không được sử dụng có.
Thực sự tôi không biết làm thế nào để thực hiện theo những hướng dẫn, đó là một mod đơn giản, chạy ajax tôi nghĩ, chỉ là một tập tin php, không có sản phẩm hay các mẫu. Dưới đây là nội dung file.
<? Php
//################################################ ################################//
/ / MOD NAME: VBISpy # / /
//################################################ ################################//
/ / Mô tả: sửa đổi, bổ sung cho vBulletin thêm một di chuyển "sống" # / /
/ / Cập nhật bài viết mới cho diễn đàn / /
//################################################ ################################//
/ / BY: MPDev # / /
/ / NGÀY: 9.26.06 / /
/ / VERSION: 1.0.12 # / /
//################################################ ################################//
/ / ####################### SET PHP MÔI TRƯỜNG ###################### #####
error_reporting (E_ALL & ~ E_NOTICE);
/ / #################### Xác định hằng số QUAN TRỌNG #######################
define ('THIS_SCRIPT', 'vaispy');
/ / ################### PRE-cache MẪU VÀ DỮ LIỆU ######################
/ / Lấy các nhóm cụm từ đặc biệt
$ Phrasegroups = array ();
/ / Lấy các mẫu dữ liệu đặc biệt từ kho dữ liệu
$ Specialtemplates = array ();
/ / Pre-cache mẫu được sử dụng bởi tất cả các hành động
$ Globaltemplates = array ();
/ / Pre-cache mẫu được sử dụng bởi những hành động cụ thể
$ Actiontemplates = array ();
/ / ######################### PHẢI TRỞ LẠI-END ################### #########
require_once ('/ global.php.');
/ / ######################### CONFIG công suất phản kháng ##################### #######
/ / Số ngày để quét các bảng cho .. (86400 đại diện cho số giây trong 24 giờ)
$ Daysprune = 1;
/ / Danh sách các diễn đàn, ngay cả khi họ có quyền truy cập (loại kiểm tra, vv)
$ Blockforums = "";
/ / ######################### CONFIG công suất phản kháng ##################### #######
$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['cuối cùng'];
$ Đăng ký = (int) $ _REQUEST ['đăng ký'];
foreach ($ vbulletin-> forumcache AS $ diễn đàn) {
$ Forumid = $ forum ['forumid'];
Forumperms = & $ vbulletin-> UserInfo ['forumpermissions']["$ forumid "];
if (isset ($ vbulletin-> forumcache ["$ forumid"]) OR ($ forumperms & $ vbulletin-> bf_ugp_forumpermissions ['canview') OR ($ forumperms & $ vbulletin-> bf_ugp_forumpermissions ['canviewothers'] ) HOẶC verify_forum_password ($ forumid $ vbulletin-> forumcache ["$ forumid"] ['password'], sai)!)
{
Blockforums .=','.$ forum ['forumid'];
}
}
unset (diễn đàn);
$ Datecut = "VÀ thread.lastpost> =". (TIMENOW - ($ daysprune * 86400));
$ Prefetched = null;
############################################################################
/ / Lấy tôi đã đăng trong.
require_once (DIR. "/ / functions_forumdisplay.php ');
$ Result = $ db-> query_read ("
CHỌN threadid
TỪ chủ đề ". TABLE_PREFIX" như chủ đề
NƠI thread.forumid NOT IN (0 $ blockforums)
thread.visible = 1 và
thread.open <> 10 và
thread.lastpostid> $ lastpostid
$ Datecut
");
$ IdsArray = array ();
trong khi ($ id = $ db-> fetch_array ($ result))
{
$ IdsArray [] = $ id ['threadid'];
}
$ Dotthreads = fetch_dot_threads_array (nổ tung (',', $ idsArray));
############################################################################
/ / Lấy Chủ đề
/ / Thiết lập hơn 20, trừ khi bạn biết làm thế nào để chỉnh sửa html ở dưới cùng của trang (và tại dòng 291)
$ Limitq = (isset ($ _REQUEST ['do']) "20": "5,20");
if ($ đăng ký == 1)
{
$ Getthreads = $ db-> query_read ("
Chọn subscribethread.subscribethreadid,
thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext AS xem trước,
post.userid AS lastpuserid
TỪ "... TABLE_PREFIX." Subscribethread AS subscribethread
INNER JOIN "TABLE_PREFIX." AS chủ đề ON (subscribethread.threadid = thread.threadid trong chủ đề)
LEFT JOIN "TABLE_PREFIX." Deletionlog AS deletionlog Về (thread.threadid = deletionlog.primaryid type = 'Chủ đề')
LEFT JOIN bài AS bài ON (post.postid = thread.lastpostid) "TABLE_PREFIX."
WHERE subscribethread.userid = "$ vbulletin-> UserInfo ['userid']."
VÀ thread.forumid NOT IN (0 $ blockforums)
VÀ thread.visible = 1
VÀ subscribethread.canview = 1
VÀ thread.lastpostid> $ lastpostid
VÀ deletionlog.primaryid IS NULL
$ Datecut
TỰ DO thread.lastpost DESC LIMIT $ limitq
");
}
khác
{
$ Getthreads = $ db-> query_read ("
Chọn thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext AS xem trước,
post.userid AS lastpuserid
TỪ chủ đề ". TABLE_PREFIX" AS chủ đề
LEFT JOIN "TABLE_PREFIX." Deletionlog AS deletionlog Về (thread.threadid = deletionlog.primaryid type = 'Chủ đề')
LEFT JOIN bài AS bài ON (post.postid = thread.lastpostid) "TABLE_PREFIX."
NƠI mở <> 10
$ Datecut
VÀ thread.forumid NOT IN (0 $ blockforums)
VÀ thread.visible = '1 '
VÀ thread.lastpostid> $ lastpostid
VÀ post.visible = 1
VÀ deletionlog.primaryid IS NULL
TỰ DO thread.lastpost DESC LIMIT $ limitq
");
}
$ Row = $ highestid = 1;
$ Rowcolor = "alt2";
trong khi ($ Chủ đề = $ db-> fetch_array (getthreads $)) {
$ Màu = $ màu == 'alt1'? Alt2 ':' alt1 ';
Chủ đề ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars (Chủ đề ['title']), 85)));
Chủ đề ['date'] = vbdate ($ vbulletin-> tùy chọn ['dateformat'], $ thread ['lastpost'], 1);
Chủ đề ["thời gian"] = vbdate ($ vbulletin-> Tùy chọn ['timeformat'], $ Chủ đề ['lastpost']);
/ / Loại bỏ html và bbcode đầu tiên
Chủ đề ['bản xem trước'] = strip_tags (strip_bbcode ($ Chủ đề [] "xem trước", true, true));
$ Chủ đề ['bản xem trước'] = htmlspecialchars_uni (fetch_trimmed_title ($ Chủ đề ['xem trước'], 200));
$ Chủ đề ['bản xem trước'] = fetch_censored_text (fetch_word_wrapped_string ($ Chủ đề ['bản xem trước'], 20));
$ Chủ đề [replycount '] = vb_number_format ($ Chủ đề [' replycount ']);
$ Chủ đề ['xem'] = vb_number_format ($ Chủ đề [views]);
$ Tforumid = $ Chủ đề ['forumid'];
$ Chủ đề ['diễn đàn'] = htmlspecialchars_uni ($ vbulletin-> forumcache ["$ tforumid"] ['title']);
if ($ chủ đề lastpostid '] == $ chủ đề [' firstpostid '])
{
$ Etype = "Chủ đề mới";
}
khác
{
$ Etype = "New Post";
}
/ / Statusicon
/ / Hiển thị dot thư mục?
if ($ vbulletin-> UserInfo ['userid'] và $ vbulletin-> tùy chọn ['showdots'] và $ dotthreads ["$ Chủ đề [threadid]"])
{
$ Chủ đề ['statusicon'] .= _dot ';
Chủ đề ['dot_count'] = $ dotthreads ["$ thread [threadid ]"][' tính '];
Chủ đề ['dot_lastpost'] = $ dotthreads ["$ thread [threadid ]"][' lastpost '];
}
/ / Hiển thị thư mục nóng?
if ($ vbulletin-> Tùy chọn ['usehotthreads'] (($ Chủ đề ['replycount'] = $ vbulletin-> tùy chọn ['hotnumberposts'] và $ vbulletin-> tùy chọn ['hotnumberposts']> 0) hoặc ( Chủ đề [views]> = $ vbulletin-> tùy chọn hotnumberviews '] và $ vbulletin-> tùy chọn' hotnumberviews ']> 0)))
{
$ Chủ đề ['statusicon'] .= _hot ';
}
/ / Hiển thị thư mục bị khóa?
if ($ Chủ đề ['mở'])
{
$ Chủ đề ['statusicon'] .= _lock ';
}
$ Chủ đề [statusicon '] = "blank.gif";
if ($ _REQUEST ['do'] == "xml")
{
Đây là phần thứ hai, vbet diễn đàn dừng lại bài viết lớn.
$ Đầu ra .= <<<VAPRINT
<event>
<id> {$ Chủ đề ['lastpostid']}</ id>
<what> $ etype </>
<when> {$ Chủ đề ['date']} {$ Chủ đề ['']}</ thời gian>
<title> {$ Chủ đề ['title']}</ title>
<preview> {$ Chủ đề ['xem trước']}</ xem trước>
<poster> {$ Chủ đề ['lastposter']}</ áp phích>
<threadid> {$ Chủ đề ['threadid']}</ threadid>
<postid> {$ Chủ đề ['lastpostid']}</ postid>
<lastpost> {$ chủ đề lastpost lastpost ['']}</>
<userid> {$ Chủ đề ['userid lastpuserid']}</>
<forumid> {$ Chủ đề ['forumid']}</ forumid>
<forumname> {$ Chủ đề ['diễn đàn']}</ forumname>
<views> {$ Chủ đề ['views']}</ xem>
<replies> {$ Chủ đề ['trả lời']}</ replycount>
<statusicon> {$ Chủ đề ['statusicon']}</ statusicon>
</ Sự kiện>
VAPRINT;
}
khác
{
$ Rowcolor = ($ rowcolor == "alt1 alt2": "alt1");
$ = $ Đoạn = $ poster_clip = $ áp phích = null;
(stristr ($ etype, "chủ đề"))
{
Post_url = "showthread.php? T = {$ Chủ đề ['threadid']}";
}
khác
{
Post_url = "showthread.php p = {$ Chủ đề ['lastpostid']}? # Bài {$ Chủ đề ['lastpostid']}";
}
if ($ Chủ đề ['title'])
{
$ Đoạn = "<strong> không biết </ strong>";
}
khác
{
$ Đoạn = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ Chủ đề ['title']}</ a> </ strong>";
}
if ($ Chủ đề ['preview'])
{
Clip .= "<br /> {$ chủ đề 'xem trước']}";
}
Clip .= "({$ Chủ đề ['xem']} quan điểm, {Chủ đề ['replycount']} trả lời)";
if ($ Chủ đề ['lastpuserid'])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ Chủ đề ['lastposter']}</ a>";
}
$ Poster_clip .= "<br /> {$ Chủ đề ['date']} {$ Chủ đề ['thời gian']}";
if ($ Chủ đề ['diễn đàn'])
{
$ .= "<strong> <a Target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ thread']}</ diễn đàn [' a>> </ strong ";
}
khác
{
$ Nơi = "";
}
(is_browser (opera '))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$row}"> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tr> <td width = "20" class = "$ rowcolor smallfont "nowrap =" nowrap "align =" center "> $ etype </ td> <td class="$rowcolor smallfont" width="225" nowrap="nowrap" align="left"> $ poster_clip </ td > <td class="$rowcolor smallfont" width="80%"> $ đoạn </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $ nơi </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
khác
{
$ Prefetched .= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ etype </ div> </ td> <td class = " rowcolor smallfont "> <div class="smallfont"> $ poster_clip </ div> </ td> <td class="$rowcolor smallfont"> <div class="smallfont"> $ đoạn </ div> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ nơi </ div> </ td> </ tr> \\ n
VAPRINT;
}
$ Row + +;
nếu (chủ đề ['lastpostid "]> $ highestid)
{
$ Highestid = $ Chủ đề ['lastpostid'];
}
}
}
if ($ hàng <20)
{
for ($ x = $ hàng; $ x <21; $ x + +)
{
(is_browser (opera '))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
khác
{
$ Prefetched .= <<<VAPRINT
<tr id="row{$x}"> <td class="$rowcolor smallfont" align="center"> </ td> <td class="$rowcolor smallfont"> </ td> < td class = "$ rowcolor smallfont"> </ td> <td class="$rowcolor smallfont" align="center"> </ td> </ tr> \\ n
VAPRINT;
}
}
}
/ / Bộ nhớ tiết kiệm
unset ($ thread);
$ Db-> free_result ($ getthreads)
if ($ _REQUEST ['do'] == "xml")
{
header ('Content-Type: text / xml ($ stylevar [' charset '] ='''; charset = "$ stylevar ['charset']:."));
echo '<xml phiên bản "1.0" encoding = "?" $ stylevar. [' charset '].'"?>'. "\\ R \\ n";
if ($ sản lượng)
{
echo "<events> $ đầu ra </ sự kiện>";
}
khác
{
echo "<events />";
}
xuất cảnh;
}
$ Navbits = array ();
Navbits [cha mẹ] = 'trang web Spy';
$ Navbits = construct_navbits ($ navbits);
eval ('$ navbar = "fetch_template (' navbar ').'";');
$ Navbar = process_replacement_vars ($ navbar);
eval ('$ headinclude = "fetch_template (headinclude').'";');
$ Headinclude = process_replacement_vars ($ headinclude);
eval ('$ footer = "fetch_template (footer).'";');
$ Footer = process_replacement_vars ($ footer);
tiếng vang <<<VAPRINT
$ Stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
Spyfade1 div, spyfade1 span., Spyfade1 td, spyfade1 img. {
opacity: 0,90;
filter: alpha (opacity = 90);
-Moz-opacity: 0.90;
}
Spyfade2 div, khoảng spyfade2, spyfade2 td. Spyfade2 img {
opacity: 0,80;
filter: alpha (opacity = 80);
-Moz-opacity: 0,80;
}
Spyfade3 div, khoảng spyfade3, spyfade3 td, spyfade3 img. {
opacity: 0,70;
filter: alpha (opacity = 70);
-Moz-opacity: 0,70;
}
Spyfade4 div, khoảng spyfade4, spyfade4 td, spyfade4 img. {
opacity: 0,50;
filter: alpha (opacity = 50);
-Moz-opacity: 0,50;
}
Spyfade5 div, khoảng spyfade5, spyfade5 td, spyfade5 img. {
opacity: 0.30;
filter: alpha (opacity = 30);
-Moz-opacity: 0,30;
}
</ Style>
<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">
<! -
spymax = 25;
highestid = $ highestid;
function pauseSpy () {
var playimg = document.getElementById ("vaplay");
var pauseimg = document.getElementById ("vapause");
playimg.src = "images / misc / play_up.gif";
playimg.alt = "Click để chơi";
pauseimg.src = "images / misc / pause_down.gif";
pauseimg.alt = "Tạm dừng ...";
tạm dừng ();
}
function playSpy () {
var playimg = document.getElementById ("vaplay");
var pauseimg = document.getElementById ("vapause");
playimg.src = "images / misc / play_down.gif";
playimg.alt = "Chơi ...";
pauseimg.src = "images / misc / pause_up.gif";
pauseimg.alt = "Click to Tạm dừng";
sơ yếu lý lịch ();
}
chức năng tạm dừng () {
chơi = 0;
}
chức năng tiếp tục () {
chơi = 1;
}
/ / ->
</ Script>
<title> máy tính Juice - Spy </ title>
</ Head>
<body onload="spyinit();">
$ Tiêu đề
$ Navbar
<table width="90%" align="center"> <tr> <td width="50%" align="left"> <input type="checkbox" id="subscribe" value="1"> ; đăng ký chủ đề chỉ </ td>
<td width="50%" align="right">
<Img id = "vaplay" src = "images / misc / play_down.gif" phong cách "con trỏointer; "alt =" Play "title =" Ý kiến Chơi "onclick =" playSpy (); "/>
<Img id = "vapause" src = "images / misc / pause_up.gif" phong cách "con trỏointer; "alt =" Tạm dừng "title =" Ý kiến Pause "onclick =" pauseSpy () "/>
</ Td> </ tr> </ table>
<br />
VAPRINT;
(is_browser (opera '))
{
$ Đầu ra .= <<<VAPRINT
<table class="tborder" cellpadding="0" cellspacing="0" border="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;"> Thành viên </ td>
<td class="tcat" width="80%" style="height:25px;"> Chủ đề / Bài viết </ td>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;"> Forum
</ Tr>
<tr> <td colspan="4" class="alt1">
$ Prefetched
<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;
}
khác
{
$ Đầu ra .= <<<VAPRINT
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr align="center"> <td class="thead" width="100"> sự kiện </ td> <td class="thead" width="100"> Thành viên </ td> <td class = "thead "Chủ đề / Đăng </ td> <td class="thead" width="190"> Diễn đàn </ td> </ tr>
</ Thead>
<tbody class="alt1">
$ Prefetched
<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;
}
$ Đầu ra .= <<<VAPRINT
$ Footer
VAPRINT;
echo $ đầu ra;
>
Và đây là vấn đề đầu ra chỉ đơn giản là in, vì vậy không có khả năng dịch nó theo cách bình thường.
NHƯNG - chúng tôi có giải pháp cho điều này - mà tôi chỉ bạn. Nó sẽ xử lý các trường hợp như thế này. Xin vui lòng cho chúng tôi biết chính xác với bước mà bạn gặp khó khăn. Chúng tôi sẽ giúp bạn hướng dẫn để đất hoang hóa hoặc thậm chí sửa đổi nó để dễ hiểu hơn
PS.
Bạn có chắc chắn rằng giấy phép của mod này cho phép công bố mã của nó? Nếu không thì hãy loại bỏ nó.
Hãy để tôi được rõ ràng, tôi muốn bạn làm công việc này, tôi có thể trả tiền.
Tất nhiên chúng tôi cung cấp các dịch vụ thanh toán cũng như cài đặt, nâng cấp. Chúng tôi không nghĩ về dịch vụ tích hợp, nhưng bạn có thể mua nâng cấp dịch vụ và chúng tôi sẽ làm điều đó cho bạn.
Xin vui lòng lưu ý rằng chúng tôi sẽ cần truy cập FTP và Admin CP của bạn để có thể để làm điều này tích hợp (Admin CP - có thể không thiết lập thực tế là OK; FTP dứt khoát có).