Search Results for 'code'
-
AuthorSearch Results
-
February 8, 2010 at 1:59 pm #81839
In reply to: What's happening with bbPress?
kevinjohngallagher
MemberWithout “concern trolling”, the major issue i have with BBpress is that we have no idea what’s going on most of the time. When we asked what was going on, we were told to read the blog. When the blog goes quiet, we’re told to read the chat logs directly. Now they’ve gone quiet and now we’re told to look at the code being submited.
It’s really lovely of Chrishajer to post these links, and it’s very insightful (thank you chris), but its also a bit of a nightmare for us not knowing what’s going on.
Far too many useful bits of information, or worse – announcements, are made halfway down random conversations. BBpress being a WP plugin, was thrown in to an IRC chat via Matt. Obviously, we’re still waiting for that to be posted on the forum, or given it’s own blog post etc. (only been 6 weeks Kev, calm down, only been 6 weeks).
Look, i’m not moaning, really, i’m having a great day here, but in my opinion there were some issues that plagued Sam’s time here, and i had hoped that some of these were being resolved. Communication is a big one. I wrote in my post: How to help us, help BBpress… last January that the Wizard of Oz treatment was getting us nowhere.
Well i’ll leave it there, i’m sure i’ll be told to relax soon enough.
February 8, 2010 at 12:40 pm #84781Marius-
MemberIm using two boards to get support for this, so the code has changed slightly now.
But the original question is: How can I create a background picture that is locked in the bottom corner, and doesnt scroll?
February 8, 2010 at 12:25 pm #84780Marius-
MemberThis is the CSS code I have placed in style.css in structure:
‘
#michael-j-pic {
background:url(“images/bakgrunn.png”) no-repeat scroll right bottom transparent;
position:fixed;
height:100%;
width:100%;
z-index:1;
}
‘
February 8, 2010 at 10:57 am #84668In reply to: Download control
Farhad
MemberThank you very much Jongeren
This code resolve my problem
February 8, 2010 at 9:45 am #84697In reply to: Call wordpress functions in bbpress
roamfox
MemberI have tried to access the log and there is no error log on this issue .
The programm exit noramlly ,just output nothing
I have tried to echo chars at the botom of the bb-config.php and the chars has been output with out any problem
Thank you , any help is apprecitated
February 8, 2010 at 8:45 am #84696In reply to: Call wordpress functions in bbpress
roamfox
MemberI have tried to add the require at the second right afer <?php
here it is
<?php
require(‘../wp/wp-blog-header.php’);
/**
* The base configurations of bbPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys and bbPress Language. You can get the MySQL settings from your
* web host.
*
* This file is used by the installer during installation.
*
* @package bbPress
*/
I also tried the last line , neither of them works
February 8, 2010 at 5:30 am #75820In reply to: Auto Login
pratikom
MemberHi sanraj,
Just put the following code into your login action and give the right path for the bb-load.php file and enjoy

Here is script:-
require(‘bbpress/bb-load.php’);
$user = bb_login( @$_POST, @$_POST, ” );
February 8, 2010 at 12:24 am #81838In reply to: What's happening with bbPress?
chrishajer
ParticipantI meant to post this link as well. You can see the code that’s been checked in by browsing the revisions.
https://trac.bbpress.org/log/trunk?rev=2401
There was a big chunk of time where nothing was committed from revision 2377 on 24 Sept 2009 until 2382 on 22 December 2009. Here’s all the code committed since sambauers left.
https://trac.bbpress.org/changeset?old=2401%40trunk&new=2377%40trunk
February 7, 2010 at 6:22 pm #80398In reply to: WP plugins in deep integration
kevinjohngallagher
MemberDon’t you just love people that say “Bump” and dont add anything to the conversation?
I also love it when it’s their only post on the forum ever – way to give back

