PDA

Veure la Versió Completa: No css o imatges en les pàgines plugin de ISPY



Snake
16-04-10, 17:33
Hola Michel, alguna possibilitat que pogués fer una ullada i veure si hi ha una solució fàcil per això;

Suc d'equip - Spy lloc (http://www.computer-juice.com/forums/pt/vaispy.php)

Sembla que el guió no està rebent l'arxiu CSS correctament i està buscant en el lloc equivocat de les imatges ...

vBET
16-04-10, 17:52
Com veig que aquesta pàgina no s'ha traduït en absolut. El més probable és global_complete ganxo no s'usa allà. Vostè pot tractar de la integració dels mods que no són d'usar el ganxo global_complete.

Vegi aquí la descripció:

Si us plau, comproveu primer que fa realment global_complete no s'usa allà.

Snake
20-04-10, 14:11
Sincerament, no sé com seguir les instruccions, és un mod senzill, funciona de ajax, crec, un fitxer php, cap producte o plantilles. Aquí hi ha el contingut de l'arxiu.


<? Php
//################################################ ################################//
/ / MOD NOM: VBISpy # / /
//################################################ ################################//
/ / Descripció: Aquesta modificació per vBulletin afegeix un "en viu" de desplaçament # / /
/ / Actualització dels nous missatges en el fòrum # / /
//################################################ ################################//
/ / PER: MPDev # / /
/ / Data: 09/26/06 # / /
/ / Versió: 1.0.12 # / /
//################################################ ################################//

/ / ####################### JOC DE MEDI AMBIENT PHP ###################### #####
error_reporting (E_ALL & ~ E_NOTICE);

/ / #################### Definir constants IMPORTANT #######################
define ('THIS_SCRIPT', 'vaispy');

/ / ################### CAIXET DE PRE-I PLANTILLES ###################### DADES
/ / Obtenir els grups especials de la frase
$ Phrasegroups = array ();

/ / Obtenir les plantilles de dades especials del magatzem de dades
$ Specialtemplates = array ();

/ / Pre-memòria cau de les plantilles utilitzades per totes les accions
$ Globaltemplates = array ();

/ / Pre-memòria cau de les plantilles utilitzades per les accions específiques
$ Actiontemplates = array ();

/ / ######################### REQUERIR de fons ################### #########
require_once ('/ global.php.');

/ / CONFIG VARS ######################### ##################### #######
/ / El nombre de dies per explorar la taula de .. (86.400 representa el nombre de segons en 24 hores)
$ Daysprune = 1;

/ / No llista d'aquest fòrum, fins i tot si tenen permisos (categories de proves, etc)
$ Blockforums = "";

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

$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['última'];
$ Subscriure = (int) $ _REQUEST ['subscriure'];

foreach ($ vBulletin-> forumcache AS $ fòrum) {
$ Fòrum = $ fòrum ['Forum'];
$ Forumperms = & $ vBulletin-> userinfo ['forumpermissions']["$ Forum "];

if (! isset ($ vBulletin-> forumcache ["$ Forum"]) o! ($ forumperms i $ vBulletin-> bf_ugp_forumpermissions ['canview']) o! ($ forumperms i $ vBulletin-> bf_ugp_forumpermissions ['canviewothers'] ) O! verify_forum_password ($ Forum, $ vBulletin-> forumcache ["$ Forum"] ['password'], false))
{
$ Blockforums .=','.$ fòrum ['Forum'];
}
}
unset ($ fòrum);

$ Datecut = "I thread.lastpost> =". (TimeNow - ($ daysprune * 86.400));
$ Prefetch = null;

