Search Results for 'code'
-
AuthorSearch Results
-
July 28, 2010 at 10:22 am #91849
In reply to: Doesn't Play Well with Others
johncalvinhall
MemberLand Sakes! I get one problem fixed and it still gives grief.
I did as you said, and you were right. It wasn’t my username and password as much as it was the name of the MySQL database, which is ‘wordpress’.
I entered the name of the database, username, and password. It now responds, “Great, saved bb-config.php. Let’s go to Step 2.”
Then I try to move onto Step 2 and it says, “You are missing bb-config.php. This means you are setting things up for the first time.”
The result? It loops me back to where I was!
… long delay… John has a brainstorm….
I figured out what to do!
I basically lied to it, and said the config file was generated properly. Actually, I snagged the bb-config-sample.php, changed the parameters in there (database name, username, password), and saved it as bb-config.php.
The little bugger is now behaving properly!
Bah! If I survive this, I am going to be a monster guru!

Thanks ashfame for your help! Your advice is priceless.
July 28, 2010 at 9:46 am #73948In reply to: One bbpress per blog in wordpress mu
Radhe
MemberGreetings

Fred, did you find any solution?
Thanks a lot
Radhe
July 28, 2010 at 9:00 am #77013In reply to: can admin execute php code in post?
Himanshu Mehta
Memberyes. it can possible and easily found in net.
July 28, 2010 at 4:28 am #34883Topic: Doesn't Play Well with Others
in forum Installationjohncalvinhall
MemberHello All,
I have setup a localhost on my computer. I am planning on migrating from wordpress.com and moving to a registered domain, and before I start shelling out the $$$, I would like to be somewhat familiar with what I am doing.
After installing PWS, I added WordPress software. Everything is working great, and I am loving what I see. Now I tried installing bbPress, so I can have a forum, and it is hairballing on me!
I am strongly suspicious that the problem lies somewhere with MySQL. I fill out the setup info, and it responds with:
There was a problem connecting to the database you specified.
Please check the settings, then try again.
Where do I find MySQL on my computer? Can I not have separate databases?
:sigh:
I am not a cyber-guru, and I am hoping that I don’t have to become one!

Any help you can provide would be great!
July 27, 2010 at 10:16 pm #90589In reply to: Kakumei Black theme
copperblade
ParticipantOk sorry I didn’t check back for a while (I see “Notify me of followup posts” at the bottom now)
Yeah I mean distributing what amounts to a kakumei-black style. Can I just call it a plugin and upload it to the repo here?
I guess not since it has to go in a different directory.
July 27, 2010 at 8:40 pm #91860chrishajer
ParticipantCopy the register.php from the
bb-templates/kakumei/folder into your theme folder. If you don’t have a theme file present in your theme, the file from the default theme is used. Since that’s happening now, go ahead and copy the register.php into your theme folder and make the modifications there.July 27, 2010 at 7:06 pm #91858chrishajer
ParticipantJust the text that is displayed? The fields would still be required and go through validation? Just edit the template file register.php and eliminate that line:
./bb-templates/kakumei/register.php line 65
<p class="required-message"><?php _e('These items are <span class="required">required</span>.') ?></p>You could also hide the text with some jQuery, but I think it’s easiest to just remove the text from your template file.
July 27, 2010 at 5:50 pm #91795In reply to: Rearrange Profile Pages
mr_pelle
ParticipantSorry, no hint about that…
July 27, 2010 at 3:06 pm #91811In reply to: doesn't work checkbox "remember me"
kevinjohngallagher
MemberCool, ok, well let do a wee hunt in Opera.
I’ll have a look and get back to you if i find anything
July 27, 2010 at 2:36 pm #91810In reply to: doesn't work checkbox "remember me"
eramar91
Membermay be
July 27, 2010 at 1:59 pm #91808In reply to: doesn't work checkbox "remember me"
eramar91
Memberit works in IE 8, safari on my computer , but not in opera
July 27, 2010 at 10:31 am #77012In reply to: can admin execute php code in post?
mr_pelle
Participant@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.
I do not see how bbPages would be related to Support Forum(s)…
July 27, 2010 at 10:02 am #77011In reply to: can admin execute php code in post?
kevinjohngallagher
MemberI 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
OK, cool.
While it might be possible, its not likely. Its not what bbPress was designed for. It’s not a Content Management System.
In honesty, if you want that sort of functionality, WordPress side by side with a bbPress forum is the best way forward.
July 27, 2010 at 9:42 am #77010In 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?
-
AuthorSearch Results