PDA

View Full Version: Nr CSS sau imaginilor de pe paginile de plugin ispy



Snake
16-04-10, 17:33
Bună Michel, orice sansa de ai putea avea o privire şi a vedea dacă există o repara uşor în acest sens;

Juice Computer - Spy site-ului (http://www.computer-juice.com/forums/pt/vaispy.php)

Se pare că script-ul nu este obtinerea de fişier CSS corect şi că este în căutarea în locul greşit pentru imagini ...

vBET
16-04-10, 17:52
După cum văd această pagină nu este tradus în toate. Cârlig Cel mai probabil global_complete nu este folosit acolo. Puteţi încerca, de integrare pentru mods care nu sunt utilizaţi cârlig global_complete.

Vezi aici pentru descriere:

Vă rugăm să verificaţi mai întâi într-adevăr nu global_complete nu este folosit acolo.

Snake
20-04-10, 14:11
Sincer nu ştiu cum să urmaţi aceste instrucţiuni, este un mod simplu, ruleaza de Ajax cred că, doar un fişier php, nici un produs sau şabloane. Aici este conţinutul fişierului.


<? Php
//################################################ ################################//
NUME / / MOD: VBISpy # / /
//################################################ ################################//
/ / DESCRIERE: Această modificare pentru vBulletin adaugă un "live" de defilare # / /
/ / Update de posturi noi pe forum pentru # / /
//################################################ ################################//
/ / PE: MPDev # / /
/ / DATA: 9.26.06 # / /
/ / VERSIUNE: 1.0.12 # / /
//################################################ ################################//

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

/ / #################### DEFINE Constante IMPORTANT #######################
define ('THIS_SCRIPT', 'vaispy');

/ / PRE-################### CACHE MODELE ŞI DATELE ######################
/ / Obtine grupuri speciale de Expresie
$ Phrasegroups = array ();

/ / Obţine şabloane speciale de date de la DataStore
$ Specialtemplates = array ();

/ / Pre-cache şabloanele folosite de către toate acţiunile
$ Globaltemplates = array ();

/ / Pre-cache şabloanele utilizate de acţiuni specifice
$ Actiontemplates = array ();

/ / ######################### NECESITA back-end ################### #########
require_once ('/ global.php.');

/ / ######################### CONFIG VARS ##################### #######
/ / Numărul de zile pentru a scana tabelul pentru .. (86,400 reprezinta numarul de secunde in 24 de ore)
$ Daysprune = 1;

/ / Nu o listă a acestor forumuri, chiar dacă acestea au permisiuni (categoriile de testare, etc)
$ Blockforums = "";

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

$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['trecut'];
Aboneaza-te $ = (int) $ _REQUEST ['abona'];

foreach ($ vbulletin-> forumcache AS $ pe forum pentru) {
$ Forumid = $ pe forum pentru ['forumid'];
$ Forumperms = & $ vbulletin-> userinfo ['forumpermissions']["$ forumid "];

if (! isset ($ vbulletin-> forumcache ["$ forumid"]) SAU! ($ forumperms & $ vbulletin-> bf_ugp_forumpermissions ['canview']) SAU! ($ forumperms & $ vbulletin-> bf_ugp_forumpermissions ['canviewothers'] ) SAU verify_forum_password ($ forumid, $ vbulletin-> forumcache ["$ forumid"] ['parola'], fals)!)
{
$ Blockforums .=','.$ pe forum pentru ['forumid'];
}
}
unset ($ pe forum pentru);

$ Datecut = "ŞI thread.lastpost> =". (TIMENOW - ($ daysprune * 86400));
$ Predescărcat = null;

############################################################################
/ / Ia fire am postat În
require_once (. DIR '/ include / functions_forumdisplay.php');
$ Rezultat = $ db-> query_read ("
SELECT threadid
Din fire ". Table_Prefix." Ca filet
UNDE NU IN thread.forumid (0 $ blockforums) şi
thread.visible = 1 şi
thread.open <> 10 şi
thread.lastpostid> $ lastpostid
$ Datecut
");

$ IdsArray = array ();
în timp ce ($ id = $ db-> fetch_array ($ rezultat))
{
$ IdsArray [] = $ id ['threadid'];
}

$ Dotthreads = fetch_dot_threads_array (implozie (',', $ idsArray));
############################################################################
/ / Ia fire

/ / Nu setată la mai mult de 20, daca nu stii cum sa modifice codul HTML din partea de jos a paginii (si la linia 291)
$ Limitq = (isset ($ _REQUEST ['face']), "20":? "5,20");

dacă ($ abona == 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, scoruri online,
post.userid AS lastpuserid
DIN ". Table_Prefix". Subscribethread AS subscribethread
INNER JOIN "Table_Prefix.." Filet filet AS ON (subscribethread.threadid = thread.threadid)
LEFT JOIN "Table_Prefix.." Deletionlog AS Deletionlog ON (thread.threadid = deletionlog.primaryid ŞI tip = 'fir')
LEFT JOIN post de mesaj pe (post.postid = thread.lastpostid) "Table_Prefix.."
UNDE subscribethread.userid = "$ vbulletin-> userinfo ['userid'].."
ŞI NU ÎN thread.forumid (0 $ blockforums)
ŞI thread.visible = 1
ŞI subscribethread.canview = 1
ŞI thread.lastpostid> $ lastpostid
ŞI deletionlog.primaryid IS NULL
$ Datecut
ORDER BY thread.lastpost DESC LIMIT $ limitq
");
}
altfel
{
$ 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, scoruri online,
post.userid AS lastpuserid
Din fire ". Table_Prefix." AS filet
LEFT JOIN "Table_Prefix.." Deletionlog AS Deletionlog ON (thread.threadid = deletionlog.primaryid ŞI tip = 'fir')
LEFT JOIN post de mesaj pe (post.postid = thread.lastpostid) "Table_Prefix.."
UNDE deschide <> 10
$ Datecut
ŞI NU ÎN thread.forumid (0 $ blockforums)
ŞI thread.visible = '1 '
ŞI thread.lastpostid> $ lastpostid
ŞI post.visible = 1
ŞI deletionlog.primaryid IS NULL
ORDER BY thread.lastpost DESC LIMIT $ limitq
");
}

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

în timp ce (filet $ = $ db-> fetch_array ($ getthreads)) {
$ Culoare = $ culoare == 'alt1 "? "Alt2": "alt1";

$ Fir ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ fire ['title']), 85)));
$ Fir ['data'] = vbdate ($ vbulletin-> opţiuni fir ['DateFormat'], $ ['lastpost'], 1);
$ Fir ['timp'] = vbdate ($ vbulletin-> opţiuni ['timeformat'], $ fir ['lastpost']);

