Oi Michel, alguma chance de que você poderia dar uma olhada e ver se há um reparo fácil para isso;
Suco de computador - Spy site
Parece que o script não está recebendo o arquivo css corretamente e está procurando no lugar errado para imagens ...
Oi Michel, alguma chance de que você poderia dar uma olhada e ver se há um reparo fácil para isso;
Suco de computador - Spy site
Parece que o script não está recebendo o arquivo css corretamente e está procurando no lugar errado para imagens ...
A meu ver esta página não é traduzida. Gancho provavelmente global_complete não é usado lá. Você pode tentar a integração de mods que não estão usando gancho global_complete.
Veja aqui a descrição: http://www.vbenterprisetranslator.co....html # post1795
Por favor verifique primeiro se realmente global_complete não é usado lá.
Eu honestamente não sei como seguir essas instruções, é um mod simples, funciona de ajax eu acho, apenas um arquivo php, nenhum produto ou modelos. Aqui está o conteúdo do arquivo.
<? Php
//################################################ ################################//
NOME / MOD /: VBISpy # / /
//################################################ ################################//
/ / DESCRIÇÃO: Esta modificação para vBulletin adiciona um scrolling "ao vivo" # / /
/ Update / de novos postos para o fórum # / /
//################################################ ################################//
/ / POR: MPDev # / /
/ / Data: 9.26.06 # / /
/ / Versão: 1.0.12 # / /
//################################################ ################################//
/ / SET ####################### ###################### PHP AMBIENTE #####
error_reporting (E_ALL & ~ E_NOTICE);
/ / #################### Definir constantes IMPORTANTE #######################
define ('THIS_SCRIPT', 'vaispy');
/ / CACHE ################### PRÉ-TEMPLATES E DADOS ######################
/ / Get grupos frase especial
$ Phrasegroups = array ();
/ / Get modelos especiais dados do armazenamento de dados
$ Specialtemplates = array ();
/ / Pre-cache modelos usados por todas as ações
$ Globaltemplates = array ();
/ / Pre-cache modelos usados por ações específicas
$ Actiontemplates = array ();
/ / ######################### REQUIRE Back-End ################### #########
require_once ('/ global.php.');
/ / CONFIG ######################### ##################### VARS #######
/ / O número de dias para examinar a tabela para .. (86400 representa o número de segundos em 24 horas)
$ Daysprune = 1;
/ / Não lista destes fóruns, mesmo que tenham permissões (categorias de teste, etc)
Blockforums $ = "";
/ / CONFIG ######################### ##################### VARS #######
$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['última'];
$ Cadastrar = (int) $ _REQUEST ['subscribe'];
foreach ($ vbulletin-> forumcache AS $ fórum) {
Forumid $ = $ forum ['forumid'];
Forumperms $ = & $ vbulletin-> userinfo ['forumpermissions']["$ forumid "];
if (! isset ($ vbulletin-> forumcache ["$ forumid"]) OR! ($ & $ forumperms vbulletin-> bf_ugp_forumpermissions ['canview']) OR! ($ & $ forumperms vbulletin-> bf_ugp_forumpermissions ['canviewothers'] ) OR! verify_forum_password ($ forumid, $ vbulletin-> forumcache ["$ forumid"] ['password'], false))
{
$ Blockforums .=','.$ forum ['forumid'];
}
}
unset ($ fórum);
$ Datecut = "E thread.lastpost> =". (TIMENOW - ($ daysprune * 86400));
$ Prefetched = null;
############################################################################
/ / Get Threads eu Postado Em
require_once (. DIR '/ includes / functions_forumdisplay.php');
$ Result = $ db-> query_read ("
SELECIONE threadid
FROM ". Table_prefix." Thread como thread
ONDE NÃO thread.forumid IN (0 $ blockforums) e
thread.visible = 1 e
thread.open <> 10 e
thread.lastpostid> $ lastpostid
$ Datecut
");
$ IdsArray = array ();
while ($ id = $ db-> fetch_array ($ result))
{
$ IdsArray [] = $ id ['threadid'];
}
$ Dotthreads = fetch_dot_threads_array (implode (',', $ idsArray));
############################################################################
/ / Get Tópicos
/ / Não coloque a mais de 20 se você não sabe como modificar o html na parte inferior da página (e na linha 291)
$ Limitq = (isset ($ _REQUEST ['do']) "20": "5,20");
if ($ cadastrar == 1)
{
Getthreads $ = $ db-> query_read ("
SELECIONE 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 visualização,
post.userid AS lastpuserid
FROM ". Table_prefix". Subscribethread AS subscribethread
INNER JOIN ". Table_prefix." Thread como thread ON (subscribethread.threadid thread.threadid =)
LEFT JOIN ". Table_prefix". Deletionlog AS Deletionlog ON (thread.threadid = deletionlog.primaryid E type = 'thread')
LEFT JOIN ". Table_prefix." Post AS pós ON (post.postid thread.lastpostid =)
WHERE = subscribethread.userid ". $ Vbulletin-> userinfo ['userid']."
E NÃO EM thread.forumid (0 $ blockforums)
E thread.visible = 1
E subscribethread.canview = 1
E thread.lastpostid> $ lastpostid
E deletionlog.primaryid IS NULL
$ Datecut
ORDER BY DESC LIMIT $ thread.lastpost limitq
");
}
outro
{
Getthreads $ = $ db-> query_read ("
SELECIONE thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext AS visualização,
post.userid AS lastpuserid
FROM ". Table_prefix." Thread como thread
LEFT JOIN ". Table_prefix". Deletionlog AS Deletionlog ON (thread.threadid = deletionlog.primaryid E type = 'thread')
LEFT JOIN ". Table_prefix." Post AS pós ON (post.postid thread.lastpostid =)
ONDE aberta <> 10
$ Datecut
E NÃO EM thread.forumid (0 $ blockforums)
E thread.visible = '1 '
E thread.lastpostid> $ lastpostid
E post.visible = 1
E deletionlog.primaryid IS NULL
ORDER BY DESC LIMIT $ thread.lastpost limitq
");
}
$ Row = $ highestid = 1;
$ Rowcolor = "alt2";
while ($ linha = $ db-> fetch_array ($ getthreads)) {
$ Cor = $ == 'alt1'? "Alt2 ':' alt1 ';
$ Linha ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ linha ['title']), 85)));
$ Linha ['data'] = vbdate ($ vbulletin-> linha options ['dateformat'], $ ['lastpost'], 1);
$ Linha ['tempo'] = vbdate ($ vbulletin-> options ['timeformat'], $ linha ['lastpost']);
/ / Se livrar de html e primeiro bbcode
$ Linha ['preview'] = strip_tags (thread strip_bbcode ($ ['preview'], true, true));
$ Linha ['preview'] = htmlspecialchars_uni (fetch_trimmed_title ($ linha ['preview'], 200));
$ Linha ['preview'] = fetch_censored_text (fetch_word_wrapped_string ($ linha ['preview'], 20));
$ Linha ['replycount'] = (thread $ ['replycount']) vb_number_format;
$ Linha ['visões'] = vb_number_format ($ linha ['visões']);
$ $ Tforumid thread = ['forumid'];
$ Linha ['forum'] = htmlspecialchars_uni ($ vbulletin-> forumcache ["$ tforumid"] ['title']);
if ($ linha ['lastpostid'] == $ linha ['firstpostid'])
{
$ Etype = "Nova Discussão";
}
outro
{
$ Etype = "Mensagem Nova";
}
/ / Statusicon
/ / Pasta dot show?
if ($ vbulletin-> userinfo ['userid'] E $ vbulletin-> options ['showdots'] E $ dotthreads ["$ linha [threadid]"])
{
$ Linha ['statusicon'] .= '_dot';
Linha $ linha ['dot_count'] = $ dotthreads ["$ [threadid ]"][' count '];
Linha $ linha ['dot_lastpost'] = $ dotthreads ["$ [threadid ]"][' lastpost '];
}
/ / Show pasta quente?
if ($ vbulletin-> options ['usehotthreads'] E (($ linha ['replycount']> = $ vbulletin-> options ['hotnumberposts'] E $ vbulletin-> options ['hotnumberposts']> 0) ou ( $ linha ['visões']> = $ vbulletin-> options ['hotnumberviews'] E $ vbulletin-> options ['hotnumberviews']> 0)))
{
$ Linha ['statusicon'] .= '_hot';
}
/ / Show pasta bloqueada?
if (! $ linha ['open'])
{
$ Linha ['statusicon'] .= '_lock';
}
$ Linha ['statusicon'] = "Recente";
if ($ _REQUEST ['do'] == "xml")
{
Aqui está segunda parte, forum vbet pára posts grandes.
$ Output .= <<<VAPRINT
<event>
<id> {$ linha ['lastpostid']}</ id>
<recurso> $ etype </ o>
<when> {$ linha ['data']} {$ linha ['']}</ momento em que>
<title> {$ linha ['title']}</ title>
<preview> {$ linha ['preview']}</ visualização>
<poster> {$ linha ['lastposter poster']}</>
<threadid> {$ linha ['threadid']}</ threadid>
<postid> {$ linha ['lastpostid']}</ postid>
<lastpost> {$ linha ['lastpost']}</ lastpost>
<userid> {$ linha ['userid lastpuserid']}</>
<forumid> {$ linha ['forumid']}</ forumid>
<forumname> {$ linha ['forum']}</ forumname>
<views> {$ linha [views "visões']}</>
<replies> {$ linha ['respostas']}</ replycount>
<statusicon> {$ linha ['statusicon']}</ statusicon>
</ Evento>
VAPRINT;
}
outro
{
$ Rowcolor = ($ rowcolor == "alt1" "alt2": "alt1");
$ Onde = clipe $ = $ = poster_clip poster $ = null;
if (stristr ($ etype, "thread"))
{
$ Post_url = "showthread.php? T thread = {$ ['threadid']}";
}
outro
{
$ Post_url = "showthread.php? P = {$ linha ['lastpostid']} # {$ mensagem fio ['lastpostid']}";
}
if (! $ linha ['title'])
{
$ Clipe = "</ strong> Desconhecido";
}
outro
{
$ Clipe = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ linha ['title']}</ a> </ strong>";
}
if ($ linha ['preview'])
{
$ Clipe .= "<br /> {$ linha ['preview']}";
}
$ Clipe .= "({$ linha ['visões']} pontos de vista, {$ linha ['replycount']} respostas)";
if ($ linha ['lastpuserid'])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ linha ['lastposter']}</ a>";
}
$ Poster_clip .= "thread /> {$ linha ['data']} {$ <br ['tempo']}";
if ($ linha ['forum'])
{
$ Onde .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ linha']}</ forum [' a>> </ strong ";
}
outro
{
$ Onde = "";
}
if (is_browser ('ópera'))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$row}"> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tr> <td width = class "20" = "$ 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%"> clipe $ </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $ onde </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
outro
{
$ 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"> clipe $ </ div> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ onde </ div> </ td> </ tr> \\ n
VAPRINT;
}
$ Row + +;
if ($ linha ['lastpostid']> $ highestid)
{
$ $ Highestid thread = ['lastpostid'];
}
}
}
if ($ row <20)
{
for ($ x = $ row; $ x <21; $ x + +)
{
if (is_browser ('ópera'))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
outro
{
$ 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 de poupança
unset ($ linha);
$ 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 "saída <events> $ </ events>";
}
outro
{
echo "<events />";
}
saída;
}
$ Navbits = array ();
$ Navbits [$ pai] = 'Spy Site';
$ 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 (' rodapé ').'";');
$ Footer = process_replacement_vars ($ rodapé);
echo <<<VAPRINT
$ Stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
. Div spyfade1,. Spyfade1 extensão,. Spyfade1 td,. Spyfade1 img {
opacidade: 0,90;
filter: alpha (opacity = 90);
-Moz-opacity: 0.90;
}
. Div spyfade2,. Spyfade2 extensão,. Td spyfade2,. {Img spyfade2
opacidade: 0,80;
filter: alpha (opacity = 80);
-Moz-opacity: 0.80;
}
. Div spyfade3,. Spyfade3 extensão,. Spyfade3 td,. Spyfade3 img {
opacidade: 0,70;
filter: alpha (opacity = 70);
-Moz-opacity: 0.70;
}
. Div spyfade4,. Spyfade4 extensão,. Spyfade4 td,. Spyfade4 img {
opacidade: 0,50;
filter: alpha (opacity = 50);
-Moz-opacity: 0.50;
}
. Div spyfade5,. Spyfade5 extensão,. Spyfade5 td,. Spyfade5 img {
opacidade: 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 type="text/javascript"> language="javascript"
<! -
spymax = 25;
highestid = $ highestid;
pauseSpy function () {
playimg var = document.getElementById ("vaplay");
pauseimg var = document.getElementById ("vapause");
playimg.src = "images / misc / play_up.gif";
playimg.alt = "Click to Play";
pauseimg.src = "images / misc / pause_down.gif";
pauseimg.alt = "Paused ...";
pause ();
}
playSpy function () {
playimg var = document.getElementById ("vaplay");
pauseimg var = document.getElementById ("vapause");
playimg.src = "images / misc / play_down.gif";
playimg.alt = Playing "...";
pauseimg.src = "images / misc / pause_up.gif";
pauseimg.alt = "Clique para Pause";
resume ();
}
pause function () {
play = 0;
}
retomar a função () {
play = 1;
}
/ / ->
</ Script>
<title> Juice Computador - Spy Site </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navbar
<table width="90%" align="center"> <td width="50%" align="left"> <input type="checkbox" id="subscribe" value="1"> ; tópicos subscrito apenas </ td>
<td align="right"> width="50%"
<Img id = "vaplay« src = "images / misc / play_down.gif« style = "cursorointer; "alt =" Play "title =" Comentários Play "onclick =" playSpy (); "/>
<Img id = "vapause" src = "images / misc / pause_up.gif" style = "cursorointer; "alt =" Pause "title =" Comentários Pause "onclick =" pauseSpy (); "/>
</ Td> </ tr> </ table>
<br />
VAPRINT;
if (is_browser ('ópera'))
{
$ 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;"> Membro </ td>
<td class="tcat" width="80%" style="height:25px;"> Tópico / Post </ td>
<td class="tcat" width="200" nowrap="nowrap" Fórum style="height:25px;">
</ 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;
}
outro
{
$ 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"> Evento </ td> <td class="thead" width="100"> Membro </ td> <td class = "thead "> Tópico / 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 align="center"> </ td> </ tr>
<tr id="row22" style="display: none;" class="spyfade2"> <td align="center"> </ td> </ td> < / td> <td align="center"> </ td> </ tr>
<tr id="row23" style="display: none;" class="spyfade3"> <td align="center"> </ td> </ td> < / td> <td align="center"> </ td> </ tr>
<tr id="row24" style="display: none;" class="spyfade4"> <td align="center"> </ td> </ td> < / td> <td align="center"> </ td> </ tr>
<tr id="row25" style="display: none;" class="spyfade5"> <td align="center"> </ td> </ td> < / td> <td align="center"> </ td> </ tr>
<Tbody />
</ Table>
VAPRINT;
}
$ Output .= <<<VAPRINT
$ Footer
VAPRINT;
echo $ output;
?>
E esta é a questão - de saída é simplesmente impressa, portanto, não há possibilidade de traduzi-lo de forma normal.
MAS - temos solução para isso - a que eu apontei você. Ele vai lidar com casos como este. Por favor, diga-nos exatamente com que grau você tem problemas. Vamos ajudá-lo instruções de pousio ou mesmo modificá-lo para mais compreensível
PS.
Tem certeza de que a licença deste mod permite a publicar o seu código? Se não, por favor, remova-o.
Deixe-me ser claro, eu quero que você faça esse trabalho, eu posso pagar.
Claro que também oferecem serviços pagos, como instalação, atualização. Nós não pensamos sobre o serviço de integração, mas você pode comprar atualização de serviço e vamos fazer isso por você.
Por favor, note que teremos acesso ao seu FTP e Admin CP para ser capaz de fazer essa integração (CP Admin - talvez não, se as configurações atuais são OK; FTP definitivamente sim).