Search Results for 'code'
-
AuthorSearch Results
-
July 27, 2010 at 6:03 am #91737
In reply to: Facebook Connect Help
nickaster
Memberokay … thanks for all the help! So, I did that. I added the facebook code exactly as you suggested to “login-form.php”
and nothing shows up at all… what’s supposed to happen? What could I be missing?
July 27, 2010 at 12:27 am #91268In reply to: What should be a Plugin, and what should be in Core
XU3E
MemberHonestly, I really like idea give bbPress more functionality to core. Mainly unread post like phpBB has (All post mark as read and etc.) and more specific permission for some user rules and category. I dont know how many people wants this. We should vote, need polls,… but… Oh yes bbPress doesnt have any polls, we need plugin for this. Is there any plugin workign for my release? Damn…
Of course, for someone Its not important but forum without that its just guestbook with searchbar and topics. Really messy and pure.. Bleh!
Maybe the best solutions could be official bb-plugins supported by developers for every release (but its really hard task for developers). But eveneryone will be happy. Light-weight core and pack of plugins ready to go…
Everytime when i am downloading new plugin i prey: Will that plugin works with my new release? And what the next new release? Its terrible for every user. Sometimes i try fix some bugs but i am not php guru, and its real pain for me…
And for the people that love really light-weight solution. They can still use _ck_ 0.9 fork or another old realease of bbpress. Its up to them but official bbPress need to be pushed.
I love the way bbPress is made. I love functionality, simple look similiar to WordPress (i really love wordpress). But bbPress has so many holes at funcionality. Light weight forum like punBB? No… perhaps more sophisticated solutions with witdgets, gridtables, better sorting by speciphic parameters, quoting, better slug manipulation (like WP has), category manipulation, permissions and mainly integration with WP.
But everything should be fast as could be. Just look at MyBB. Or Perhpaps phpBB. Yaeh, its really fast… its just about optimizing. Why i dont switch to them back? They didnt have support for buddypress or wordpress… I mean native support – everything under one roof.
Conclusion…
bbPress should be disscussion board – right now i am really disapointed. So we can google for forums or helpdesks and find inspirations. If i am wrong, just kick me to my ***
July 26, 2010 at 10:57 pm #77000In reply to: can admin execute php code in post?
chrishajer
ParticipantI guess I never tried to include PHP in a bbPress reply, but maybe I was mislead by the “anything” in the plugin name. Maybe PHP is not added soon enough to actually be executed by the web server.
What are you trying to do exactly?
July 26, 2010 at 8:59 pm #91735In reply to: Facebook Connect Help
nickaster
MemberOkay, excellent, I’ll try that tonight. So… should I get rid of those lines that I added? I don’t want to have a lot of extra code in there if I don’t need it.
July 26, 2010 at 8:11 pm #76999In reply to: can admin execute php code in post?
pagal
Participant@Cris, you should definitely use this plugin, it just allow javascript and flash video embed, not php code in post!
hope _ck_ will write more about it in this topic,
@kevinjohngallagher where are you man
help me, help you
July 26, 2010 at 7:14 pm #91734In reply to: Facebook Connect Help
Ashish Kumar (Ashfame)
Participantyes you already have deep integration.
now just in bbPress you can call the function of any WordPress plugin, in your case, the FB connect function.
WP – https://wordpress.org/extend/plugins/wp-fb-autoconnect/
activate -> configure
in bbPress, edit the theme file where you want it by this ->
<?php
if ( function_exists('jfb_output_facebook_btn') )
{
jfb_output_facebook_btn();
jfb_output_facebook_init();
jfb_output_facebook_callback();
}
?>This should work
July 26, 2010 at 6:58 pm #91733In reply to: Facebook Connect Help
nickaster
Memberokay great, thanks man.
So, I added this code to the bb-config.php file from your page here:
I did, however, already have the following added:
require_once('/MYPATH/wp-blog-header.php');does the latter mean I was already in “deep integration” ?
Either way, I don’t see any differences at all now as opposed to before. What does it mean to “integrate a FB button” … is there some code lying around that I can just stick into the templates?
thanks
July 26, 2010 at 5:27 pm #91780In reply to: Tag for fetching forum name from a topic?
chrishajer
Participantforum_name()will echo the result andget_forum_namewill not (so you can use it however you want, or just echo it.) I think all theget_functions just get return value, not echo it.July 26, 2010 at 5:23 pm #91785In reply to: Rearrange Profile Pages
mr_pelle
ParticipantEdit
profile-edit.phpand move the<fieldset>blocks around as you wish. Note that you must move the display conditions too, so actually the first block are lines 13-16, second are lines 18-23, third are lines 25-34.July 26, 2010 at 5:22 pm #76998In reply to: can admin execute php code in post?
chrishajer
ParticipantThere was an old plugin from _ck_ “Admin can post anything”:
https://bbpress.org/plugins/topic/admin-can-post-anything/
You can try it will bbPages and see if it works. I’ve never used that plugin. I do use the “Admin can post anything” plugin.
July 26, 2010 at 3:17 pm #34869Topic: doesn't work checkbox "remember me"
in forum Themeseramar91
Memberdoesn’t work checkbox “remember me” , code:
<label class=”rememberme”>
Запомнить <input name=”remember” type=”checkbox” id=”quick_remember” value=”1″ tabindex=”3″ >
</label>
what’s wrong ?
July 26, 2010 at 1:28 pm #91778In reply to: Tag for fetching forum name from a topic?
mr_pelle
ParticipantYou may retrieve topic parent forum id using
$topic->forum_idand then get its name usingget_forum_name( $topic->forum_id ).July 26, 2010 at 10:26 am #91630In reply to: Taking a look at bbPress 0.9
Ashish Kumar (Ashfame)
ParticipantThanks for your reply buddy!

Clears most of what I wanted to ask.
I agree with CK saying that we can achieve a better UI (mini project) similar to the WP so everyone can use it and feel the same.
Regarding replicating actions and filters, that can also be achieved over time if community comes up forward (or just a few real developers start exploiting it to use).
Once my schedule loosens up a bit more, I will take a look at bbPress 0.9 development. And I also agree on your point of not rushing into a fork before 1.1 is out. Also I need some time to get the real fundamentals of how it was build and how everything works under the hood.
But one thing remains unanswered, what all we will need to fork the project.
July 26, 2010 at 10:01 am #76997In reply to: can admin execute php code in post?
July 26, 2010 at 9:54 am #76996In reply to: can admin execute php code in post?
kevinjohngallagher
MemberYes
July 26, 2010 at 9:54 am #91629In reply to: Taking a look at bbPress 0.9
kevinjohngallagher
MemberAsh mate, you know how much I like you and your work, but that poll is never going to give even close to an accurate figure. To start with you don’t know why people are voting for each one, or how often, or who’s voting.
I mean, Matt came on here and said that 0.9’s not been looked at in a long time and BAM 1.1 starts to get more votes. Matt forgets to mention, the 1.0 branch has had the same number of releases in the last year as the 0.9 branch: namely 0 !!
How much the 0.9 version has actually gone through testing and how much we can be confident it being secured.
Well it’s had 2 years more testing than 1.0 in the wild, and generally (apologies in advance) by people who are happier coding/debugging/ working without a GUI than the folks using 1.0 branch. Plus, the WP forums were running 0.9 until last August (at least), so it was known to be very secure then.
I know it may contain bugs, any code can but my curiosity lies in the testing & use it has gone through already.
A sh*t load more than 1.0.
Rememebr 1.0 was (another) rewrite decreeed from “above”, and we cancelled all Beta testing, and it took 10 alphas to even get useable (pres Alpha6 isn’t compatible with after-alpha-6), and broke most plugins etc. The process of getting 1.0 out the door also led to some of the real wizards leaving the project behind (see Chip Bennet, Justin Tadlock, JJJ, _ck_ etc), and released it in a week, and we released an update to 0.9 at the same time as 1.0’s last update

In my opinion, as someone who uses both; 1.0 only has 2 things going for it: The Admin section and it has more Actions/Filters.
Replicating actions/filters into 0.9 is easy. As _ck_ said, getting a nice looking UI into 0.9 is a mini project.
==============================================
1.1 has some good work, nae, some great work.
It also has some rusheed work, to get it out the door for testing.
It has at least 1000 lines of changed code last I checked (and that wasn’t today or yesterday) and we still have 10 tickets open – all before we release for Alpha testing, and all before we get a new package of BackPress released (in theory) after WP3.0.1’s release.
If we finished all of those tickets this week, and packaged an Alpha testing release for Monday, there is no way 1.1 will be released before September. Infact, we’re looking at a late-September/October release at a minimum, unless we skip testing and bug fixes (again).
Lets take our time and look at 0.9 objectively when 1.1 is close to coming out. Rushing into forks is just as dangerous as rushing into WP-reliant plugins

Ash mate, you’re a very smart guy. Go grab a busy forum and duplicate it on your machine, and convert to 0.9. You’ll very quickly see some of the small issues with it, but you’ll also be amazed at just how quick and robust it is.
July 26, 2010 at 9:49 am #82567In reply to: Uniq titles for custom pages?
July 26, 2010 at 9:47 am #27981Topic: can admin execute php code in post?
in forum Installationpagal
Participantis it possible?
July 26, 2010 at 9:12 am #91760In reply to: My part of Contribution to bbPress
Ashish Kumar (Ashfame)
ParticipantIts a custom theme buddy and its kinda surprising for me that all you had to comment was that my theme looks like thesis.
July 26, 2010 at 8:38 am #91521In reply to: Better Profiles….
mr_pelle
ParticipantDo you want to customize the template for the upload avatar page? Edit the
bavatar-profile.phpfile that comes with the plugin. It has an action inside, if I remember correctly, which hook you can modify.July 26, 2010 at 7:49 am #91627In reply to: Taking a look at bbPress 0.9
Ashish Kumar (Ashfame)
ParticipantHow much the 0.9 version has actually gone through testing and how much we can be confident it being secured.
I know it may contain bugs, any code can but my curiosity lies in the testing & use it has gone through already.
If considered a fork, I think we need a few people on whom the people can count on for security updates.
What do you think?
July 26, 2010 at 6:39 am #91267In reply to: What should be a Plugin, and what should be in Core
Greg
ParticipantMatt, we’re at cross purposes. Your previous definition of “core plugin” aside, I still don’t quite understand why it wouldn’t be useful to have a place in the taxonomy for something that…
1. is a plugin
2. is released with core (same release criteria etc.)
Like akismet today. I think there are a ton of advantages, but I’ve mentioned them above and I won’t belabor them. I didn’t suggest that it was necessarily 80% functionality, so maybe it does fit your definition of core plugin to some extent.
I guess “bloat” is a bit pejorative and wasn’t my intention to poke at WordPress. But any large piece of software needs to have a strategy to deal with the inevitable growth of the code base as it evolves.
July 26, 2010 at 4:29 am #91730In reply to: Facebook Connect Help
Ashish Kumar (Ashfame)
ParticipantYou do deep integration by adding a line in
bb-config.phpto loadwp-load.phporwp-blog-header.php. You can check your config file to see and if you are the one who setup everything, then most probably you don’t have deep integrated setups.That said, deep integration just makes the work easier. FB connect without it is also possible but it will require someone to code that up.
July 26, 2010 at 2:45 am #91520In reply to: Better Profiles….
nickaster
MemberInteresting… so assuming my templates were default… where would I look for the code to add this? I can get in there and add it if I knew what it looked like.
July 26, 2010 at 1:20 am #82566In reply to: Uniq titles for custom pages?
Ben L.
MemberSearch engines generally ignore meta description and keywords because they get abused frequently. However, if you really want them, you can use
add_action( 'bb_head', 'my_function_that_outputs_stuff' );. -
AuthorSearch Results