Aeva Media knop

Started by wiecher, June 13, 2010, 09:19:02 AM

Previous topic - Next topic

wiecher

Ik heb deze geinstaleerd maar kan als lid de knop niet zien.
Ik had al begrepen dat er iets toegevoegd moet worden in je index template.
Ik kom er zelf niet uit, kunnen jullie eens kijken in mijn toegevoegde index template ?
Het is thema lightmodern.


CapadY

Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Herman's Mixen

open subs.php
zoek

// Sift out the bbc for a performance improvement.

Ervoor toevoegen

// Aeva Media changes
if (empty($parse_tags) && empty($context['uninstalling']))
{
global $sourcedir;

if (stripos($message, '[smg') !== false)
{
if (!function_exists('aeva_protect_bbc'))
require_once($sourcedir . '/Aeva-Subs.php');
aeva_protect_bbc($message);
}

// Protect noembed & autolink items from embedding *before* BBC parsing - wrap quotes, but don't protect
if (!empty($modSettings['aeva_enable']) && strlen($message) > 15)
{
if (!function_exists('aeva_preprotect'))
require_once($sourcedir . '/Aeva-Embed.php');
aeva_preprotect($message, $cache_id);
}
}
// End Aeva Media changes


zoek

$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));

Er na toevoegen



// Aeva Media changes
if (empty($parse_tags) && empty($context['uninstalling']))
{
// Do the actual embedding
if (!function_exists('aeva_parse_bbc2'))
require_once($sourcedir . '/Aeva-Embed.php');
aeva_parse_bbc2($message, $smileys, $cache_id);

if (function_exists('aeva_parse_bbc') && stripos($message, '[smg') !== false)
aeva_parse_bbc($message, $cache_id);
}
// End Aeva Media changes


zoek

$cacheTime = $modSettings['lastActive'] * 60;

Ervoor toevoegen

// Aeva Media changes - recalculate number of unseen items
if (!empty($user_info['aeva_unseen']) && $user_info['aeva_unseen'] == -1)
{
global $sourcedir;
require_once($sourcedir . '/Aeva-Subs.php');
aeva_loadSettings();
}
// End Aeva Media changes


zoek

'mlist' => array(

Ervoor toevoegen


// Aeva Media changes
'media' => array(
'title' => (isset($txt['aeva_gallery']) ? $txt['aeva_gallery'] : 'Media') . (!allowedTo('aeva_access_unseen') || empty($user_info['aeva_unseen']) || $user_info['aeva_unseen'] == -1 ? '' : ' [<b>' . $user_info['aeva_unseen'] . '</b>]'),
'href' => $scripturl . '?action=media',
'show' => allowedTo('aeva_access'),
'sub_buttons' => !allowedTo('aeva_access_unseen') || empty($user_info['aeva_unseen']) || $user_info['aeva_unseen'] == -1 ? array() : array(
'aeva_home' => array(
'title' => $txt['aeva_home'],
'href' => $scripturl . '?action=media',
'show' => true,
),
'aeva_unseen' => array(
'title' => $txt['aeva_unseen'],
'href' => $scripturl . '?action=media;sa=unseen',
'show' => true,
'is_last' => true,
),
),
),
// End Aeva Media changes

zoek


array(
'tag' => 'sub',
'before' => '<sub>',
'after' => '</sub>',
),


Ervoor toevoegen


// Aeva Media changes
array(
'tag' => 'smg',
'type' => 'closed',
'content' => '',
),
// End Aeva Media changes
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 ;)

wiecher

Helaas  The Burglar dat heeft niet geholpen bij mij.

Advertisement: