PDA

View Full Version: Geen css of afbeeldingen op iSpy plugin pagina's



Snake
16-04-10, 17:33
Hoi Michel, een kans kon je een kijkje nemen en zien of er een makkelijke oplossing voor dit;

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

Lijkt het script is niet het verkrijgen van de css-bestand naar behoren en is op zoek in de verkeerde plaats voor afbeeldingen ...

vBET
16-04-10, 17:52
Zoals ik het zie deze pagina is helemaal niet vertaald. Zeer waarschijnlijk global_complete haak is er niet gebruikt. U kunt proberen de integratie voor de mods die niet gebruikt global_complete haak.

Zie hier voor een beschrijving:

Controleer eerst echt global_complete er niet is gebruikt.

Snake
20-04-10, 14:11
Ik eerlijk gezegd niet weten hoe die instructies op te volgen, het is een simpele mod, loopt van ajax denk ik, gewoon een php-bestand, geen product of sjablonen. Hier is het bestand inhoud.


<? Php
//################################################ ################################//
/ / MOD NAAM: VBISpy # / /
//################################################ ################################//
/ / BESCHRIJVING: Deze wijziging voor vBulletin voegt een "live" scrolling # / /
/ / Update van nieuwe berichten op het forum # / /
//################################################ ################################//
/ / DOOR: MPDev # / /
/ / DATUM: 9.26.06 # / /
/ / VERSION: 1.0.12 # / /
//################################################ ################################//

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

/ / #################### DEFINE BELANGRIJK CONSTANTS #######################
define ('THIS_SCRIPT', 'vaispy');

/ / ################### PRE-CACHE TEMPLATES EN DATA ######################
/ / Haal speciale zin groepen
$ Phrasegroups = array ();

/ / Krijgen speciale data templates van de datastore
$ Specialtemplates = array ();

/ / Pre-cache sjablonen gebruikt worden door alle acties
$ Globaltemplates = array ();

/ / Pre-cache sjablonen gebruikt worden door specifieke acties
$ Actiontemplates = array ();

/ / ######################### Een back-END ################### #########
require_once ('/ global.php.');

/ / ######################### CONFIG VARS ##################### #######
/ / Het aantal dagen om de tafel te scannen voor .. (86400 staat voor het aantal seconden in 24 uur)
$ Daysprune = 1;

/ / Niet lijst van deze forums, zelfs als ze over de juiste machtigingen (test categorieën, enz.)
$ Blockforums = "";

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

$ Forumperms = array ();
$ Lastpostid = (int) $ _REQUEST ['laatste'];
$ Abonneren = (int) $ _REQUEST ['aanmelden'];

foreach ($ vBulletin-> forumcache AS $ forum) {
$ 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 '] ) OF! verify_forum_password ($ forumid, $ vBulletin-> forumcache ["$ forumid"] ['password'], false))
{
$ Blockforums .=','.$ forum ['forumid'];
}
}
unset ($ forum);

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

############################################################################
/ / Haal Threads ik heb Geplaatst in
require_once (. DIR "/ includes / functions_forumdisplay.php ');
$ Result = $ db-> query_read ("
SELECT threadid
FROM ". TABLE_PREFIX." Thread als thread
WAAR thread.forumid NIET IN (0 $ blockforums) en
thread.visible = 1 en
thread.open <> 10 en
thread.lastpostid> $ lastpostid
$ Datecut
");

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

$ Dotthreads = fetch_dot_threads_array (imploderen (',', $ idsArray));
############################################################################
/ / Haal Threads

/ / Doe niet ingesteld op meer dan 20, tenzij je weet hoe je de html te passen aan de onderkant van de pagina (en op regel 291)
$ Limitq = (isset ($ _POST ['doen']) "20":? "5,20");

if ($ inschrijven == 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 preview,
post.userid AS lastpuserid
FROM ". TABLE_PREFIX. 'Subscribethread AS subscribethread
INNER JOIN ". TABLE_PREFIX." Thread AS draad op (subscribethread.threadid = thread.threadid)
LEFT JOIN '. TABLE_PREFIX.' Deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid EN type = 'draad')
LEFT JOIN '. TABLE_PREFIX. "Post als post ON (post.postid = thread.lastpostid)
WHERE subscribethread.userid = ". $ VBulletin-> userinfo ['userid']."
EN NIET IN thread.forumid (0 $ blockforums)
EN thread.visible = 1
EN subscribethread.canview = 1
EN thread.lastpostid> $ lastpostid
EN deletionlog.primaryid IS NULL
$ Datecut
ORDER BY thread.lastpost DESC LIMIT $ limitq
");
}
anders
{
$ 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 preview,
post.userid AS lastpuserid
FROM ". TABLE_PREFIX." Thread AS draad
LEFT JOIN '. TABLE_PREFIX.' Deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid EN type = 'draad')
LEFT JOIN '. TABLE_PREFIX. "Post als post ON (post.postid = thread.lastpostid)
Waar open <> 10
$ Datecut
EN NIET IN thread.forumid (0 $ blockforums)
EN thread.visible = '1 '
EN thread.lastpostid> $ lastpostid
EN post.visible = 1
EN deletionlog.primaryid IS NULL
ORDER BY thread.lastpost DESC LIMIT $ limitq
");
}

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

