Hei Michel, kaikki mahdollisuudet olisit voinut katsoa ja nähdä, jos siellä on helppo korjata tätä;
Computer Juice - Site Spy
Näyttää skripti ei saa CSS-tiedoston oikein ja etsii väärään paikkaan kuvia ...
Hei Michel, kaikki mahdollisuudet olisit voinut katsoa ja nähdä, jos siellä on helppo korjata tätä;
Computer Juice - Site Spy
Näyttää skripti ei saa CSS-tiedoston oikein ja etsii väärään paikkaan kuvia ...
Mielestäni tämä sivu ei ole käännetty ollenkaan. Todennäköisesti global_complete koukku ei käytetä siellä. Voit kokeilla integroinnin modeja, jotka eivät käytä global_complete koukku.
Katso tästä kuvaus: http://www.vbenterprisetranslator.co....html # post1795
Tarkista ensin, ei todellakaan global_complete ei käytetä siellä.
Rehellisesti sanottuna en tiedä miten seurata noita ohjeita, se on yksinkertainen mod, kulkee Ajax mielestäni vain yhden php-tiedoston, ei tuotteen tai malleja. Tässä on tiedoston sisällön.
<? Php
//################################################ ################################//
/ / MOD NIMI: VBISpy # / /
//################################################ ################################//
/ / Kuvaus: Tämä muutos varten vBulletin lisää "live" vieritys # / /
/ / Päivittää uusien virkojen foorumi # / /
//################################################ ################################//
/ / BY: MPDev # / /
/ / DATE: 26/09/06 # / /
/ / Versio: 1.0.12 # / /
//################################################ ################################//
/ / ####################### SET PHP YMPÄRISTÖ ###################### #####
error_reporting (E_ALL & ~ E_NOTICE);
/ / #################### DEFINE TÄRKEÄÄ TEKNISET #######################
define ('THIS_SCRIPT', 'vaispy ");
/ / ################### PRE-cache malleja ja DATA ######################
/ / Saada erityisiä lause ryhmät
$ Phrasegroups = array ();
/ / Saada erityisiä tietoja malleja DataStore
$ Specialtemplates = array ();
/ / Pre-cache malleja, joita kaikki toimet
$ Globaltemplates = array ();
/ / Pre-cache malleja käytetään erityisiä toimia
$ Actiontemplates = array ();
/ / ######################### Edellytä back-end-################### #########
require_once (". / global.php");
/ / ######################### CONFIG VARS ##################### #######
/ / Montako päivää skannata taulukon .. (86400 edustaa sekuntien määrä 24 tuntia)
$ Daysprune = 1;
/ / Älä luettelo näillä foorumeilla, vaikka heillä on oikeudet (Testiotsikot jne.)
$ Blockforums = "";
/ / ######################### CONFIG VARS ##################### #######
$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['viimeinen'];
$ Tilata = (int) $ _REQUEST ['Tilaa'];
foreach ($ vBulletin-> forumcache kuin $ foorumi) {
$ Forumid = $ foorumi ['forumid'];
$ Forumperms = & $ vBulletin-> UserInfo ['forumpermissions']["$ forumid "];
if (! isset ($ vBulletin-> forumcache ["$ forumid"]) tai! ($ forumperms & $ vBulletin-> bf_ugp_forumpermissions ['CANview']) tai! ($ forumperms & $ vBulletin-> bf_ugp_forumpermissions ['canviewothers "] ) TAI! verify_forum_password ($ forumid, $ vBulletin-> forumcache ["$ forumid"] ['salasana'], false))
{
$ Blockforums .=','.$ foorumi ['forumid'];
}
}
unset ($ foorumi);
$ Datecut = "ja thread.lastpost> =". (TIMENOW - ($ daysprune * 86400));
$ Esinoudetulle = null;
############################################################################
/ / Get Threads Olen lähetti
require_once (DIR. "/ includes / functions_forumdisplay.php ');
$ Tulos = $ db-> query_read ("
VALITSE threadid
FROM ". TABLE_PREFIX." Kierre kuin kierre
MISSÄ thread.forumid NOT IN (0 $ blockforums) ja
thread.visible = 1 ja
thread.open <> 10 ja
thread.lastpostid> $ lastpostid
$ Datecut
");
$ IdsArray = array ();
while ($ id = $ db-> fetch_array ($ tulos))
{
$ IdsArray [] = $ id ['threadid'];
}
$ Dotthreads = fetch_dot_threads_array (luhistua (',', $ idsArray));
############################################################################
/ / Get säikeet
/ / Älä aseta yli 20, ellei osaat muokata HTML alareunassa sivun (ja linja 291)
$ Limitq = (isset ($ _REQUEST ['do'])? "20": "5,20");
if ($ tilata == 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 esikatselu,
post.userid AS lastpuserid
FROM ". TABLE_PREFIX." Subscribethread AS subscribethread
INNER JOIN ". TABLE_PREFIX." Kierre AS kierre (subscribethread.threadid = thread.threadid)
LEFT JOIN ". TABLE_PREFIX." Deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid ja tyyppi = "lanka")
LEFT JOIN ". TABLE_PREFIX." Post AS viesti (post.postid = thread.lastpostid)
MISSÄ subscribethread.userid = ". $ VBulletin-> UserInfo ['userid']."
JA thread.forumid NOT IN (0 $ blockforums)
JA thread.visible = 1
JA subscribethread.canview = 1
JA thread.lastpostid> $ lastpostid
JA deletionlog.primaryid IS NULL
$ Datecut
ORDER BY thread.lastpost laskevasti LIMIT $ limitq
");
}
muu
{
$ 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 esikatselu,
post.userid AS lastpuserid
FROM ". TABLE_PREFIX." Kierre AS kierre
LEFT JOIN ". TABLE_PREFIX." Deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid ja tyyppi = "lanka")
LEFT JOIN ". TABLE_PREFIX." Post AS viesti (post.postid = thread.lastpostid)
MISSÄ auki <> 10
$ Datecut
JA thread.forumid NOT IN (0 $ blockforums)
JA thread.visible = '1 '
JA thread.lastpostid> $ lastpostid
JA post.visible = 1
JA deletionlog.primaryid IS NULL
ORDER BY thread.lastpost laskevasti LIMIT $ limitq
");
}
$ Rivi = $ highestid = 1;
$ Rowcolor = "alt2";
while ($ thread = $ db-> fetch_array ($ getthreads)) {
$ Color = $ väri == "alt1"? "Alt2 ':' alt1";
$ Kierre ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ kierre ['title']), 85)));
$ Kierre ['date'] = vbdate ($ vBulletin-> Asetukset ['dateformat'], $ kierre ['lastpost'], 1);
$ Kierre ['aika'] = vbdate ($ vBulletin-> Asetukset ['timeformat'], $ kierre ['lastpost']);
/ / Get eroon html-ja bbcode ensimmäinen
$ Kierre ['Esikatsele'] = strip_tags (strip_bbcode ($ kierre ['esikatselu'], true, true));
$ Kierre ['Esikatsele'] = htmlspecialchars_uni (fetch_trimmed_title ($ kierre ['esikatselu'], 200));
$ Kierre ['Esikatsele'] = fetch_censored_text (fetch_word_wrapped_string ($ kierre ['esikatselu'], 20));
$ Kierre ['replycount'] = vb_number_format ($ kierre ['replycount']);
$ Kierre [näkemykset '] = vb_number_format ($ kierre [' views ']);
$ Tforumid = $ kierre ['forumid'];
$ Kierre ['Forum'] = htmlspecialchars_uni ($ vBulletin-> forumcache ["$ tforumid"] ['title']);
if ($ kierre ['lastpostid'] == $ kierre ['firstpostid'])
{
$ Etype = "Uusi aihe";
}
muu
{
$ Etype = "Uusi viesti";
}
/ / Statusicon
/ / Näyttää piste kansioon?
if ($ vBulletin-> UserInfo ['userid'] ja $ vBulletin-> Asetukset ['showdots'] ja $ dotthreads ["$ kierre [threadid]"])
{
$ Kierre ['statusicon'] .= "_dot";
$ Kierre ['dot_count'] = $ dotthreads ["$ kierre [threadid ]"][' count '];
$ Kierre ['dot_lastpost'] = $ dotthreads ["$ kierre [threadid ]"][' lastpost '];
}
/ / Näyttää kuuma kansioon?
if ($ vBulletin-> Asetukset ['usehotthreads'] ja (($ kierre ['replycount']> = $ vBulletin-> Asetukset ['hotnumberposts'] ja $ vBulletin-> Asetukset ['hotnumberposts']> 0) tai ( $ kierre [näkemykset ']> = $ vBulletin-> Asetukset [' hotnumberviews '] ja $ vBulletin-> Asetukset [' hotnumberviews ']> 0)))
{
$ Kierre ['statusicon'] .= '_hot;
}
/ / Näyttää lukittu kansio?
if (! $ kierre ['auki'])
{
$ Kierre ['statusicon'] .= "_lock";
}
$ Kierre ['statusicon'] = "blank.gif";
if ($ _REQUEST ['do'] == "xml")
{
Tässä on toinen osa, vBET foorumi pysähtyy suuri viestiä.
$ Lähtö .= <<<VAPRINT
<event>
<id> {$ kierre ['lastpostid']}</ id>
<what> $ etype </ mitä>
<when> {$ kierre ['Date']} {$ kierre ['aika']}</ kun>
<title> {$ kierre ['title']}</ title>
<preview> {$ kierre ['Esikatsele']}</ esikatselu>
<poster> {$ kierre ['lastposter']}</ juliste>
<threadid> {$ kierre ['threadid']}</ threadid>
<postid> {$ kierre ['lastpostid']}</ postid>
<lastpost> {$ kierre ['lastpost']}</ lastpost>
<userid> {$ kierre ['lastpuserid']}</ Käyttäjätunnus>
<forumid> {$ kierre ['forumid']}</ forumid>
<forumname> {$ kierre ['Forum']}</ forumname>
<views> {$ kierre [näkemyksiä']}</ katselua>
<replies> {$ kierre ['replycount']}</ vastauksista>
<statusicon> {$ kierre ['statusicon']}</ statusicon>
</ Tapahtuma>
VAPRINT;
}
muu
{
$ Rowcolor = ($ rowcolor == "alt1"? "Alt2": "alt1");
$ Missä = $ clip = $ poster_clip = $ juliste = null;
if (stristr ($ etype, "kierre"))
{
$ Post_url = "showthread.php? T = {$ kierre ['threadid']}";
}
muu
{
$ Post_url = "showthread.php? P = {$ kierre ['lastpostid']} # post {$ kierre ['lastpostid']}";
}
if (! $ kierre ['title'])
{
$ Clip = "<strong> Tuntematon </ strong>";
}
muu
{
$ Clip = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ kierre ['title']}</> </ strong>";
}
if ($ kierre ['Esikatsele'])
{
$ Clip .= "<br /> {$ kierre ['Esikatsele']}";
}
$ Clip .= "({$ kierre [näkemykset ']} näkemykset, {$ kierre [' replycount ']} vastausta)";
if ($ kierre ['lastpuserid'])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ kierre ['lastposter']}</>";
}
$ Poster_clip .= "<br /> {$ kierre ['Date']} {$ kierre ['aika']}";
if ($ kierre ['Forum'])
{
$ Jossa .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ kierre [" Forum']}</ > </ strong> ";
}
muu
{
$ Missä = "";
}
if (is_browser ('Opera'))
{
$ Esinoudetulle .= <<<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%"> $ clip </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $ jossa </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
muu
{
$ Esinoudetulle .= <<<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"> $ clip </ div> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ jossa </ div> </ td> </ p> \\ n
VAPRINT;
}
$ Rivi + +;
if ($ kierre ['lastpostid']> $ highestid)
{
$ Highestid = $ kierre ['lastpostid'];
}
}
}
if ($ rivi <20)
{
for ($ x = $ rivi; $ x <21; $ x + +)
{
if (is_browser ('Opera'))
{
$ Esinoudetulle .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
muu
{
$ Esinoudetulle .= <<<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> </ p> \\ n
VAPRINT;
}
}
}
/ / Muistin säästö
unset ($ kierre);
$ Db-> free_result ($ getthreads);
if ($ _REQUEST ['do'] == "xml")
{
header ("Content-Type: text / xml". ($ stylevar ['charset']! =''? '; charset = ". $ stylevar [' charset ']:''));
echo "<? xml version =" 1.0 "encoding =" ". $ stylevar ['charset'].'"?>'. "\\ R \\ n";
if ($ output)
{
echo "<events> $ ulostulo </ Tapahtumat>";
}
muu
{
echo "<events />";
}
exit;
}
$ Navbits = array ();
$ Navbits [$ vanhempi] = 'Sivuston Spy ";
$ Navbits = construct_navbits ($ navbits);
eval ('$ Navigointipalkin = "". fetch_template ("Navigointipalkin').'";');
$ Navigointipalkin = process_replacement_vars ($ Navbarissa);
eval ('$ headinclude = "". fetch_template (' headinclude ').'";');
$ Headinclude = process_replacement_vars ($ headinclude);
eval ('$ footer = "". fetch_template (' footer ').'";');
$ Footer = process_replacement_vars ($ alatunniste);
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 {
opacity: 0.90;
suodatin: alpha (peittävyys = 90);
-Moz-opacity: 0.90;
}
. Spyfade2 div,. Spyfade2 span,. Spyfade2 td,. Spyfade2 img {
opacity: 0.80;
suodatin: alpha (peittävyys = 80);
-Moz-opacity: 0.80;
}
. Spyfade3 div,. Spyfade3 span,. Spyfade3 td,. Spyfade3 img {
opacity: 0.70;
suodatin: alpha (peittävyys = 70);
-Moz-opacity: 0.70;
}
. Spyfade4 div,. Spyfade4 span,. Spyfade4 td,. Spyfade4 img {
opacity: 0.50;
suodatin: alpha (peittävyys = 50);
-Moz-opacity: 0.50;
}
. Spyfade5 div,. Spyfade5 span,. Spyfade5 td,. Spyfade5 img {
opacity: 0.30;
suodatin: alpha (peittävyys = 30);
-Moz-opacity: 0.30;
}
</ Div>
<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;
toiminto pauseSpy () {
var playimg = document.getElementById ("vaplay");
var pauseimg = document.getElementById ("vapause");
playimg.src = "images / misc / play_up.gif";
playimg.alt = "Toista";
pauseimg.src = "images / misc / pause_down.gif";
pauseimg.alt = "Keskeytetty ...";
tauko ();
}
toiminto playSpy () {
var playimg = document.getElementById ("vaplay");
var pauseimg = document.getElementById ("vapause");
playimg.src = "images / misc / play_down.gif";
playimg.alt = "Playing ...";
pauseimg.src = "images / misc / pause_up.gif";
pauseimg.alt = "Klikkaa Tauko";
jatkaa ();
}
toiminto tauko () {
Pelaa = 0;
}
toiminto jatkaa () {
Pelaa = 1;
}
/ / ->
</ Script>
<title> Computer Juice - Site Spy </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navigointipalkin
<table width="90%" align="center"> <td width="50%" align="left"> <input type="checkbox" id="subscribe" value="1"> ; tilannut lankaa vain </ td>
<td width="50%" align="right">
<Img id = "vaplay" src = "images / misc / play_down.gif" style = "kursoriointer; "alt =" Play "title =" Play kommentit "onclick =" playSpy (); "/>
<Img id = "vapause" src = "images / misc / pause_up.gif" style = "kursoriointer; "alt =" Tauko "title =" Tauko kommentit "onclick =" pauseSpy (); "/>
</ Td> </ tr> </ table>
<br />
VAPRINT;
if (is_browser ('Opera'))
{
$ Lähtö .= <<<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;"> jäsen </ td>
<td class="tcat" width="80%" style="height:25px;"> Thread / Post </ td>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;"> Forum
</ P>
<td colspan="4" class="alt1">
$ Esinoudetulle
<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> </ p>
</ Table>
VAPRINT;
}
muu
{
$ Lähtö .= <<<VAPRINT
<table class="tborder" cellpadding="6" src="images/smiles/trans1.gif" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr align="center"> <td class="thead" width="100"> Tapahtuma </ td> <td class="thead" width="100"> jäsen </ td> <td class = "thead "> Thread / Post </ td> <td class="thead" width="190"> Forum </ td> </ p>
</ Thead>
<tbody class="alt1">
$ Esinoudetulle
<tr id="row21" style="display: none;" class="spyfade1"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ p>
<tr id="row22" style="display: none;" class="spyfade2"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ p>
<tr id="row23" style="display: none;" class="spyfade3"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ p>
<tr id="row24" style="display: none;" class="spyfade4"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ p>
<tr id="row25" style="display: none;" class="spyfade5"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ p>
</ Tbody>
</ Table>
VAPRINT;
}
$ Lähtö .= <<<VAPRINT
$ Footer
VAPRINT;
echo $ lähtö;
?>
Ja tämä on kysymys - lähtö on yksinkertaisesti painettu, joten ei ole mitään mahdollisuutta kääntää sitä tavalliseen tapaan.
Mutta - olemme ratkaisu tähän - joka huomautin sinulle. Se käsittelee tapauksia kuin tämä yksi. Kerro meille tarkalleen mikä askel sinulla on ongelmia. Autamme sinua kesannolla ohjeita tai jopa muokata sitä ymmärrettävämmäksi
PS.
Oletko varma, että lisenssin tämän modin ansiosta julkaista sen koodin? Jos ei niin poista se.
Haluan tehdä selväksi, haluan sinun tehdä tätä työtä, en voi maksaa.
Tietenkin tarjoamme myös maksullisia palveluita kuten asennus, päivitys. Emme ajattele integraatio palvelu, mutta voit ostaa päivittää palveluun ja teemme sen puolestasi.
Huomaa, että tarvitsemme käsiksi FTP ja Admin CP pystyä tekemään tämän integraation (Admin CP - ehkä ei, jos todelliset asetukset ovat kunnossa, FTP lopullisesti kyllä).