TinyPortal

Development => Support => Topic started by: mnichols7 on March 07, 2009, 03:14:10 PM

Title: Frontpage blocks/articles doubled??
Post by: mnichols7 on March 07, 2009, 03:14:10 PM
Using frontpage blocks are posted twice.  So are articles set for frontpage. Also get scrollbars in html blocks, but I found solution by, first post in the BBC block then switching to Javascript.  Go figure!!
Title: Re: Frontpage blocks/articles doubled??
Post by: ZarPrime on March 07, 2009, 03:20:29 PM
I don't understand the question.

ZarPrime
Title: Re: Frontpage blocks/articles doubled??
Post by: Renegd98 on March 07, 2009, 03:24:23 PM
me neither... I think she is saying the blocks are doubling posting... Marion, please provide a link to the site so we can have a look.
Title: Re: Frontpage blocks/articles doubled??
Post by: mnichols7 on March 07, 2009, 04:20:26 PM
Right now the sever is down and I have deleted those blocks, and not using frontpage for this.  I am using upper, lower and top and bottom panels for this use. Works fine and I figure it is a bug that you need to know about.
Title: Re: Frontpage blocks/articles doubled??
Post by: Bryan on March 07, 2009, 05:16:45 PM
I observed the same thing with front page blocks and got around it by just using upper and lower blocks.  When I saw this the front page blocks were doubled so that all of them appeared as expected and then when you scrolled down the page they all appeared again.  I know this is not much help as I no longer use front page blocks and can't show the problem, but I just wanted to confirm another sighting of this particular critter.
Title: Re: Frontpage blocks/articles doubled??
Post by: Renegd98 on March 07, 2009, 08:36:49 PM
We are going to need more info to try and replicate this. I use frontpage blocks on 2 different sites with no issues...

Please Marian see this: and provide the info --> Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)

Title: Re: Frontpage blocks/articles doubled??
Post by: mnichols7 on March 07, 2009, 08:50:07 PM
I can't give you any more than that, on two different times, blocks I created for fontpage doubled.  One was a site pal bot, one was an article block.  I came here looking for a solution and found no reverence to this problem.  So, I just deleted both blocks and do not use the frontpage at all.

I created my article, then I created a article block for frontpage, and chose  my article and it appeared twice.  With the Site Pal block, I entered the iframe code and the url for the bot and it appeared twice.
Here is the code I used for the Site Pal.  That is a non-working url, by the way.

<center><iframe id="datamain" src="http://www.pandorabots.com/pandora/talk-oddcast?botid=a6e1941a0e375342 " width=550 height=675 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
<layer visibility=hide>
</layer></center>
Title: Re: Frontpage blocks/articles doubled??
Post by: ZarPrime on March 07, 2009, 10:31:22 PM
Marian,

I'm not sure what you did, but if you had an article that was set to show on the Front Page and a single Article Front Page block also, they are both going to show if you have set your Front page settings to display both Front Page Blocks and Articles.  The obvious choice is to select to show either Articles or Front Page Blocks, but not both.

If you replicate this again, please let us know exactly what you have done before you delete the blocks, so that we can have a look and sort out an answer to this.

ZarPrime
Title: Re: Frontpage blocks/articles doubled??
Post by: mnichols7 on March 07, 2009, 10:38:06 PM
That might be what happened and I thought the same thing, so I went and removed the choice to show on front page and both disappeared.  Most times this is an accident and we aren't sure how we did it or how to correct it short of deleting it.  :idiot2:
Title: Re: Frontpage blocks/articles doubled??
Post by: ZarPrime on March 07, 2009, 10:39:22 PM
Yeah, at least starting over gets us back to square one. :2funny:

ZP
Title: Re: Frontpage blocks/articles doubled??
Post by: mnichols7 on March 07, 2009, 10:41:13 PM
 ;)
Title: Re: Frontpage blocks/articles doubled??
Post by: Renegd98 on March 08, 2009, 01:15:03 AM
Has this been sorted or is this still being worked?
Title: Re: Frontpage blocks/articles doubled??
Post by: ZarPrime on March 08, 2009, 01:18:53 AM
RG,

I'm not sure.  I don't think Marian knows for sure what she did to get this behavior.  I left it open in case she wants to try to replicate it, but I'm not sure.

ZP
Title: Re: Frontpage blocks/articles doubled??
Post by: AdviseorAnswers.com on March 08, 2009, 04:48:43 PM
Hi guys
It's been a while since I've been around but I figured since I had let my site get so for behind on updates to smf, I'd take a shot at updating my tp while I was doing the smf updates.
I ran into the double articles also. This what I did...

To get you up to speed as to where I'm at, let me start from the beginning. I was at smf 1.1.3 I did all the updates 1 by 1 upto 1.1.8 however updating to 1.1.8 uninstalled all my mods. TP included. So I decided if I had to reinstall I'd update to the 1.0 version of TP.

Now the install when with no errors or any problems. My previous articles were still on my server and the new version picked them up. Displayed them in the correct order and all. But! it also added a duplic of each one (basicly a second frontpage). The blocks had scrolling functions added and the top ones do scroll, however the duplicate ones do not. (not that I would want them to. just that may be useful info)

