Search Results for 'code'
-
AuthorSearch Results
-
July 27, 2010 at 9:42 am #77010
In reply to: can admin execute php code in post?
pagal
Participant@kevinjohngallagher, well actually, I want to use it in bbPages to create, contact page, feed back forms and other stuff.. I was avoiding to create static pages like this
@_ck_ in other words, it is not possible?
@mr_pelle like support forum , why not update this plugin with extra features of bbPages the author of this plugin is no more active in this forum.
July 27, 2010 at 9:28 am #77009In reply to: can admin execute php code in post?
_ck_
ParticipantI think part of the problem here is the spoken language barrier.
But beyond that is the problem of understanding what a huge security risk it is to run PHP dynamically inside posts.
It requires the use of EVAL which can be VERY dangerous and should be avoided when possible.
July 27, 2010 at 9:13 am #91739In reply to: Facebook Connect Help
Ashish Kumar (Ashfame)
ParticipantTry uploading a file named fbtest.php with the following content in the folder where your WordPress resides.
<?php
/* You can delete this file safely.
It was just to check if its conflicting with other WP stuff - Ashfame */
require 'wp-load.php';
if ( function_exists('jfb_output_facebook_btn') )
{
jfb_output_facebook_btn();
jfb_output_facebook_init();
jfb_output_facebook_callback();
}
?>This should bring up the FB button if everything is fine at WP side.
July 27, 2010 at 9:09 am #77008In reply to: can admin execute php code in post?
kevinjohngallagher
MemberIn order for us to help, we’d really like to know in what situation you’d use this in. Can you give us an example where you would actually use this?
July 27, 2010 at 8:45 am #77007In reply to: can admin execute php code in post?
Ashish Kumar (Ashfame)
Participantlolz but you still didn’t tell us that how will you actually use it
July 27, 2010 at 8:40 am #77006In reply to: can admin execute php code in post?
pagal
ParticipantO My God, Come one man, grow up, leave this topic, I was really tense in that day….
And Really sorry to all for these words!
Happy now?
July 27, 2010 at 8:38 am #77005In reply to: can admin execute php code in post?
kevinjohngallagher
Member
@kevinjohngallagher where are you man
help me, help you
Pagal,
In order for us to help, we’d really like to know in what situation you’d use this in. Can you give us an example where you would actually use this?
Respectfully, in the past you’ve asked for something vague, and it takes us about 2-3 days to get a real example of how you would use it, and then we solve it or you write:
bbpress sucks,
why you people did not shut down this software..if you are not able to do anything???????????????????????????????
– https://bbpress.org/forums/topic/extra-dropdown-field-in-registration-page#post-70307
Throws us some examples, and we’ll try to help
July 27, 2010 at 8:34 am #77004In reply to: can admin execute php code in post?
pagal
Participanthttps://wordpress.org/extend/plugins/exec-php/
yes, something like this…
July 27, 2010 at 8:32 am #77003In reply to: can admin execute php code in post?
mr_pelle
ParticipantMaybe PHP is not added soon enough to actually be executed by the web server.
This is what happens in WordPress, I suppose the same is valid here.
July 27, 2010 at 8:26 am #77002In reply to: can admin execute php code in post?
pagal
Participant_ck_ nope, I don’t want to highlight the php code, actually I want to execute php stuff!,
If I write
<?php echo 5+5 ?>in post form, then result should show 10, Hope it clear now.Thanks
July 27, 2010 at 6:56 am #77001In reply to: can admin execute php code in post?
_ck_
ParticipantJuly 27, 2010 at 6:03 am #91737In 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?
-
AuthorSearch Results