Published on April 13th, 2014 by elaborate
Hi,
Is there an established way to show a short excerpt of the latest post in a forum, category, etc. under the “Freshness” title?
Other software like vBulletin support this: Steam Forums
If not, then I would love a point in the right direction of which hooks and functions, etc. I should start with.
I’m developing a custom WordPress theme which I have now extended to cover a custom bbPress theme, but I don’t really know PHP, so any help will be appreciated.
Thank you.
Published on April 12th, 2014 by virginiaduke
BBPress is integrated with Buddypress, and it creates the forum, and shows the forum perfectly. Including ‘Last updated by *user name* 13 hours ago. BUT once you actually enter the topic, it shows the topic creator’s postbit(avatar/role/time posted) fine, meanwhile showing all replies as ‘participant’ or ‘anonymous’ with no information shown. It shows their reply, but there’s no way of seeing who it is that replied.
Published on April 12th, 2014 by vegas778
Hi Guys,
I cannot find on which file I can edit these codes ?
The avatar on the left of the message :
<img alt="" src="https://secure.gravatar.com/avatar/a8792a6046cf82389373bb32241764c6?s=80&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D80&r=G" height="80" width="80" />
And the mini avatar below the date of the freshness
<img width="14" height="14" src="https://secure.gravatar.com/avatar/a8792a6046cf82389373bb32241764c…com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D14&r=G" alt="" />
Thanks in advance
Regards,
Published on April 12th, 2014 by theFINALboss
Hi. as i stated in the title, i don’t know why i got that problem, ive tried disabling every plugin or such, but still got the problem.
It wont let me create, or answer anything from frontend.
i can just create or reply from the backend menus.
i got the latest WP version
Bbpress 2,5,3
regards
Published on April 12th, 2014 by KBonaker
Is there a plug in that I can use with BBPress that allows registered users to see who the other members are in a group?
I am using the most current version of BBPress, WPStore and WPEmembers
Thank you,
Karen
Published on April 12th, 2014 by obasimvilla
I decided to move from SMF 2.0.7 to bbpress. The migration tool worked successfully but not without errors.
The main admin account on my forum was changed to Anonymous and every other person’s own changed to my account on wordpress.
How can I change all the imported post and replies to be posted by Anonymous instead of this incoherent one?
Link and demo = goo.gl/g0Tb1B goo.gl/kej5oO
N/B; users were imported but without their various post and replies assigned to them.
Published on April 12th, 2014 by Jerry
If this challenge I am having is beyond the scope of help in the bbpress forums, then I understand. The below code is a function that allows the user to submit a search request for a book title via the google books api. When the user clicks “search”, the function works great and returns results in a Jquery window. The problem I am having; it triggers a submit of the bbpress topic, and I get the errors “cannot submit a topic with the subject line blank.”
If there is a simple fix I am not seeing, can someone please help me?
function book_search_google () {
//set API version for Google Book Search API
$v = isset($_POST['v']) ? $_POST['v'] : '1';
//set user API key for Google Book Search API
$key = isset($_POST['key']) ? $_POST['key'] : 'key goes here';
//set user IP for Google Book Search API
//$ip = isset($_POST['ip']) ? $_POST['ip'] : $_SERVER['REMOTE_ADDR'];
//set default value for query to Google Book Search API 0307387941
$query = isset($_POST['q']) ? $_POST['q'] : '0307387941';
//set default value for search type to Google Book Search API
$type = isset($_POST['type']) ? $_POST['type'] : 'all';
//check and assign page of search results - are we on the first page?
$start = isset($_POST['start']) ? $_POST['start'] : 1;
//set default value for number of results
$limit = isset($_POST['limit']) ? $_POST['limit'] : '10';
switch ($type) {
case 'all':
$params = 'q='.urlencode($query).'&startIndex='.$start.'&maxResults='.$limit;
break;
case 'isbn':
$params = 'q=isbn:'.urlencode($query).'';
break;
case 'lccn':
$params ='q=lccn:'.urlencode($query).'';
break;
case 'oclc':
$params = 'q=oclc:'.urlencode($query).'';
break;
default:
echo '<p>You must specify a search type such as "all" or "book". Check the url to make sure "type=" has a value.</p>';
exit;
}
//set URL for the Google Book Search API
$url = 'https://www.googleapis.com/books/v'.$v.'/volumes?key='.$key.'&'.$params.'';
if(isset($_POST['q'])):
//build request and send to Google Ajax Search API
$request = file_get_contents($url);
//decode json object(s) out of response from Google Ajax Search API
$data = json_decode($request,true);
$totalItems = $data['totalItems'];
pagination mainHeading
if ($totalItems > 0) {
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Dialog - Default functionality</title>
<link rel="stylesheet" href="//whosgotbooks.com/jquery/jquery-ui-1.10.4.custom.css">
<script src="//whosgotbooks.com/jquery/jquery-1.10.2.js"></script>
<script src="//whosgotbooks.com/jquery/jquery-ui-1.10.4.custom.js"></script>
</head>
<body>
<div id="dialog" title="Google Books Search Results" style="display:none;">
<script>
$(function() {
$( "#dialog" ).dialog({
height: 550, width: 450});
$( "#returnvalues" ).click(function(){
$( "#dialog" ).dialog( "close" );
});
});
</script>
<strong><p style="font-size: 16px; text-align: center";>Top 10 Results for "<?php echo @$_POST['q']; ?>"</p></strong>
<strong><p style="font-size: 14px; text-align: center";>choose a book to select as your topic</p></strong>
<table style="width:400px">
<col width="325">
<col width="75">
<?php foreach ($data['items'] as $item) { ?>
<tr>
<td>
<strong><u><div style="font-size: 14px";><?php printf($item['volumeInfo']['title'])?></u></div></strong>
<strong>Author: </strong><?php printf( $item['volumeInfo']['authors'][0]); ?><br />
<strong>Published: </strong><?php printf( $item['volumeInfo']['publishedDate']); ?><br />
<strong>Page(s): </strong><?php printf( $item['volumeInfo']['pageCount']); ?><br />
<strong>Publisher: </strong><?php printf( $item['volumeInfo']['publisher']); ?><br />
<strong>Category: </strong><?php printf( strtolower($item['volumeInfo']['printType']).', '.strtolower($item['volumeInfo']['categories'][0])); ?>
<strong>ISBN: </strong><?php printf( $item['volumeInfo']['industryIdentifiers'][0]['identifier']); ?></td>
<td><p><input type="submit" name="submit" value="Select" id="returnvalues"/></p>
<img src="<?php printf( rawurldecode($item['volumeInfo']['imageLinks']['smallThumbnail'])); ?>" />
</td>
<tr><td style="width:420px"><p><strong>Description: </strong><?php printf( $item['volumeInfo']['description']); ?><br /></p></td>
</tr>
</tr>
<?php } }
else {
?>
<p><strong>Sorry, there were no results</strong></p>
<?php }
/* for testing purposes show actual request to API - REMOVE when finished
$apiRequest = $url;
echo '<p>API request: '.$apiRequest.'</p>'; */ ?>
</table>
</div>
</body>
</html>
<?php
else: //show form and allow the user to check for Google Book search results
?>
<p><form id="searchForm" name="searchForm" method="post">
<fieldset id="searchBox">
<label>Search for a Book:</label>
<input class="text" id="q" name="q" type="text" value="Powered by Google" onfocus="this.value=''; this.onfocus=null;" />
<select id="type" name="type" size="1">
<option selected value="all">Book Title</option>
<option value="isbn">Books by ISBN</option>
<option value="lccn">Books by LCCN #</option>
<option value="oclc">Books by OCLC #</option>
</select>
<input class="submit" id="submit" name="submit" type="submit" value="Search" />
</fieldset>
</form></p>
<?php
//end submit isset if statement on line 73
endif;
}
Published on April 12th, 2014 by keytastic
Hi,
To start off, I followed the directions I found here, and I have a child theme set up.
The text and background from my forum are both very white. I’d like to change the background to something darker. Ideally, it would match the look of my widgets, but at this point, I’d take a plain black background.
Here’s my site: http://www.lagsquid.com/forums
Here’s what I’ve been trying:
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
background: #4b8e2c;
}
#bbpress-forums {
margin-bottom: 10px;
border: 1px solid #666;
padding: 12px;
background-color: #000000;
color: #ffffff;
}
#bbpress-forums div.bbp-forum-title h3,
#bbpress-forums div.bbp-topic-title h3,
#bbpress-forums div.bbp-reply-title h3,
#bbpress-forums a.bbp-forum-title,
#bbpress-forums a.bbp-topic-permalink {
font-size: 16px;
color: #0066FF;
}
#bbpress-forums a.bbp-author-name {
font-size: 12px;
color: #75A3FF;
}
Now, as I said, I’d really like to make the background of my forums look like the widgets. I’m not sure, but I think the code is this:
.widget{
margin-bottom: 10px;
border: 1px solid #666;
padding: 12px;
background: url('images/footer-bg.png') repeat left top;
}
Only, I can’t seem to get url('images/footer-bg.png') repeat left top; to work. Any help would be appreciated!
My apologies if this doesn’t make any sense as it’s 2am and I’ve been working on this for quite a bit 😛
Published on April 12th, 2014 by rosscoffx
Hi, i am having the issue that HREF is not working on my forums, images are ok just not links. I noticed the link button on here pops out a small box, on mine it uses the same link creator you would use when creating a post. Might be the issue? Inspecting element shows its there but you can’t see it.
Published on April 11th, 2014 by batmanfan
Can anyone help on this wp-modal plugin?
https://codex.bbpress.org/modal-login-in-a-menu/#%c2%a01-install-wp-modal-login
I managed to follow the set up instruction all ok and can see the login/out pop up and can login ok. But can’t register new user! after entering new username/email and click ‘signup’ it’s reading…’checking credential’ and then back to register page again, nothing happens.
What have I done wrong?