Search Results for 'test'
-
AuthorSearch Results
-
January 15, 2007 at 4:38 pm #51978
In reply to: Plugin – Limit Latest Discussion
skrimpy
Membergreat plugin, it cleaned up my front page quite a lot. Thanks
January 15, 2007 at 4:22 pm #53251In reply to: Logout and login problems
Staffan
MemberI have encountered exactly the same problem!
I have the latest version of bbPress (downloaded only a few hours ago), php version 4.4.4 and apache server.
Link to my forum: http://www.thecalmingseas.com/forums/
/Staffan
January 13, 2007 at 7:06 pm #50170In reply to: “This topic is not a support question”
spencerp
MemberOh nice!! Thanks for the link Michael!
I just manually adjusted the “latest” svn files lastnight, for .80 alpha, which is currently running on my forums now.. I manually implemented the [Resolved] codes back into the files, now I won’t have too!

Thanks again!
spencerp
January 13, 2007 at 4:27 am #53317In reply to: My new forum theme in the works!
spencerp
MemberHahahaha.. I know.. tell me about it lmao..
I told this one guy on GoogleTalk before, I wish someone from Firefox corp, could sneak in as employment for a job in the Microshit Corp building, and some how replace/code in, for the Microshit IE6 upgrade tool.. and have it automatically upgrade them to a latest FF browser(s).. hahaha
spencerp
January 11, 2007 at 5:02 pm #1223Topic: bbpress user profile link on WP?
in forum InstallationAhni
Memberhey. I’ve integrated the login/registration no problem, but now I’m trying to do something about people having two separate profiles.
IMO the profile in bbpress is alot better than in WP (if only because it’s naturally not in the dashboard) so I’m wondering if just adding the users bbpress profile link in WP would be the way to go?
I was able to get the profile link to show up in WP, though I suspect that because it wasn’t in the loop (whatever the heck that is) it showed the link to admin on my test subscriber account.
Is there a way around this, or perhaps a better way to go?
January 9, 2007 at 7:09 am #53225In reply to: tag.php access issue
startribe
MemberThank you chrishajer & madawaffe,
I am on BBpress 0.74, and I checked my server settings which are…
“
Support for PHP 5
With PHP 5 support, you can program using the latest version of this server-side scripting language and take advantage of existing applications and add ons written in PHP 5. You can also run both PHP 4 and PHP 5 simultaneously on the same site.
“
I also tried uploading an .htaccess file to my forum root with the first line stating:
AddType x-mapp-php5 .php
And I still received the same error. After that I moved the file to my template directory, and then to my site directory, and I still had the same problem. I thought this was strange because I am receiving the same results as those mentioned in the post chrishajer linked.
I then called up my hosting service, Diablo Valley Hosting, which is a reseller of Godaddy, so it was Godaddy support. They then told me that in order to assure php5 I would have to change all of my extensions to “.php5.”
I asked and .htaccess, and was told that there was a solution, but they couldn’t offer support on it.
Thank you so much for the help thus far. I am not sure if there is a problem with my .htaccess file or something else, for I entered the line “AddType x-mapp-php5 .php” into the first line of the file. Anyhow, any suggestions or direction would be greatly appreciated.
Thanks again,
Orion
January 8, 2007 at 1:10 am #53082In reply to: WP+BB integrated, theme integrating login issues..
spencerp
MemberNevermind, much props goes to boyevul on GoogleTalk!
The login codes were placed in the theme’s header2.php file, directly after an “onclick” action, which was the culprit.So this:
<div id=”header” onclick=”location.href='<?php bloginfo(‘url’); ?>’;” style=”cursor: pointer;”>
<h1>
<a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a></h1><?php login_form(); ?>
<div id=”memlist”>
<a href="<?php bb_memberlist_link(); ?>">Member List</a></div></div>
Was changed to this:
<div id=”header”>
<h1>
<a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a></h1><?php login_form(); ?>
<div id=”memlist”>
<a href="<?php bb_memberlist_link(); ?>">Member List</a></div></div>
And all was peachy! I didn’t however upload the latest files of bbPress to the online copy, and I didn’t upload the new changes I just made here either.. I will then ..
Either way, problem is solved!
spencerp
January 7, 2007 at 8:04 pm #50373In reply to: Slashes being added in front of apostrophes
chrishajer
Participantlarmir, do you have an example URL where we can register and test this out? Also, does Dreamhost have a phpinfo() where we could see about magic_quotes_gpc and magic_quotes_runtime? If they do not have that file, can you create a file on your server called info.php or phpinfo.php (name does not matter so long as you know it) and then, in that file, put this:
<?phpphpinfo();
?>
That will give all sorts of useful information, including your magic_quotes settings.
Thanks.
January 7, 2007 at 4:30 pm #53130In reply to: 1st line of the first post in a topic?
so1o
Participantok..
try this plugin
<?phpfunction your_function_name($where) {
global $topic;
if ($topic)
return $where . ' AND topic_id = ' . $topic->topic_id;
else
return $where;
}
function get_first_post_of_current_topic() {
global $bb_post;
add_filter('get_latest_posts_where','your_function_name');
$bb_post = get_latest_posts(1);
if(count($bb_post) == 1 ) {
$bb_post = $bb_post[0];
post_text();
}
}
?>
where you want call get_first_post_of_current_topic();
January 7, 2007 at 12:33 am #53128In reply to: 1st line of the first post in a topic?
so1o
Participanttry this..
create a plugin with this code..
function your_function_name($where) {global $topic;
return $where . ' AND topic_id = ' . $topic->topic_id;
}
function get_first_post_of_current_topic() {
add_filter('get_latest_posts_where','your_function_name');
get_latest_posts(1);
}
call get_first_post_of_current_topic in the loop where you show tipc name.
let me know if works.. this is just a hunch
cheers
January 6, 2007 at 3:39 am #53081In reply to: WP+BB integrated, theme integrating login issues..
spencerp
MemberAlright, I uploaded a copy of my actual Localhost now, to my domain name: http://localhost.spencerp.net/forum/
You can see what I’m talking about there, well hopefully lol!
Also, please keep in mind, things might be broke, still screwy.. just register if you can, only for testing purposes..

