Search Results for 'code'
-
Search Results
-
<table id=”latest”>
<tr>
<th>Forum</th>
<th>Discussioni</th>
<th>Messaggi</th>
</tr>
<?php
global $wpdb;
$query=”SELECT * FROM bb_forums WHERE topics!=0 ORDER BY forum_order ASC LIMIT 10″;
$results=$wpdb->get_results($query);
foreach ($results as $result) {
echo “<tr><td>forum_id.”‘>”.$result->forum_name.”</td>”;
echo “<td class=’num’>”.$result->forum_topics.”</td>”;
echo “<td class=’num’>”.$result->forum_posts.”</td></tr>”;
}
?>
</table>
why this code don’t display the number of discussions and posts?
kikko088
Topic: css input problem
Hi at all, I try to put a value on input form (like bbpress.org form), I use this code
<input name=”topic” type=”text” id=”topic” size=”50″ maxlength=”80″ tabindex=”1″ value=”text” onfocus=”if(this.value==’text’){this.value=”;this.focus();}” onblur=”if(this.value==”){this.value=’text’}”/>
normally it work, now the problem is that I use also related post and I think it conflicts with the input code, infact if I active plugin the code don’t work, if I deactive the plugin the code work perfectly.
Can you help me?
kikko088
is there a way to change the default gravitar to something custom? i’m not talking about a member’s gravitar, but the one that shows up if they have not personalized it. there is a plugin to do this in wordpress, but i haven’t found one in bbpress yet.
also something i noticed is that under the gravitar… where the member’s name shows up, when you click on it the link takes you directly to their website instead of to their member profile……….. has anyone come across that and figured out a way to change that?
does bbpress have a permalinks option like wordpress does?
thanks!!!!!

