Search Results for 'code'
-
AuthorSearch Results
-
July 22, 2009 at 1:24 am #76287
In reply to: Where is WordPress "auth" cookie salt in WPMU 2.7.1?
Ipstenu (Mika Epstein)
ModeratorThe plugin doesn’t add
define('WP_AUTH_COOKIE_VERSION', 1);to your bb-config.php file. It’s very easy to miss that
July 21, 2009 at 11:23 pm #75381In reply to: bbPress 1.0 released
rtmsf
MemberTotal newbie here, but I’m a blogger using WordPress 2.8.x who is thinking of adding a discussion forum to my site.
I am NOT a coder whatsoever, so please keep that in mind when answering, although I do have a friend who is one but I would need to be conscientous about using his time.
My question is whether bbPress 1.0 will easily integrate with WP 2.8.x as I have it currently configured. Obviously I’d want it to look similar to my site and have all the standard forum bells/whistles.
If not, does anyone have any other suggestions? I just began researching forums today. I’ve come across IPB and phpBB as other options, but again, I have no idea how easy it would be to integrate those.
Any help you can give would be GREATLY appreciated! Thanks.
July 21, 2009 at 10:43 pm #18497Topic: User Login Problem
in forum Installationjimouest2005
MemberHi !
First, I’m verry sorry for my english, but I’m a french user of bbpress

So.
I have a wordpress website, and I delete the username restrictions ( no : @ ect on the username ).
But, when a user who has a username with special characters ( like : ) tries to login on bbpress, bbpress says that the user doesn’t exist.
How to delete this restriction and resolve this problem ?
Thanks !
July 21, 2009 at 9:30 pm #72360In reply to: Bulgarian translation
Ivaylo Draganov
MemberНе държа – пропуснал съм няколко низа, в които го има, защото съм търсил за “впис”, а то имало и “впиш” тук-таме

Ще го оправя при следващото качване, когато трябва да завърша и на 100% превода.
Аз го изпробвах веднъж от край до край, ама със сигурност има разни дребни неща
July 21, 2009 at 9:00 pm #74864In reply to: Swedish translation completed (bbPress 1.0 RC-3)
Tommie Hansen
Member@Göran: It’s “great” that you have the same problem. Then it probably isn’t some server config hidden away somewhere and the problem will probably be solved pretty soon.

Edit: Hm.. when i try to edit the languagefile with Poedit and choose to save it i get 3 fatal errors;
23:04:20: F:Skrivbordetsv_SE.po:191: message catalog has plural form translations...
23:04:20: F:Skrivbordetsv_SE.po:2: ...but header entry lacks a "plural=EXPRESSION" attribute
23:04:20: F:Skrivbordetsv_SE.po:191: message catalog has plural form translations...
23:04:20: F:Skrivbordetsv_SE.po:2: ...but header entry lacks a "nplurals=INTEGER" attribute
23:04:20: F:Skrivbordetsv_SE.po:617: 'msgstr' is not a valid PHP format string, unlike 'msgid'. Reason: In the directive number 1, the character 'a' is not a valid conversion specifier.
23:04:20: msgfmt: found 3 fatal errorsMaybe it’s related?
Update 2:
Tried a Bulgarian translation and it did translate time. It must be something with 1.0+ that isn’t in 0.9 language wise.
July 21, 2009 at 8:48 pm #74742In reply to: BikingToronto.com/Forum
bikingtoronto
MemberThanks Ipstenu.

