TinyPortal

Development => Support => Topic started by: blouogies on June 22, 2008, 03:28:33 PM

Title: Audible PM v1.0 - Help
Post by: blouogies on June 22, 2008, 03:28:33 PM
Hi

I tried to install the Audible PM v1.0  (http://custom.simplemachines.org/mods/index.php?mod=454).  The Problem I'm having is that I did the edits for the default theme and it works perfectly but it doesn't work on my Softmc Blue Theme. 

I cant seem to find the Tinyportal file:

This is what I should find:
     if($context['TPortal']['showtop']==1)

And I should add  this Before:
 
if ((isset($_SESSION['unread_sound']) && $_SESSION['unread_sound'] < $context['user']['unread_messages']) || (!isset($_SESSION['unread_sound']) && $context['user']['unread_messages'] >= 1))
{
echo '
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="     http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="0" height="0" id="gotmail" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="gotmail.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="gotmail.swf" quality="high" bgcolor="#ffffff" width="1" height="1" name="gotmail" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>';

// Save a session so it wont loop
$_SESSION['unread_sound'] = $context['user']['unread_messages'];
}


Can anyone please help me out here?

I'm going to attach my index.template.php.

PLEASE HELP ME OUT!!!
Title: Re: Audible PM v1.0 - Help
Post by: G6Cad on June 22, 2008, 03:59:11 PM
If you look at this sites url you fint it saying tinyportal, thats the mod we give support for here.

For your question you have to seek help from that mods author, probably found on www.simplemachines.org
Title: Re: Audible PM v1.0 - Help
Post by: blouogies on June 22, 2008, 04:26:08 PM
Okay Will do sorry for the inconvenience!