PDA

Ver Versión Completa: Sen css ou imaxes en páxinas do plugin iSpy



Snake
16-04-10, 17:33
Ola Michel, algunha posibilidade de que podería dar un ollo e ver se hai unha reparación doado para iso;

Zume de ordenador - Spy Sitio web (http://www.computer-juice.com/forums/pt/vaispy.php)

Parece que o guión non está recibindo o arquivo css correctamente e está a buscar no lugar incorrecto para imaxes ...

vBET
16-04-10, 17:52
Ao meu ver esta páxina non é traducida. Gancho probablemente global_complete non se usa alí. Podes probar a integración de mods que non están usando gancho global_complete.

Aquí tes unha descrición:

Por favor, comprobe primeiro se realmente global_complete non se usa alí.

Snake
20-04-10, 14:11
Eu honestamente non sei como seguir estas instrucións, é un mod simple, funciona de ajax creo, só un ficheiro php, ningún produto ou modelos. Aquí está o contido do arquivo.


<? PHP
//################################################ ################################//
NOME / MOD /: VBISpy # / /
//################################################ ################################//
/ / Descrición: Esta modificación para vBulletin engade un scrolling "en directo" # / /
/ Update / de novos postos para o foro # / /
//################################################ ################################//
/ / POR: MPDev # / /
/ / Data: 9.26.06 # / /
/ / Versión: 1.0.12 # / /
//################################################ ################################//

/ / SET ####################### ###################### PHP AMBIENTE #####
error_reporting (E_ALL & ~ E_NOTICE);

/ / #################### Establecer constantes IMPORTANTE #######################
define ('THIS_SCRIPT', 'vaispy');

/ / Cache ################### FRÍO Template E DATOS ######################
/ / Get grupos frase especial
$ Phrasegroups = array ();

/ / Get modelos especiais datos do almacenamento de datos
$ Specialtemplates = array ();

/ / Pre-cache modelos usados por todas as accións
$ Globaltemplates = array ();

/ / Pre-cache modelos usados por accións específicas
$ Actiontemplates = array ();

/ / ######################### Require Back-End ################### #########
require_once ('/ global.php.');

/ / Config ######################### ##################### Varsi #######
/ / O número de días para examinar a táboa para .. (86400 representa o número de segundos en 24 horas)
$ Daysprune = 1;

/ / Non lista destes foros, aínda que teñan permisos (categorías de proba, etc)
Blockforums $ = "";

/ / Config ######################### ##################### Varsi #######

$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['última'];
$ Rexistrarse = (int) $ _REQUEST ['subscribe'];

foreach ($ vBulletin-> forumcache AS $ foro) {
Forumid $ = $ foro ['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 .=','.$ foro ['forumid'];
}
}
unset ($ foro);

$ Datecut = "E thread.lastpost> =". (TIMENOW - ($ daysprune * 86400));
$ Prefetched = null;

############################################################################
/ / Get Threads eu Publicado en
require_once (. DIR '/ includes / functions_forumdisplay.php');
$ Result = $ db-> query_read ("
Seleccione threadid
FROM ". Table_prefix." Fío como fío
ONDE NON 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 Temas

/ / Non coloque a máis de 20 se non sabe como modificar o html na parte inferior da páxina (e na liña 291)
$ Limitq = (isset ($ _REQUEST ['do']) "20": "5,20");

if ($ rexistrarse == 1)
{
Getthreads $ = $ db-> query_read ("
Seleccione 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 visualización,
post.userid AS lastpuserid
FROM ". Table_prefix". Subscribethread AS subscribethread
Inner JOIN ". Table_prefix." Fío como fío 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 pos ON (post.postid thread.lastpostid =)
WHERE = subscribethread.userid ". $ VBulletin-> userinfo ['userid']."
E NON EN 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 LIMITE $ thread.lastpost limitq
");
}
outro
{
Getthreads $ = $ db-> query_read ("
Seleccione thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext AS visualización,
post.userid AS lastpuserid
FROM ". Table_prefix." Fío como fío
LEFT JOIN ". Table_prefix". Deletionlog AS Deletionlog ON (thread.threadid = deletionlog.primaryid E type = 'thread')
LEFT JOIN ". Table_prefix." Post AS pos ON (post.postid thread.lastpostid =)
ONDE aberta <> 10
$ Datecut
E NON EN thread.forumid (0 $ blockforums)
E thread.visible = '1 '
E thread.lastpostid> $ lastpostid
E post.visible = 1
E deletionlog.primaryid IS NULL
ORDER BY DESC LIMITE $ thread.lastpost limitq
");
}

$ Row = $ highestid = 1;
$ Rowcolor = "alt2";

while ($ liña = $ db-> fetch_array ($ getthreads)) {
$ Cor = $ == 'alt1'? "Alt2 ':' alt1 ';

$ Liña ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ liña ['title']), 85)));
$ Liña [data] = vbdate ($ vBulletin-> liña options ['dateformat'], $ ['lastpost'], 1);
$ Liña ['tempo'] = vbdate ($ vBulletin-> options ['timeformat'], $ liña ['lastpost']);

/ / Se librar de html e primeiro bbcode
$ Liña ['preview'] = strip_tags (fío strip_bbcode ($ ['preview'], true, true));
$ Liña ['preview'] = htmlspecialchars_uni (fetch_trimmed_title ($ liña ['preview'], 200));
$ Liña ['preview'] = fetch_censored_text (fetch_word_wrapped_string ($ liña ['preview'], 20));

$ Liña ['replycount'] = (fío $ ['replycount']) vb_number_format;
$ Liña ['visións'] = vb_number_format ($ liña ['visións']);

$ $ Tforumid thread = ['forumid'];
$ Liña ['forum'] = htmlspecialchars_uni ($ vBulletin-> forumcache ["$ tforumid"] ['title']);

if ($ liña ['lastpostid'] == $ liña ['firstpostid'])
{
$ Etype = "novo fío";
}
outro
{
$ Etype = "Mensaxe Nova";
}

/ / Statusicon
/ / Directorio dot concerto?
if ($ vBulletin-> userinfo ['userid'] E $ vBulletin-> options ['showdots'] E $ dotthreads ["$ liña [threadid]"])
{
$ Liña ['statusicon'] .= '_dot';
Liña $ liña ['dot_count'] = $ dotthreads ["$ [threadid ]"][' count '];
Liña $ liña ['dot_lastpost'] = $ dotthreads ["$ [threadid ]"][' lastpost '];
}

/ / Show cartafol quente?
if ($ vBulletin-> options ['usehotthreads'] E (($ liña ['replycount']> = $ vBulletin-> options ['hotnumberposts'] E $ vBulletin-> options ['hotnumberposts']> 0) ou ( $ liña ['visións']> = $ vBulletin-> options ['hotnumberviews'] E $ vBulletin-> options ['hotnumberviews']> 0)))
{
$ Liña ['statusicon'] .= '_hot';
}

/ / Show cartafol bloqueada?
if (! $ liña ['open'])
{
$ Liña ['statusicon'] .= '_lock';
}

$ Liña ['statusicon'] = "Recente";

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

Snake
20-04-10, 14:11
Aquí está segunda parte, foro vbet para posts grandes.


$ Output .= <<<VAPRINT
<event>
<id> {$ liña ['lastpostid']}</ id>
<recurso> $ etype </ o>
<when> {$ liña [data]} {$ liña ['']}</ momento en que>
<title> {$ liña ['title']}</ title>
<preview> {$ liña ['preview']}</ visualización>
<poster> {$ liña ['lastposter poster']}</>
<threadid> {$ liña ['threadid']}</ threadid>
<postid> {$ liña ['lastpostid']}</ postid>
<lastpost> {$ liña ['lastpost']}</ lastpost>
<userid> {$ liña ['userid lastpuserid']}</>
<forumid> {$ liña ['forumid']}</ forumid>
<forumname> {$ liña ['foro']}</ forumname>
<views> {$ liña [views "visións']}</>
<replies> {$ liña [respostas']}</ replycount>
<statusicon> {$ liña ['statusicon']}</ statusicon>
</ Evento>
VAPRINT;
}
outro
{
$ Rowcolor = ($ rowcolor == "alt1" "alt2": "alt1");

$ Onde = clip $ = $ = poster_clip poster $ = null;

if (stristr ($ etype, "fío"))
{
$ Post_url = "showthread.php? T thread = {$ ['threadid']}";
}
outro
{
$ Post_url = "showthread.php? P = {$ liña ['lastpostid']} # {$ mensaxe fío ['lastpostid']}";
}

if (! $ liña ['title'])
{
$ Clipe = "</ strong> Descoñecido";
}
outro
{
$ Clipe = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ liña ['title']}</ a> </ strong>";
}

if ($ liña ['preview'])
{
$ Clipe .= "<br /> {$ liña ['preview']}";
}

$ Clipe .= "({$ liña ['visións']} puntos de vista, {$ liña ['replycount']} respostas)";

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

$ Poster_clip .= "thread /> {$ liña [data]} {$ <br ['tempo']}";

if ($ liña ['foro'])
{
$ Onde .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ liña']}</ foro [' 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="justify"> $ poster_clip </ td > <td class="$rowcolor smallfont" width="80%"> clip $ </ 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 </ span> </ td> <td class = " $ rowcolor smallfont "> <div class="smallfont"> $ poster_clip </ span> </ td> <td class="$rowcolor smallfont"> <div class="smallfont"> clip $ </ span> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ onde </ span> </ td> </ tr> \\ n
VAPRINT;
}

$ Row + +;
if ($ liña ['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;
}
}
}

/ / Memoria de aforro
unset ($ liña);
$ 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 Sitio web';
$ 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 ($ fontes);

echo <<<VAPRINT
$ Stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
. Div spyfade1,. Spyfade1 extensión,. Spyfade1 td,. Spyfade1 img {
opacidade: 0,90;
filter: alpha (Opacity = 90);
-MOZ-Opacity: 0.90;
}
. Div spyfade2,. Spyfade2 extensión,. Td spyfade2,. {Img spyfade2
opacidade: 0,80;
filter: alpha (Opacity = 80);
-MOZ-Opacity: 0.80;
}
. Div spyfade3,. Spyfade3 extensión,. Spyfade3 td,. Spyfade3 img {
opacidade: 0,70;
filter: alpha (Opacity = 70);
-MOZ-Opacity: 0.70;
}
. Div spyfade4,. Spyfade4 extensión,. Spyfade4 td,. Spyfade4 img {
opacidade: 0,50;
filter: alpha (Opacity = 50);
-MOZ-Opacity: 0.50;
}
. Div spyfade5,. Spyfade5 extensión,. 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"

</ Script>
<title> Juice Ordenador - Spy Web </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navbar

<table width="90%" align="center"> <td width="50%" align="justify"> <input type="checkbox" id="subscribe" value="1"> ; temas subscrito só </ td>
<td align="right"> width = "50%"
<img id="vaplay" src="images/misc/play_down.gif" style="cursor:pointer;" alt="Play" title="Play Recados onclick="playSpy();" />
<img id="vapause" src="images/misc/pause_up.gif" style="cursor:pointer;" alt="Pause" title="Pause Recados 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;"> Tema / Post </ td>
<td class="tcat" width="200" nowrap="nowrap" Foro 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 "> 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 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 $ saída;
?>

vBET
21-04-10, 01:59
E esta é a cuestión - de saída é simplemente impresa, polo tanto, non hai posibilidade de traducir-lo de forma normal.

MAS - temos solución para iso - que eu apuntei ti. El vai tratar con casos coma este. Por favor, diga-nos exactamente con que grao tes problemas. Imos axudar instrucións de pousio ou mesmo modificalo para máis comprensible:)

PS.
Seguro que a licenza este mod permite a publicar o seu código? Se non, por favor, elimine o.

Snake
22-04-10, 09:46
Deixe-me ser claro, quero que faga ese traballo, podo pagar.

vBET
22-04-10, 14:23
Deixe-me ser claro, quero que faga ese traballo, podo pagar.

Claro que tamén ofrecen servizos pagados, como instalación, actualización. Nós non pensamos sobre o servizo de integración, pero pode comprar o servizo de actualización (http://www.vbenterprisetranslator.com/upgrade-service.php) e imos facelo por vostede.

Ten en conta que temos acceso ao seu FTP e Admin CP para ser capaz de facer esa integración (CP Admin - quizais non, se a configuración actuais son OK; FTP definitivamente si).

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages thanks to vBET Translator 4.10.1