Search Results for 'code'
-
AuthorSearch Results
-
October 24, 2009 at 7:40 am #80805
In reply to: Future of bbPress
Gautam
MemberThanks for the answer Matt, looking ahead for a great future of bbPress.
October 24, 2009 at 2:11 am #80804In reply to: Future of bbPress
rvlawrence
MemberWow, I can’t believe the “Matt” actually wrote back to me.

One of the reasons why I went with WordPress is the strength of the plugins and community. I toyed a bit with Joomla but the interface stinks, and it’s too difficult to use and not pretty behind the scenes. People say that it’s stronger than WordPress and more adaptable but I think WordPress is quickly surpassing it as the defacto blogging/CMS building tool. New users like me can get up and running quickly and it’s fun to use!!! Joomla was nothing but a nightmare, ugly and not enjoyable at all. The people in their community are ok to deal with but many are tech-snobs. Thank you WordPress!!!
Any other information on BBpress is appreciated, including a timeline of features to come and integration. Please give us a peek to what the future holds…
October 23, 2009 at 10:44 pm #80867In reply to: Skipping code in .php files and CSS.
chrishajer
ParticipantIt definitely needs to be inside the
<?php ?>code block, or it’s just HTML to the browser. You probably didn’t have it in a code block if you saw it displayed.A syntax highlighting editor helps a lot with this. It helps you see what is code and what is plain text.
October 23, 2009 at 9:14 pm #70698In reply to: IntenseDebate and BBpress
talgalili
MemberHi Guys.
It seems there isn’t going to be an integration in the near future:
Maybe if more of you will make “sound” someone will budge

Hopefully.
Tal
October 23, 2009 at 9:04 pm #80866In reply to: Skipping code in .php files and CSS.
InvTrdr
MemberThanks. I will ahve to try it again as once when I used it in my footer.php I actually saw the /* and */ on the page itself. I might have inserted it the wrond way.
Thanks.
October 23, 2009 at 7:51 pm #80799In reply to: Future of bbPress
johnhiler
MemberCan you give us an update on the revamping of the bbpress.org website? Sam was about to launch that when he left.
Currently, the Plugins tab is on a separate bbPress version than the Forums tab (so you have to sign into each separately), and there’s no Codex for documentation…
Thanks!
October 23, 2009 at 4:43 pm #80786Adam Harley (Kawauso)
MemberThe Warning message is because forwards depend on sending headers. Different headers are sent automatically however if there’s any text returned by a PHP file that’s loaded, which is a common problem created by whitespace around the
<?php ?>tags. If text headers are sent, you can’t send a redirect header, thus the warning and the breaking of redirects.October 23, 2009 at 3:18 pm #80797In reply to: Future of bbPress
citizenkeith
ParticipantThanks Matt!
October 23, 2009 at 3:16 pm #80418In reply to: Import bbpress users into buddypress?
citizenkeith
ParticipantNevermind… I figured that part out.

@HSeatSleeper: Can you talk a little bit more about the special care you gave to the admin account? When testing, I got locked out of my blog as well, and couldn’t figure out why (my wp_1_capabilities were set correctly, as was user_level).
Can you easily list the steps you took to secure the admin account? Thanks!
October 23, 2009 at 2:58 pm #80856In reply to: Can I put the 'categories' at the top of my forums?
chrishajer
ParticipantYes, just open front-page.php in your template and move the blocks of code around to arrange them however you want. Put the discussions on the bottom and the forum list on top.
October 23, 2009 at 2:49 pm #80865In reply to: Skipping code in .php files and CSS.
chrishajer
ParticipantFor a single line of PHP, you can just do this:
// echo $phone;And that single line will be commented out. If what you’re commenting spans more than one line, use the
/* commented code */method.October 23, 2009 at 2:48 pm #80864In reply to: Skipping code in .php files and CSS.
chrishajer
ParticipantYes, you can comment out a block of code in between the
<?phpand?>by using/* commented this part */. For example,<?php
echo $user;
/* echo $phone; */
?>The phone would no longer be displayed because you commented it out. It won’t even appear in the source of the page when viewed in the browser, unlike a HTML comment
<!-- commented this part -->or CSS comments (which are always visible.)October 23, 2009 at 2:39 pm #50322In reply to: Combined Register + Post
Adam Harley (Kawauso)
MemberI’m afraid I don’t take on paid work, since I simply can’t guarantee the time needed to write code on demand, ensure it’s to a standard expected of paid work and to be honest, I don’t need the money anyway.
As I said, I’d be more than happy for someone else to use my code as reference on how to implement such a feature, since it’s pretty much just butchered up parts of core bbPress code, but as it stands I simply don’t have the time to work on the plugin and guarantee it’s to a production standard, paid or not.
As to the requesting login details later part, I think that was requested before, and I did look into doing it, but because of the way bbPress is structured internally, you have to bypass so many checks against the referring page and carry over the post data to be passed later on. Do-able yes, but not really a 5 minute job, since as far as I know you’d still need to re-do the post function as I did previously.
It’s nice to know there’s still interest in this though, and I’ll look into trying to implement it more cleanly later on with requested features. Having pulled and learnt the login and post system once, it should be easier a second time. Really, really wish we had a bbPress codex, so it could be documented more.
October 23, 2009 at 1:45 pm #32136Topic: Skipping code in .php files and CSS.
in forum InstallationOctober 23, 2009 at 12:52 pm #80796In reply to: Future of bbPress
wiseacre
MemberThanks for the answer, Matt.
October 23, 2009 at 12:30 pm #80795In reply to: Future of bbPress
chandersbs
MemberWow, the legendary Matt
October 23, 2009 at 5:04 am #80794In reply to: Future of bbPress
Matt Mullenweg
KeymasterHappy to be here.
October 23, 2009 at 2:55 am #32131Topic: Future of bbPress
in forum Requests & FeedbackMatt Mullenweg
KeymasterA few people have reached out to me and I just wanted to let everyone know that bbPress is still an important project for the WP community. (It powers our forums and plugin directory, for one thing!) It’s not going away.
Strategically the most important thing we need to figure out is how to integrate bbPress better with WP more for people who want that — right now it’s easier to use one of the WP plugins for forums than bbPress.
As to where bbPress goes in the future, I’d be curious to hear who wants to help with that. The world is our oyster.
October 23, 2009 at 12:16 am #80773Adam Harley (Kawauso)
MemberYou have a space or a line return around your code tags.
October 22, 2009 at 8:14 pm #80696In reply to: When bbpress 1.0.3?
wiseacre
Member@johnhiler – Yes man, everyone leaving. Sam’s post is about “1 month old”. How many plugins are updated last month?

