News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Shoutbox botst met leden online

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

Previous topic - Next topic

TattooLeashed

Wanneer ik de shoutbox instel op automatisch verversen kan ik niet meer zien wat de leden aan het doen zijn op mijn forum (in welke topics ze zitten bijvoorbeeld). Wanneer ik dan bij Leden Online kijk staat er alleen 'portal' ipv bijvoorbeeld 'bekijkt *titel van topic*

Zet ik automatisch verversen van de shout weer uit dan werkt het wel weer. Dit zou gewoon samen moeten kunnen toch?

Iemand een idee waar die error kan zitten?

Ook vroeg ik me af of een nieuwe shout installeren een optie zou zijn. Maar ik kan geen geschikte vinden.

SMF: 2.0.2


Robert.

Welk thema? Welke shoutbox? Welke portal? Werkte het voorheen wel normaal?

TattooLeashed

Werkte voorheen prima.

SMF 2.0.2 | SMF © 2011, Simple Machines
SimplePortal 2.3.5 © 2008-2012, SimplePortal
Insidious II by Skin-Box | Free Hosting

Robert.

Heb je recent wijzigingen doorgevoerd? Zoja, welke?

TattooLeashed

Geen recente wijzigingen. Dit probleem had ik een tijdje geleden ook al.

Wel is die shoutbox wat aangepast. Borders, tekstvlak etc. Het liefste zou ik een hele nieuwe shout willen toevoegen en deze weghalen. kijken of het wat uitmaakt. Maar die onder de link, hoewel succesvol geïnstalleerd, vind ik de shout nergens terug in beheer :-\

Misschien een tip waar die zou staan?




Herman's Mixen

aangezien je simpelportal gebruikte een tijd geleden en misschien nu nog steeds ?

grote kans dat het die shoutbox betreft die standaard in simpelportal zit, deze kan je via het beheer van SP uitschakelen en of verwijderen...
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

En hoe installeer ik dan een nieuwe shout?

Nog steeds SP inderdaad.

Herman's Mixen

Ik zou hier even op de Custom Mods pagina kijken wat je dan eventueel zou kunnen gebruiken.
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

Ja die had ik al bekeken voor ik mijn vraag hier postte ;)

Alleen die van neonneo leek me geschikt omdat die anderen geen 2.0 update hebben. Die heb ik vervolgens geïnstalleerd (succesvol) maar ik kan vervolgens nergens in beheer zien waar hij neergezet is. Zodat ik hem aan kan passen en plaatsen. Weet jij dat?

Herman's Mixen

/Themes/default/index.template.php

Code (zoek) Select

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="', $scripturl, '?board=', $context['current_board'], '.0" />';


Code (er achter toevoegen) Select


// 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


Code (zoek) Select


<input type="hidden" name="hash_passwrd" value="" />
</form>';
}


Code (er na toevoegen) Select

// 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


;)
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

Ik kan die tweede optie niet vinden. Ook zie ik dat mijn versie van de template 2.0 is. Volgens mij moet ik die updaten maar daar waag ik me niet aan. Dalijk loopt de hele boel weer in de soep ;)

Bedankt voor je hulp TB. Even kijken hoe ik het nu ga aanpakken.

Herman's Mixen

Laat het me maar weten, mocht je hulp nodig hebben ben beschikbaar als het hoog nodig is ;)
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

Dat zou fijn zijn TB :)

Zou je misschien de nieuwste index-template kunnen voorzien van die shoutcode? Dan kan ik die vervangen door de huidige. Heb ik hem gelijke ge-update :)

Herman's Mixen

Attach je index.template.php van je huidige template/skin zodat ik deze dan kan bewerken voor je ;)
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 ;)


Herman's Mixen

kan je hem niet gewoon via je ftp naar je buraublad downloaden en dan de index.template.php attachen...
Aan een Microsoft Word bewerkt document heb ik helaas niets....
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

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

Oeh nee. Gelijk het forum niet meer bereikbaar :o


Advertisement: