TinyPortal

Development => Support => Topic started by: Martine M on May 02, 2013, 10:10:51 PM

Title: TPShout messages not showing
Post by: Martine M on May 02, 2013, 10:10:51 PM

Link to my forum: http://www.united-tutorials-registration.com/index.php
SMF version: SMF ver. 2.04
TP version: TP ver. 1.107
Default Forum Language: English
Theme name and version: Bloc's Argentum2
Browser Name and Version: Firefox 21
Mods installed: Tabbed Smileys 0.3.99c, Peoplesign 1.6, Stopspammer 2.3.9,  Simple Audio Video Embedder 2.08, httpBL 2.5.1
Related Error messages: No error message

TPShout is not showing messages after installing Mod Tabbed smilies.
http://custom.simplemachines.org/mods/index.php?mod=2782

Is there anyway to resolve this problem?

Regards Martine
Title: Re: TPShout messages not showing
Post by: IchBin on May 02, 2013, 10:19:02 PM
The mod ads this to your CSS in your page.

div.hide {
         display: none;
      }

Which in turn hides all the divs in the shouts that have <div class="hide"> around them.

You need to either change the mod code for the smiley's tab mod to not hide in the CSS, or change the TPShout.php file to not use the hide class in the div.
Title: Re: TPShout messages not showing
Post by: Martine M on May 02, 2013, 10:35:30 PM
Thanks Ichbin

If I would change the the mod code for the smiley's tab (which I think would the best thing to do) to not hide in the CSS.
Is it like this then?
Nothing else?

div.nothide {
         display: none;
      }

Title: Re: TPShout messages not showing
Post by: Martine M on May 03, 2013, 07:58:46 AM
Goodmorning all

I changed the code for tabbed smileys to not hide and then the the messages in TPShout indeed show again but all smileys show under all tabs.
So I am want to to try adjust the TP file and see what that does.

I've uploaded the TPshout.php and I'll see what I can find.
Title: Re: TPShout messages not showing
Post by: IchBin on May 03, 2013, 04:00:48 PM
In the TPShout.php file just search for the class="hide part and change the word "hide" to whatever you want.
Title: Re: TPShout messages not showing
Post by: Martine M on May 03, 2013, 05:41:18 PM
Thanks Ichbin I will search further tomorrow.
I will let you know if it worked.
Title: Re: TPShout messages not showing
Post by: Martine M on May 10, 2013, 10:46:26 AM
Sorry for the delay, I had a bad cold and was not feeling to good.
I was looking in the TPShout.php and what I could find was this line.

// get x number of shouts
$context['TPortal']['profile_shouts_hide'] = empty($context['TPortal']['profile_shouts_hide']) ? '0' : '1';


Is this the line where I should change the hide word?
I do not think so but I can not seem to find the string you are referring to.
Title: Re: TPShout messages not showing
Post by: IchBin on May 10, 2013, 08:21:55 PM
$nshouts = $txt['tp-last'].' '.$limit.' '.$txt['tp-shouts'].'<br /><br /><div id="allshouts'.(!$render ? '_big' : '').'" class="qscroller'.(!$render ? '_big' : '').'"></div><div class="hide'.(!$render ? '_big' : '').'">';
Title: Re: TPShout messages not showing
Post by: Martine M on May 10, 2013, 08:46:38 PM
Thanks Ichbin,

I found it now, changed it and it works now.