Forum Replies Created
-
In reply to: post count – 1
For some reason my “Latest Discussions” went from 1’s to -1’s instead of 0’s.
Thanks! I don’t take it as condecending at all. I’ll post what I come up with.
In reply to: Suggestions for profile.phpChanges I made:
example: http://overnights.org/profile/2
style.css
#userinfo { margin: 10px 0 5px; width:45%; float:left;}
#userinfo dt { font-weight: bold; }
#userinfo dd { margin: 0 0 5px; }
#useractivity { margin: 10px 0 5px; width:45%; float:right;}
#useractivity dt { font-weight: bold; }
#useractivity dd { margin: 0 0 5px; }
profile.php
<?php bb_profile_data(); ?>
<div id="useractivity">
<h3><?php _e('User Activity') ?></h3>
<dt><?php _e('Recent Replies'); ?></dt>
<?php if ( $posts ) : ?>
<?php foreach ($posts as $bb_post) : $topic = get_topic( $bb_post->topic_id ) ?>
<dd><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a> <?php if ( $user->ID == $bb_current_user->ID ) _e('You last replied'); else _e('User last replied'); ?>: <?php bb_post_time(); ?> ago.
<?php
if ( strtotime(bb_get_post_time()) < strtotime(get_topic_time()) ) {
echo ' <span class="freshness">'. __('Most recent reply: ');
topic_time();
echo ' ago.</span>';
} else {
echo ' <span class="freshness">'. __('No replies since.') .'</span>';
}
?>
</dd>
<?php endforeach; ?>
<?php else : if ( $page ) : ?>
<?php _e('No more replies.') ?>
<?php else : ?>
<?php _e('No replies yet.') ?>
<?php endif; endif; ?>
<dt><?php _e('Threads Started') ?></dt>
<?php if ( $threads ) : ?>
<?php foreach ($threads as $topic) : ?>
<dd><a href="<?php topic_link(); ?>"><?php topic_title();
?></a> <?php printf(__('Started %s ago'), get_topic_start_time()) ?>
<?php
if ( strtotime(get_topic_start_time()) < strtotime(get_topic_time()) ) {
echo '<span class="freshness"> '. __('Most recent reply: ');
topic_time();
echo ' ago.</span>';
} else {
echo '<span class="freshness"> '. __('No replies.') .'</span>';
}
?>
</dd>
<?php endforeach; ?>
</div>
In reply to: add search on front pageCan you control the width of search_form( $q ); ?
In reply to: post count – 1No, I see what he means. Saying “1 post” is redundant.. if there wasn’t one post in that topic, the topic wouldn’t exist. It should say “REPLIES” and list the number of posts in the topic, minus 1 (the original post.)
How we do that, I have no idea.. I’m still trying to find a list of template tags and attributes.
In reply to: deleting users(By the way, I just the notes under deleting a user… my bad!)
In reply to: next release ideas1) New topics/replies highlighted
2) Forum Permissions
3) Better user delete routine (banned, but dont remove all info from the fields!)
In reply to: deleting usersWell that’s just silly. WHile I understand not being able to recreate the account (and then “stealing” credit for all the posts made by the old user) it shouldn’t just blank out the information.. how about marking it as “banned” and turning the background red? (BTW, if you delete a user, what happens to all the posts they made? Do the by-fields all turn blank?)
In reply to: deleting usersbtw, my installation is at http://overnights.org – come log on while I figure this out.. overnighters, unite!
In reply to: Plugin RequestsI would like a plugin with a imageshack/fapomatic upload form.
In reply to: Combined Register + PostDefinitely. I think would be a Really Good Thing(tm), actually. (IMHO)