Also, this isn’t even near done yet lmao. I got a lot of nice things in mind for this baby.. LoL!
spencerp
January 5, 2007 at 7:10 pm #53089In reply to: Registration email query
chrishajer
ParticipantI don’t know the ‘official’ answer, but I have had several users register a new name with an old email address (their username was spelled wrong or something) and they got their email and it works fine.
To test, I just re-registered myself with a new name and an old email address, and it was received. I am on a gmail account. I do know that MSN, AOL and Yahoo tend to be aggressive with their anti-spam, and there are a lot of false positives (I know this from other business mail I send.) user_email is not a UNIQUE field in the database either. (I am integrated with WP – not sure if it matters.)
I suspect it’s spam filtering catching the emails.
January 5, 2007 at 4:25 pm #1193Topic: Registration email query
in forum Troubleshootingjonnydf
MemberOk first post and I’m going to start by saying having only been using bbpress for 2 days I think its great, and just what I was looking for in appearance for a forum ie clutterfree and simple.
I am no expert on this but I’ll try and explain a problem I am having with registration emails. It may not be anything to do with bbpress but I’m hoping someone here may have the experience to help.
PROBLEM: User register seems to be fine and the mysql database is filled with their details. They get the email. All ok. However, if I try to create a different user with the same email (I’m doing this for testing) I never seem to get a registration email. Does bbpress do a check to see if a email address is already being used? I don’t seem to get this problem if a create users with an email address at the domain the forum is hosted. Also if I have an account and use the forgotten password recovery I find I get the email to generate a new password but don’t see the email with the new password.
On top of this yahoo seems to be picking up the registration email as spam, I don’t know if this is normal.
I hope this isn’t too long winded. If anyone has any thoughts I’d love to hear them. I know people are registering with my forum and using it so it does work! But they all have individual passwords. Thanks!
January 4, 2007 at 3:09 pm #53068In reply to: Tags drop down.. can it be done?
ardentfrost
Memberget_top_tags($recent, $limit)will return an array of tag objects… each object contains the tag ID, tag (tag all lower case), raw tag (tag how it was typed), and tag count (how many times the tag is used). To get the link to a specific tag, you useget_tag_link(). You’d want to use the get_top_tags function like this:get_top_tags(false, X)where X is the number of tags you want displayed.You can also pull the tags straight from the database. Here’s the code used in functions.php:
$tags = $bbdb->get_results("SELECT * FROM $bbdb->tags ORDER BY tag_count DESC LIMIT $limit")I’d take out the limit part if you want all the tags. Then, if you want a drop down menu, you can just do this (this is from my head and untested, so it might not work if copy and pasted):
if(!empty($tags) ) :echo '<select name="userid" id="userid">';
foreach( $tags as $tag) :
echo "<option value='$tag->raw_tag'>$tag->tag</option>";
endforeach;
echo '</select>';
else:
echo "No tags exist";
endif;
Then you just gotta figure out how to either redirect to the desired page using POST data or something like that. Not exactly sure how I’d go about it.
January 4, 2007 at 3:32 am #53046In reply to: Plugin: Private Forums v 2.1
willdayble
MemberAlrighty, just to be a dumbarse, I’d love to use this plugin but I’ve NO idea how to do the “Upgrade the installation of bbPress to the latest version from the code repository” bit.
I’ve recently migrated from phpBB over to BBpress, with all my posts and topics thankfully intact… but I’ve some forums I need to hide.
Is there no way to hide forums based on the user level at all?
January 3, 2007 at 6:05 pm #52989In reply to: Request: Posts since last visit
thomasklaiber
MemberThanks for this super great feedback Trent!
1) This is something my plugin can’t do. You have to change the views-template, because this message is also missing in any other view without contents. Maybe something for a trac-ticket?
Just add
<?php else: ?><p>Sorry, no matching posts found!</p>
in front of the last
<?php endif; ?>in the views template.2) I’ll implement a function for this