/ / Scapa de html şi prima bbcode
$ Fir ['Anunţ'] = strip_tags (strip_bbcode fir ($ ['Anunţ'], adevărat, adevărat));
$ Fir ['Anunţ'] = htmlspecialchars_uni (fetch_trimmed_title ($ fire ['Anunţ'], 200));
$ Fir ['Anunţ'] = fetch_censored_text (fetch_word_wrapped_string ($ fire ['Anunţ'], 20));

$ Fir ['replycount'] = vb_number_format (filet $ ['replycount']);
$ Fir ['opiniile'] = vb_number_format ($ fire ['opiniile']);

$ Tforumid = $ fire ['forumid'];
$ Fir ['pe forum pentru'] = htmlspecialchars_uni ($ vbulletin-> forumcache ["$ tforumid"] ['title']);

dacă ($ fire ['lastpostid'] == $ fir ['firstpostid'])
{
$ Etype = "Subiect nou";
}
altfel
{
$ Etype = "Mesaj nou";
}

/ / Statusicon
/ / Dot folder arată?
dacă ($ vbulletin-> userinfo ['userid'] si $ vbulletin-> opţiuni ['showdots'] si $ dotthreads ["$ filet [threadid]"])
{
$ Fir ['statusicon'] .= '_dot ";
Filet $ filet ['dot_count'] = $ dotthreads ["$ [threadid ]"][' conta '];
Filet $ filet ['dot_lastpost'] = $ dotthreads ["$ [threadid ]"][' lastpost '];
}