I'm going to leave as it is for today if anyone wants to see...
www.AdviseorAnswers.com
Title: Re: Frontpage blocks/articles doubled??
Post by: IchBin on March 08, 2009, 05:10:21 PM
I only see maintenance mode on your site.
Title: Re: Frontpage blocks/articles doubled??
Post by: AdviseorAnswers.com on March 08, 2009, 05:24:43 PM
ooops sorry I will open it up now
Title: Re: Frontpage blocks/articles doubled??
Post by: IchBin on March 08, 2009, 05:52:59 PM
Does it show duplicate articles in your tp_articles table in your database?
Title: Re: Frontpage blocks/articles doubled??
Post by: AdviseorAnswers.com on March 08, 2009, 05:57:32 PM
No it doesn't
Title: Re: Frontpage blocks/articles doubled??
Post by: Renegd98 on March 08, 2009, 11:36:15 PM
Are the articles set to show on the frontpage and are they in a Frontpage block?
Title: Re: Frontpage blocks/articles doubled??
Post by: AdviseorAnswers.com on March 09, 2009, 04:28:34 PM
Quote from: Renegd98 on March 08, 2009, 11:36:15 PM
Are the articles set to show on the frontpage and are they in a Frontpage block?
Yes they are.
Title: Re: Frontpage blocks/articles doubled??
Post by: ZarPrime on March 09, 2009, 08:19:55 PM
Advise,

Do you mind if I take a look inside your site?  If that would be OK, setup a temp Admin account and PM me the username and password, and I'll take a look at it.  Don't post the username and password here, just PM me.

ZarPrime
Title: Re: Frontpage blocks/articles doubled??
Post by: Renegd98 on March 09, 2009, 08:44:00 PM
Quote from: AdviseorAnswers.com on March 09, 2009, 04:28:34 PM
Quote from: Renegd98 on March 08, 2009, 11:36:15 PM
Are the articles set to show on the frontpage and are they in a Frontpage block?
Yes they are.
I am thinking this is the problem. If you have set the article to show on the frontpage and then put it in a frontpage block, which is unnecessary, then that might account for the double posting.


Let's see what Zar finds out when he checks your site.
Title: Re: Frontpage blocks/articles doubled??
Post by: AdviseorAnswers.com on March 09, 2009, 11:46:58 PM
I'll set up the account and send you the info.
Quote from: ZarPrime on March 09, 2009, 08:19:55 PM
Advise,

Do you mind if I take a look inside your site?  If that would be OK, setup a temp Admin account and PM me the username and password, and I'll take a look at it.  Don't post the username and password here, just PM me.

ZarPrime
Title: Re: Frontpage blocks/articles doubled??
Post by: Renegd98 on March 10, 2009, 12:04:48 AM
You can also PM me the info and whoever get's it first can look.
Title: Re: Frontpage blocks/articles doubled??
Post by: AdviseorAnswers.com on March 10, 2009, 12:08:38 AM
Thanks Guys,
Sent to both
Title: Re: Frontpage blocks/articles doubled??
Post by: AdviseorAnswers.com on March 10, 2009, 12:09:57 AM
I'll wait for you two too look before I mess with the block settings
Title: Re: Frontpage blocks/articles doubled??
Post by: Renegd98 on March 10, 2009, 12:48:35 AM
OK issue/problem found.

If you have the Frontpage set as follows:

  What to display on frontpage: Frontpanel

  How frontpanel will be shown with content:  Frontpanel will be added after content

Then the Frontpage Blocks get doubled.  I verified this on one of my test sites that was fresh everything with no mods installed.

See attached pic also...

My recommendation for now is set the following:

     How frontpanel will be shown with content:  Frontpanel will be added before content   or   Hide frontpanel, unless otherwise selected.

and the issue is gone.

I have set AdviseorAnswers.com forum to:  Frontpanel will be added before content[/u  and it has fixed your front page.
Title: Re: Frontpage blocks/articles doubled??
Post by: AdviseorAnswers.com on March 10, 2009, 01:00:16 AM
 :up:
AWESOME! And thank you for all your help.
Title: Re: Frontpage blocks/articles doubled??
Post by: mnichols7 on March 10, 2009, 01:05:19 AM
Yeah, thanks.
Title: Re: Frontpage blocks/articles doubled??
Post by: ZarPrime on March 10, 2009, 01:10:23 AM
Renegd,

Thanks for solving the issue before I had a chance to look. ;)

I will mark this solved.

ZP
Title: Re: Frontpage blocks/articles doubled??
Post by: Renegd98 on March 10, 2009, 01:20:18 AM
I will post this to the bugtracker..

Glad to help.. Glad we got sorted out...  I'm sure Bloc will fix it right up...
Title: Re: Frontpage blocks/articles doubled??
Post by: bloc on March 16, 2009, 09:26:57 AM
Yes, this is now fixed for beta 4. It was some of the logic that gave wrong output, making the frontblocks show twice in certain setups.