3) Maybe like the latest discussions on the front-page? … Yeah, it’s a good idea instead of leaving it blank!
4) Donno exactly. When I look at the views-code there seems to be paging functionality already?!
5) I thought of this issue, too. It adds a few queries on every page refresh, but I have no idea how to optimize this.
Thanks again man!
January 3, 2007 at 3:57 pm #52988In reply to: Request: Posts since last visit
Trent Adams
MemberI tested this out and it works great! It seems to work the way you intended for sure! Couple of things:
1) If there are no posts, could there be a message like ” You have seen all posts since your last visit!”
2) Could there be a way to call the link with a function so you could also place it wherever you wanted?
3) Could we get a functionality if the person is a new visiter and hasn’t registered anything in the DB for their last visit time. Maybe show ‘all posts’ or a certain number anyways!
4) Could we borrow the paging functionality and (posts per page) from Ardentfrost’s Memberlist plugin (0.73c) for the views page?
5) How DB intensive is this and the online plugin (for curiousity!)
Look at me! Greedy already! Great plugin Thomas!
Thanks,
Trent
January 3, 2007 at 2:38 pm #52984In reply to: Request: Posts since last visit
thomasklaiber
MemberThis is just something a lot easyer to do. It requires just a small plugin, I’ll make one for this, ok?

