TinyPortal

Development => Support => Topic started by: FragaCampos on September 11, 2009, 04:43:22 PM

Title: PM strange behaviour
Post by: FragaCampos on September 11, 2009, 04:43:22 PM
Hello there.

Since i installed the latest version of TinyPortal (TP), i noticed that when i receive a new PM something strange happens.
When i login i'm redirected to the frontpage of TP, and if i have a new PM, i get a popup message (this also happens if i'm logged in and receive a new PM). Now, if i click ok Firefox opens a new tab with the PM index, but the page of the original tab stays blank.
If i click cancel (on the popup message) the frontpage (or the page where i was in the forum) disappears and i receive a blank page.
Interestingly, this only happens in Firefox, in IE there's no problem.

Any suggestion?



Link to my site: http://www.docspt.com
SMF version: 1.1.10
TP version: TP 1.0 beta 4
Theme name and version: Newdef
Browser Name and Version: Firefox 3.5.3
Title: Re: PM strange behaviour
Post by: G6Cad on September 11, 2009, 05:47:02 PM
Yes, what other mods do you have installed ? TP doesent really change anything regarding the PM function, it just links to it
So if you have some other mod, custom profile, pm on registration etc ( list all your mods ) we will know where to look
Title: Re: PM strange behaviour
Post by: JPDeni on September 11, 2009, 05:59:21 PM
Also, I would suggest checking to see if the same thing happens with the default theme.
Title: Re: PM strange behaviour
Post by: ZarPrime on September 11, 2009, 06:29:46 PM
JPDeni,

Unless he has fixed his original problems that I worked on him with the default theme previously, that probably won't make a difference.  The member has a habit of trying to make things work with the custom theme without making sure that they work in the SMF Core theme first.  As an example, his default theme doesn't even show the TinyPortal copyright, or it didn't the last time I checked.
Title: Re: PM strange behaviour
Post by: G6Cad on September 11, 2009, 06:43:36 PM
Then we add a closure to this until the original issues are solved, we cant possibly give any support if the core is messed up.

Start over with fresh files from SMF big upgrade package and replace your old files with the new ones.
Then do ALL the work to the default core theme first before you start doing things the wrong way like this time.
Title: Re: PM strange behaviour
Post by: FragaCampos on September 11, 2009, 07:21:14 PM
I don't have any problems with my default theme anymore, as you can see by visiting my site.

And the problem i reported has nothing to do with other mods cause this only happened exactly since i installed the latest version of TP.
And no, i don't have "custom profile, pm on registration" mods installed.
Here's the list:

1.  Hide Info Center From Guests  1.0   
2. blinkbbc 1.0
3. Country Flags 1.0.1
4. Topic Indices 1.0
5. Users Online Today Mod 1.4.0
6. Post Box Message 1.1
7. Spam Me Not Mod 1.02
8. Topics list support [Taby] 1.03
9. Wrap Text Around Image 1.0
10. Add Domaintools to TrackIP 1.0
11. SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update 1.0
12. Enhanced Quick Reply Box 2.0.2 2.0.2
13. Simple ImageShack 2.0.3
14. Attachment Notice 1.0
15. Justify BBCode 1.0
16. Language File Compare 1.0.1
17. TinyPortal 1.083
18. Enhanced Forum Statistics 1.0
19. Custom Form Mod 1.4
20. nCode Image Resizer 1.0
21. reCAPTCHA for SMF 0.9.5.4a
22. Spiders Don't Increase Topic Views 1.1
23. Attachment File Renamer 1.2.1
24. Profile_Visitors 4.0
25. Attachments Positioning 1.2
26. ed2k links support 2.5 - Build 15 (Ki3r changes)
27. Look But No Read 1.3
28. Aeva ~ Auto-Embed Video & Audio 6.9.99
29. Googlebot & Spiders Mod 2.0.4
30. Add PM Info To header (v1.0) 1.0
31. Stop Spammer 2.2
32. FontandSizeDropdown_1.2 1.3
33. Advanced Recent-Posts 1.1
34. Childboards Only 2.0
35. Language Drop 1.3
36. Member Color Link 3.0.7
37. DonationCoder.com SMF Search Enhancement Mod 1.1.9
38. Tagging System 1.1.1