Still a very extreme newbie to all this “press” stuff… but I’m loving bbpress so far. A little bit of customization with a few plug-ins and a theme has gone relatively smoothly… but I still can’t really get the Admin Can Post Anything plug-in to work properly… it does not seem to like i-frames… which are essential for embedding google maps and docs.
July 21, 2009 at 8:22 pm #76392In reply to: Trouble adding wordpress navbar into bbpress
andywilliams244
MemberAnybody?
July 21, 2009 at 8:18 pm #74862In reply to: Swedish translation completed (bbPress 1.0 RC-3)
Tommie Hansen
MemberYeah, probably. I’m trying to figure out now how to translate the topic_time(); -function. The _e(‘Some Text’) is quite understandable, don’t get how to translate a function yet though. I’ve never messed around with translations at all (obviously).
July 21, 2009 at 7:46 pm #76286In reply to: Where is WordPress "auth" cookie salt in WPMU 2.7.1?
Rohan Kapoor
MemberHe also said:
I have already installed the plugin bbPress Integration for WordPress.
which implies that he already added the code,
July 21, 2009 at 7:39 pm #74860In reply to: Swedish translation completed (bbPress 1.0 RC-3)
Tommie Hansen
Member@plrk: Got your E-mail. I actually do have this thread as a favorite, thanks anyway for the update though! (I wished this forum had the E-mail notification option…)
It works! Thanks!
However my time-relevant php aren’t translated still. The strange thing is that those functions aren’t touched at all. I’ll have to dig again to see if there are any errors related to the __ -stuff. One would think the default theme wouldn’t have any problem with the translations(?)
July 21, 2009 at 7:09 pm #76285In reply to: Where is WordPress "auth" cookie salt in WPMU 2.7.1?
Ipstenu (Mika Epstein)
ModeratorAnd he said:
I have already installed the plugin bbPress Integration for WordPress. I can’t find anything wrong during my installation. I think maybe I need to upgrade my WPMU to 2.8.
Which implies that he’s on 2.7.x
July 21, 2009 at 5:49 pm #15379Topic: Trouble adding wordpress navbar into bbpress
in forum Troubleshootingandywilliams244
MemberI’m having major trouble trying to get my wordpress navigation bar onto my bbpress board.
Can anybody provide a step by step tutorial for me? I would be forever grateful

