Search Results for 'code'
-
Search Results
-
Topic: bbPress loop help
Hi I have the following code:
<?php if ( bb_forums() ) : ?>
<?php while ( bb_forum() ) : ?>
<div class="box">
<?php if (bb_get_forum_is_category()) : ?>
<h3><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a></h3>
<?php continue; endif; ?>
<ol>
<li class="arrow f_unread">
<a href="<?php forum_link(); ?>">
<strong><?php forum_name(); ?></strong><br />
<?php forum_topics(); ?> Topics / <?php forum_posts(); ?> Replies
</a>
</li>
</ol>
</div>
<?php endwhile; ?>
<?php endif; // bb_forums() ?>Struggling to get it to work how I want which is basically like this:
for each category do this:
<div class="box">
<h3>CAT</h3>
<ol>
<li>Forum</li>
<li>Forum</li>
</ol>
</div>so that div should be repeated for each block. if a set of forums has not category, then all of the code would be above would run but just no h3.
so an example might look like this:
<div class="box">
<h3>CAT</h3>
<ol>
<li>Forum</li>
<li>Forum</li>
</ol>
</div>
<div class="box">
<h3>CAT</h3>
<ol>
<li>Forum</li>
<li>Forum</li>
</ol>
</div>
<div class="box">
<ol>
<li>Forum</li>
<li>Forum</li>
<li>Forum</li>
<li>Forum</li>
</ol>
</div>
<div class="box">
<ol>
<li>Forum</li>
<li>Forum</li>
<li>Forum</li>
<li>Forum</li>
</ol>
</div>can anyone help thanks.
Hi all
Has anyone come across a fix for bbPress inregards to brute force attacks on passwords?
A brute force attack allows a user to attempt to login to the application with a valid user account using a dictionary of words for the password without the account being locked out.
bbPress allows multipul attempts at password entry without locking the user out. This means that someone can use a application to hack into a users account.
Has anyone made a fix/ plugin for this? Or know a way of solving this?
Help/ thoughts would be greatly appreciated!
Topic: Installing Software
I have uploaded the files to our server address, but when I go to the folder, I get errors noting the following:
__________________________________
The website declined to show this webpage
HTTP 403
Most likely causes:
•This website requires you to log in.
__________________________________
I also tried to add index.php to the end of the URL, but it returned the following:
__________________________________
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:
•Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
•If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
•Click the Back button to try another link.
HTTP Error 404 – File or directory not found.
Internet Information Services (IIS)
__________________________________
I’ve downloaded the files to a folder within our site. Any suggestions on what I may not be doing properly here??
Duane
xxx.com/rss is latest rss posts but how do i get latest rss topics ? without recent topic post.
i look at rss.php i found this
case 'all-topics':
if ( !$topics = get_latest_topics() )
die();
$posts = array();
foreach ($topics as $topic) {
$posts[] = bb_get_first_post($topic->topic_id);
}
$title = esc_html( sprintf( __( '%1$s » Recent Topics' ), bb_get_option( 'name' ) ) );
$link = bb_get_uri();
$link_self = bb_get_topics_rss_link();
break;so how i get that rss feed ?
thanks