Besides, like JPDeni suggested, the problem also happens in default theme.
Title: Re: PM strange behaviour
Post by: G6Cad on September 11, 2009, 07:25:37 PM
Post Box Message
Attachment Notice
Add PM Info To header

3 mods changing the source code for PM and PM functions.

And i know that TP doesent change anything regarding the PM or it's functions or how it open on the screen.
Title: Re: PM strange behaviour
Post by: IchBin on September 11, 2009, 07:40:29 PM
Quote from: FragaCampos on September 11, 2009, 07:21:14 PM
I don't have any problems with my default theme anymore, as you can see by visiting my site.

So are you saying that you don't have the problem you describe in this topic with the default theme?
Title: Re: PM strange behaviour
Post by: FragaCampos on September 11, 2009, 09:00:53 PM
IchBinâ„¢ i mean i don't have the problems ZarPrime mentioned before, i do have the problem in default theme, though.

G6, i've tested the forum in my computer and with or without the mods you mentioned, everythin is ok. But in my live forum, if i uninstall the 3 mods the problem persists... strange, no?
As i mentioned before, this only happens with firefox...
Title: Re: PM strange behaviour
Post by: IchBin on September 11, 2009, 09:19:29 PM
I don't know of any way to trouble shoot your problem other than you to start with fresh files. Go through and add one thing at a time, each time testing things to make sure all works in the default theme. After everything is installed and working in the default theme, then move onto your custom theme. I took a quick look at your source on your page, and I seen one error that could cause issues. You have a bunch of HTML links before your <body> tag.
<a href="http://www.docspt.com/hpot.php"><!-- race --></a>

<a href="http://www.docspt.com/hpot.php"><img src="race.gif" height="1" width="1" border="0"></a>

<a href="http://www.docspt.com/hpot.php" style="display: none;">race</a>

<div style="display: none;"><a href="http://www.docspt.com/hpot.php">race</a></div>

<a href="http://www.docspt.com/hpot.php"></a>

<!-- <a href="http://www.docspt.com/hpot.php">race</a> -->

<div style="position: absolute; top: -250px; left: -250px;"><a href="http://www.docspt.com/hpot.php">race</a></div>

<a href="http://www.docspt.com/hpot.php"><span style="display: none;">race</span></a>

<a href="http://www.docspt.com/hpot.php"><div style="height: 0px; width: 0px;"></div></a>


This makes your page XHTML invalid, which is known to cause weird issues with some things. Just a heads up.
Title: Re: PM strange behaviour
Post by: FragaCampos on September 12, 2009, 12:17:10 AM
Those links are from the Project HoneyPot and they were there before i installed v1.0 beta 4  :-\
Still, i deleted them and the error persists... Also, the index.template of default theme doesn't have those links and the error occurs on default theme...

The strangest is that in my pc the forum is ok with the same database and forum files.
Title: Re: PM strange behaviour
Post by: ZarPrime on September 12, 2009, 02:18:01 AM
FragaCampos,

I tried to help you before on your site, and I told you before that you have to make sure that everything works properly on the default SMF core theme before trying to make it work in your custom theme, but you insisted on ignoring what I said and continued working on fudging things to make things look OK in your custom theme, and it's obvious to me that you are still ignoring this advice.

I checked your site earlier today when I last posted in this topic and there was no TinyPortal copyright on your site when viewing the site in the default theme.  This is the strongest indication that something is not right with your default theme.

I just checked your site again and I see the copyright now, but I must tell you this ~~~ You cannot just add a line to the default theme's index.template.php file (TinyPortal v1.0 beta 4 Ã,© Bloc | NewDef design by Bloc) and say "OK, the TP copyright is there now so it must be working right".

