Search Results for 'test'
-
Search Results
-
I have made a front-page where i show off all latest topics matching the forum ID’s..
It looks like this.
Forum id = General questions -> latest topics of the general questions
Forum id = Support questions -> latest topics of the support questions
I did this by hiding or deleting the forum id’s from all others and repeat the latest topics section.
Like this.
‘
<table id=”latest” role=”main”>
<tr>
<th><?php _e(‘Topic’); ?> — <?php bb_new_topic_link(); ?></th>
<th><?php _e(‘Posts’); ?></th>
<!– <th><?php _e(‘Voices’); ?></th> –>
<th><?php _e(‘Last Poster’); ?></th>
</tr>
<?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big><?php topic_page_links(); ?></td>
<td class=”num”><?php topic_posts(); ?></td>
<!– <td class=”num”><?php bb_topic_voices(); ?></td> –>
<td class=”num”><?php topic_last_poster(); ?></td>
</tr>
<?php endforeach; endif; ?>
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
<?php if( $topic->forum_id != 4 ) { ?>
<?php if( $topic->forum_id != 5 ) { ?>
<?php if( $topic->forum_id != 6 ) { ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> “><?php topic_title(); ?><?php topic_page_links(); ?></td>
<td class=”counter”><?php topic_posts(); ?></td>
<!– <td class=”num”><?php bb_topic_voices(); ?></td> –>
<td class=”last-post-avatar”><?php echo bb_get_avatar( $topic->topic_last_poster , ’36’); ?></td>
</tr>
<?php } ?>
<?php } ?>
<?php } ?>
<?php endforeach; endif; ?>
</table>
<table id=”latest” role=”main”>
<tr>
<th><?php _e(‘Topic’); ?> — <?php bb_new_topic_link(); ?></th>
<th><?php _e(‘Posts’); ?></th>
<!– <th><?php _e(‘Voices’); ?></th> –>
<th><?php _e(‘Last Poster’); ?></th>
</tr>
<?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big><?php topic_page_links(); ?></td>
<td class=”num”><?php topic_posts(); ?></td>
<!– <td class=”num”><?php bb_topic_voices(); ?></td> –>
<td class=”num”><?php topic_last_poster(); ?></td>
</tr>
<?php endforeach; endif; ?>
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
<?php if( $topic->forum_id != 3 ) { ?>
<?php if( $topic->forum_id != 4 ) { ?>
<?php if( $topic->forum_id != 6 ) { ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> “><?php topic_title(); ?><?php topic_page_links(); ?></td>
<td class=”counter”><?php topic_posts(); ?></td>
<!– <td class=”num”><?php bb_topic_voices(); ?></td> –>
<td class=”last-post-avatar”><?php echo bb_get_avatar( $topic->topic_last_poster , ’36’); ?></td>
</tr>
<?php } ?>
<?php } ?>
<?php } ?>
<?php endforeach; endif; ?>
</table>’
But know i have a problem with using this plugin.
http://bbpress.org/plugins/topic/front-page-topics/
I only want to show the latest 5 topics of each forum ID (excluding the once i’m hiding)
Know with this plugin it also counts the topics i’m hiding..
Isn’t there some code that says: show only the latest 5 topics from forum ID 3
Thanks,
I was just wondering if this is possible.
on the front-page.php
<latest topics>
<topic 1>
<topic 2>
<topic 3>
<topic 4>
<Forum category>
<forum cat 1>
<forum cat 2>
<forum cat 3>
<forum cat 4>
<forum cat 5>
So forum category 5 will be a off topic forum (like small talk) and i would like that the new topics inside this category will NOT be visible inside the latest topics at the top because they are never really important.
Hopefully this is the easiest question ever asked. I have a WordPress site with BBP installed. I want to be able to pull the latest BBP posts in a php query I can use throughout the site. What is easiest way of doing this?
Any help would be greatly appreciated.
Using bbPress-WordPress syncronization plugin and was able to connect to the bbpress part on wordpress dashboard, but not the other way around.
bbPress url: http://example.com/forums/ Everything is ok!
WordPress url: http://example.com/ URL is incorrect or connection error, please verify it (full variant): http://example.com?wpbb-listener
Link above leads to: “If you see that, plugin must connect well. bbPress test response (must be a:1:{s:4:”test”;i:1;}): a:1:{s:4:”test”;i:1;}”
Enable plugin (on both wp & bb) Not allowed: [bbPress part] Cannot establish connection to WordPress part
-made fsockopen, etc. changes
-my-plugins folder, etc. permissions=755
Sincere appreciation for anyone that can offer assistance/ideas
I have a little problem and i can’t find how to fix it.
I have installed bbPress 1.0 on the same database of my wp-install (latest)
And now everything look like it’s okay but when i sign in as a admin on my wp site and than jump to my bbPress forum i still see i’m logged-in as a admin but when i try to go to my bb-admin.php file (on the site) it doesn’t load this page.. (it only refreshes the bbPress forum homepage)
I can’t get into my bbPress dashboard.
But when i go back to my wp -site and log-off and switch back to my bbPress forum and log-on everything is fine. and i can use both admin-dashboards.
What can be this problem?