Hi Michel kokia nors galimybė, galite pažvelgti ir pamatyti, jei yra lengva nustatyti;
Kompiuterių Sultys - Svetainės spy
Atrodo scenarijų negauna tinkamai CSS faile ir ieško ne vietoje vaizdų ...
Hi Michel kokia nors galimybė, galite pažvelgti ir pamatyti, jei yra lengva nustatyti;
Kompiuterių Sultys - Svetainės spy
Atrodo scenarijų negauna tinkamai CSS faile ir ieško ne vietoje vaizdų ...
Kaip matau, šiame puslapyje nėra išverstas iš viso. Greičiausiai global_complete kablys nėra naudojamas. Galite pabandyti integracijos mados kurie nenaudoja global_complete kablys.
Žiūrėkite čia aprašymas: http://www.vbenterprisetranslator.co....html # post1795
Prašome pirmiausia patikrinkite, ar tikrai global_complete nėra naudojamas.
Aš sąžiningai nežinau, kaip laikytis šių nurodymų, yra paprastas mod, veikia AJAX Manau, tik vieną php failą, jokio produkto ar šablonų. Čia yra failo turinį.
<? Php
//################################################ ################################//
/ / MOD NAME: VBISpy # / /
//################################################ ################################//
/ / Aprašymas: Ši modifikacija vBulletin prideda "gyvai" slinkties # / /
/ / Atnaujinimo naujų pranešimų į forumą # / /
//################################################ ################################//
/ / By: MPDev # / /
/ / Data: 9.26.06 # / /
/ / Versija: 1.0.12 # / /
//################################################ ################################//
/ / ####################### SET PHP APLINKA ###################### #####
error_reporting (E_ALL & ~ E_NOTICE);
/ / #################### Apibrėžti SVARBU konstantos #######################
define ("THIS_SCRIPT", "vaispy");
/ / ################### PRE-cache šablonai IR DUOMENŲ ######################
/ / Gauti specialius frazė grupės
$ Phrasegroups = array ();
/ / Gauti specialius duomenų šablonų iš datastore
$ Specialtemplates = array ();
/ / Prieš cache šablonai, naudojami visi veiksmai
$ Globaltemplates = array ();
/ / Prieš cache šablonai naudojami konkrečių veiksmų
$ Actiontemplates = array ();
/ / ######################### Reikalingas back-end ################### #########
require_once ('/ global.php.');
/ / ######################### CONFIG vars ##################### #######
/ / Dienų skaičius nuskaityti lentelė .. (86.400 sekundžių skaičių per 24 valandas)
$ Daysprune = 1;
/ / Ar ne šių forumų sąrašą, net jei jie turi leidimus (bandymų kategorijų, ir tt)
$ Blockforums = "";
/ / ######################### CONFIG vars ##################### #######
$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['paskutinis'];
$ Prenumeruoti = (int) $ _REQUEST ['Užsiprenumeruok'];
foreach ($ vBulletin-> forumcache $ forume) {
$ Forumid = $ forumas ['forumid "];
$ Forumperms = & $ vBulletin-> userinfo ['forumpermissions']["$ forumid "];
if (! isset ($ vBulletin-> forumcache ["$ forumid") ARBA! ($ forumperms & $ vBulletin-> bf_ugp_forumpermissions ["canview ']) arba! ($ forumperms & $ vBulletin-> bf_ugp_forumpermissions [" canviewothers] ) ARBA! verify_forum_password ($ forumid, $ vBulletin-> forumcache ["$ forumid"] ['password'], "false"))
{
$ Blockforums .=','.$ forumas ["forumid '];
}
}
išjungimo ($ forumo);
$ Datecut = "IR thread.lastpost> =". (TIMENOW - ($ daysprune * 86.400));
$ Prefetched = null;
############################################################################
/ / Gauti Threads aš Parašytas
require_once (. DIR "/ / functions_forumdisplay.php");
$ Result = $ db-> query_read ("
PASIRINKITE threadid
IŠ ". TABLE_PREFIX" sriegis, kaip siūlai
KUR thread.forumid (0 $ blockforums) ir
thread.visible = 1 ir
thread.open <> 10 ir
thread.lastpostid> $ lastpostid
$ Datecut
");
$ IdsArray = array ();
while ($ id = $ db-> fetch_array ($ result))
{
$ IdsArray [] = $ id ['threadid "];
}
$ Dotthreads = fetch_dot_threads_array (Sprogti (',', $ idsArray));
############################################################################
/ / Gauti siūlai
/ / Nustatyti daugiau nei 20, nebent žinote, kaip pakeisti HTML puslapio apačioje (291 eilutėje)
$ Limitq = (isset ($ _REQUEST ['padaryti']) "20": "5,20");
if ($ prenumerata == 1)
{
$ Getthreads = $ db-> query_read ("
PASIRINKITE subscribethread.subscribethreadid,
thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext, peržiūra,
post.userid AS lastpuserid
Iš "TABLE_PREFIX." AS subscribethread subscribethread
INNER JOIN ". TABLE_PREFIX". Giją siūlai (subscribethread.threadid = thread.threadid)
LEFT JOIN ". TABLE_PREFIX". Deletionlog AS Deletionlog (thread.threadid = deletionlog.primaryid ir tipas = 'gija ")
LEFT JOIN ". TABLE_PREFIX". Paštu pranešimus (post.postid = thread.lastpostid)
KUR subscribethread.userid = "$ vBulletin-> userinfo [userid ']."
IR thread.forumid NE (0 $ blockforums)
IR thread.visible = 1
Subscribethread.canview = 1
IR thread.lastpostid> $ lastpostid
IR deletionlog.primaryid yra niekinis
$ Datecut
ORDER BY thread.lastpost mažėjimo apriboti $ limitq
");
}
kitas
{
$ Getthreads = $ db-> query_read ("
PASIRINKITE thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext, peržiūra,
post.userid AS lastpuserid
IŠ ". TABLE_PREFIX" siūlai siūlai
LEFT JOIN ". TABLE_PREFIX". Deletionlog AS Deletionlog (thread.threadid = deletionlog.primaryid ir tipas = 'gija ")
LEFT JOIN ". TABLE_PREFIX". Paštu pranešimus (post.postid = thread.lastpostid)
Jeigu dėl atidarytų <> 10
$ Datecut
IR thread.forumid NE (0 $ blockforums)
IR thread.visible = '1 '
IR thread.lastpostid> $ lastpostid
IR post.visible = 1
IR deletionlog.primaryid yra niekinis
ORDER BY thread.lastpost mažėjimo apriboti $ limitq
");
}
$ Row = $ highestid = 1;
$ Rowcolor = "alt2";
o ($ siūlai = $ db-> fetch_array ($ getthreads)) {
$ Spalva = $ spalva == "alt1"? "Alt2": "alt1";
$ Siūlų ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ siūlų ['pavadinimas']), 85)));
$ Siūlų ['data'] = vbdate ($ vBulletin-> Options ['Dateformat'], $ thread ['lastpost'], 1);
$ Siūlų ['laikas'] = vbdate ($ vBulletin-> Funkcijos ["timeformat '], $ siūlų [' lastpost ']);
/ / Atsikratykite html bbcode pirmą kartą
$ Siūlų ["peržiūros"] = strip_tags (strip_bbcode ($ siūlų [] "peržiūrėti", tiesa, tiesa));
$ Siūlų ['Preview'] = htmlspecialchars_uni (fetch_trimmed_title ($ siūlų ['Preview'], 200));
$ Siūlų ['Preview'] = fetch_censored_text (fetch_word_wrapped_string ($ siūlų ['Preview'], 20));
$ Siūlų ["replycount '] = vb_number_format ($ siūlų [' replycount ']);
$ Siūlų ["požiūrį"] = vb_number_format ($ siūlų ['nuomones']);
$ Tforumid = $ siūlų ["forumid '];
$ Siūlų ['forumas'] = htmlspecialchars_uni ($ vBulletin-> forumcache ["$ tforumid"] ['pavadinimas']);
if ($ siūlų ["lastpostid '] == $ siūlų [' firstpostid"])
{
$ Etype = "Nauja tema";
}
kitas
{
$ Etype = "Naujas pranešimas";
}
/ / Statusicon
/ / Rodyti taškas aplanką?
if ($ vBulletin-> userinfo [userid '] ir $ vBulletin-> Funkcijos ["showdots'] ir $ dotthreads [" $ siūlų [threadid]])
{
$ Siūlų [statusicon "] .= '_dot";
$ Siūlų ['dot_count'] = $ dotthreads ["$ siūlų [threadid ]"][' skaičius];
$ Siūlų ['dot_lastpost'] = $ dotthreads ["$ thread [threadid ]"][' lastpost '];
}
/ / Parodyti karšto aplanką?
if ($ vBulletin-> Funkcijos ["usehotthreads] IR (($ siūlų [" replycount]> = $ vBulletin-> Funkcijos ['hotnumberposts'] ir $ vBulletin-> Funkcijos ['hotnumberposts']> 0) arba ( $ siūlų ["požiūrį"]> = $ vBulletin-> Funkcijos ['hotnumberviews'] ir $ vBulletin-> Funkcijos ['hotnumberviews']> 0)))
{
$ Siūlų [statusicon "] .= '_hot";
}
/ / Rodo užrakintas aplanką?
if (! $ siūlų ['Open'])
{
$ Siūlų [statusicon "] .= '_lock";
}
$ Siūlų ["statusicon '] =" blank.gif ";
if ($ _REQUEST ['do'] == "xml")
{
Čia yra antroji dalis, vbet forume sustoja didelių pranešimų.
$ Išėjimo .= <<<VAPRINT
<event>
<id> {$ siūlų ["lastpostid']}</ ID>
<what> $ etype </>
<when> {$ siūlų ['data']} {$ siūlų ["laikas']}</>
<title> {$ siūlų ['pavadinimas']}</ pavadinimas>
<Peržiūrėti> {$ siūlų ["peržiūros']}</ peržiūra>
<poster> {$ siūlų [lastposter']}</ plakatą>
<threadid> {$ siūlų ['threadid']}</ threadid>
<postid> {$ siūlų ['lastpostid']}</ postid>
<lastpost> {$ siūlų ["lastpost']}</ lastpost>
<userid> {$ siūlų [lastpuserid']}</ userID>
<forumid> {$ siūlų ['forumid']}</ forumid>
<forumname> {$ siūlų ["forumas']}</ FORUMOVARDAS>
<views> {$ siūlų ['']}</ peržiūros nuomonėmis>
<replies> {$ siūlų [replycount']}</ atsakymai>
<statusicon> {$ siūlų ['statusicon']}</ statusicon>
</ Renginio>
VAPRINT;
}
kitas
{
$ Rowcolor = ($ rowcolor == "alt1" "alt2"? "Alt1");
$ Kur = $ klipas = $ poster_clip = $ plakatas = null;
jei (stristr ($ etype "gija"))
{
$ Post_url = "showthread.php? T = {$ siūlų ['threadid']}";
}
kitas
{
$ Post_url = "showthread.php? P = {$ siūlų ['lastpostid']} # post {$ siūlų ['lastpostid']}";
}
if (! $ siūlų ['pavadinimas'])
{
$ Klipas = "Nežinomas <strong> </ strong>";
}
kitas
{
$ Klipas = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" $ post_url} \\ "> {$ siūlų ['pavadinimas']}</> </ strong>";
}
if ($ siūlų ['peržiūrėti'])
{
$ Klipas .= "<br /> {$ siūlų [" peržiūros']}";
}
$ Klipas .= "peržiūros ({$ siūlų [" požiūrį "]}, {$ siūlų [" replycount "]} atsakymai)";
if ($ siūlų ["lastpuserid '])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ siūlų ['lastposter']}</>";
}
$ Poster_clip .= "<br /> {$ siūlų ['data']} {$ siūlų [" laikas']}";
if ($ thread ['forumas'])
{
$, Kur .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ siūlų [forumas']}</ > </ strong> ";
}
kitas
{
$ Kur = "";
}
if (is_browser ("operos"))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$row}"> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tr> <td plotis = "20" klasė = "$ rowcolor smallfont "nowrap =" nowrap "align =" center "> $ etype </ td> <td class="$rowcolor smallfont" width="225" nowrap="nowrap" align="justify"> $ poster_clip </ td > <td class="$rowcolor smallfont" width="80%"> $ klipas </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" Align="center"> $ kur </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
kitas
{
$ Prefetched .= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" Align="center"> <div class="smallfont"> $ etype </ div> </ td> <td klasės = " $ rowcolor smallfont "> <div class="smallfont"> $ poster_clip </ div> </ td> <td class="$rowcolor smallfont"> <div class="smallfont"> $ klipas </ div> </ td > <td class="$rowcolor smallfont" Align="center"> <div class="smallfont"> $, kur </ div> </ td> </ tr> \\ n
VAPRINT;
}
$ Row + +;
if ($ siūlų ["lastpostid"]> $ highestid)
{
$ Highestid = $ siūlų ["lastpostid '];
}
}
}
if ($ eilutė <20)
{
($ x = $ row; $ x <21 $ x + +)
{
if (is_browser ("operos"))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
kitas
{
$ Prefetched .= <<<VAPRINT
<tr id="row{$x}"> <td class="$rowcolor smallfont" align="left"> </ td> <td class="$rowcolor smallfont"> </ td> < klasės td = "$ rowcolor smallfont"> </ td> <td class="$rowcolor smallfont" align="left"> </ td> </ tr> \\ n
VAPRINT;
}
}
}
/ / Atmintis taupymo
Unset ($ siūlus);
$ Db-> free_result ($ getthreads);
if ($ _REQUEST ['do'] == "xml")
{
antraštės ("Turinio-Tipas: text / xml" ($ stylevar ['charset'] ='''; charset =' $ stylevar ['charset']:? "));
echo '<? xml version = "1.0" encoding = "" $ stylevar [' charset '].'"?>'. "\\ R \\ n";
if ($ produkcija)
{
echo "<events> $ išvesties </ renginiai>";
}
kitas
{
echo "<events />";
}
išvežimo;
}
$ Navbits = array ();
$ Navbits [$ tėvų] = 'Svetainės 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 (" apačią ").'";');
$ Footer = process_replacement_vars ($ poraštės);
echo <<<VAPRINT
$ Stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
Spyfade1 div ... spyfade1 trukmę. Spyfade1 td. Spyfade1 img {
neskaidrumo: 0.90;
filtras: alpha (opacity = 90);
-MOZ-opacity: 0.90;
}
Spyfade2 div. Spyfade2 trukmę, spyfade2 TD, spyfade2 img {
neskaidrumo: 0.80;
filtras: alpha (opacity = 80);
-MOZ-opacity: 0.80;
}
Spyfade3 div. Spyfade3 trukmę. Spyfade3 td. Spyfade3 img {
neskaidrumo: 0,70;
filtras: alpha (opacity = 70);
-MOZ-opacity: 0,70;
}
Spyfade4 div. Spyfade4 trukmę. Spyfade4 td. Spyfade4 img {
neskaidrumo: 0.50;
filtras: alpha (opacity = 50);
-MOZ-opacity: 0.50;
}
Spyfade5 div. Spyfade5 trukmę. Spyfade5 td. Spyfade5 img {
neskaidrumo: 0.30;
filtras: 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;
pauseSpy funkcija () {
var playimg = document.getElementById ("vaplay");
var pauseimg = document.getElementById ("vapause");
playimg.src = "images / misc / play_up.gif"
playimg.alt = "Spustelėkite norėdami Play";
pauseimg.src = "images / misc / pause_down.gif"
pauseimg.alt = "Sustabdyta ...";
pauzė ();
}
playSpy funkcija () {
var playimg = document.getElementById ("vaplay");
var pauseimg = document.getElementById ("vapause");
playimg.src = "images / misc / play_down.gif"
playimg.alt = "Žaidimas ...";
pauseimg.src = "images / misc / pause_up.gif"
pauseimg.alt = "Spustelėkite Pauzė";
atnaujinti ();
}
funkcija pauzė () {
Išbandykite = 0;
}
funkcija atnaujinti () {
žaisti = 1;
}
/ / ->
</ Script>
<title> Kompiuterių Sultys - Svetainės spy </ title>
</ Head>
<body onload="spyinit();">
$ Antraštės
$ Navbar
<table width="90%" Align="center"> <tr> <td width="50%" align="justify"> <input type="checkbox" id="subscribe" value="1"> ; pasirašyto temas tik </ td>
<td width="50%" Align="right">
<Img id = "vaplay" src = "images / misc / play_down.gif" stilius = "žymeklioointer; "alt =" Paleisti "pavadinimas =" Groti Komentarai "onclick =" playSpy (); "/>
<Img id = "vapause" src = "images / misc / pause_up.gif" stilius = "žymeklioointer; "alt =" Pauzė "pavadinimas =" Pauzė Komentarai "onclick =" pauseSpy (); "/>
</ Td> </ tr> </ table>
<br />
VAPRINT;
if (is_browser ("operos"))
{
$ Išėjimo .= <<<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;"> valstybė </ td>
<td class="tcat" width="80%" style="height:25px;"> Tema / Rašyti </ td>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;"> Forumas
</ 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;
}
kitas
{
$ Išėjimo .= <<<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"> </ td> <td class="thead" width="100"> valstybė </ td> <td klasės = "tHead "> Tema / Rašyti </ td> <td class="thead" width="190"> Forumas </ td> </ tr>
</ THead>
<tbody class="alt1">
$ Prefetched
<tr id="row21" style="display: none;" class="spyfade1"> <td align="left"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ tr>
<tr id="row22" style="display: none;" class="spyfade2"> <td align="left"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ tr>
<tr id="row23" style="display: none;" class="spyfade3"> <td align="left"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ tr>
<tr id="row24" style="display: none;" class="spyfade4"> <td align="left"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ tr>
<tr id="row25" style="display: none;" class="spyfade5"> <td align="left"> </ td> <td> </ td> <td> < / td> <td align="left"> </ td> </ tr>
</ Tbody>
</ Table>
VAPRINT;
}
$ Išėjimo .= <<<VAPRINT
$ Poraštės
VAPRINT;
echo $ produkcija;
?>
Ir tai yra klausimas - išėjimas tiesiog išspausdinti, todėl nėra galimybės versti jį įprastu būdu.
Bet - mes turime sprendimą - vienas, kurį aš nurodė jums. Jis atliks atvejais kaip šis. Prašome mums tiksliai pasakyti, kuris žingsnis, turite bėdų. Mes padėsime jums pūdymas instrukcijas arba netgi pakeisti jį labiau suprantama
PS.
Ar jūs tikri, kad licenciją Šis mod leidžia paskelbti savo kodą? Jei ne, tada galite jį pašalinti.
Leiskite man būti aišku, aš noriu padaryti šį darbą, galiu sumokėti.
, Žinoma, mes siūlome taip pat mokamas paslaugas, pavyzdžiui, montavimo, atnaujinti. Mes ne galvoti apie integraciją paslaugų, bet jūs galite nusipirkti atnaujinti paslaugų ir mes padarysime tai už jus.
Atkreipkite dėmesį, kad mes turės prieigą prie jūsų FTP ir Admin CP, galės tai padaryti integracijos (Admin CP-gal ir ne, jei faktiniai parametrai Gerai; FTP galutinai taip).