Deep integration is not supported by automattic, and apparently was never the intention of the BBpress developers. To that end, getting BBpress with a WP “deep integration”, to then call WP plugins is never going to be something that’s going to get any development time or priority.
I think this is a shame because we could make use of WP plugins that we’re effectively replicating in BBpress, but we shouldn’t be reliant on plugins for layout.
That said, i wonder if anyone has testing creating a call to a plugin function from inside an added function in the your WP’s theme’s functions.php file?
To reiterate though, try and avoid WP plugins for theming. What will happen if there is a WP upgrade that breaks the theme?
Also, every time someone bumps a thread, God kills a kitten. Please think of the kittens.
February 7, 2010 at 6:05 pm #84771In reply to: Spambot managed to register passed Human Test plugin
kevinjohngallagher
MemberIts been a while since i used this plugin, but as i recall it asked an X + Y = question (4+4 =
.Seems to me, as more and more people use this sort of protection, that spambots have become quite intelligent about reading the line before the <input> and seeing if it has a + in it. That seems fairly straightforward to do, i’ve done it myself when accessing a remote site using cURL to grab some data.
Either way, it’s hardly a “plugin fail”, because the plugin does exactly what its set out to do, not to mention, they could just be simply putting the answer “5” in every unknown field and eventually it would match.
You ask how is this possible, is it really beyond our imagination that a computer could answer a question about adding one digit to another? The only way to combat spam is to moderate constantly. Akismet, Human Test, Honey Pot and every other tool out there are just tools, they are not solutions. YOU are the solution.
February 7, 2010 at 1:51 pm #52369In reply to: A phpBB to bbPress database converter
paulhawke
Member@yoyopop – I have been looking at what is core to bbPress thus far. It hadnt even crossed my mind that private messages would want to be converted. But there’s a problem – if I convert them, what do I convert them to? Does the community feel that any one private messaging plugin should be endorsed over any other, and, does the private message plugin provide the code I need to create its raw data? If the answers are “yes” (or a ‘qualified yes’) then I’ve no problem working it in.
For those interested in beta testing, the plugin (at present) is grossly inefficient as far as memory goes and now that it works at a basic level, I’m looking at optimizing & reducing memory footprint.
February 7, 2010 at 12:13 pm #52368In reply to: A phpBB to bbPress database converter
yoyopop
Membertflight – I didn’t have rights to give php more memory on my server so I ran the php script locally on my machine using XAMPP, which successfully converted the database. Now just to replace the old db!
February 6, 2010 at 8:26 pm #79852In reply to: Need poll for version 1.02 now!
OKTeaRoom
MemberErr…embarrassing
I just installed a bunch of other _ck_ plugs that didn’t have any setup in the dashboard and were more plug and play so I assumed that this one was, too. It’s actually quite DEEP. Thanks for making me look again johhiler
February 6, 2010 at 7:07 pm #33053Topic: Plugins You Want !!!
in forum Installationbb-lover
MemberSuppose ‘Now” I’ve a developers team, & they are really interested and willing to make bbpress premium or free plugins. Now They want to start development work according to your wish. So what kinds of plugins you really need at this time and in future. I Invite you all people to describe your required plugins according to your wish and with features/ specifications list. And listen May be you’ll get what you want
!!!Stay Connect
February 6, 2010 at 3:28 pm #84688In reply to: BuddyPress 1.2 + bbPress 1.0.2 – freshness in GMT
rich! @ etiviti
MemberI’m assuming your bbPress forums folder is on a separate domain than the buddyPress install? It’s not in the ‘default’ /forums location, right?
Correct, standalone bbPress is installed on a subdomain (forums.mydomain.com) and obviously the group forum is activated within buddypress (mydomain.com/forums) as well. All share the same bb tables; so group discussions can be carried on via a more direct forum feel with extra bells and whistles.
How the heck have you gotten BuddyPress’s activity stream to work with an external bbPress install?
There is a plugin for BuddyPress called bbGroups (uses xmlrpc) but is outdated. I had to update the code for 1.2 due to the activity stream changes. (and i need to update once more since 1.2 RC1) – the XMLRPC is not ideal but does carry over the hidden/read-only and who has access. (i’d probably code it to access the db directly – but it works for my testing)
Seems redundant to have 2 forum interfaces but this allows “outside” forums which may not be appropriate for setting up a group.
But at some point BuddyPress 1.2 now expects the dates in GMT while standalone bbPress 1.0.2 must insert the timestamp on a topic/post differently. (I just haven’t had the time to sift over the code to figure it out yet)
February 5, 2010 at 8:03 pm #84695In reply to: Call wordpress functions in bbpress
chrishajer
ParticipantIf you’re getting a blank screen, it’s likely a 500 Internal Server Error. If you have access to logs you will be able to resolve this.
Where did you put that code? It should start at the 2nd line of bb-config.php, right after the opening
<?php. If not, use a syntax highlighting editor to see what’s going on with the bb-config.php file.February 5, 2010 at 5:36 pm #33050Topic: Call wordpress functions in bbpress
in forum Installationroamfox
MemberI have search the forum and find there is a slolution like this
put following code in to bb-config.php
Code:require_once(‘path/wp/wp-blog-header.php’);that I can call wordpress functions in bbpress template
but once I add the line to bb-config.php . The homepage of the forum became a blank page. no html , no error hints, just a blank page
I am sure the path to wp-blog-header.php is correct . I do not know what happend and how to fix .
The wordpress version is 2.91 and the bbpress is 1.02 .
Thank you for your help
February 5, 2010 at 1:35 pm #84683In reply to: bbPress Signatures (0.2.0) installation?
citizenkeith
ParticipantPerhaps that’s implicitly done by activating the plugin itself?
That’s correct. You should be good to go.
February 5, 2010 at 3:29 am #84648In reply to: Notify all forum users of new topic
kevinjohngallagher
MemberHi Neotoxic,
No i’m afraid you’ll have to figure out your own SQL script for the users. My code isn’t tested or anything, i’m afraid you’ll have to write teh custom code for your own specific solution yourself. the code i’ve posted above just does 95% of the work for you
February 5, 2010 at 2:48 am #82904In reply to: How to integrate with WP? Instructions not clear.
LeftCoastMichael
MemberIt’s done. We’re good.
February 4, 2010 at 8:34 pm #84495In reply to: Email to members
kevinjohngallagher
Member4 topics below your topic is your answer mate

https://bbpress.org/forums/topic/notify-all-forum-users-of-new-topic
February 4, 2010 at 6:16 pm #84530In reply to: Blocked user login (back link)
kvener
MemberHere is a solution I found…
There is probably a better solution, but this fixes the going back to front page for blocked users…
Add this code to bb-includes/functions.bb-core.php line 1183
// If user blocked logout user and clear auth_cookie
if ( $id = bb_get_current_user_info( ‘id’ ) ) {
if( bb_get_usermeta( $id, ‘been_blocked’ ) === “1”) {
bb_logout();
bb_clear_auth_cookie();
}
}
February 4, 2010 at 5:46 pm #84635chrishajer
ParticipantCan you get the phpinfo for your installation and see if there IS a tmp folder?
Put this into a file called whatever.php, then access it with your browser at http://www.example.com/bbpress/whatever.php
<?php
phpinfo();
?>I think you’re looking for a value called
upload_tmp_dirIf it’s not there someone will need to look at the plugin and see what’s actually needed.
Please post a link to the plugin you’re using too.
February 4, 2010 at 5:44 pm #84647In reply to: Notify all forum users of new topic
neotoxic
Memberkevinjohngallagher – Thank you very much for your help. I understand you caution completely, however given the nature of my community I am sure that this will be appreciated.
Can you confirm that the following will only select users who are bbpress members and above, and not all users in my WordPress users table.
$bbdb->users WHERE user_status=0"February 4, 2010 at 5:42 pm #82701In reply to: bbBlog 2.0 (plugin)
chrishajer
ParticipantYou will always have the code you have right now, which is standalone. The old version will always be available. (I know nothing is forever, but if you want a copy of the standalone version, grab it now to ensure you have it.) It might not keep up with developments, but you’d at least have a version to use. Barring any security problems, I don’t see why you couldn’t just keep using that.
-
AuthorSearch Results