Search Results for 'test'
-
Search Results
-
I’m running bbPress 1.0.2.
I’m having problems with the “PREVIOUS” link when using the “bb_latest_topics_pages” function.
I have the following code on my frontpage.php
<?php endforeach; endif; // $topics ?>
<?php bb_latest_topics_pages( array( ‘before’ => ‘<div class=”nav”>’, ‘after’ => ‘</
div>’ ) ); ?>
It display paged frontpage topic links (1, 2, 3, Next) but whenever I’m on a page other than the frontpage … for example, Page 2, both the Previous and Page 1 link points to the current page and not the previous page.
So the background is this: I’m creating a website that is basically just one single forum, and it’s important that it be as private as possible. I understand that it’s impossible to guarantee security for pretty much anything online, and I’m not talking about huge matters of national security or anything; it’s just an online extension of a support group I’m part of, and it would be easier to talk about some of the difficult things we’re talking about if it we felt relatively secure that it was just us reading it.
And I’m being extra-difficult by trying to make the “front page” actually be the forum page – seeing as how there’s only one, it seemed silly to click through two screens to get to the content. I followed chrishajers’ ninja code here and it’s awesome.
Then I tried to find the Force Login plugin but got a 404 when I tried to download it. So I tried the Hidden Forums plugin and chased my own tail for a few hours trying to get it to work. Couldn’t do it, gave up, found this version of Force Login, installed it, all good! (Well, except for there not being an option to register, only log in, but I can deal with that later.)
Then I got paranoid and figured I’d try adding Hidden Forums again (JUST TO BE SAFE DON’T YOU KNOW) and I found this. Neat! Changed that line of code, and everything was great when I logged in as admin/keymaster. It was great when I logged in as a test member who had access to the forum. Then I tried to log in as a test member who did NOT have access to the forum, and it threw Foxfire into a redirect loop and timed out. I couldn’t get the login page back at all, so I manually deleted the Hidden Forums plugin from my server & I could get back in.
It makes perfect sense that bbpress wouldn’t really know what to do when it’s simultaneously told “don’t show any hidden forums!” and “there’s only one forum and it’s hidden!” So I’m wondering what the best way is to proceed…if I just have Force Login working (as well as Approve User Registration), is Hidden Forums overkill? Or is Hidden Forums a stronger plugin, and I should lose Force Login? Or does it make sense to try to get them both to work?
And as far as other security measures go, I’ve got this going on in the header:
<META NAME="ROBOTS" CONTENT="NONE"><META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
…and a robots.txt with this:
User-agent: *Disallow: /
Am I missing anything? Many thanks for your help, and even more for your patience.
Topic: Install.php not included
So, I went to the intended URL after uploading the files to my server, and I still received a “Page Not Found” error. My host company says the following:
“Hello,
I have noticed that the website at the URL http://latestartermusician.com/bbpress is loading with the Page not found. I have noticed that you are using the third party application. The application is not installed properly. The folder ‘bb-admin/install.php’ is missing. It appears to be an issue with the Application package. The package itself does not contain the required file for the proper functioning of the site. Could you please contact the application vendor and verify this from your end? Please contact the vendor or application support.
If you have any further questions, please update the Support Console.”
Any help on this would be greatly appreciated
Hey all –
Just started playing with bbpress last night & I am both totally hooked and somewhat frustrated, which seems to be my standard reaction to new software. I’m fluent in HTML, conversational in CSS and have worked with WordPress code before so I’m not completely in the dark, but there’s enough of a learning curve here that I have a few things I’d love some help with, if someone had a moment. Here’s the first two:
1. I would like my forum to be completely private – i.e., people would have to register or login on some sort of splash page before they reached the forum. In searching around these boards I found this plugin, but I just get a big ol’ 404 Not Found when I try to download it (and it looks like it’s a ways behind bbpress v1.0.2 anyway). Is this what I should be using instead? And if so, where exactly would it go, and on what page(s)?
2. I’m trying to add a “topic started by” field to the list of threads; I can get it to show up in the header row but I can’t get the fields in the actual table to show up. See what I mean? That’s no good. It’s probably some stupid PHP thing missing a thing (man, PHP is unforgiving) but I just can’t find it. Here’s the code I’m using:
<?php if ( $topics || $stickies ) : ?>
<table id="latest">
<tr>
<th><?php _e('topic'); ?> — <?php new_topic(); ?></th>
<th><?php _e('started by'); ?></th>
<th><?php _e('posts'); ?></th>
<th><?php _e('last poster'); ?></th>
<th><?php _e('last post'); ?></th>
</tr>
<?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
<td class="num"><?php topic_author(); ?></td>
<td class="num"><?php topic_posts(); ?></td>
<td class="num"><?php topic_last_poster(); ?></td>
<td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
</tr>
<?php endforeach; endif; ?>Lord knows I have more questions, but let’s start with those. Any help would be very much appreciated…thanks!!
and Install.php here (capital I) – are you certain the folder is actually bbpress (lowercase) in the root for your domain (on the same level as the Blog folder you already installed)?