This is not an issue with a missing TP copyright.  It's not that simple.  Any edits that you do to your site MUST BE DONE, first and foremost, in the SMF default core theme.  Only after that can you do the edits to the custom theme and expect things to work correctly.  Too many things on your site depend on the settings and make use of the files contained within the default theme for you to ignore them.

A Rule of thumb --> Always, Always, Always, make sure everything works properly in the SMF default theme before making them work in a custom theme.

I'm not trying to give you grief over this.  I am trying to help you.  With that being said, I can no longer help you until you have done what has been suggested by G6 and Ichbin, uploading the files from the SMF big upgrade package and making sure everything works correctly in the default theme.  Dare I say it ~ Nobody here will be able to help you until you bite the bullet and do what we have asked you to do.  That means that you will have to reinstall all of your Mods as well (only while your Forum is set to the default theme), but if you don't do this, you will continue to have various problems until you've done things the correct way.  It won't take that long.  You can overwrite the SMF files and reinstall all of those Mods in a matter of a few hours tomorrow.

Just Do It.

ZarPrime
Title: Re: PM strange behaviour
Post by: FragaCampos on September 12, 2009, 03:00:12 AM
Thanks ZarPrime for your long text about solving something that has nothing to do with what i asked.
First, as i told you before on another topic, i removed the copyright of the theme because i didn't know how to do to add another string and i messed with the file, but only with that file. I already apologised for that. This was over a year ago. I don't know why you keep coming to this subject. I won't put my forum at risk just because you see a "string" instead of the original code for bloc's copyright. It is there, isn't it? Am i infringing anything else? Everything, i repeat, everything is ok with my forum. I have no error logs whatsoever, and none, i repeat, none of my users uses the default theme.

This being said, if you don't want to help or know how to do it, just say so.
I'll will not ask for help again on this forum, because i think you don't give a good support.

I spent hundreds of hours to do what you see on my forum, without knowing php, sql or any other related languages.I've learned everything by myself, i read tutorials, FAQs, you name it. I read all the support topics, and you can count by the fingers of your hands the topics i opened on TP's forum for help.
Still, besides IchBin™, i never had proper help.
You can see in this (http://www.tinyportal.net/index.php/topic,30750.0.html) topic who helped who, and how. I think what is there, speaks for itself.


I'll keep using TP because i think is a good software, but for now on, i'll search for help elsewhere.

Cheers.
Title: Re: PM strange behaviour
Post by: ZarPrime on September 12, 2009, 03:24:49 AM
Trying to explain things to you is like beating my head against a wall.  It never accomplishes anything and the result is that there will always be headaches.

Did you even read my post.  The 4th paragraph started out "This is not an issue with a missing TP copyright.  It's not that simple." and it isn't about a missing copyright.  At this point, I don't care about a missing copyright.  The problem is that, long ago, you started installing stuff on your site so that it would work with your custom theme without regard to whether it would work in the default theme.  I don't care if you site works fantastic with absolutely no errors in your custom theme.  If you switched your Forum to the default theme for 24 hours I bet you couldn't say that you have no errors.

I tried to tell you this before, but you obviously didn't get the message then and you obviously don't get it now.  Even if none of your members ever even see the default theme, it doesn't matter.  There are too many things in the default theme that are required for custom themes just to ignore it.

I, for one, would never waste my time searching for a needle in a field of 1000's of haystacks, only to finally find it in the last haystack and be told that "Oh, I forgot to mention something, you also need to find the white thread".

ZarPrime
Title: Re: PM strange behaviour
Post by: IchBin on September 12, 2009, 05:34:30 AM
I still have an account on your forum it would seem, but I can't remember the password. Would you mind resetting the password to something and PM'ing me the new one? After that, send me a pm on your site and I'll login with Firefox tomorrow and see if I get the same error.
Title: Re: PM strange behaviour
Post by: FragaCampos on September 30, 2009, 04:41:22 PM
In case someone else comes along with this problem, i would like to inform that this is a Firefox bug identified by SMF's staff and corrected in version 2.