| User | Post |
|
7:42 am 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
Hey guys, I want to thank you for an excellent forum for Wordpress, just one question I put together a site for a client, and maybe its a setting or I am not sure but here is the link: http://rohnik.com/forum/
Is it supposed to display the forum up top and at the bottom?
|
|
|
8:13 am 22 May 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
holy wow… that's just not right… I think we have a plugin conflict going on here… It could be a theme issue but because the breadcrumbs are messed up, that usually mean javascript conflict…
could you please list the plugins in use on that site…
also, you might try disabling all the plugins that you can and see if the issue goes away… if so, then start re-enabling them one by one until the issue re-appears… then we can start working the conflict…
|
|
|
|
|
The only time I have seen this before, and I have, it was plugin related.
The forum uses the template tag 'the_content' to render content. Somewhere in your theme or a plugin, 'the_content' is almost certainly getting rendered twice. I have no idea why of course!
|
|
|
3:01 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
Ok Drum Roll please, here are the plugins:
- AJAX Login
- Calendar
- Category Visibility-iPeat
- Comment Connection
- Contact Form 7
- DBC Backup
- Easy IMDB
- Exec-PHP
- GLM's Category Magic
- Global Translator
- Google XML Sitemaps
- IM Online
- Members Only (Could unistall if needed)
- NexGen Gallery (Really cannot uninstall hope there is a work around)
- Private Plus
- Profiler
- Quotes Collection (Can unistall this as well if needed)
- SezWho
- Simple Press Forums
- SociBook
- Star Rating for Reviews (Need this)
- Ultimate Google Analytics
- Wordpress Download Monitor
- WP-Links
- WP-Polls
- WP-Typography
- WP-Security Scan
Ok that is all of my active plugins, I can mange to take off some and get an alternative but I would like to keep the NextGen Gallery which I think I read somewhere taht it might be tempremental, I also need the Star Reviews and Google Analytics / Site Map, Calendar cannot go either. I might be able to find alternatives for some others. Thanks for the help guys!
|
|
|
4:04 pm 22 May 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
There is a known issue with contact form 7… try disabling that and see if it starts working… that plugin needs an update to not have this issue with wp 2.5.x… there are a couple of other compatible contact form plugins listed in the faq forum…
also, make sure you have the latest google sitemap plugin as earlier versions had issues too…
please report back when you try these…
|
|
|
4:09 pm 22 May 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
also, make sure you have the latest version of Alex's NextGen Gallery… he has corrected earlier versions that had a conflict with SPF…
|
|
|
4:18 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
I deactivated all 3 plugins and still no good =/
|
|
|
|
|
And have you looked at the theme template yet?
|
|
|
4:32 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
not yet, that it what my next step is. I just finished deactivating every plugin and putting them back on. I even missed that I did need to upgrade the NextGen gallery so I did that and still nothing.
|
|
|
4:42 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
This is from my index.php file:
div class=”entry”>
<?php the_content('Read more »'); ?>
<p class=”postinfo”> <?php _e('Filed under:'); ?> <?php the_category(', ') ?> | <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> </p>
This is from Single.php:
<div class=”entry”>
<?php the_content(); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
This is from page.php:
<div class=”entry”>
<?php the_content(); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
<!–
<?php trackback_rdf(); ?>
–>
</div>
=====================================
Is this the problem?
|
|
|
|
|
This can't be the whole template can it?
And the forum should use the 'page.php' template.
I will send you a PM with my email address and then just send me the poage.php template t have a look at please
|
|
|
|
|
Well it's not the greatest page template I have seen but I don't see anythign obviously wrong with it. I am curious about something calling itself 'obar' which seems to be inserting itself at the nottom of the forum and top of the repeaat.
it's got to be one opf those multitude of plugins you have there
|
|
|
6:03 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
I have an obar.php file, would you like that?
The site is based off of the Digg Word Press theme
The obar.php file makes the layout 3 columns, I just deleted it from the server and I still have the same problem.
Could it have been my installation my MySQL version was incompatible but the install completed.
|
|
|
6:31 pm 22 May 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
keep working with Andy because I think you have several problems… first step is to solve why its appearing twice…
then we can address the other stuff (like breadcrubms all messed up)… which is likely a different conflict/issue…
|
|
|
|
|
I think the beradcrumbs are going to be another 'nextGen' problem.
This is nothing to do with data, databases, php or to be frank, the forum.
It's either theme or plugin related. has to be. Just for the curiosity, change themes just briefly. Forget how it looks but just see of the forum displays OK.
|
|
|
7:28 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
Yeah changing the theme to wordpress default fixed it. So something is wrong with my theme =(
|
|
|
7:31 pm 22 May 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 558 |
|
|
dalbeck said:
Ok Drum Roll please, here are the plugins:
- AJAX Login
- Calendar
- Category Visibility-iPeat
- Comment Connection
- Contact Form 7
- DBC Backup
- Easy IMDB
- Exec-PHP
- GLM's Category Magic
- Global Translator
- Google XML Sitemaps
- IM Online
- Members Only (Could unistall if needed)
- NexGen Gallery (Really cannot uninstall hope there is a work around)
- Private Plus
- Profiler
- Quotes Collection (Can unistall this as well if needed)
- SezWho
- Simple Press Forums
- SociBook
- Star Rating for Reviews (Need this)
- Ultimate Google Analytics
- Wordpress Download Monitor
- WP-Links
- WP-Polls
- WP-Typography
- WP-Security Scan
Ok that is all of my active plugins, I can mange to take off some and get an alternative but I would like to keep the NextGen Gallery which I think I read somewhere taht it might be tempremental, I also need the Star Reviews and Google Analytics / Site Map, Calendar cannot go either. I might be able to find alternatives for some others. Thanks for the help guys!
There are two plugins I recognise right away #11 and #22 both from Google. These have been known to cause issues, but not the type you are experiencing.
However, Have you checked your header.php file for a link to the_content()?
Looking at the site as a developer, it apears that the first display of the forum is actually IN the header, as the second display looks like it is apearing properly centered in the rest of the formated page.
|
|
|
7:35 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
Here is my entire header.php sorry for posting such long strings of code.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head profile=”http://gmpg.org/xfn/11″>
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta http-equiv=”Content-Type” content=”<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>” />
<meta name=”generator” content=”WordPress <?php bloginfo('version'); ?>” /> <!– leave this for stats please –>
<link rel=”stylesheet” href=”<?php bloginfo('stylesheet_url'); ?>” type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo('rss2_url'); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo('rss_url'); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo('atom_url'); ?>” />
<link rel=”pingback” href=”<?php bloginfo('pingback_url'); ?>” />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>
<body><div id=”container”>
<div id=”header”>
<div id=”menu”>
<ul>
<li><a href=”<?php bloginfo('url'); ?>/” title=”<?php bloginfo('name'); ?>”><?php _e('Home'); ?></a></li>
<li><a href=”<?php echo get_permalink(2); ?>” title=”<?php _e('About'); ?>”><?php _e('About'); ?></a></li>
<li><a href=”<?php echo get_permalink(3); ?>” title=”<?php _e('Links'); ?>”><?php _e('Links'); ?></a></li>
<li><a href=”<?php echo get_permalink(7); ?>” title=”<?php _e('Blog'); ?>”><?php _e('Blog'); ?></a></li>
<?php /*?><li><a href=”<?php echo get_permalink(6); ?>” title=”<?php _e('Downloads'); ?>”><?php _e('Downloads'); ?></a></li><?php */?>
<li><a href=”http://rohnik.com/calendar” title=”<?php _e('Calendar'); ?>”><?php _e('Calendar'); ?></a></li>
<li><a href=”http://rohnik.com/reviews” title=”<?php _e('Reviews'); ?>”><?php _e('Reviews'); ?></a></li>
<li><a href=”<?php echo get_permalink(4); ?>” title=”<?php _e('Media Library'); ?>”><?php _e('Media Library'); ?></a></li>
<li><a href=”<?php echo get_permalink(36); ?>” title=”<?php _e('Message Boards'); ?>”><?php _e('Message Boards'); ?></a></li>
</ul>
</div> <div id=”pagetitle”>
<h1><?php /*?><a href=”<?php bloginfo('url'); ?>/” title=”<?php bloginfo('name'); ?>”><?php bloginfo('name'); ?></a><?php */?></h1>
</div>
<!–<div id=”syndication”>–><br /> <div id=”searchbox”><?php include (TEMPLATEPATH . '/searchform.php'); ?></div>
<?php /*?><a href=”<?php bloginfo('rss2_url'); ?>” title=”<?php _e('Syndicate this site using RSS'); ?>” class=”feed”><?php _e('Entries <abbr title=”Really Simple Syndication”>RSS</abbr>'); ?></a> | <a href=”<?php bloginfo('comments_rss2_url'); ?>” title=”<?php _e('Syndicate comments using RSS'); ?>”>Comments RSS</a> </div><?php */?>
</div>
<?php $showgallery = ''; $showgallery = apply_filters('the_content', $showgallery ); echo $showgallery;
?>
<div class=”pagewrapper”><div class=”page”>
<?php include (TEMPLATEPATH . '/obar.php'); ?>
|
|
|
|
|
Yep… there it is buyt the looks of it:
<?php $showgallery = ''; $showgallery = apply_filters('the_content', $showgallery ); echo $showgallery;
?>
|
|
|
7:47 pm 22 May 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 558 |
|
|
The long code was needed - the _content apears as one of the last calls in the bottom of that code… the call being used to insert the gallery in the headder is in turn, calling SPF in the header… it's not so much a problem with NGG… as bad coding to place NGG where it is
We might want to ask Alex if there is a different call that can be made
|
|
|
7:49 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
OK, well I am glad we could all find it, I appreciate all of your help this is indeed one of the friendliest support boards around. What do you guys suggest I do, my client wants that gallery there, that was his top request along with a calendar and forums.
|
|
|
8:55 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
Ok, I fixed it!
I copied the NextGen plugin folder to my hdd, opendint and did a find all / replace all
made the_content –> gallery_content re-uploaded all the files and overwrote them changed the code in the header from the “the_content()” to “gallery_content()”. And all is fine now!
Thanks gusy I hope this helps someone in the future. I appreciate everyone's help you have all been so friendly.
|
|
|
|
|
|
9:38 pm 22 May 2008
| dalbeck
Member
| | | |
|
| posts 12 |
|
|
Yeah, it has worked for me in the past with a few things, so I figured I would copy the folder to have a backup before I made that change in case it crashed everything, but I lucked out. I would really like to thank Yellow Swordfish for a fantastic plugin / extension to Wordpress and A++ support, also thanks for all the help from -Radio- and Mr Papa! You guys were very friendly and helpful! Like I said hopefully if someone has this same problem again in the furture this “fix” can help them, or if you have itand are having trouble please message me on here and I will try and help you out.
|
|
|
10:57 pm 22 May 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
Okay, now we can move on to fixing the rest of the stuff… you are still having a conflict with contact form 7 (I believe)… notice how the spacing of everything is way off?? look at your breacrumbs… then look at ours here… look at all your blank white space in posts… that is caused by a conflict with contact form 7 where it in effect is chaning \n statements to <br /> statements…
I think that plugin author got caught up in the wp 2.5 shortcode issue and raised the priority of his content replacment (which shouldnt run on every page anyways) and now wpautop is replacing stuff…
To fix the appearance, you will need a different contact form… our faq recommends one highly and some others that work… try disabling that plugin again and look at the appearance (make sure you clear your browser cache) just to make sure my theory is right…
|
|