while ($ thread = $ db-> fetch_array ($ getthreads)) {
$ Color = $ kleur == 'alt1'? 'Alt2': 'alt1';

$ Thread ['title'] = htmlspecialchars_uni (fetch_censored_text (fetch_trimmed_title (unhtmlspecialchars ($ draad ['titel']), 85)));
$ Thread ['date'] = vbdate ($ vBulletin-> opties ['DateFormat'], $ draad ['lastpost'], 1);
$ Thread ['tijd'] = vbdate ($ vBulletin-> opties ['TIMEFORMAT'], $ draad ['lastpost']);

/ / Weg met html en bbcode eerste
$ Thread ['preview'] = strip_tags (strip_bbcode ($ draad ['preview'], true, true));
$ Thread ['preview'] = htmlspecialchars_uni (fetch_trimmed_title ($ draad ['preview'], 200));
$ Thread ['preview'] = fetch_censored_text (fetch_word_wrapped_string ($ draad ['preview'], 20));

$ Thread ['replycount'] = vb_number_format ($ draad ['replycount']);
$ Thread ['views'] = vb_number_format ($ draad ['views']);

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

if ($ thread ['lastpostid'] == $ draad ['firstpostid'])
{
$ Etype = "Nieuw onderwerp";
}
anders
{
$ Etype = "Nieuwe Post";
}

/ / Statusicon
/ / Zien dot map?
if ($ vBulletin-> userinfo ['userid'] en $ vBulletin-> opties ['showdots'] en $ dotthreads ["$ thread [threadid]"])
{
$ Thread ['statusicon'] .= '_dot';
$ Thread ['dot_count'] = $ dotthreads ["$ thread [threadid ]"][' tellen '];
$ Thread ['dot_lastpost'] = $ dotthreads ["$ thread [threadid ]"][' lastpost '];
}

/ / Tonen hot folder?
if ($ vBulletin-> opties ['usehotthreads'] AND (($ thread ['replycount']> = $ vBulletin-> opties ['hotnumberposts'] en $ vBulletin-> opties ['hotnumberposts']> 0) OF ( $ thread ['views']> = $ vBulletin-> opties ['hotnumberviews'] en $ vBulletin-> opties ['hotnumberviews']> 0)))
{
$ Thread ['statusicon'] .= '_hot';
}

/ / Tonen vergrendelde map?
if ($! draad ['open'])
{
$ Thread ['statusicon'] .= '_lock';
}

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

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

Snake
20-04-10, 14:11
Hier is tweede deel, vbet forum stopt grote berichten.


$ Output .= <<<VAPRINT
<event>
<id> {$ draad ['lastpostid']}</ id>
<what> $ etype </ wat>
<when> {$ draad ['date']} {$ draad ['tijd']}</ wanneer>
<title> {$ draad ['title']}</ title>
<preview> {$ draad ['preview']}</ bekijken>
<poster> {$ draad ['lastposter']}</ poster>
<threadid> {$ draad ['threadid']}</ threadid>
<postid> {$ draad ['lastpostid']}</ postID>
<lastpost> {$ draad ['lastpost']}</ lastpost>
<userid> {$ draad ['lastpuserid']}</ userid>
<forumid> {$ draad ['forumid']}</ forumid>
<forumname> {$ draad ['forum']}</ forumname>
<views> {$ draad ['bekeken']}</ bekeken>
<replies> {$ draad ['replycount']}</ reacties>
<statusicon> {$ draad ['statusicon']}</ statusicon>
</ Evenement>
VAPRINT;
}
anders
{
$ Rowcolor = ($ rowcolor == "alt1" "alt2":? "Alt1");

$ Where = $ clip = $ poster_clip = $ poster = null;

if (stristr ($ etype, "thread"))
{
$ Post_url = "showthread.php? T = {$ thread ['threadid']}";
}
anders
{
$ Post_url = "showthread.php? P = {$ thread ['lastpostid']} {$ # post thread ['lastpostid']}";
}

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

if ($ thread ['voorbeeld'])
{
$ Clip .= "<br /> {$ draad ['preview']}";
}

$ Clip .= "({$ draad ['views']} bekeken, {$ draad ['replycount']} reacties)";

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

$ Poster_clip .= "<br /> {$ draad ['date']} {$ draad ['tijd']}";

if ($ thread ['forum'])
{
$ Waar .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ draad ['forum']}</ a> </ strong> ";
}
anders
{
$ Where = "";
}