I wrote Matt some hours ago …
October 22, 2009 at 7:43 pm #80695In reply to: When bbpress 1.0.3?
apam
MemberI really hope bbpress will thrive from this transition! Go Bbpress!
October 22, 2009 at 7:28 pm #80694In reply to: When bbpress 1.0.3?
johnhiler
MemberMarius – Everyone’s leaving? One person has left… the lead developer, Sam. And he worked crazy hard to get version 1.0 out the door (you can see all his code checkins on Trac).
bbPress is definitely in a state of transition now. I’ll reach out to Automattic and see if we can’t get some clarification on where things are. If they’re not going to actively develop the platform, we can fairly easily fork the code since it’s open source…
October 22, 2009 at 6:51 pm #80768chrishajer
ParticipantCan you post the full code of
exclude-forum.phpplease? If it’s too long, use something like pastebin rather than posting here.If you post here, be sure to wrap code in backticks
`, usually above the tab key on a US keyboard.October 22, 2009 at 5:49 pm #50320In reply to: Combined Register + Post
anabelle
MemberThat would be great, Im sure i don’t have the best way to do it, im sure working together we can find the best way of achieving it.
I’d love to pay, and I will. You must consider nonetheless I live and work in colombia. My current salary is les than $5 an hour. And I can’t even pay half that
BUT! Im happy to give “donations” if the developer is ok. How much do you charge?I’ve thought about anonymous, but that isn’t the idea. If an account can be created, why not?
I will surely use instant pasword! thanks for that!
That gives me even more clear ideas about this.
The reply form in a topic, if a user is logged out. Should include login, password, and reply.
If the account exists, login and post. If it doesn’t exist; ask for email, createaccount, login and post.
A special message could be shown. Your reply has been posted! And an account has been created for you. Thanks for joining our community.
What do you think about it?
October 22, 2009 at 4:32 pm #80791In reply to: Basic installation help
chrishajer
Participant1. If your website is in public_html, then I would put the folder inside that folder, so you would have this:
/public_html/bbpress/
or
/public_html/forums/
or
/public_html/discussions/
When you unzip bbPress, it will create a folder called
bbpress. Rename that folder to whatever you want before you upload it.Uncompress it on your desktop, then rename it, then upload the whole thing to public_html.
4. Well, if /public_html resolves to your domain at http://www.example.com/ and you renamed your bbpress folder to discussions, you would visit http://www.example.com/discussions/ and start the installation.
If you want a link to the forum in your WordPress menu, you will need to create a Page with a slug that is identical to your folder name. So, if you called your folder
discussions, create a Page called Discussions with a slug ofdiscussionsand if you’re using permalinks in WordPress, that menu item will serve up the bbPress installation.There are also plugins that will allow you to redirect a page to another URL. You might need to do something like that.
Custom Field Redirect: http://www.nathanrice.net/plugins/
Page Links To: https://wordpress.org/extend/plugins/page-links-to/
There are ways to do it in a page template as well, but you might not need any of that. Create a page with the slug named the same as your forum folder, and it should ‘just work’.
-
AuthorSearch Results
In CSS I use /*………*/ for a few lines of code or ……..// for just a line so that code is skipped or avoided. Will this work in a .php file also? I would like to skip code to test it out without deleting the original code. Just want to mask the original code so I can go back to it if I make a mistake.
Thank you.