Tingnan ang Buong Bersyon: Walang css o mga imahe sa ispy mga pahina ng plugin
Hi Michel, ang anumang pagkakataon na maaari kang magkaroon ng isang hitsura at makita kung mayroong isang madaling ayusin para sa;
Computer juice - Site ispya (http://www.computer-juice.com/forums/pt/vaispy.php)
Mukhang ang script ay hindi pagkuha ng css file maayos at ay naghahanap sa maling lugar para sa mga imahe ...
Tulad ng makita ko ang pahina na ito ay hindi isinalin sa lahat. Karamihan marahil global_complete hook ay hindi ginagamit doon. Maaari mong subukan ang pagsasama para sa mga mods na hindi gumagamit ng global_complete hook.
Tingnan dito para sa paglalarawan ng:
Mangyaring suriin muna ang talagang global_complete ay hindi ginagamit doon.
Ko matapat hindi malaman kung paano sundin ang mga tagubilin, ito ay isang simpleng mod, nagpapatakbo ng ajax tingin ko, isa lamang php file, walang produkto o mga template. Narito ang mga file nilalaman.
<? Php
//################################################ ################################//
/ / MOD NAME: VBISpy # / /
//################################################ ################################//
/ / Paglalarawan: Ang pagbabago na ito para sa vBulletin nagdadagdag ng "mabuhay" scroll # / /
/ / I-update ng mga bagong post sa forum # / /
//################################################ ################################//
/ / NG: MPDev # / /
/ / DATE: 9.26.06 # / /
/ / VERSION: 1.0.12 # / /
//################################################ ################################//
/ / ####################### Itakda PHP kapaligiran ###################### #####
error_reporting (E_ALL & ~ E_NOTICE);
/ / #################### Tukuyin ang IMPORTANTENG CONSTANTS #######################
tukuyin ('THIS_SCRIPT', 'vaispy');
/ / ################### Pre-cache template at DATA ######################
/ / Makakuha ng mga espesyal na mga grupo ng parirala
$ Phrasegroups = array ();
/ / Makakuha ng espesyal na mga template ng data mula sa datastore
$ Specialtemplates = array ();
/ / Pre-cache template na ginagamit ng lahat ng mga aksyon
$ Globaltemplates = array ();
/ / Pre-cache na mga template na ginagamit ng mga tiyak na aksyon
$ Actiontemplates = array ();
/ / ######################### Nangangailangan ng BACK-END ################### #########
require_once ('/ global.php.');
/ / ######################### Config VARS ##################### #######
/ / Ang bilang ng mga araw upang i-scan ang lamesa para sa .. (86400 kumakatawan sa bilang ng mga segundo sa 24 oras)
$ Daysprune = 1;
/ / Huwag ilista ang mga forum na ito kahit na mayroon silang pahintulot (test kategorya, atbp.)
$ Blockforums = "";
/ / ######################### Config VARS ##################### #######
$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['huling'];
$ Subscribe = (int) $ _REQUEST ['subscribe'];
foreach ($ vbulletin-> forumcache AS $ forum) {
$ Forumid = $ forum ['forumid'];
$ Forumperms = & $ vbulletin-> userinfo [forumpermissions']["$ forumid "];
kung (! isset ($ vbulletin-> forumcache ["$ forumid"]) O! ($ forumperms & $ vbulletin-> bf_ugp_forumpermissions [canview ']) O! ($ forumperms & $ vbulletin-> bf_ugp_forumpermissions [' canviewothers '] ) O! verify_forum_password ($ forumid, $ vbulletin-> forumcache ["$ forumid"] ['password'], huwad))
{
$ Blockforums .=','.$ forum ['forumid'];
}
}
unset ($ forum);
$ Datecut = "AT thread.lastpost> =". (TIMENOW - ($ daysprune * 86,400));
$ Prefetched = null;
############################################################################
/ / Kunin ang thread ko na Posted Sa
require_once (. DIR '/ nagsasama / functions_forumdisplay.php');
$ Resulta = $ db-> query_read ("
Piliin threadid
FROM ". TABLE_PREFIX." Thread ng thread
SAAN thread.forumid HINDI SA (0 $ blockforums) at
thread.visible = 1 at
thread.open <> 10 at
thread.lastpostid> $ lastpostid
$ Datecut
");
$ IdsArray = array ();
habang ($ id = $ db-> fetch_array ($ resulta))
{
$ IdsArray [] = $ id [threadid '];
}
$ Dotthreads = fetch_dot_threads_array (pumutok sa loob (',', $ idsArray));
############################################################################
/ / Kumuha ng thread
/ / Huwag nakatakda sa higit sa 20 maliban kung alam mo kung paano baguhin ang html sa ibaba ng pahina (at sa linya 291)
$ Limitq = (isset ($ _REQUEST ['na']) "20":? "5,20");
kung ($ subscribe == 1)
{
$ Getthreads = $ db-> query_read ("
Piliin ang 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 preview,
post.userid AS lastpuserid
FROM ". TABLE_PREFIX." Subscribethread AS subscribethread
Inner SUMALI ". TABLE_PREFIX." Thread AS thread SA (subscribethread.threadid = thread.threadid)
Kaliwa SUMALI ". TABLE_PREFIX." Deletionlog AS ng deletionlog SA (thread.threadid = deletionlog.primaryid AT type = 'thread')
Kaliwa SUMALI ". TABLE_PREFIX." Post AS post SA (post.postid = thread.lastpostid)
SAAN subscribethread.userid = ". $ Vbulletin-> userinfo ['UserId']."
AT HINDI thread.forumid SA (0 $ blockforums)
AT thread.visible = 1
AT subscribethread.canview = 1
AT thread.lastpostid> $ lastpostid
AT deletionlog.primaryid AY Null
$ Datecut
UPANG NG thread.lastpost DESC LIMIT $ limitq
");
}
iba
{
$ Getthreads = $ db-> query_read ("
Piliin ang thread.forumid,
thread.firstpostid,
thread.lastpost,
thread.lastposter,
thread.lastpostid,
thread.replycount,
thread.threadid,
thread.title,
thread.open,
thread.views,
post.pagetext AS preview,
post.userid AS lastpuserid
FROM ". TABLE_PREFIX." Thread AS thread
Kaliwa SUMALI ". TABLE_PREFIX." Deletionlog AS ng deletionlog SA (thread.threadid = deletionlog.primaryid AT type = 'thread')
Kaliwa SUMALI ". TABLE_PREFIX." Post AS post SA (post.postid = thread.lastpostid)
SAAN bukas <> 10
$ Datecut
AT HINDI thread.forumid SA (0 $ blockforums)
AT thread.visible = '1 '
AT thread.lastpostid> $ lastpostid
AT post.visible = 1
AT deletionlog.primaryid AY Null
UPANG NG thread.lastpost DESC LIMIT $ limitq
");
}
$ Hilera = $ highestid = 1;
$ Rowcolor = "alt2";
habang ($ thread = $ db-> fetch_array ($ getthreads)) {
$ Kulay = $ kulay == 'alt1'? 'Alt2': 'alt1';
$ Thread [pamagat '] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ thread [' pamagat ']), 85)));
$ Thread ['petsa'] = vbdate ($ vbulletin-> pagpipilian ['dateformat'], $ thread [lastpost '], 1);
$ Thread ['oras'] = vbdate ($ vbulletin-> pagpipilian [timeformat '], $ thread [lastpost']);
/ / Kumuha mapupuksa ng html at bbcode unang
$ Thread ['preview'] = strip_tags (strip_bbcode ($ thread ['preview'], totoo, tunay));
$ Thread ['preview'] = htmlspecialchars_uni (fetch_trimmed_title ($ thread ['preview'], 200));
$ Thread ['preview'] = fetch_censored_text (fetch_word_wrapped_string ($ thread ['preview'], 20));
$ Thread [replycount '] = vb_number_format ($ thread [' replycount ']);
$ Thread ['na mga view'] = vb_number_format ($ thread ['na mga view']);
$ Tforumid = $ thread [forumid '];
$ Thread ['forum'] = htmlspecialchars_uni ($ vbulletin-> forumcache ["$ tforumid"] ['pamagat']);
kung ($ thread [lastpostid '] == $ thread [firstpostid'])
{
$ Etype = "New Thread";
}
iba
{
$ Etype = "Bagong Post";
}
/ / Statusicon
/ / Ipakita ang tuldok na folder?
kung ($ vbulletin-> userinfo [UserId '] AT $ vbulletin-> pagpipilian [showdots'] AT $ dotthreads ["$ thread [threadid]"])
{
$ Thread [statusicon '] .=' _dot ';
$ Thread ['dot_count'] = $ dotthreads ["$ thread [threadid ]"][' bilang '];
$ Thread ['dot_lastpost'] = $ dotthreads ["$ thread [threadid ]"][' lastpost '];
}
/ / Ipakita ang mainit na folder?
kung ($ vbulletin-> pagpipilian ['usehotthreads'] AT (($ thread ['replycount']> = $ vbulletin-> pagpipilian [hotnumberposts '] AT $ vbulletin-> pagpipilian [hotnumberposts']> 0) O ( $ thread ['na mga view']> = $ vbulletin-> pagpipilian [hotnumberviews '] AT $ vbulletin-> pagpipilian [' hotnumberviews ']> 0)))
{
$ Thread [statusicon '] .=' _hot ';
}
/ / Ay nagpapakita ng naka-lock folder?
kung (! $ thread ['buksan'])
{
$ Thread [statusicon '] .=' _lock ';
}
$ Thread [statusicon '] = "blank.gif";
kung ($ _REQUEST ['ang'] == "xml")
{
Narito ang ikalawang bahagi, vbet forum tumitigil malaki post.
$ Output .= <<<VAPRINT
<event>
<id> {$ thread ['lastpostid']}</ id>
<what> $ etype </ ano>
<when> {$ thread [petsa]} {$ thread [']}</ ng oras kapag>
<title> {$ thread [pamagat']}</ title>
<preview> {$ thread ['preview ang preview sa']}</>
<poster> {$ thread ['lastposter']}</ poster>
<threadid> {$ thread ['threadid']}</ threadid>
<postid> {$ thread ['lastpostid']}</ postid>
<lastpost> {$ thread [lastpost']}</ lastpost>
<userid> {$ thread ['lastpuserid']}</ UserId>
<forumid> {$ thread ['forumid']}</ forumid>
<forumname> {$ thread ['forum']}</ forumname>
<views> {$ thread ['na mga view']}</ view>
<replies> {$ thread ['replycount']}</ tugon>
<statusicon> {$ thread ['statusicon']}</ statusicon>
</ Kaganapan>
VAPRINT;
}
iba
{
$ Rowcolor = ($ rowcolor == "alt1" "alt2":? "Alt1");
$ Kung saan = $ clip = $ poster_clip = $ poster = null;
kung (stristr ($ etype, "thread"))
{
$ Post_url = "showthread.php? T = {$ thread ['threadid']}";
}
iba
{
$ Post_url = "showthread.php? P = {$ thread ['lastpostid']} # post {$ thread [lastpostid']}";
}
kung (! $ thread [pamagat '])
{
$ Clip = "<strong> kilalang </ strong>";
}
iba
{
$ Clip = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ thread [pamagat']}</ a> </ strong>";
}
kung ($ thread ['preview'])
{
$ Clip .= "<br /> {$ thread [preview']}";
}
$ Clip .= "({$ thread ['na mga view']} view, {$ thread ['replycount']} tugon)";
kung ($ thread ['lastpuserid'])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ thread [lastposter']}</ a>";
}
$ Poster_clip .= "<br /> {$ thread ['petsa']} {$ thread [oras']}";
kung ($ thread ['forum'])
{
$ Kung saan .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ forum ng thread ['']}</ a> </ strong> ";
}
iba
{
$ Kung saan = "";
}
kung (is_browser ('opera'))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$row}"> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tr> <td lapad = "20" na class = "$ rowcolor smallfont "nowrap =" nowrap "ihanay =" 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"> $ kung saan </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
iba
{
$ 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"> $ clip </ div> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ kung saan </ div> </ td> </ tr> \\ n
VAPRINT;
}
$ Hilera + +;
kung ($ thread ['lastpostid']> $ highestid)
{
$ Highestid = $ thread [lastpostid '];
}
}
}
kung ($ hilera <20)
{
para sa ($ x = $ hilera; $ x <21; $ x + +)
{
kung (is_browser ('opera'))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
iba
{
$ 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;
}
}
}
/ / Memory-save
unset ($ thread);
$ Db-> free_result ($ getthreads);
kung ($ _REQUEST ['ang'] == "xml")
{
header ('Content-Type: text / xml' ($ stylevar ['charset'] ='''; charset =' $ stylevar ['charset']:.!?.''));
echo '<? bersyon sa xml = "1.0" encoding = "'. $ stylevar [charset '].'"?>'. "\\ R \\ n";
kung ($ output)
{
echo "<events> $ output </ kaganapan>";
}
iba
{
echo "<events />";
}
lumabas;
}
$ Navbits = array ();
$ Navbits [$ magulang] = 'espya ng 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 ('footer').'";');
$ Footer = process_replacement_vars ($ footer);
echo <<<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">
</ Script>
<title> Computer juice - Site ispya </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navbar
<table width="90%" align="center"> <tr> <td width="50%" align="left"> <input type="checkbox" id="subscribe" value="1"> ; subscribe thread lamang </ td>
<td width="50%" align="right">
<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;
kung (is_browser ('opera'))
{
$ Output .= <<<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;"> Miyembro </ td>
<td class="tcat" width="80%" style="height:25px;"> Thread / 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;
}
iba
{
$ 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"> Kaganapan </ td> <td class="thead" width="100"> Miyembro </ td> <td class = "thead "> Thread / 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;
}
$ Output .= <<<VAPRINT
$ Footer
VAPRINT;
echo $ output;
?>
At ito ay ang isyu - output ay naka-print na lang, kaya walang posibilidad upang isalin ang mga ito sa normal na paraan.
NGUNIT - kami ay may solusyon para sa - ang isa na kung saan ko tulis mo. Ito hawakan ang mga kaso tulad ng isang ito. Mangyaring sabihin sa amin eksakto sa kung aling hakbang ang mayroon kang troubles. Kami ay makakatulong sa iyo na huwag pagbungahin tagubilin o kahit na baguhin ito sa higit pang maliwanag:)
PS.
Sigurado ka ba na ang lisensya ng mod na ito ay nagbibigay-daan sa publish ang kanyang code? Kung hindi pagkatapos ay maaring tanggalin ito.
Hayaan ang mga akin na malinaw, gusto i mong gumawa ito gumagana, maaari i pay.
Hayaan ang mga akin na malinaw, gusto i mong gumawa ito gumagana, maaari i pay.
Siyempre nag-aalok kami din bayad na mga serbisyo tulad ng pag-install, mag-upgrade. Hindi namin-isip tungkol sa integration serbisyo, ngunit maaari kang bumili ng upgrade serbisyo (http://www.vbenterprisetranslator.com/upgrade-service.php) at kami ay gawin ito para sa iyo.
Mangyaring tandaan na kailangan namin ng access sa iyong FTP at Admin CP na gawin ito integration (Admin CP - marahil hindi kung ang aktwal na mga setting ay OK; FTP definitively yes).
Automatic Translations (Powered by Google, Microsoft®,
Yandex, SDL Language Cloud, IBM Watson and Apertium):
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.