/ / Arată dosar fierbinte?
dacă ($ vbulletin-> opţiuni ['usehotthreads'], I (($ filet ['replycount']> = $ vbulletin-> opţiuni ['hotnumberposts'] si $ vbulletin-> opţiuni ['hotnumberposts']> 0) sau ( $ fir ['opiniile']> = $ vbulletin-> opţiuni ['hotnumberviews'] si $ vbulletin-> opţiuni ['hotnumberviews']> 0)))
{
$ Fir ['statusicon'] .= '_hot ";
}

/ / Arată dosar blocat?
dacă ($ fire ['deschise']!)
{
$ Fir ['statusicon'] .= '_lock ";
}

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

dacă ($ _REQUEST ['face'] == "xml")
{

Snake
20-04-10, 14:11
Aici este partea a doua, se opreşte pe forum pentru vBET posturi mari.


$ Ieşire .= <<<VAPRINT
<event>
<id> {$ fire ['lastpostid']}</ id>
<what> $ etype </ ce>
<when> {$ fire ['data']} {$ fire ["timp de când']}</>
<title> {$ fire ['title']}</ title>
<preview> {$ fire ['']}</ previzualizare previzualizare>
<poster> {$ fire ['lastposter poster']}</>
<threadid> {$ fire ['threadid']}</ threadid>
<postid> {$ fire ['lastpostid']}</ postID>
<lastpost> {$ fire ['']}</ lastpost lastpost>
<userid> {$ fire ['lastpuserid userid']}</>
<forumid> {$ fire ['forumid']}</ forumid>
<forumname> {$ fire ['pe forum pentru']}</ forumname>
<views> {$ fire ['opiniile Vizualizari']}</>
<replies> {$ fire ['replycount raspunsuri']}</>
<statusicon> {$ fire ['statusicon']}</ statusicon>
</ Eveniment>
VAPRINT;
}
altfel
{
$ Rowcolor = ($ rowcolor == "alt1" "alt2":? "Alt1");

În cazul în care $ = $ clip = $ $ = poster_clip poster = null;

dacă (stristr ($ etype, "firul"))
{
$ Post_url = "showthread.php? T = {$ fire ['threadid']}";
}
altfel
{
$ Post_url = "showthread.php p = {$ fire ['lastpostid']}? # Post {$ fir ['lastpostid']}";
}

if (! $ fire ['title'])
{
$ Clip = "<strong> Necunoscut </ strong>";
}
altfel
{
$ Clip = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ fire ['title']}</ a> </ strong>";
}

dacă ($ fire ['previzualizare'])
{
$ Clip .= "<br /> {$ fire ['previzualizare']}";
}

$ Clip .= "({$ fire ['opiniile']} vederi, {$ fire ['replycount']} raspunsuri)";

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

$ Poster_clip .= "timp de firul de <br /> {$ fire ['data']} {$ ['']}";

dacă ($ fire ['pe forum pentru "])
{
$ În cazul în care .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ fir']}</ ['pe forum pentru a>> </ strong ";
}
altfel
{
$ În cazul în care = "";
}

dacă (is_browser ("opera"))
{
$ Predescărcat .= <<<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"> $ în cazul în care </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
altfel
{
$ Predescărcat .= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" align="left"> <div 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="left"> <div class="smallfont"> $ în cazul în care </ div> </ td> </ tr> \\ n
VAPRINT;
}

$ Row + +;
dacă ($ fire ['lastpostid']> $ highestid)
{
$ Highestid = $ fire ['lastpostid'];
}
}
}

if ($ row <20)
{
pentru ($ x = $ row; $ x <21; $ x + +)
{
dacă (is_browser ("opera"))
{
$ Predescărcat .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
altfel
{
$ Predescărcat .= <<<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;
}
}
}

/ / De memorie de economisire
unset ($ filet);
$ Db-> free_result ($ getthreads);

dacă ($ _REQUEST ['face'] == "xml")
{
header ("Content-Type: text / xml" ($ stylevar ['charset'] ='''; charset =' $ stylevar ['charset']:.?!.''));
echo "<xml version =" 1.0 "encoding ="? '$ stylevar. [' charset '].'"?>'. "\\ R \\ n";

dacă ($ de ieşire)
{
echo "$ <events> ieşire </ evenimente>";
}
altfel
{
echo "<events />";
}

ieşire;
}

$ Navbits = array ();
$ Navbits [$ mamă] = 'Spy site-ului';
$ 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 (" footer ")..'";');
$ Subsol = process_replacement_vars ($ subsol);

echo <<<VAPRINT
$ Stylevar [htmldoctype]
<HTML dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
Spyfade1 div., Spyfade1 durata.,, Spyfade1 TD., Spyfade1 img. {
opacitate: 0.90;
filtru: alpha (opacity = 90);
-Moz-opacity: 0.90;
}
Spyfade2 div., Durata spyfade2., Spyfade2 TD., Spyfade2 img. {
opacitate: 0,80;
filtru: alpha (opacity = 80);
-Moz-opacitate: 0,80;
}
Spyfade3 div., Spyfade3 de control., Spyfade3 TD., Spyfade3 img. {
opacitate: 0,70;
filtru: alpha (opacity = 70);
-Moz-opacity: 0.70;
}
Spyfade4 div., Spyfade4 de control., Spyfade4 TD., Spyfade4 img. {
opacitate: 0,50;
filtru: alpha (opacity = 50);
-Moz-opacitate: 0,50;
}
Spyfade5 div., Spyfade5 de control., Spyfade5 TD., Spyfade5 img. {
opacitate: 0.30;
filtru: 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>
<title> Juice Computer - Spy site-ului </ title>
</ Head>
<body onload="spyinit();">
$ Antet
$ Navbar

<table width="90%" align="center"> <td width="50%" align="left"> <input type="checkbox" id="subscribe" value="1"> ; subiectele subscris numai </ td>
<td width="50%" align="right">
<img id="vaplay" src="images/misc/play_down.gif" style="cursor:pointer;" title="Play alt="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;

dacă (is_browser ("opera"))
{
$ Ieşire .= <<<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 width="225" class="tcat" nowrap="nowrap" style="height:25px;"> membre </ td>
<td class="tcat" width="80%" style="height:25px;"> Subiect / Mesaj </ td>
<td width="200" class="tcat" nowrap="nowrap" style="height:25px;"> Forum
</ Tr>
<tr> <td colspan="4" class="alt1">
$ Predescărcat
<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;
}
altfel
{
$ Ieşire .= <<<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"> Eveniment </ td> <td class="thead" width="100"> membre </ td> <td class = "thead "> Subiect / Mesaj </ td> <td class="thead" width="190"> Forum </ td> </ tr>
</ Thead>
<tbody class="alt1">
$ Predescărcat
<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;
}

$ Ieşire .= <<<VAPRINT
$ Subsol
VAPRINT;

echo $ ieşire;
?>

vBET
21-04-10, 01:59
Şi aceasta este problema - este pur şi simplu de ieşire imprimată, astfel încât nu există nici o posibilitate să-l traducă în mod normal.

DAR - avem solutia pentru aceasta - unul care te-am arătat. Acesta se va ocupa de cazuri de genul acesta. Vă rugăm să ne spuneţi exact cu care pas pe care il au probleme. Noi va vom ajuta instrucţiuni necultivate sau chiar modifica pentru a mai uşor de înţeles:)

PS.
Sunteţi sigur că licenţa acest mod permite de a publica codul său? Dacă nu, vă rugăm să scoateţi-l.

Snake
22-04-10, 09:46
Permiteţi-mi să fie clar, vreau să fac acest lucru, i se poate plăti.

vBET
22-04-10, 14:23
Permiteţi-mi să fie clar, vreau să fac acest lucru, i se poate plăti.

Desigur, oferim servicii cum ar fi, de asemenea, plătite de instalare, upgrade. Noi nu am crezut despre serviciul de integrare, dar puteţi cumpăra de servicii de upgrade (http://www.vbenterprisetranslator.com/upgrade-service.php) si o vom face pentru tine.

Vă rugăm să reţineţi faptul că vom avea nevoie de acces la CP dvs. FTP şi Admin pentru a putea face acest lucru de integrare (CP Admin - poate că nu în cazul în care setările efective sunt OK; FTP definitiv da).

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