############################################################################
/ / Obtenir Temes acabo de publicar en
require_once (. DIR "/ includes / functions_forumdisplay.php ');
$ Result = $ db-> query_read ("
SELECCIONAR threaded
FROM ". Table_prefix." Fil de rosca
ON NO thread.forumid A ($ 0 blockforums) i
thread.visible = 1 i
thread.open <> 10 i
thread.lastpostid> $ lastpostid
$ Datecut
");

$ IdsArray = array ();
while ($ id = $ db-> fetch_array ($ resultat))
{
$ IdsArray [] = $ id ['threaded'];
}

$ Dotthreads = fetch_dot_threads_array (implosió (',', $ idsArray));
############################################################################
/ / Obtenir Temes

/ / No poseu a més de 20 a menys que sàpiga com modificar el html a la part inferior de la pàgina (i en la línia 291)
$ Limitq = (isset ($ _REQUEST ['do']) "20": "5,20");

if ($ subscriure == 1)
{
$ Getthreads = $ db-> query_read ("
SELECCIONAR subscribethread.subscribethreadid,
thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext com una vista prèvia,
post.userid COM lastpuserid
FROM ". Table_prefix". Subscribethread COM subscribethread
INNER JOIN ". Table_prefix." Fil com a fil ON (subscribethread.threadid thread.threadid =)
LEFT JOIN ". Table_prefix". Deletionlog COM Deletionlog ON (thread.threadid = deletionlog.primaryid I type = 'fil')
LEFT JOIN ". Table_prefix." Post com post ON (post.postid thread.lastpostid =)
ON subscribethread.userid = ". $ VBulletin-> userinfo ['id_usuario']."
I NO EN thread.forumid (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
");
}
més
{
$ Getthreads = $ db-> query_read ("
SELECCIONAR thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext com una vista prèvia,
post.userid COM lastpuserid
FROM ". Table_prefix." Fil com a fil
LEFT JOIN ". Table_prefix". Deletionlog COM Deletionlog ON (thread.threadid = deletionlog.primaryid I type = 'fil')
LEFT JOIN ". Table_prefix." Post com post ON (post.postid thread.lastpostid =)
ON oberta <> 10
$ Datecut
I NO EN thread.forumid (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
");
}

$ Row = $ Highest = 1;
$ Rowcolor = "ALT2";

while ($ thread = $ db-> fetch_array ($ getthreads)) {
$ Color = $ color == "Alt1? "ALT2 ':' Alt1;

$ Fil ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ thread ['title']), 85)));
$ Fil ['data'] = vbDate ($ vBulletin-> fil options ['DATEFORMAT'], $ ['lastpost'], 1);
$ Fil ['temps'] = vbDate ($ vBulletin-> options ['timeformat'], $ fil ['lastpost']);

/ / Es pot oblidar-se de HTML i el primer BBCode
$ Fil ['vista prèvia'] = strip_tags (fil strip_bbcode ($ ['vista prèvia'], true, true));
$ Fil ['vista prèvia'] = htmlspecialchars_uni (fetch_trimmed_title ($ thread ['vista prèvia'], 200));
$ Fil ['vista prèvia'] = fetch_censored_text (fetch_word_wrapped_string ($ thread ['vista prèvia'], 20));

$ Fil ['replycount'] = ($ thread ['replycount']) vb_number_format;
$ Fil ['visites'] = vb_number_format ($ thread ['visites']);

$ = $ Tforumid fil ['Forum'];
$ Fil ['fòrum'] = htmlspecialchars_uni ($ vBulletin-> forumcache ["$ tforumid"] ['title']);

if ($ thread ['lastpostid'] == $ fil ['firstpostid'])
{
$ Etype = "Nou Tema";
}
més
{
$ Etype = "Missatge nou";
}

/ / Statusicon
/ / Carpeta de punts show?
if ($ vBulletin-> userinfo ['id_usuario'] i $ vBulletin-> options ['showdots'] i $ dotthreads ["$ fil [threaded]"])
{
$ Fil ['statusicon'] .= '_dot;
Fil de rosca $ ['dot_count'] = $ dotthreads ["$ [threaded ]"][' count '];
Fil de rosca $ ['dot_lastpost'] = $ dotthreads ["$ [threaded ]"][' lastpost '];
}

/ / Mostra la carpeta calenta?
if ($ vBulletin-> options ['usehotthreads'] i (($ thread ['replycount']> = $ vBulletin-> options ['hotnumberposts'] i $ vBulletin-> options ['hotnumberposts']> 0) O ( $ fil ['visites']> = $ vBulletin-> options ['hotnumberviews'] i $ vBulletin-> options ['hotnumberviews']> 0)))
{
$ Fil ['statusicon'] .= '_hot;
}

/ / Mostra carpeta bloquejada?
if ($ thread ['obrir'])
{
$ Fil ['statusicon'] .= '_lock;
}

$ Fil ['statusicon'] = "blank.gif";

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

Snake
20-04-10, 14:11
Aquí està la segona part, el fòrum VBET deixa missatges de grans dimensions.


$ Sortida .= <<<VAPRINT
<event>
<id> {$ fil ['lastpostid']}</ id>
<qué> $ etype </ i>
<when> {$ fil ['data']} {$ fil ['temps']}</ quan>
<title> {$ fil ['title títol']}</>
<preview> {$ fil ['vista prèvia vista prèvia']}</>
<poster> {$ fil ['cartell lastposter']}</>
<threadid> {$ fil ['threaded']}</ threaded>
<postid> {$ fil ['lastpostid']}</ posted>
<lastpost> {$ fil ['lastpost']}</ lastpost>
<ID_usuario> {$ Fil ['userid lastpuserid']}</>
<forumid> {$ fil ['Forum']}</ Fòrum>
<forumname> {$ fil ['fòrum']}</ forumname>
<views> {$ fil ['Vistes al']}</>
<replies> {$ fil ['respostes']}</ replycount>
<statusicon> {$ fil ['statusicon']}</ statusicon>
</ Event>
VAPRINT;
}
més
{
$ Rowcolor = ($ rowcolor == "Alt1" "ALT2": "Alt1");

$ On = $ $ = clip de poster_clip = $ cartell = null;

if (stristr ($ etype, "fil"))
{
$ Post_url = "showthread.php? T = {$ fil ['threaded']}";
}
més
{
$ Post_url = "showthread.php? P = {$ fil ['lastpostid']} # {$ missatge fil ['lastpostid']}";
}

if ($ thread ['title'])
{
$ = Clip de "<strong> Desconegut </ strong>";
}
més
{
$ = Clip de "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ fil ['title']}</ a> </ strong>";
}

if ($ thread ['vista prèvia'])
{
$ Vídeo .= "<br /> {$ fil ['vista prèvia']}";
}

$ Vídeo .= "({$ fil ['visites']} punts de vista, {$ fil ['replycount']} respostes)";

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

$ Poster_clip .= "fil <br /> {$ fil ['data']} {$ ['temps']}";

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

if (is_browser ('òpera'))
{
$ Prefetch .= <<<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"> $ a </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
més
{
$ Prefetch .= <<<VAPRINT
<tr id="row{$row}"> <td class = "$ rowcolor smallfont" <div align="justify"> 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"> $ a </ div> </ td> </ tr> \\ n
VAPRINT;
}

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

if ($ fila <20)
{
for ($ x = $ fila, $ x <21, $ x + +)
{
if (is_browser ('òpera'))
{
$ Prefetch .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
més
{
$ Prefetch .= <<<VAPRINT
<tr id="row{$x}"> <td class="$rowcolor smallfont" align="justify"> </ td> <td class="$rowcolor smallfont"> </ td> < td class = "$ rowcolor smallfont"> </ td> <td class="$rowcolor smallfont" align="justify"> </ td> </ tr> \\ n
VAPRINT;
}
}
}

/ / La memòria d'estalvi
unset ($ tema);
$ 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 ($ resultat)
{
echo "<events> $ sortida </ actes>";
}
més
{
echo "<events />";
}

sortida;
}

$ Navbits = array ();
$ Navbits [$ parent] = 'espia del lloc';
$ 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 (' peu').'";');
$ Footer = process_replacement_vars ($ peu de pàgina);

fet <<<VAPRINT
$ Stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
. Spyfade1 div,. Període spyfade1,,. Spyfade1 td,. Spyfade1 img {
opacitat: 0,90;
Filtre: alpha (opacity = 90);
-Moz-opacity: 0.90;
}
. Div spyfade2,. Període spyfade2,. Spyfade2 td,. Spyfade2 img {
opacitat: 0,80;
Filtre: alpha (opacity = 80);
-Moz-opacity: 0,80;
}
. Spyfade3 div,. Període spyfade3,. Spyfade3 td,. Spyfade3 img {
opacitat: 0,70;
Filtre: alpha (opacity = 70);
-Moz-opacity: 0,70;
}
. Spyfade4 div,. Període spyfade4,. Spyfade4 td,. Spyfade4 img {
opacitat: 0,50;
Filtre: alpha (opacity = 50);
-Moz-opacity: 0.50;
}
. Spyfade5 div,. Període spyfade5,. Spyfade5 td,. Spyfade5 img {
opacitat: 0,30;
Filtre: 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">

</ Script>
Suc <title> Informàtica - Espia del lloc </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navbar

<table width="90%" align="center"> <td align="left"> width = "50%" <input type="checkbox" id="subscribe" value="1"> ; temes subscrit només </ td>
<td align="right"> width = "50%"
<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 ('òpera'))
{
$ Sortida .= <<<VAPRINT
<table class="tborder" cellpadding="0" cellspacing="0" width="100%" border="0" align="center" id="spy_table">
<td width="20" class="tcat" nowrap="nowrap" style="height:25px;"> </ td>
<td width="225" class="tcat" nowrap="nowrap" style="height:25px;"> membre </ td>
<td class="tcat" width="80%" style="height:25px;"> Tema / Post </ td>
<td width="200" class="tcat" nowrap="nowrap" style="height:25px;"> Fòrum
</ Tr>
<td colspan="4" class="alt1">
$ Prefetch
<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
{
$ Sortida .= <<<VAPRINT
<table class="tborder" cellpadding="6" cellspacing="1" width="100%" border="0" align="center" id="spy_table">
<thead>
<tr align="center"> <td width="100"> class = "thead" Esdeveniment </ td> <td width="100"> class = "thead" membre </ td> <td class = "THEAD "> Tema / Post </ td> <td width="190"> class =" thead "Fòrum </ td> </ tr>
</ THEAD>
<tbody class="alt1">
$ Prefetch
<tr id="row21" style="display: none;" class="spyfade1"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
<tr id="row22" style="display: none;" class="spyfade2"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
<tr id="row23" style="display: none;" class="spyfade3"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
<tr id="row24" style="display: none;" class="spyfade4"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
<tr id="row25" style="display: none;" class="spyfade5"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
</ Tbody>
</ Table>
VAPRINT;
}

$ Sortida .= <<<VAPRINT
$ Peu de pàgina
VAPRINT;

echo $ sortida;
>

vBET
21-04-10, 01:59
I aquest és el problema - la producció és simplement imprimir, així que no hi ha possibilitat de traduir en forma normal.

PERÒ - tenim la solució per això - el que et va assenyalar. Que s'encarregarà dels casos com aquest. Si us plau, digui'ns exactament amb quin grau té problemes. Nosaltres l'ajudarem instruccions guaret o fins i tot modificar-la perquè sigui més comprensible:)

PS.
Estàs segur que la llicència d'aquest mod permet la publicació del seu codi? Si no, aleshores si us plau, elimineu aquesta.

Snake
22-04-10, 09:46
Vull ser clar, vull que per fer aquest treball, el que puc pagar.

vBET
22-04-10, 14:23
Vull ser clar, vull que per fer aquest treball, el que puc pagar.

Per descomptat que també ofereixen serveis de pagament com la instal lació, actualització. No pensava en la integració de serveis, però vostè pot comprar el servei d'actualització (http://www.vbenterprisetranslator.com/upgrade-service.php) i ho farem per vostè.

Tingueu en compte que necessita tenir accés al teu PC de FTP i d'administració per poder fer aquesta integració (Admin CP - potser no es si la configuració actual estan bé, FTP definitivament sí).

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