Pozdrav Michel, kojim slučajem mogli imati izgleda i vidjeti ako ima je jednostavan škripac za ovaj;
Računalo sok - Site špijun
Čini se skripta ne dobiva CSS datoteka pravilno, a gleda na krivom mjestu za slike ...
Pozdrav Michel, kojim slučajem mogli imati izgleda i vidjeti ako ima je jednostavan škripac za ovaj;
Računalo sok - Site špijun
Čini se skripta ne dobiva CSS datoteka pravilno, a gleda na krivom mjestu za slike ...
Kao što vidim ovu stranicu nije preveden na sve. Najvjerojatnije global_complete kuka ne koristi. Možete pokušati integracije Mods koje ne koristite global_complete kuka.
Vidi ovdje za opis: http://www.vbenterprisetranslator.co....html # post1795
Molimo vas prvo provjerite zapravo ne global_complete se ne koristi.
Ja iskreno ne znam kako da slijedite te upute, to je jednostavan mod, staze Ajax Mislim, samo jedan php file, nema proizvod ili predloške. Ovdje je sadržaj datoteke.
<? Php
//################################################ ################################//
/ / MORH IME: VBISpy # / /
//################################################ ################################//
/ / Opis: Ova modifikacija za vBulletin dodaje "uživo" scrolling # / /
/ / Ažuriranje novih postova na forumu # / /
//################################################ ################################//
/ / PO: MPDev # / /
/ / Datum: 9.26.06 # / /
/ / Inačica: 1.0.12 # / /
//################################################ ################################//
/ / ####################### SET PHP OKOLIŠA ###################### #####
error_reporting (E_ALL i ~ E_NOTICE);
/ / #################### DEFINE VAŽNO konstante #######################
define ('THIS_SCRIPT', 'vaispy');
/ / ################### PRE-cache predložaka i PODATAKA ######################
/ / Dohvaćanje posebnih skupina frazu
$ Phrasegroups = array ();
/ / Dobiti posebne podatke predloške iz DataStore
$ Specialtemplates = array ();
/ / Pre-predmemoriju predloške koristi svim akcijama
$ Globaltemplates = array ();
/ / Pre-predmemoriju predloške koristi određene akcije
$ Actiontemplates = array ();
/ / ######################### ZAHTIJEVAJU back-end ################### #########
require_once ('/ global.php.');
/ / ######################### CONFIG Vars ##################### #######
/ / Broj dana za skeniranje stol za .. (86.400 predstavlja broj sekundi u 24 sata)
$ Daysprune = 1;
/ / Nemojte popis ovim forumima, čak i ako imaju dopuštenje (test kategorije, itd.)
$ Blockforums = "";
/ / ######################### CONFIG Vars ##################### #######
$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['prošle'];
$ Pretplatiti = (int) $ _REQUEST ['Prijava'];
foreach ($ vBulletin-> forumcache kao $ forum) {
$ Forumid = $ forum ['forumid'];
$ Forumperms = & $ vBulletin-> userinfo ['forumpermissions']["$ forumid "];
if (! isset ($ vBulletin-> forumcache ["$ forumid"]) ili! ($ & $ forumperms vBulletin-> bf_ugp_forumpermissions ['canview']) ili! ($ & $ forumperms vBulletin-> bf_ugp_forumpermissions ['canviewothers'] ) ili! verify_forum_password ($ forumid, $ vBulletin-> forumcache ["$ forumid"] ['lozinka'], lažne))
{
$ Blockforums .=','.$ forum ['forumid'];
}
}
unset ($ forum);
$ Datecut = "I thread.lastpost> =". (TIMENOW - ($ daysprune * 86.400));
$ Prefetched = null;
############################################################################
/ / Dohvaćanje Niti sam Objavljeno u
require_once (. DIR "/ includes / functions_forumdisplay.php ');
$ Rezultat = $ db-> query_read ("
SELECT threadid
IZ ". TABLE_PREFIX." Navoj kao nit
GDJE thread.forumid NOT IN (0 $ blockforums) i
thread.visible = 1 i
thread.open <> 10 i
thread.lastpostid> $ lastpostid
$ Datecut
");
$ IdsArray = array ();
dok ($ id = $ db-> fetch_array ($ rezultat))
{
$ IdsArray [] = $ id ['threadid'];
}
$ Dotthreads = fetch_dot_threads_array (urušavati (',', $ idsArray));
############################################################################
/ / Dohvaćanje Teme
/ / Ne postavljajte više od 20 osim ako ne znate kako to promijeniti HTML na dnu stranice (i na liniju 291)
$ Limitq = (isset ($ _REQUEST ['ne']) "20":? "5,20");
if ($ pretplatite == 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 pregled,
post.userid AS lastpuserid
IZ ". TABLE_PREFIX." Subscribethread AS subscribethread
INNER JOIN ". TABLE_PREFIX." Niti kao niti na (subscribethread.threadid = thread.threadid)
LEFT JOIN ". TABLE_PREFIX." Deletionlog KAO NA deletionlog (thread.threadid = deletionlog.primaryid I type = 'nit')
LEFT JOIN ". TABLE_PREFIX." Post kao post (post.postid = thread.lastpostid)
GDJE subscribethread.userid = ". $ VBulletin-> userinfo ['userid']."
I thread.forumid NOT IN (0 $ blockforums)
I thread.visible = 1
I subscribethread.canview = 1
I thread.lastpostid> $ lastpostid
I deletionlog.primaryid IS NULL
$ Datecut
ORDER BY DESC LIMIT $ thread.lastpost limitq
");
}
drugo
{
$ 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 pregled,
post.userid AS lastpuserid
IZ ". TABLE_PREFIX." Niti kao nit
LEFT JOIN ". TABLE_PREFIX." Deletionlog KAO NA deletionlog (thread.threadid = deletionlog.primaryid I type = 'nit')
LEFT JOIN ". TABLE_PREFIX." Post kao post (post.postid = thread.lastpostid)
GDJE otvoriti <> 10
$ Datecut
I thread.forumid NOT IN (0 $ blockforums)
I thread.visible = '1 '
I thread.lastpostid> $ lastpostid
I post.visible = 1
I deletionlog.primaryid IS NULL
ORDER BY DESC LIMIT $ thread.lastpost limitq
");
}
$ = $ Red highestid = 1;
$ Rowcolor = "alt2";
dok ($ thread = $ db-> fetch_array ($ getthreads)) {
$ Boja = $ boja == 'alt1'? 'Alt2': 'alt1';
$ Nit ['naslov'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ nit ['naslov']), 85)));
$ Nit ['datum'] = vbdate ($ vBulletin-> opcije ['dateformat'], $ nit ['lastpost'], 1);
$ Nit ['vrijeme'] = vbdate ($ vBulletin-> opcije ['timeformat'], $ nit ['lastpost']);
/ / Riješite HTML i BBCode prvi
$ Nit ['pregled'] = strip_tags (strip_bbcode ($ nit ['pregled'], istina, istina));
$ Nit ['pregled'] = htmlspecialchars_uni (fetch_trimmed_title ($ nit ['pregled'], 200));
$ Nit ['pregled'] = fetch_censored_text (fetch_word_wrapped_string ($ nit ['pregled'], 20));
$ Nit ['replycount'] = vb_number_format ($ nit ['replycount']);
$ Nit ['pogled'] = vb_number_format ($ nit ['pogleda']);
$ = $ Tforumid nit ['forumid'];
$ Nit ['forum'] = htmlspecialchars_uni ($ vBulletin-> forumcache ["$ tforumid"] ['naslov']);
if ($ thread ['lastpostid'] == $ nit ['firstpostid'])
{
$ Etype = "novu temu";
}
drugo
{
$ Etype = "Novi post";
}
/ / Statusicon
/ / Pokazuje točka mapu?
if ($ vBulletin-> userinfo ['userid'] i $ vBulletin-> opcije ['showdots'] i $ dotthreads ["$ thread [threadid]"])
{
$ Nit ['statusicon'] .= "_dot ';
$ Nit ['dot_count'] = $ dotthreads ["$ thread [threadid ]"][' count '];
$ Nit ['dot_lastpost'] = $ dotthreads ["$ thread [threadid ]"][' lastpost '];
}
/ / Pokazuje vruće mapu?
if ($ vBulletin-> opcije ['usehotthreads'] I (($ nit ['replycount']> = $ vBulletin-> opcije ['hotnumberposts'] i $ vBulletin-> opcije ['hotnumberposts']> 0) ili ( $ nit ['pogled']> = $ vBulletin-> opcije ['hotnumberviews'] i $ vBulletin-> opcije ['hotnumberviews']> 0)))
{
$ Nit ['statusicon'] .= "_hot ';
}
/ / Pokazuje zaključan mapu?
if (! $ nit ['otvorena'])
{
$ Nit ['statusicon'] .= "_lock ';
}
$ Nit ['statusicon'] = "blank.gif";
if ($ _REQUEST ['ne'] == "xml")
{
Ovdje je drugi dio, vbet forum zaustavlja velike postove.
$ Izlaz .= <<<VAPRINT
<event>
<id> {$ nit ['lastpostid']}</ ID>
<what> $ etype </ što>
<when> {$ nit ['datum']} {$ nit ['vrijeme kada']}</>
<title> {$ nit [naslov']}</ title>
<preview> {$ nit ['pregled']}</ pregled>
<poster> {$ nit ['lastposter']}</ poster>
<threadid> {$ nit ['threadid']}</ threadid>
<postid> {$ nit ['lastpostid']}</ postid>
<lastpost> {$ nit ['lastpost']}</ lastpost>
<userid> {$ nit ['userid lastpuserid']}</>
<forumid> {$ nit ['forumid']}</ forumid>
<forumname> {$ nit [foruma']}</ forumname>
<views> {$ nit [stavove']}</ pregleda>
<replies> {$ nit ['replycount']}</ odgovora>
<statusicon> {$ nit ['statusicon']}</ statusicon>
</ Događaja>
VAPRINT;
}
drugo
{
$ Rowcolor = ($ rowcolor == "alt1" "alt2": "alt1");
$ Gdje je $ = isječak = $ = $ poster_clip plakat = null;
if (stristr ($ etype, "nit"))
{
$ Post_url = "showthread.php? T = {$ nit ['threadid']}";
}
drugo
{
$ Post_url = "showthread.php? P = {$ nit ['lastpostid']} # post {$ nit ['lastpostid']}";
}
if (! $ nit ['naslov'])
{
$ Isječak = "<strong> Nepoznato </ strong>";
}
drugo
{
$ Isječak = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" $ {post_url} \\ "> {$ nit [naslov']}</> </ strong>";
}
if ($ thread ['pregled'])
{
$ Isječak .= "<br /> {$ nit ['pregled']}";
}
$ Isječak .= "({$ nit ['pogled']} pogleda, {$ nit ['replycount']} odgovora)";
if ($ thread ['lastpuserid'])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ nit ['lastposter']}</>";
}
$ Poster_clip .= "<br /> {$ nit ['datum']} {$ nit ['vrijeme']}";
if ($ thread ['forum'])
{
$ Gdje .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ nit ['forum']}</ > </ strong> ";
}
drugo
{
$ Gdje je = "";
}
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 "Poravnaj =" center "> $ etype </ td> <td class="$rowcolor smallfont" width="225" nowrap="nowrap" align="justify"> $ poster_clip </ td > <td class="$rowcolor smallfont" width="80%"> $ isječak </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $ gdje </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
drugo
{
$ 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"> $ isječak </ div> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ gdje je </ div> </ td> </ tr> \\ n
VAPRINT;
}
$ Red + +;
if ($ thread ['lastpostid']> $ highestid)
{
$ = $ Highestid nit ['lastpostid'];
}
}
}
if ($ redak <20)
{
za ($ x = $ red; $ x <21; $ x + +)
{
if (is_browser ('Opera'))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
drugo
{
$ 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;
}
}
}
/ / Memorija štednje
unset ($ navoj);
$ Db-> free_result ($ getthreads);
if ($ _REQUEST ['ne'] == "xml")
{
zaglavlje ('Content-Type: text / xml "($ stylevar [' charset '] ='''; charset = '$ stylevar [' znakova ']:.!''.));
jeka "<? xml verzija =" 1.0 "kodiranje =" '. $ stylevar [' znakova '].'"?>'. "\\ R \\ n";
if ($ izlaz)
{
echo "$ <events> izlaz </ događanja>";
}
drugo
{
echo "<events />";
}
izlaz;
}
$ Navbits = array ();
$ Navbits [$ roditelj] = 'web špijun';
$ 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 ('$ podnožje = "'. fetch_template (" fusnote ").'";');
$ Footer = process_replacement_vars ($ podnožje);
jeka <<<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,. Spyfade2 span,. Spyfade2 TD,. Spyfade2 img {
opacity: 0,80;
filter: alpha (opacity = 80);
-Moz-opacity: 0,80;
}
. Spyfade3 div,. Spyfade3 span,. Spyfade3 TD,. Spyfade3 img {
opacity: 0,70;
filter: alpha (opacity = 70);
-Moz-opacity: 0,70;
}
. Spyfade4 div,. Spyfade4 span,. Spyfade4 TD,. Spyfade4 img {
opacity: 0,50;
filter: alpha (opacity = 50);
-Moz-opacity: 0,50;
}
. Spyfade5 div,. Spyfade5 span,. 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;
funkcija pauseSpy () {
var = document.getElementById playimg ("vaplay");
var = document.getElementById pauseimg ("vapause");
playimg.src = "images / misc / play_up.gif";
playimg.alt = "Click to Play";
pauseimg.src = "images / misc / pause_down.gif";
pauseimg.alt = "Pauzirano ...";
stanka ();
}
funkcija playSpy () {
var = document.getElementById playimg ("vaplay");
var = document.getElementById pauseimg ("vapause");
playimg.src = "images / misc / play_down.gif";
playimg.alt = "Igranje ...";
pauseimg.src = "images / misc / pause_up.gif";
pauseimg.alt = "Klikni za pauziranje";
životopis ();
}
Funkcija pauze () {
igra = 0;
}
funkcija životopis () {
igra = 1;
}
/ / ->
</ Script>
<title> računala sok - Site špijun </ title>
</ Head>
<body onload="spyinit();">
$ Zaglavlje
$ Navbar
<table width="90%" align="center"> <tr> <td width="50%" align="justify"> <input type="checkbox" id="subscribe" value="1"> ; upisanih niti samo </ td>
<td width="50%" align="right">
<Img id = "vaplay" src = "images / misc / play_down.gif" style = "pokazivačaointer; "alt =" Play "title =" Play Komentari "onclick =" playSpy (); "/>
<Img id = "vapause" src = "images / misc / pause_up.gif" style = "pokazivačaointer; "alt =" Pauza "title =" Pauza Komentari "onclick =" pauseSpy (); "/>
</ Td> </ tr> </ table>
<br />
VAPRINT;
if (is_browser ('Opera'))
{
$ Izlaz .= <<<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;"> Član </ td>
<td class="tcat" width="80%" style="height:25px;"> Tema / post </ 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;
}
drugo
{
$ Izlaz .= <<<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"> događaj </ td> <td class="thead" width="100"> Član </ td> <td class = "thead "> Tema / post </ td> <td class="thead" width="190"> Forum </ 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;
}
$ Izlaz .= <<<VAPRINT
$ Podnožja
VAPRINT;
echo $ izlaz;
?>
A to je pitanje - izlaz jednostavno je tiskan, tako da ne postoji mogućnost da ga prevesti na normalan način.
ALI - imamo rješenje za to - onaj koji sam ti pokazao. To će nositi se sa slučajevima kao što je ovaj jedan. Molimo Vas da nam reći točno s kojim ste korak nevolje. Mi ćemo vam pomoći jelen uputama ili čak i mijenjati više razumljivo
PS.
Jeste li sigurni da dozvole ovaj mod omogućuje objaviti kod? Ako ne onda je uklonite.
Želim biti posve jasan, želim vam da ovaj posao, ja mogu platiti.
Naravno nudimo i plaćene usluge kao što su instalacije, nadogradnje. Nismo razmišljati o integraciji usluga, ali možete kupiti nadogradnju usluge a mi ćemo to učiniti za vas.
Imajte na umu da će trebati pristup vašem FTP i Admin CP biti u mogućnosti to učiniti integracija (Admin CP - možda ne ako stvarni postavke su u redu, FTP definitivno da).