Shoutbox botst met leden online

Started by TattooLeashed, December 16, 2012, 05:46:08 AM

Previous topic - Next topic

Herman's Mixen

moment zal hem zo even aanpassen ?
link naar je forum misschien ook wel ff handig :D
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

TattooLeashed


Herman's Mixen

kan verschillende redenen hebben helaas... besturings systeem, ftp programma, etc..etc..

ga zo nog even proberen... zie je forum namelijk wel ?!

zag een foutje in de code wat daar niet hoorde ;)

probeer deze eens
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

TattooLeashed

Omdat ik gelijk de back up terug geplaatst heb ;)

In deze versie zie ik de box wel staan alleen verkloot hij mijn hele lay out. Hij staat namelijk precies boven het logo. Is er geen manier dat ik deze box naar wil kan plaatsen, net zoals de smf blokken?

Herman's Mixen

volgens mij kan dat wel als je dit gedeelte in een php block zou plaatsen.


// YSHOUT HERE - shoutbox code
global $txt,$context,$boarddir;
if(allowedTo('yshout_view'))
{
echo '<br clear="all" /><b>',$txt['yshout_shoutbox'],'</b><br /><br />';
echo '<div id="yshout">';
include_once($boarddir.'/yshout/yshout.php');
echo '</div>';
}
elseif($context['user']['is_guest'])
echo $txt['yshout_no_guests'];
// YSHOUT END - shoutbox code


en deze "moet" wel in de index.template.php blijven



// YSHOUT HERE - <head> code
global $boardurl,$shoutFile;
$shoutFile='home';
$scripturlparsed = parse_url($scripturl);
$scriptpath=isset($scripturlparsed['path'])?$scripturlparsed['path']:'/';
$args='';
foreach($_GET as $key => $value) // passthrough $_GET
$args.='&'.urlencode($key).'='.urlencode($value);
echo '
<script src="',$boardurl,'/yshout/js/moo.ajax.js" type="text/javascript"></script>
<script src="',$boardurl,'/yshout/settings.js" type="text/javascript"></script>
<script type="text/javascript"><!-- // --><![CDATA[
if (window.addEventListener){
window.addEventListener("load", function(){loadChat();}, false);
} else if (window.attachEvent){
window.attachEvent("onload", function(){loadChat();});
}
var shoutFile="',$shoutFile,'";
var yshout_php="',$scriptpath,'?yshout',$args,'";
// ]]></script>
<script src="',$boardurl,'/yshout/js/yshout.js?July062008" type="text/javascript"></script>
<style type="text/css">
#yshout {
font-size: 10px;
overflow: hidden;
}
#yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
}
#yshout #shouts { /* main shouts area */
}
#yshout #shouts .shout { /* one shout */
float: none;
margin: 0 0 0; /* Top Bottom Linespacing */
line-height: 1;
}
#yshout .shout-timestamp {
font-style: normal;
font-weight: normal;
}
#yshout .shout-adminlinks { /* del and ban buttons */
font-size: 6pt;
color: #141414;
}
#yshout #shout-form {
margin: 0;
padding: 0;
}
#yshout #shout-form fieldset {
border: none;
}
#yshout #forum-name {
color: #666666;
width: 70px;
margin-right: 5px;
}
#yshout #shout-text {
width: 310px;
margin-right: 5px;
}
#yshout #shout-button {
width: 55px;
}
#yshout .shout-invalid { /* invalid shout (shout textbox) */
background: #FFFDD1;
}
</style>';
// YSHOUT END - <head> code


Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

TattooLeashed

Gedaan en het werkt inderdaad. Maar ik heb al gezien dat die shout niks voor me is. Bedankt voor alle hulp TB (y)

Advertisement: