PDA

정식 버전보기 : 아무 CSS 또는 ispy 플러그인 페이지에 이미지



Snake
16-04-10, 17:33
안녕하세요 미셸, 가능성에 대해 쉽게 수정이있다면 당신은 모양을 가지고 볼 수;

컴퓨터 주스 - 사이트 스파이 (http://www.computer-juice.com/forums/pt/vaispy.php)

스크립트가 제대로 CSS 파일을 못하고 있으며, 이미지에 대한 엉뚱한 곳에서 찾고있다 것 같은데 ...

vBET
16-04-10, 17:52
나는보다시피이 페이지는 전혀 번역되지 않습니다. 대부분의 아마 global_complete 후크가 거기에 사용되지 않습니다. 당신은 global_complete 후크를 사용하지 않는 mods에 대한 통합을 시도해 볼 수 있습니다.

설명은 여기를 참조 :

정말 global_complete 거기에 사용하지 않습니다 먼저 확인하시기 바랍니다.

Snake
20-04-10, 14:11
솔직히 그 지시에 따라하는 방법을 몰라, 그것이 간단한 모듈이며, 하나의 PHP 파일을, 아니 제품 또는 템플릿, 내 생각은 아약스의 실행됩니다. 여기 파일의 내용입니다.


<? PHP
//################################################ ################################//
/ / MOD 작성자 : VBISpy # / /
//################################################ ################################//
/ / DESCRIPTION : vBulletin에 대한이 수정 "라이브"스크롤 # / /를 추가합니다
포럼 # / / 새로운 게시물 / / 업데이트
//################################################ ################################//
/ BY / : MPDev # / /
/ / 날짜 : 9.26.06 # / /
/ / 버전 : 1.0.12 # / /
//################################################ ################################//

/ / PHP 환경 설정 ####################### ###################### #####
(E_ALL & ~ E_NOTICE) error_reporting;

/ / #################### 중요 상수를 정의 #######################
( 'THIS_SCRIPT', 'vaispy') 정의;

/ / ################### 예약 캐시 템플릿과 데이터 ######################
/ / 특수 구문 그룹을
$ phrasegroups = 배열 ();

/ / 데이터 저장소에서 특별한 데이터 템플릿을
$는 = 배열 () specialtemplates;

모든 동작에서 사용 / / 미리 캐시 템플릿
$는 = 배열 () globaltemplates;

구체적인 행동에 의해 사용 / / 미리 캐시 템플릿
$는 = 배열 () actiontemplates;

/ / #########################는 백엔드 ###################을 필요로 #########
require_once ( '/ global.php.');

/ / ######################### CONFIG 바스 ##################### #######
/ / 일수가에 대해 테이블 을 스캔 .. (86400은 24 시간 (초) 수를 나타냅니다)
$ daysprune = 1;

그들이 권한 (테스트 범주 등)이 경우에도 / / 이러한 포럼을 나열하지
$ blockforums = "";

/ / ######################### CONFIG 바스 ##################### #######

$ forumperms = 배열 ();
$ lastpostid = (INT) $ _REQUEST [ '마지막'];
$ 구독 = (INT) $ _REQUEST [ '구독'을];

foreach ($ vbulletin -> forumcache 달러 포럼) {
$ forumid = $ 포럼 [ 'forumid'];
$ forumperms = & $ vbulletin -> userinfo [ 'forumpermissions ']["$ forumid "];

면 (! isset ($ vbulletin -> forumcache [ "$ forumid"]) 또는! ($ forumperms & $ vbulletin -> bf_ugp_forumpermissions [ 'canview']) OR! ($ forumperms & $ vbulletin -> bf_ugp_forumpermissions [ 'canviewothers'] ) 또는! verify_forum_password ($ forumid, $ vbulletin -> forumcache [ "$ forumid"] [ '비밀 번호'], FALSE))
{
$ blockforums .= ','.$ 포럼 [ 'forumid'];
}
}
해제 ($ 포럼);

$ datecut = "AND thread.lastpost> =". (TIMENOW - ($ daysprune * 86400));
$ 프리페치된 = NULL;

############################################################################
/ / 내가에 게시된 스레드를 가져오기
require_once은 (. DIR '/ / functions_forumdisplay.php을 포함');
$ 결과 = $ DB -> query_read ( "
threadid를 선택
스레드로 FROM ". TABLE_PREFIX."스레드
어디에 (0 $ blockforums)에되지 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 = (isset ($ _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) ON AS 스레드
왼쪽 JOIN ". TABLE_PREFIX합니다."deletionlog를 ON deletionlog AS (thread.threadid = deletionlog.primaryid과 유형 = '스레드')
왼쪽 JOIN ". TABLE_PREFIX."(post.postid = thread.lastpostid)에 게시 AS 게시물
WHERE subscribethread.userid = ". $ vbulletin -> userinfo [ '사용자 ID']."
AND NOT IN thread.forumid (0 $ blockforums)
및 thread.visible = 1
및 subscribethread.canview = 1
과 thread.lastpostid> $ lastpostid
그리고 deletionlog.primaryid이 Null입니다
$ datecut
thread.lastpost DESC 정렬 달러 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."스레드
왼쪽 JOIN ". TABLE_PREFIX합니다."deletionlog를 ON deletionlog AS (thread.threadid = deletionlog.primaryid과 유형 = '스레드')
왼쪽 JOIN ". TABLE_PREFIX."(post.postid = thread.lastpostid)에 게시 AS 게시물
WHERE 열기 <> 10
$ datecut
AND NOT IN thread.forumid (0 $ blockforums)
AND thread.visible = '1 '
과 thread.lastpostid> $ lastpostid
및 post.visible = 1
그리고 deletionlog.primaryid이 Null입니다
thread.lastpost DESC 정렬 달러 limitq을 제한
");
}

$ 행 = $ highestid = 1;
$ rowcolor = "alt2";

동안 ($ 스레드 = $ DB -> fetch_array ($ getthreads)) {
$ 컬러 = $ 컬러 == 'alt1'? 'alt2': 'alt1';

$ 스레드 [ '제목'] = 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"] [ "제목 ']);

면 ($ 스레드 [ 'lastpostid'] == $ 스레드 [ 'firstpostid'])
{
$ etype는 = "새 스레드";
}
다른
{
$ etype는 = "새로운 포스트";
}

/ / Statusicon
/ / 쇼 도트 폴더의 크기는 얼마나됩니까?
면 ($ vbulletin -> userinfo [ '사용자 ID']와 $ vbulletin -> 옵션 [ 'showdots']와 $ dotthreads [ "$ 스레드 [threadid]"])
{
$ 스레드 [ 'statusicon'] .= '_dot';
$ 스레드 [ 'dot_count'] = $ dotthreads [ "$ 스레드 [카운트 ]"][' threadid '];
$ 스레드 [ 'dot_lastpost'] = $ dotthreads [ "$ 스레드 [threadid ]"][' lastpost '];
}

/ / 핫 폴더를 표시되는 이유는 무엇입니까?
면 ($ vbulletin -> 옵션 [ 'usehotthreads'] AND (($ 스레드 [ 'replycount']> = $ vbulletin -> 옵션 [ 'hotnumberposts']와 $ vbulletin -> 옵션 [ 'hotnumberposts']> 0) 또는 ( $ 스레드 [ '보기']> = $ vbulletin -> 옵션 [ 'hotnumberviews']와 $ vbulletin -> 옵션 [ 'hotnumberviews']> 0)))
{
$ 스레드 [ 'statusicon'] .= '_hot';
}

/ /이 잠긴 폴더를 표시되는 이유는 무엇입니까?
면 (! $ 스레드 [ '열기'])
{
$ 스레드 [ 'statusicon'] .= '_lock';
}

$ 스레드 [ 'statusicon'] = "blank.gif";

($ _REQUEST는 == "XML"[ '할'])를하는 경우
{

Snake
20-04-10, 14:11
여기에 두 번째 부분은, 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;

경우 (stristr ($ etype, "스레드"))
{
$ post_url = "showthread.php? T = {$ 스레드 [ 'threadid ']}";
}
다른
{
$ post_url = "showthread.php? P = {$ 스레드 [ 'lastpostid']} # {$ 게시 스레드 [ 'lastpostid ']}";
}

경우 (! $ 스레드 [ '제목'])
{
$ 클립 = "<STRONG> 알 수없는 </ strong>를";
}
다른
{
$ 클립 = "<STRONG> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <대상 = \\"_blank \\ "HREF = \\"{$ post_url} \\ "> {$ 스레드 [ '제목 ']}</> </ strong>를";
}

면 ($ 스레드 [ '미리보기'])
{
$ 클립 .= "<br /> {$ 스레드 [ '미리보기 ']}";
}

$ 클립 .= "({$ 스레드 [ '보기']} 전경, {$ 스레드 [ 'replycount']} 대답)";

면 ($ 스레드 [ 'lastpuserid'])
{
$ poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ 스레드 [ 'lastposter ']}</>";
}

$ poster_clip .= "<br /> {$ 스레드를 [ '날짜']} {$ 스레드 [ '시간 ']}";

면 ($ 스레드 [ '포럼'])
{
달러 .= "<STRONG> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ 스레드 [ '포럼 ']}</ > </ strong>를 ";
}
다른
{
달러 = "";
}

경우 (is_browser ( '오페라'))
{
$ 프리페치된 .= <<<VAPRINT
<div id="row{$row}"> 표 cellpadding="3" cellspacing="0" border="0" width="100%"> <tr> <TD 폭 = "20"클래스 = "$ rowcolor smallfont "줄 넘김은 ="줄 넘김 센터 "> $ 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> </ 사업부> \\ N
VAPRINT;
}
다른
{
$ 프리페치된 .= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ etype </ 사업부> </ TD> <TD 클래스 = " $ rowcolor smallfont "> <div class="smallfont"> $ poster_clip </ 사업부> </ TD> <td class="$rowcolor smallfont"> <div class="smallfont"> $ 클립 </ 사업부> </ TD > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> 달러 </ 사업부> </ TD> </ TR> \\ N
VAPRINT;
}

$ 행의 + +;
면 ($ 스레드 [ 'lastpostid']> $ highestid)
{
$ highestid = $ 스레드 [ 'lastpostid'];
}
}
}

면 ($ 행 <20)
{
에 대한 ($ X = $ 행; $ X <21; $ X + +)
{
경우 (is_browser ( '오페라'))
{
$ 프리페치된 .= <<<VAPRINT
<div id="row{$x}"> </ 사업부> \\ 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;
}
}
}

/ / 메모리 저장
해제 ($ 쓰레드);
$ DB -> free_result ($ getthreads);

($ _REQUEST는 == "XML"[ '할'])를하는 경우
{
헤더 ( '콘텐츠 유형 : 텍스트 / XML'($ stylevar [ '집합'] = ''; 문자셋 = '$ stylevar ['집합 '].!?. ''));
에코 '<? XML 버전 = "1.0"인코딩 = "'. $ stylevar [ '집합']. '"?>'. "\\ R \\ N";

경우 ($ 출력)
{
에코 "<events> $ 출력 </ 행사>";
}
다른
{
에코 "<events />";
}

출구;
}

$ navbits = 배열 ();
$ navbits [$ 상위] = '사이트 스파이';
$ navbits은 = construct_navbits ($ navbits);

평가를 ( '$ Navbar에 = "'. fetch_template ( 'Navbar에'). '";');
$ Navbar 란 = process_replacement_vars ($ Navbar의);

평가를 ( '$ headinclude = "'. fetch_template ( 'headinclude'). '";');
$ headinclude은 = process_replacement_vars ($ headinclude);

평가를 ( '$ 바닥글 = "'. fetch_template ( '바닥글'). '";');
$ 바닥글 = process_replacement_vars (바닥글 $);

에코 <<<VAPRINT
$ stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<HEAD>
$ headinclude
<style type="text/css">
. spyfade1 사업부. spyfade1 폭,. spyfade1 TD. spyfade1 IMG {
불투명도 : 0.90;
필터 : 알파 (불투명도 = 90);
- moz - 불투명도 : 0.90;
}
. spyfade2 사업부. spyfade2 기간. spyfade2 TD. spyfade2 IMG {
불투명도 : 0.80;
필터 : 알파 (불투명도 = 80);
- moz - 불투명도 : 0.80;
}
. spyfade3 사업부. spyfade3 폭. spyfade3 TD. spyfade3 IMG {
불투명도 : 0.70;
필터 : 알파 (불투명도 = 70);
- moz - 불투명도 : 0.70;
}
. spyfade4 사업부. spyfade4 폭. spyfade4 TD. spyfade4 IMG {
불투명도 : 0.50;
필터 : 알파 (불투명도 = 50);
- moz - 불투명도 : 0.50;
}
. spyfade5 사업부. 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> 컴퓨터 주스 - 사이트 스파이 </ TITLE>
</ HEAD>
<body onload="spyinit();">
$ 헤더
$ Navbar의

표 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 />
id="vapause" src="images/misc/pause_up.gif" style="c ursor:pointer;" alt="Pause" title="Pause Comments" onclick="pauseSpy();"을 <img />
</ TD> </ TR> </ TABLE>
<br />
VAPRINT;

경우 (is_browser ( '오페라'))
{
$ 출력 .= <<<VAPRINT
표 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;"> 회원 </ 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 id="row22" style="display:none;" class="spyfade2"> </ 사업부>
<div id="row23" style="display:none;" class="spyfade3"> </ 사업부>
<div id="row24" style="display:none;" class="spyfade4"> </ 사업부>
<div id="row25" style="display:none;" class="spyfade5"> </ 사업부>
</ TD> </ TR>
</ table> 태그
VAPRINT;
}
다른
{
$ 출력 .= <<<VAPRINT
표 class="tborder" cellpadding="6" cellspacing="1" border="0" 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;

$ 출력을 반향;
?>

vBET
21-04-10, 01:59
출력이 단순히 인쇄이기 때문에, 정상적인 방법으로 그것을 번역 할 가능성은 없다 - 그리고 이것은 문제입니다.

하지만 - 내가 당신을 지적 한 - 우리는이에 대한 해결책을 가지고 있습니다. 그것은 이와 같은 사례를 처리합니다. 정확하게 당신에게 문제가 갖고있는 단계를 알려주십시오. 우리는 더 이해할 수로 수정 도 당신에게 팔로우 지시를 도움이됩니다 :)

PS.
이 모듈의 라이센스는 코드를 게시할 수 있다고 보십니까? 그렇지 않다면 그것을 제거하십시오.

Snake
22-04-10, 09:46
내가 분명히 알 수 있도록, 당신이이 작품을 만들고 싶어, 내가 지불할 수 있습니다.

vBET
22-04-10, 14:23
내가 분명히 알 수 있도록, 당신이이 작품을 만들고 싶어, 내가 지불할 수 있습니다.

물론 설치도 같은 유료 서비스를 제공하고, 업그레이 드하십시오. 우리는 통합 서비스에 대한 생각하지 않았지만, 당신은 업그레 이드 서비스 (http://www.vbenterprisetranslator.com/upgrade-service.php)를 구입할 수 있습니다 우리가 당신을 위해 그것을 할 것입니다.

우리가이 통합 (-; FTP definitively 그럴지도 실제 설정이 확인되지 않는 경우에는 관리자 CP) 할 수 있도록 여러분의 FTP 및 관리자 CP에 액세스해야됩니다.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Languages translations supported by vBET 4.10.1