PDA

Teljes verzió megtekintése: Nincs css vagy képek ispy plugint oldalakon



Snake
16-04-10, 17:33
Hi Michel, minden esélye lehet egy pillantást, hátha van egy könnyű megoldás erre a;

Számítógép Juice - Site Spy (http://www.computer-juice.com/forums/pt/vaispy.php)

Úgy tűnik, a szkript nem kap a css file megfelelő, és keresi a rossz helyen a képek ...

vBET
16-04-10, 17:52
Ahogy látom ez az oldal nem fordították egyáltalán. Valószínűleg global_complete horog nem használják ott. Kipróbálhatja integráció modok, amelyek nem használ global_complete horog.

Lásd itt leírása:

Kérjük, először ellenőrzi nem igazán global_complete nem használja ott.

Snake
20-04-10, 14:11
Őszintén szólva nem tudom, hogyan kell követni az utasításokat, ez egy egyszerű mod, fut az ajax azt hiszem, csak egy php fájl, nem a termék vagy sablonokat. Itt van a fájl tartalmát.


<? Php
//################################################ ################################//
/ / MOD NÉV: VBISpy # / /
//################################################ ################################//
/ / Leírás: Ez a módosítás a vBulletin hozzáad egy "élő" görgetés # / /
/ / Frissítése új hozzászólás a fórum # / /
//################################################ ################################//
/ / BY: MPDev # / /
/ / DATE: 9.26.06 # / /
/ / VERZIÓ: 1.0.12 # / /
//################################################ ################################//

/ / ####################### SET PHP KÖRNYEZET ###################### #####
error_reporting (E_ALL & ~ E_NOTICE);

/ / #################### DEFINE FONTOS ÁLLANDÓK #######################
define ('THIS_SCRIPT', 'vaispy');

/ / ################### PRE-CACHE sablonok és DATA ######################
/ / Kapnak speciális kifejezés csoportok
$ Phrasegroups = array ();

/ / Kap különleges adatokat sablonokat a adattár
$ Specialtemplates = array ();

/ / Pre-cache sablonok által használt összes intézkedés
$ Globaltemplates = array ();

/ / Pre-cache sablonok által használt egyedi intézkedéseket
$ Actiontemplates = array ();

/ / ######################### Megköveteli BACK-END ################### #########
require_once (". / global.php ');

/ / ######################### CONFIG VARS ##################### #######
/ / A napok száma olvasni a táblázat .. (86400 képviseli a másodpercek száma 24 óra alatt)
$ Daysprune = 1;

/ / Ne listán ezeken a fórumokon akkor is, ha rendelkezik engedéllyel (teszt kategóriák, stb.)
$ Blockforums = "";

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

$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['utolsó'];
$ Feliratkozni = (int) $ _REQUEST ['Feliratkozás'];

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

if (! isset ($ vBulletin-> forumcache ["$ forumid"]) VAGY! ($ forumperms & $ vBulletin-> bf_ugp_forumpermissions ['canview']) VAGY! ($ forumperms & $ vBulletin-> bf_ugp_forumpermissions ['canviewothers'] ) VAGY! verify_forum_password ($ forumid, $ vBulletin-> forumcache ["$ forumid"] ['password'], false))
{
$ Blockforums .=','.$ fórum ['forumid'];
}
}
unset ($ fórum);

$ Datecut = "ÉS thread.lastpost> =". (TIMENOW - ($ daysprune * 86400));
$ Prefetched = null;

############################################################################
/ / Get szálak, amit írt
require_once (DIR ". / includes / functions_forumdisplay.php ');
$ Result = $ db-> query_read ("
SELECT témaazonosító
FROM ". Table_Prefix." Menet a menet
HOL thread.forumid NEM (0 $ blockforums) és
thread.visible = 1 és
thread.open <> 10 és
thread.lastpostid> $ lastpostid
$ Datecut
");

$ IdsArray = array ();
while ($ id = $ db-> fetch_array ($ result))
{
$ IdsArray [] = $ id ['témaazonosító'];
}

$ Dotthreads = fetch_dot_threads_array (implode (',', $ idsArray));
############################################################################
/ / Get szálak

/ / Ne állítsa be, hogy több, mint 20, hacsak nem tudja, hogyan kell módosítani a html alján az oldal (és a vonal 291)
$ Limitq = (isset ($ _REQUEST ['ezt'])? "20": "5,20");

if ($ előfizet == 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 AS előnézet,
post.userid AS lastpuserid
FROM ". Table_Prefix." Subscribethread AS subscribethread
INNER JOIN ". Table_Prefix." Menet AS szál (subscribethread.threadid = thread.threadid)
LEFT JOIN ". Table_Prefix." Deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid ÉS type = "téma")
LEFT JOIN ". Table_Prefix." Post AS hozzászólás (post.postid = thread.lastpostid)
WHERE subscribethread.userid = ". $ VBulletin-> hashfiles ['userid']."
ÉS NEM thread.forumid (0 $ blockforums)
ÉS thread.visible = 1
ÉS subscribethread.canview = 1
ÉS thread.lastpostid> $ lastpostid
ÉS deletionlog.primaryid IS NULL
$ Datecut
ORDER BY thread.lastpost DESC LIMIT $ limitq
");
}
más
{
$ 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 AS előnézet,
post.userid AS lastpuserid
FROM ". Table_Prefix." Menet AS téma
LEFT JOIN ". Table_Prefix." Deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid ÉS type = "téma")
LEFT JOIN ". Table_Prefix." Post AS hozzászólás (post.postid = thread.lastpostid)
HOL nyitott <> 10
$ Datecut
ÉS NEM thread.forumid (0 $ blockforums)
ÉS thread.visible = '1 '
ÉS thread.lastpostid> $ lastpostid
ÉS post.visible = 1
ÉS deletionlog.primaryid IS NULL
ORDER BY thread.lastpost DESC LIMIT $ limitq
");
}

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

while ($ thread = $ db-> fetch_array ($ getthreads)) {
$ Color = $ szin == "alt1? "Alt2": "alt1";

$ Téma ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ thread ['title']), 85.)));
$ Téma ['date'] = vbdate ($ vBulletin-> opciók ['dateformat'], $ téma ['lastpost'], 1);
$ Téma ['idő'] = vbdate ($ vBulletin-> opciók ['TimeFormat'], $ téma ['lastpost']);