The posts since last visit plugin is getting a bit more complicated then I thought. I’m doing it as plugin for my onlinelist plugin, cause I think doing this database driven is better … so you can view the posts since your last visit anywhere.
If you want to see how it looks like at the moment, go to
http://la-school.com/bbpress/ (Test / test) … not sure if you can really try it
January 3, 2007 at 1:46 am #52814In reply to: Request: Topic title link to latest post
vaelrith
Memberedit those pages with what mriannnnn?
By the way, chrishajer, I only did this on the front page by adding an image that they can click on to take them to the latest post, or if they dont want to go to the latest post, click on the topic title. You can see it on my site, it’s the clipboard image that takes to the latest post.
January 2, 2007 at 9:56 pm #52813In reply to: Request: Topic title link to latest post
mriannnnnn
Memberok you have to edit these pages:
front-page.phpforum.php
tag-single.php
just three files not much.
January 2, 2007 at 7:31 pm #52130In reply to: Private Forums Plugin
Trent Adams
MemberSo10, is it possible to have an addition (or another plugin) that will mark the private posts (under latest discussion on front page) as such? That way, then people would know to be logged in to view them without getting fired off the error (not logged in page)?
Trent
January 2, 2007 at 11:36 am #52868In reply to: Plugin – bbPortal
spencerp
MemberNull, I’m not sure what to say, I haven’t downloaded this, and tested this yet.. (I’m not sure how many others did either lol, because there are no replies in here, but your own..
) How many downloads have you had for this bbPortal so far? Maybe after some time here (after Holiday deal is over), and people get back into swing of things.. they’d start helping you figure this out..
I could download it, and try it locally once.. but, I myself is just swamped with stuff too..
I’ll see what I can do though.
spencerp
January 2, 2007 at 9:48 am #52896In reply to: MediaWiki, bbPress, and WordPress integration..
spencerp
MemberUPDATE: I just wanted to fill everyone in on what I have just done..
1) I downloaded and installed the Themed Login and Registration plugin for WordPress.
2) Upload it, then activate it as normal.
OR, If you are running WordPress version 2.1-alpha3.. Before uploading and installing this plugin, open the themed-logreg.php file..
Find this line:
require_once( ABSPATH . WPINC . ‘/registration-functions.php’);
Change it to this:
require_once( ABSPATH . WPINC . ‘/registration.php’);
This is because in the 2.1-apha3 version, they just renamed some of the files in the wp-includes/ directory..
3) I made a page called: Where To
Since I have pretty permalinks on, the page’s location is here for example: domain.net/where-to/
In the Where To page’s Write Window, I added the following text/urls for example:
“If you are seeing this page, you now have the ability to access the following places with your username and password.
The
<a href="wiki.yourdomain.net/">Codex</a>.The
<a href="yourdomain.net/forums/">Forums</a>.The
<a href="yourdomain.net/wp-admin/">Site Admin</a>. “4) Under Plugins => Login Register Options =>
A) Under the: Uninstallation Options => I put check in box for: Toggle Complete Uninstall:
Under the: Redirect After Login: => I changed wp-admin/ to where-to/If you have the normal setup for the permalinks, (for me on localhost this worked): /?page_id=11
Of course, change the actual number to your own..
C) Under the: Redirect After Logout: => I left this one at: wp-login.php
D) If you are using any other theme, then the “Gathering” theme, you might want to skip this section. And follow the directions for it, according to your theme’s layout!
Unless your sidebar call is like this.. in the index.php file:
<?php get_header(); ?><?php get_sidebar(); ?>Still in the Login Register Options, I left everything alone from there down TILL the part for the “Template Header Files: section..
D-1) Since I’m using the “Gathering” theme, the call for the sidebar, in the theme files is right after the header call.
<?php get_header(); ?><?php get_sidebar(); ?>D-2) In the Template Header Files: window, I made it like this:
header.php
sidebar.php
D-3) In the Template After Header HTML: window, I made it like this:
<?php get_header(); ?><?php get_sidebar(); ?><div id="maincontent">D-4) In the Template Before Footer HTML: window, I made it like this:
<?php endif; ?></div><!--index.php end--><!--include footer--><?php get_footer(); ?>D-5) In the Template Footer Files: window, I made it like this: footer.php
E) Scroll down to the User Email Template: window. Since he uses variables for his stuff.. here is what I used for mine, and it works because I got the email after doing a test sign up.

Username: ##username##
Password: ##password##
You now have the ability to access any of the following locations with your username and password.
The Site Admin
##siteurl##/wp-admin/
The Forums
##siteurl##/forums/
The Codex
http://yourwiki.yourdomain.net
Please note: Of course… change the The Codex and Forums urls to whatever your’s is.. example: ##siteurl##/my-forums-folder-name/
And for Codex/Wiki: http://yourdomain.net/yourwiki or whatever..
Then I click the Update Options button..
F) In my Theme’s CSS File, I added the following CSS Style references:
#login {margin:0 auto 0 auto;width:250px;}#login ul {margin:0;padding:0;}#login ul li {display:inline;margin-left:10px;}Everything seems to be working just fine! I hope this helps others..
http://spencerp.net/wp-login.php
http://spencerp.net/wp-register.php
After logging in, you should be taken to this page then:
Which of course.. can still be seen by everyone, either way. (But it’s not really made public either, because I don’t have the page itself, listed in the header nav bar, and sidebar nav section.)
However.. it’s not going to do much good to them, because if they aren’t registered and stuff.. they can’t access my blog’s wp-admin, forums or codex.. lmao!
Anyway, I just did TWO test signups.. and was able to login to my Codex, Forums, and the Blog’s wp-admin control panel.. whee!!
spencerp
January 2, 2007 at 2:18 am #51721In reply to: My modification of the default theme
Nicki Faulk
MemberUpdated plugin list:
* Allow Images 0.7.1
* Avatar .73a
* bbEmoticons version 0.72
* Memberlist .73c
* Google Sitemap Generator .6
* BBPress Private Messaging 0.73
* Use Display Name 0.7.2
* Online List 1.3-fix
* WordPress Integration .7
* Post Notification 1.2
* My Resolve Title 0.1
* Limit Latest Discussion 0.73
January 1, 2007 at 10:24 pm #52199In reply to: Template of this forum??
Trent Adams
MemberI haven’t heard back, so why not. I am not saying for sure that everything is going to work on this one. Backup your current my-templates/ folder and then test with this one:
Trent’s bbPress Default Template
Trent
-
AuthorSearch Results