if (is_browser ('opera'))
{
$ Prefetched .= <<<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"> $ waar </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
anders
{
$ 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"> $ waarbij </ div> </ td> </ tr> \\ n
VAPRINT;
}

$ Rij + +;
if ($ thread ['lastpostid']> $ highestid)
{
$ Highestid = $ thread ['lastpostid'];
}
}
}

if ($ rij <20)
{
for ($ x = $ rij; $ x <21, $ x + +)
{
if (is_browser ('opera'))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
anders
{
$ 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;
}
}
}

/ / Geheugen opslaan
unset ($ draad);
$ Db-> free_result ($ getthreads);

if ($ _POST ['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 "<events> $ output </ evenementen>";
}
anders
{
echo "<events />";
}

exit;
}

$ Navbits = array ();
$ Navbits [$ ouders] = 'Site Spy';
$ Navbits = construct_navbits ($ navbits);

eval ('$ navbar = "'. fetch_template ('navigatiebalk').'";');
$ 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 spanwijdte,,. 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 Spy </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navbar

<table width="90%" align="center"> <td width="50%" align="left"> <input type="checkbox" id="subscribe" value="1"> ; geabonneerd discussies die alleen </ 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;

if (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;"> Lid </ td>
<td class="tcat" width="80%" style="height:25px;"> Onderwerp / Post </ td>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;"> Forum
</ 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;
}
anders
{
$ 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"> Event </ td> <td class="thead" width="100"> Lid </ 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;
?>

vBET
21-04-10, 01:59
En dit is de kwestie - uitgang is gewoon gedrukt, dus er is geen mogelijkheid om het te vertalen in normale manier.

MAAR - wij hebben voor deze oplossing - degene die wees ik je. Het zal behandelen gevallen als deze. Laat ons weten precies met welke stap je hebt problemen. Wij helpen u braak aanwijzingen of zelfs aanpassen om meer begrijpelijk:)

PS.
Weet je zeker dat die licentie van deze mod maakt het mogelijk om te publiceren zijn code? Zo niet dan kunt u verwijderen.

Snake
22-04-10, 09:46
Laat me duidelijk zijn, ik wil dat je dit werk te maken, kan ik betalen.

vBET
22-04-10, 14:23
Laat me duidelijk zijn, ik wil dat je dit werk te maken, kan ik betalen.

Natuurlijk bieden wij ook betaalde diensten, zoals installatie, upgraden. We hadden niet na te denken over de integratie-service, maar u kunt upgraden service (http://www.vbenterprisetranslator.com/upgrade-service.php) kopen en wij zullen het voor u doen.

Houdt u er rekening mee dat wij de toegang tot uw FTP en Admin CP te kunnen deze integratie (Admin CP - misschien niet indien de werkelijke instellingen zijn goed; FTP definitief ja) nodig hebben.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Thanks to vBET 4.10.1 you can enjoy automatic translations