/ / Megszabadulni a html és a bbcode first
$ Téma ['preview'] = strip_tags (strip_bbcode ($ thread ['preview'], true, true));
$ Téma ['preview'] = htmlspecialchars_uni (fetch_trimmed_title ($ thread ['preview'], 200));
$ Téma ['preview'] = fetch_censored_text (fetch_word_wrapped_string ($ thread ['preview'], 20));

$ Téma ['replycount'] = vb_number_format ($ thread ['replycount']);
$ Téma ['nézetek'] = vb_number_format ($ thread [nézeteit ']);

$ Tforumid = $ thread ['forumid'];
$ Téma ['fórum'] = htmlspecialchars_uni ($ vBulletin-> forumcache ["$ tforumid"] ['title']);

if ($ thread ['lastpostid'] == $ thread ['firstpostid'])
{
$ Etype = "Új téma";
}
más
{
$ Etype = "Új hozzászólás";
}

/ / Statusicon
/ / Show dot mappát?
if ($ vBulletin-> hashfiles ['userid'] és $ vBulletin-> opciók ['showdots'] és $ dotthreads ["$ thread [témaazonosító]"])
{
$ Téma ['statusicon'] .= "_dot";
$ Téma ['dot_count'] = $ dotthreads ["$ thread [témaazonosító ]"][' count '];
$ Téma ['dot_lastpost'] = $ dotthreads ["$ thread [témaazonosító ]"][' lastpost '];
}

/ / Azt mutatják, hot mappa?
if ($ vBulletin-> opciók ['usehotthreads'] ÉS (($ thread ['replycount']> = $ vBulletin-> opciók ['hotnumberposts'] és $ vBulletin-> opciók ['hotnumberposts']> 0) VAGY ( $ téma [nézeteit ']> = $ vBulletin-> opciók [' hotnumberviews '] és $ vBulletin-> opciók [' hotnumberviews ']> 0)))
{
$ Téma ['statusicon'] .= "_hot";
}

/ / Show zárolt mappa?
if (! $ téma ["nyitott"])
{
$ Téma ['statusicon'] .= "_lock";
}

$ Téma ['statusicon'] = "blank.gif";

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

Snake
20-04-10, 14:11
Itt a második rész, vBET fórum leáll a nagy hozzászólás.


$ Output .= <<<VAPRINT
<event>
<id> {$ téma ['lastpostid']}</ id>
<what> $ etype </ mi>
<when> {$ téma ['date']} {$ téma ['idő, amikor']}</>
<title> {$ téma ['title']}</ title>
<preview> {$ téma ['preview']}</ kép>
<poster> {$ téma ['lastposter']}</ poszter>
<threadid> {$ thread ['témaazonosító']}</ témaazonosító>
<postid> {$ téma ['lastpostid']}</ hozzászólás azonosító>
<lastpost> {$ téma ['lastpost']}</ lastpost>
<azonosító> {$ téma ['lastpuserid']}</ userid>
<forumid> {$ téma ['forumid']}</ forumid>
<forumname> {$ téma [fórum']}</ forumname>
<views> {$ téma [véleményét']}</ Megtekintés>
<replies> {$ téma ['replycount']}</ válaszok>
<statusicon> {$ téma ['statusicon']}</ statusicon>
</ Esemény>
VAPRINT;
}
más
{
$ Rowcolor = ($ rowcolor == "alt1"? "Alt2": "alt1");

$ Ahol = $ klip = $ = $ poster_clip poszter = null;

if (stristr ($ etype, "menet"))
{
$ Post_url = "showthread.php? T = {$ thread ['témaazonosító']}";
}
más
{
$ Post_url = "showthread.php? P = {$ thread ['lastpostid']} # post {$ téma ['lastpostid']}";
}

if (! $ thread ['title'])
{
$ Klip = "<strong> Ismeretlen </ strong>";
}
más
{
$ Klip = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" $ {post_url} \\ "> {$ téma ['title']}</ a> </ strong>";
}

if ($ thread ['preview'])
{
$ Klip .= "<br /> {$ téma ['preview']}";
}

$ Klip .= "({$ thread ['nézetek']} véleményét, {$ téma ['replycount']} válasz)";

if ($ thread ['lastpuserid'])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ téma ['lastposter']}</ a>";
}

$ Poster_clip .= "<br /> {$ téma ['date']} {$ téma ['idő']}";

if ($ thread ['fórum'])
{
$ Ahol .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ téma [fórum']}</ a> </ strong> ";
}
más
{
$ Ahol a = "";
}

if (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%"> $ klip </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $, ahol </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
más
{
$ 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"> $ klip </ div> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $, ahol </ div> </ td> </ tr> \\ n
VAPRINT;
}

$ Row + +;
if ($ thread ['lastpostid']> $ highestid)
{
$ Highestid = $ thread ['lastpostid'];
}
}
}

if ($ sor <20)
{
for ($ x = $ row, $ x <21 $ x + +)
{
if (is_browser ("opera"))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
más
{
$ 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;
}
}
}

/ / Memória megtakarítás
unset ($ menet);
$ Db-> free_result ($ getthreads);

if ($ _REQUEST ['ezt'] == "xml")
{
header ("Content-Type: text / xml". ($ stylevar ['charset']! ='''; charset = ". $ stylevar [' charset ']:''));
echo '<? xml version = "1.0" encoding = "". $ stylevar [' charset '].'"?>'. "\\ R \\ n";

if ($ kimenet)
{
echo "$ <events> kimenet </ események>";
}
más
{
echo "<events />";
}

exit;
}

$ Navbits = array ();
$ Navbits [$ szülő] = 'oldal 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 (lábléc).'";');
$ Footer = process_replacement_vars ($ lábléc);

echo <<<VAPRINT
$ Stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
. Spyfade1 div,. Spyfade1 span,,. Spyfade1 td,. Spyfade1 img {
opacitás: 0,90;
filter: alfa (fedettség = 90);
-Moz-opacity: 0,90;
}
. Spyfade2 div,. Spyfade2 span,. Spyfade2 td,. Spyfade2 img {
opacitás: 0.80;
filter: alfa (fedettség = 80);
-Moz-opacity: 0,80;
}
. Spyfade3 div,. Spyfade3 span,. Spyfade3 td,. Spyfade3 img {
opacitás: 0,70;
filter: alfa (fedettség = 70);
-Moz-opacity: 0,70;
}
. Spyfade4 div,. Spyfade4 span,. Spyfade4 td,. Spyfade4 img {
opacitás: 0,50;
filter: alfa (fedettség = 50);
-Moz-opacity: 0,50;
}
. Spyfade5 div,. Spyfade5 span,. Spyfade5 td,. Spyfade5 img {
opacitás: 0.30;
filter: alfa (fedettség = 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">

</ Script>
<title> Számítógép Juice - Site Spy </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navbar

<table width="90%" align="center"> <td width="50%" align="left"> <input type="checkbox" id="subscribe" value="1"> ; jegyzett szál csak </ td>
<td width="50%" align="right">
<img id="vaplay" src="images/misc/play_down.gif" style="cursor:pointer;" alt="Play" title="Play Comments" onclick="playSpy();" />
<img id="vapause" src="images/misc/pause_up.gif" style="cursor:pointer;" alt="Pause" title="Pause Comments" onclick="pauseSpy();" />
</ Td> </ tr> </ table>
<br />
VAPRINT;

if (is_browser ("opera"))
{
$ Output .= <<<VAPRINT
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<td width="20" class="tcat" nowrap="nowrap" style="height:25px;"> </ td>
<td class="tcat" width="225" nowrap="nowrap" style="height:25px;"> tagja </ td>
<td class="tcat" width="80%" style="height:25px;"> téma / hozzászólás </ td>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;"> Fórum
</ 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;
}
más
{
$ Output .= <<<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"> esemény </ td> <td class="thead" width="100"> tagja </ td> <td class = "thead "> téma / hozzászólás </ td> <td class="thead" width="190"> fórum </ 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;
}

$ Output .= <<<VAPRINT
$ Footer
VAPRINT;

echo $ output;
?>

vBET
21-04-10, 01:59
És ez a kérdés - output egyszerűen nyomtatva, így nincs lehetőség lefordítani a szokásos módon.

DE - már megoldás erre - az egyetlen, amit mutatott neked. Ez kezeli az esetekben, mint ez. Kérjük, mondja el pontosan, amellyel lépésről van baj. Mi segítünk Önnek parlagon utasításokat, vagy akár módosítani, hogy érthetőbb:)

PS.
Biztos benne, hogy engedélyt ennek a mod lehetővé teszi, hogy nyilvánosságra hozza-kód? Ha nem, akkor kérjük, távolítsa el.

Snake
22-04-10, 09:46
Hadd szögezzem le, azt akarom, hogy ezt a munkát, tudok fizetni.

vBET
22-04-10, 14:23
Hadd szögezzem le, azt akarom, hogy ezt a munkát, tudok fizetni.

Természetesen mi is kínálnak fizetett szolgáltatások, mint a telepítés, frissítés. Nem gondol az integráció szolgáltatást, de lehet kapni frissítés szolgáltatás (http://www.vbenterprisetranslator.com/upgrade-service.php) és mi ezt Ön helyett.

Felhívjuk figyelmét, hogy szükségünk lesz hozzáférést az FTP és Admin CP ahhoz, hogy ezt az integráció (Admin CP - talán nem, ha a tényleges beállítások rendben vannak, FTP véglegesen igen).

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