TinyPortal

Development => Support => Topic started by: sydbat on August 15, 2011, 03:21:07 PM

Title: TPShout
Post by: sydbat on August 15, 2011, 03:21:07 PM
Strange situation - shouts no longer show up in TPshout box.

Lemme explain...

SMF 2.0 Gold
TP 1.104 (1.103 is also installed, but apparently not used)

The problem is a bit annoying - after installing various SMF mods (I can provide a list if necessary), the shouts made in TPShout do not show up in the TPShout box, only on the "Last 50 Shouts" page. There are no errors.

I have had TP installed in my current test site for about 2 months. I enabled the TPShout and everything was working well, until I started to add some SMF Mods. I am pretty sure that adding one (or more) of these mods has created my problem, so I will uninstall them and see if functionality comes back for TPShout.

However, if this does not work, is it possible to uninstall TP without losing the content I have created in it, then reinstall it? I wonder if just uninstalling/ reinstalling TP might be the first and best solution.

I also wonder if one of the mods changed something in a file. What SMF files does TPShout use to display shouts? I think I might find what I am looking to fix in one of those. Otherwise...

Let me know what else you need from me to help with figuring out this problem.

Thank you.
Title: Re: TPShout
Post by: Lesmond on August 15, 2011, 03:59:58 PM
Have you added any custom blocks, try closing each one at a time, see if that changes the shout box.
Title: Re: TPShout
Post by: sydbat on August 15, 2011, 04:25:54 PM
I have not added any custom blocks. I did turn off all the other blocks (menus, who's online, user panel, recent posts), but no effect.

Can I uninstall and reinstall TP without any ill effects? As long as I keep the DB data?
Title: Re: TPShout
Post by: IchBin on August 15, 2011, 04:29:26 PM
Yes, all the information stored in TP is in the database which does not get removed when you uninstall. Reinstalling TP later should bring back the same stuff you have already input into TP.

The shoutbox is completely separated from the SMF code, so the mods must be adding some code to an SMF file that is somehow conflicting with it. Your only option as you said is to remove the mods to see what is causing it.
Title: Re: TPShout
Post by: sydbat on August 15, 2011, 04:38:09 PM
Thanks. I'll uninstall  the extra mods first and see if the TPShout box displays again, then reinstall each mod and check witch one conflicts. I'll let you know.
Title: Re: TPShout
Post by: sydbat on August 15, 2011, 04:48:03 PM
Found the offender!

It is the "Tabbed Smileys" mod. It modifies these files
./Sources/Load.php
./Sources/ManageSmileys.php
./Sources/Subs.php
./Themes/default/GenericControls.template.php
./Themes/default/ManageSmileys.template.php
./Themes/default/languages/Modifications.english.php

I imagine that one of the above files also has something to do with displaying the TPShout text in the block. Now to figure out what...
Title: Re: TPShout
Post by: ZarPrime on August 15, 2011, 05:31:11 PM
If you go to the Mod download page for TinyPortal on SMF (http://custom.simplemachines.org/mods/index.php?mod=97), and make sure that, under "Download this mod" on the right side, TinyPortal1_RC2.zip is selected, you can select the Manual Install Instructions for SMF 2.0 and click Parse.  That will take you to a page that will show you what changes are made when you install TinyPortal.  I believe that the only 2 files that you mentioned above that are edited by the TP install are ./Sources/Load.php and ./Sources/Subs.php so that may help you to track down the problem.

ZarPrime