Search Results for 'code'
-
AuthorSearch Results
-
October 23, 2009 at 3:18 pm #80797
In 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
Navin
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’.
October 22, 2009 at 4:28 pm #50317In reply to: Combined Register + Post
anabelle
MemberSure, and i’ll definitely use it. Im just a little scared about support or having to fix things that are beyond my reach.
So, as much as i Will test it. I don’t think im using it in production enivonment yet.
But, my concept of a forum, the way I am conceiving it, designin it, and targeting it, REQUIRES this feature. I won’t use it right now but I’m sure the lack of it will almost fully stop the growth of the site.
Simple as is, mi site “¿Cómo diablos.. ?” is targeted to solve basic questions to tech newbies in spanish, you can imagine there are a LOT of people, and grownups how are just getting to know a computer. And the process of registering, in a separate page, activating through email, and then asking some really basic question, it just really doesn’t work.
What we’ve been using until now is a WordPress site, with reply to coment mail notification enabled. So they just ask, and get the answer to their mails. It’s working ok. But we really think the right way of doing it is using a forum. Auto-creating an account when the user signs up could be incredibly useful for getting recurent visitors and building local support communities in common language.
Sorry for writing so much in such a bad english
hope you understand.
October 22, 2009 at 12:35 pm #80756In reply to: instable scripts
chrishajer
ParticipantI think that’s the output from the command
topso watpocom is just the user that’s running the processes.I suspect it’s a plugin causing the problem. Using the plugins linked to by johnhiler will help pinpoint the problem. I’d start with bbPress plugins.
October 22, 2009 at 7:46 am #50316In reply to: Combined Register + Post
Adam Harley (Kawauso)
Memberanabelle: The code that I’ve posted is fully working as a proof of concept, so you could use it. I’m not sure if this would ever be implemented into the core code though. I’ll look into re-doing it with an interstatial page at a later point if I have the time.
October 22, 2009 at 3:44 am #80760In reply to: Formatting Category & Subforum margins on front page
chrishajer
ParticipantWhat version of bbPress are you running? The 1.0 version has some classes that you seem to be missing there. I don’t have a 0.9 version installed with categories to check this out.
This would get you close, at the bottom of your style.css, but it’s not quite right – it spaces all the table data cells over. You just want the first ‘column’ over, the forum category.
.bb-root td {
padding-left: 2.5em;;
}I didn’t think the older version had forums as categories – are you using a plugin for that, or are you using 1.0 and just missing some classes for your theme? Maybe that theme was for 0.9 and is missing the markup for 1.0.
October 21, 2009 at 11:37 pm #80689In reply to: When bbpress 1.0.3?
johnhiler
Member@grassrootspa – BuddyPress uses bbPress to power forums, so as long as BuddyPress is important for Automattic then that’s good for us.

We definitely need clear guidance around the future of bbPress. If it’s not going to be supported, then we will have to work together as a community to fork it…
October 21, 2009 at 7:27 pm #78876In reply to: Admin link doesn't take me to dashboard
brad@foreverybody
MemberI was having the same problem. I back tracked through the code and found the problem was the admin section looking for a secure cookie and the login script was always setting the cookies without the secure flag. I worked around the issue by changing the force_ssl_admin function to always return true.
function is located in: bbpress/bb-includes/backpress/functions.core.php line 802-ish
hope this helps somebody.
October 21, 2009 at 5:10 pm #80142In reply to: my admin panel vanished
legacyblade
Memberthanks, it worked perfectly
-
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.