Forum Replies Created
-
In reply to: BBpress vector logo?
hey, would really appreciate some help on this one so that I can promote (link back) to bbpress.org
In reply to: Google doesn’t like my forum!Thanks for your feedback and thanks for the links chrishajer.
I have no errors in Google Web tools. I suppose “indexed” was the wrong word – i’m more concerned with the rankings and the fact that they differ so much from the main site and forum, & I have no pr for reclaimyourskin.co.uk/support. I’ll keep working at it.
In reply to: Get Current Forum ID?thanks for trying to help nightgunner but unfortunately this still displays the”on” class for every link in the menu, when I only need it to display the “on” class for the forum the user is currently viewing.
In reply to: Get Current Forum ID?Thanks for your reply chrishajer, much appreciated & sorry about late reply (i got bogged down with some other work). I am using the latest unstable version 1.0. I am using this version because the site is not finished so I don’t expect to launch it for a while – I thought I might as well get use to the changes while I can.
Anyway, the site in question is http://betting-forums.net/beta/
On the homepage the latest tab is current dark grey/black. When a user clicks the racing tab (or anyother forum tab) I want that tab to change colour to dark grey/black – basically so that the user knows what forum they are currently are on.
Any suggestions would be much appreciated.
In reply to: Get Current Forum ID?Sorry guys, I thought my problem was resolved but it looks like i’ve spoke to soon.
The code _CK_ suggested below, worked wonders to add a new “on” class on my forum links:
<li<?php if ($current_forum_id=get_forum_id()) {echo " class='on'";} ?>>
Problem!
The trouble is that the unique “on” class is being displayed on every forum link, when I need it to only display when i’m viewing forum 2 for example. Basically, i need a unique css class and current forum marker so the user knows which forum they are currently viewing.
Below is the souce code for all of forum.php (if anyone has time to have a quick look i’d really appreciate it).
<?php bb_get_header(); ?>
<h3><?php forum_name(); ?> Forum</h3>
<ul id=”forumnav”>
<li<?php if ($current_forum_id=get_forum_id()) {echo ” class=’on'”;} ?>>” title=”Latest homepage”><span>Latest<img src=”images/white-arrow.gif” style=”padding: 0 0 3px 5px” width=”10″ height=”5″ border=”0″ /></span>
<li<?php if ($current_forum_id=get_forum_id()) {echo ” class=’on'”;} ?>>forum/forum2″ title=”Forum 2″><span>Forum 2</span>
<li<?php if ($current_forum_id=get_forum_id()) {echo ” class=’on'”;} ?>>forum/forum3″ title=”Forum 3″><span>Forum 3</span>
<li class=”<?php echo $class;?>”>forum/forum3″ title=”Forum 3″><span>Forum 3</span>
<?php if ( $topics || $stickies ) : ?>
<table id=”latest”>
<tr>
<th><?php _e(‘Topic’); ?> — <?php bb_new_topic_link(); ?></th>
<th><?php _e(‘Posts’); ?></th>
<th><?php _e(‘Last Poster’); ?></th>
<th><?php _e(‘Freshness’); ?></th>
</tr>
<?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big></td>
<td class=”num”><?php topic_posts(); ?></td>
<td class=”num”><?php topic_last_poster(); ?></td>
<td class=”num”>“><?php topic_time(); ?></td>
</tr>
<?php endforeach; endif; ?>
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> “><?php topic_title(); ?><?php topic_page_links(); ?></td>
<td class=”num”><?php topic_posts(); ?></td>
<td class=”num”><?php topic_last_poster(); ?></td>
<td class=”num”>“><?php topic_time(); ?></td>
</tr>
<?php endforeach; endif; ?>
</table>
<div id=”viewdiv”>
<ul id=”views”>
<li class=”view”>” class=”rss-link”><?php _e(‘<abbr title=”Really Simple Syndication”>RSS</abbr> feed for this forum’); ?>
</div>
<div class=”nav”>
<?php forum_pages(); ?>
</div>
<?php endif; ?>
<?php if ( bb_forums( $forum_id ) ) : ?>
<h2><?php _e(‘Subforums’); ?></h2>
<table id=”forumlist”>
<tr>
<th><?php _e(‘Main Theme’); ?></th>
<th><?php _e(‘Topics’); ?></th>
<th><?php _e(‘Posts’); ?></th>
</tr>
<?php while ( bb_forum() ) : ?>
<?php if (bb_get_forum_is_category()) : ?>
<tr<?php bb_forum_class(‘bb-category’); ?>>
<td colspan=”3″><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><small><?php forum_description(); ?></small><?php bb_forum_pad( ‘</div>’ ); ?></td>
</tr>
<?php continue; endif; ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><small><?php forum_description(); ?></small><?php bb_forum_pad( ‘</div>’ ); ?></td>
<td class=”num”><?php forum_topics(); ?></td>
<td class=”num”><?php forum_posts(); ?></td>
</tr>
<?php endwhile; ?>
</table>
<?php endif; ?>
<?php post_form(); ?>
</div> <!– End Content –>
<?php bb_get_footer(); ?>
Thanks again sambauers, _CK_ and other mods – you’re doing a great job.
In reply to: Get Current Forum ID?I modified your code to the following and it worked:
<li<?php if ($current_forum_id=get_forum_id()) {echo ” class=’on'”;} ?>>
Thanks a lot CK, much appreciated.
In reply to: Get Current Forum ID?Hi guys, i’m trying to get the above code to work without any success.
This is the code i’m using in my header files:
<?php
$current_forum_id = get_forum_id();
while ( bb_forum() ) {
$class = ”;
if ($current_forum_id == get_forum_id()) {
$class = ‘on’;
}
}
?>
…and this is the code i’m using in my front page and forum template (within the menu):
<li class="<?php echo $class; ?>">
Not sure where i’m going wrong, any help would be much appreciated.
Thanks
In reply to: Blank display_name on WP 2.5 integrationI am experiencing the same problem as well.
I think it has something to do with user roles, as a registered BBpress user does not have get a defined role in WordPress (i.e author, contributor, editor etc…).
It would be easier if a default wordpress role was automatically assigned to a user that registers via bbpress.
If anyone has any ideas/solutions it would be much appreciated.
In reply to: User Photo for bbPressThanks a lot Detective.
But I can’t get the plugin to work. I have followed your instructions by uploading the user-photo foler into “my-plugins” directory and I made sure the paths are correct.
The plugin activated without any errors but i’m not sure how I upload a photo. There is no form to upload photos in user profiles, do I need to add some code manually to the template files?
Sorry to be a pain & thanks for your time
Will
In reply to: New Theme: GenealogíasHi Detective, I really like this theme – like I said before definitely one of the best WordPress/BBpress installs I’ve seen.
Does this theme have the User Photo plugin intergrated into it? I would love to be able to use User Photo within BBpres like you have done at http://www.ryuuko.cl/bbpress
In reply to: Kineda.comAwesome site Kineda, looks very professional and I love how you could never tell that it’s a bbpress install – like djMotLive would be hard to imagine how much work you’ve put into it.
What did you use for images in your posts? What is a custom hack created by yourself? or did you use a plugin?
Thanks,
Will
In reply to: Foros Ryuuko — my bbPress installationThanks Detective, good luck with your lap top – looking forward to the release.
Regards
In reply to: Foros Ryuuko — my bbPress installationHi Detective,
I have tried sending you a message using your website but I think I might have submitted a comment instead of an email in error
I really like your website/forum (http://www.ryuuko.cl/bbpress/). It’s definitely one of the best bbpress/wordpress integrations I’ve seen, looks very professional – great job
Would you be able to give us some more information on how you used the wordpress User Photo plug-in inside bbpress? I’ve tried for a while to work out how to do it with no success. If you could help it would be very much appreciated, or if anyone knows how to do this?
I’ve done a few Google searches but there isn’t any information on how to integrate the User Photo plug-in into bbpress.
Thanks,
Will