my website: http://www.origineuphoria.com
July 21, 2009 at 5:35 pm #76283In reply to: Where is WordPress "auth" cookie salt in WPMU 2.7.1?
Ipstenu (Mika Epstein)
ModeratorDo you have this in your bb-config.php:
define('WP_AUTH_COOKIE_VERSION', 1);July 21, 2009 at 4:18 pm #72359In reply to: Bulgarian translation
wiseacre
MemberБраво, браво!!!
Ама си държиш на “вписване”
Нищо де, поправимо е … 
Тъкмо разглеждам. Ако открия нещо ще пиша.
July 21, 2009 at 4:11 pm #76580In reply to: Chrome/Safari (WebKit Javascript/Ajax) Issues
Jason Giedymin
MemberTrac Posted: https://trac.bbpress.org/ticket/1159#preview
I’ll try to update it when I have time.
Btw, I had the trac ticket entry properly formated but alas It was raw text formatting which got stripped upon posting by the server. Sorry
July 21, 2009 at 4:10 pm #65524In reply to: Plugin Request – RSS Feed Import
bikingtoronto
MemberI’m interested as well.
July 21, 2009 at 7:23 am #76636sonnygahir
MemberThe physical directory structure is as follows:
Directory of
InetpubNewwwwrootforums20/07/2009 10:59 <DIR> .
20/07/2009 10:59 <DIR> ..
19/07/2009 15:14 <DIR> bb-admin
19/07/2009 12:32 <DIR> bb-cache
19/07/2009 12:32 <DIR> bb-plugins
19/07/2009 12:32 <DIR> bb-includes
19/07/2009 12:32 <DIR> bb-images
19/07/2009 12:32 <DIR> bb-templates
20/07/2009 13:17 1,691 bb-config.php
05/03/2008 04:32 816 bb-load.php
12/02/2009 00:21 1,037 bb-login.php
24/04/2008 19:06 1,673 bb-config-sample.php
23/04/2008 11:29 1,647 bb-post.php
30/12/2008 23:14 445 bb-reset-password.php
26/08/2008 20:15 13,433 bb-settings.php
12/02/2009 00:21 822 bb-edit.php
26/02/2007 22:48 651 edit.php
12/02/2009 00:21 1,076 favorites.php
22/01/2007 08:40 449 forum.php
22/01/2007 08:40 450 index.php
03/01/2008 00:57 17,986 license.txt
12/02/2009 00:21 308 profile-base.php
17/12/2008 07:57 4,782 profile-edit.php
15/03/2008 02:40 851 profile.php
03/01/2008 00:57 855 readme.txt
05/03/2008 04:32 1,623 register.php
25/04/2008 14:09 4,349 rss.php
29/01/2008 20:11 1,402 search.php
05/03/2008 04:32 238 statistics.php
12/02/2009 00:21 574 tag-add.php
12/03/2008 07:46 661 tag-remove.php
22/01/2007 08:40 433 tags.php
19/07/2009 15:46 3,293 testdb.php
03/01/2008 00:57 1,312 topic.php
03/01/2008 00:57 756 view.php
27 File(s) 63,613 bytes
July 21, 2009 at 4:30 am #17211Topic: Permalinks question.
in forum Requests & Feedbackshiznaught
MemberThere seemed to have been some earlier discussion on editing the permalinks structure of bbpress (http://bbpress.org/forums/topic/permalinks-slugs-modification-removing-forum), and I’m wondering if things are different in version 1.01.
What I would like to be able to do is have all of the posts look like domain.com/g/post-name. The reason for this is that I have a vanity url, with the idea that the complete url will spell out a sentence.
So far, the best I can do is domain.com/g/topic/post-name. Is there a way to either get rid of the “topic” part of the permalink structure, or otherwise hardcode it to be “g” isntead of “topic?”
Thank you.
July 21, 2009 at 3:56 am #76643In reply to: Change "add new topic" link?
chrishajer
ParticipantWhat version of bbPress are you using? Those instructions are for 1.0.1. Also, are you using a stock theme?
Basically, you need to find, in whatever template file you want to change, the bbPress function that shows that text (it won’t be immediately clear because the function has a default text which is used if you don’t send it anything else. The default text is set in the core file bb-includes/functions.bb-template.php.) Just look in the source of the generated page and try to get some context for where in your template file this function will be (top, middle, bottom, in a table cell, near a unique css id, etc). Then, try adding your text in comments inside the parentheses, instead of them being bare. So, from this:
bb_do_whatever()to:
bb_do_whatever('Add New Essay')July 21, 2009 at 1:16 am #76641In reply to: Change "add new topic" link?
chrishajer
Participant2. of my reply covers your second problem.
<?php bb_new_topic_link('Add New Essay'); ?>bb_new_topic_link is called without parameters in your front-page.php template file, but if you pass it the string ‘Add New Essay’ you will see the text in your displayed site change. You are overriding the default text which is in the bbPress core.
The reason you don’t find it in a template file is because it’s not there. The function is there, and is called without parameters. The default text is in the core, but you can override it in your template.
1. I cannot help you with and I questioned the desire to even do something like that. Why would you want an “add new” page indexed when it has no content? What benefit does it give your site?
I imagine you could probably do something to change that using mod_rewrite and your .htaccess file, but I don’t know how to do that.
July 20, 2009 at 10:13 pm #76639In reply to: Change "add new topic" link?
chrishajer
Participant1. I’m wondering what benefit there would be to indexing a page that has no content on it, just the ability to add a new topic?
2. In version 1.0.1 of the software it’s in the template files. You want to find this function:
<?php bb_new_topic_link(); ?>And make it look like this:
<?php bb_new_topic_link('text Instead of Add New'); ?>July 20, 2009 at 6:03 pm #72159Paul
MemberI have a link to my forum in my global nav by creating an empty page with a slug that is the same as the directory name as where I have bbpress installed.
But I also load the wp-load.php file in my bb-config.php file
define('WP_BB', true);
if ( !defined('DB_NAME') ) {
require_once( dirname(__FILE__) . '/../wordpress/wp-config.php');
}
$bb->wp_table_prefix = 'wp_'; // your wordpress db prefix is
$bb->wp_home = 'http://www.trashfilmorgy.com/wordpress';
$bb->wp_siteurl = 'http://www.trashfilmorgy.com';Then I went into my bbpress theme and changed every instance of bb_get_header() with get_header(), and bb_get_footer() with get_footer().
Since I want to have my wordpress sidebars show up in the forum, too, I also added get_sidebar() right above the call to get_footer().
I could also add other sidebars, too – the theme I use adds two columns below the main content area and uses the dynamic sidebar functionality to add them in to each page. I could see how adding other or more sidebars and going in to the templates could be really useful
July 20, 2009 at 5:09 pm #76316In reply to: unescaped characters
Paul
MemberHere are the installed plug-ins, but I should note that it has been doing this before I installed any plug-ins:
Akismet v1.0
Bavatars v0.4
BBcode Lite v1.0.3
BBVideo v0.24
Post Count Titles v1.0.2
Right on the forum front page, you can see this entry:
Satan’s Cheerleaders Pictures 1 Paul Brown 9 hours
That escaped apostrophe is what I’m talking about… were I to go in and edit that post, there would be two backslashes.
July 20, 2009 at 4:32 pm #76620In reply to: Page elements viewable only by admin?
_ck_
ParticipantNo, no no, bb_is_admin is to detect if you are in the admin control panel
First line should be
<?php if (bb_current_user_can('administrate')) { ?>July 20, 2009 at 4:12 pm #76619In reply to: Page elements viewable only by admin?
Gautam
MemberUse this:
<?php if(bb_is_admin()){ ?>
<div id="useronline">
<h3><?php _e('ONLINE TODAY'); ?></h3>
<p><?php do_action('members_online_today',''); ?></p>
</div>
<?php } ?>This should work…….
-
AuthorSearch Results