| User | Post |
|
6:46 pm 4 Mar 2007
| debora
Guest
| | | |
|
| |
|
|
Hi Andy,
Sorry, I posted this question also in the comments and then realized I had to post here.
I use WP 2.1, the theme Durable and the latest version of simple forum.
Here is my question in the comments:
|
|
|
|
|
Cute! The plugin uses 'the_content' to display itself within. Somewhere on your page template the content must be used twice. You need to hunt it down in the theme files…
|
|
|
7:34 pm 4 Mar 2007
| olandesina
Member
| | | |
|
| posts 4 |
|
|
ok… don't let me alone now! I am going to have a look in the page template and come back to you… I need your help
|
|
|
|
|
Look in there and in the footer and anywhere else that might get loaded for a page to display
|
|
|
7:47 pm 4 Mar 2007
| olandesina
Member
| | | |
|
| posts 4 |
|
|
sorry… i am really new to all of this code
Could it be this part of the footer?
<div class="column"> <h2 id="titleAbout">About</h2> <?php query_posts('pagename=about'); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php the_content(); ?> <?php endwhile; ?> <?php else : ?> <p>You have no about page, you should add one through the admin interface, or edit 'footer.php' and put some super cool information here!</p> <? endif; ?> </div>
<hr /> </div>
<div id="footer">
or should i look somewhere else?
|
|
|
8:24 pm 4 Mar 2007
| olandesina
Member
| | | |
|
| posts 4 |
|
|
I was thinking to give a look into the code of the page created from the forum… but where can I find it?
Thx :D
|
|
|
|
|
I removed the huge piece if code. You've got it above - the_content() - what on earth is that doing in the footer? What's more, if this is allied to a page template why have a 'loop' at all - it is all redundant.
Anyway it looks like you might have a call to the_content() in your main page and another call in the footer and that would explain what you are seeing. And then I'd fire the theme author. Who, by the way, has also buried a commercial link in the footer code (at least I assume that's what it is - I could be wrong) presumably, if I am right, to help boost his google ranking.
|
|
|
8:26 am 5 Mar 2007
| olandesina
Member
| | | |
|
| posts 4 |
|
|
Thx so the problem is this part in the footer:
<?php the_content(); ?>
I realized it because by disabling the About page the forum is displaying correctly now.
Ops… I have put the commercial link into the footer it's a banner.
Thx a lot for your help Will let you know how it goes
|
|
|
|
|
OK - you're allowed to put commercial links in the footer so I forgive you 
I hope you get it sorted. That page template looked most odd for what should be, the simplest template in the pack really
|
|
|
4:48 pm 5 Mar 2007
| Naa
Guest
| | | |
|
| |
|
|
I have the same problem (on the forum page it shows in the right sidebar also), looked into the theme coding and don't see the_content in either the sidebar (mine shows up on my right sidebar) or in widgets (since I'm using widgets, looked at the widgets.php coding too).
|
|
|
|
|
Well something is displaying 'content' in your sidebar. What about excerpts? Anthing showing recent posts? Of course, this would have to include pages as well as posts but that's what happening.
|
|
|
6:14 pm 5 Mar 2007
| Naa
Guest
| | | |
|
| |
|
|
I removed the recent comments & active discussions widget from the right sidebar and it's still showing up. Also the forum is not displayed in the center correctly either, wants to go over onto the left sidebar ^_^;;
Let me give you some background.
I'm using WordPress 2.1.2, Simple Forum 1.7 and Dark Ritual 1.0 by Kaushal Sheth (theme)
I think I found the problem… it was the Subscribe2Widget oO; v1.2
http://subscribe2.wordpress.com/tag/widget/
Apparently the author of the widget knows it and doesn't know of a fix.
|
|
|
|
|
That's bad news. I don't know of anyway either, of me being able to check if I am runnng in the main page template or outside of it or else I could ensure the forum was limited to the main template. But I am not aware of any marker, flag or token that would enable me to do this.
|
|
|
6:36 pm 5 Mar 2007
| Naa
Guest
| | | |
|
| |
|
|
Ah well, at least my problem was identified and there is the page itself I can use for people to subscribe so I'm not just limited to the widget.
My site isn't open yet (it's an rpg/fanfic site) but I'm testing it out and so far it's running smoothly and looking good. Still playing with all the options and getting it set up.
Thanks!
|
|
|
|
|
Well good luck with that.
Keep looking at the various updates if you use this in the end. I will look into whether it's possible to make it 'template aware'.
|
|
"Hi Andy,
Thanks for this wp plugin. It’s a great tool!!
I have installed it on my new blog (linksfordesigners.com), but I am afraid I need some help. I am quite new to blogging and not so handy with coding.
I have installed the forum and seems to work well but on the forum page the forum is displayed two times… in the content area and repeated in the footer again. How can I avoid this?
I really hope you can help me to sort this out
Thanks a lot,
Debora"