TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,981
  • Total Topics: 21,320
  • Online today: 281
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 120
  • Total: 120

TPShout messages not showing

Started by Martine M, May 02, 2013, 10:10:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Martine M


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
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

IchBin

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.

Martine M

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

Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

Martine M

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.
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

IchBin

In the TPShout.php file just search for the class="hide part and change the word "hide" to whatever you want.

Martine M

Thanks Ichbin I will search further tomorrow.
I will let you know if it worked.
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

Martine M

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.
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

IchBin

$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' : '').'">';

Martine M

Thanks Ichbin,

I found it now, changed it and it works now.
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

This website is proudly hosted on Crocweb Cloud Website Hosting.