Search Results for 'code'
-
AuthorSearch Results
-
September 17, 2011 at 3:16 pm #108982
In reply to: Mapping WordPress tags with 2.0 tags
John James Jacoby
KeymasterIt’s easy to combine post types and taxonomies, but it’s difficult to come up with a UI that makes sense for both. Search the WordPress codex on how to combine post types and taxonomies. There are a few good examples out there.
September 17, 2011 at 3:14 pm #108975In reply to: Strange posts claiming to be password protected?
John James Jacoby
KeymasterThose topics were created via the WordPress dashboard. The post status is hard coded into the meta box, and password protected content is only loosely supported in bbPress 2.0. Someone is currently making a plugin that blocks admin posting which will prevent this in the future.
September 17, 2011 at 1:40 pm #107335In reply to: bbPress 2.0 – Shortcodes
Jamie Marsland
ParticipantHi,
I have the same problem as elmalak.
I would like to use a page to put my shortcode in – however if you do this then the links all revert back to the default forum slugs?
Jamie
September 17, 2011 at 1:00 pm #108909In reply to: jDate and Jalali dates
amirsaam
Memberumm… John I now see the about/domains page
I am sorry to say I’ve submit < bbPress.iR > for our team
Can we continue using it?
September 16, 2011 at 7:45 pm #106683In reply to: Swedish for 2.0 plugin
Thomas Clausen
MemberLook at the bottom of the screen where it says export
September 16, 2011 at 3:21 pm #108966In reply to: Remove Topics & Replies from Admin based on Role?
msalexander
Memberhow can i attach my desired signature in bbpress forum there is no any option its profile.can you guide me in this regard?
__________
September 16, 2011 at 11:13 am #108908In reply to: jDate and Jalali dates
amirsaam
MemberJohn I’ve question about that the Date function must be in ThemeFunctions or no, that is in bbPress Core and I need to convert that to jDate function?
We coded a plugin that with found jDate in somewhere will convert it into Jalali date but I don’t know we must with require_once function include the core or no, the theme must have the jDate…

And can you say when will you work on the perevius versions? And when the stable 2.0 come (cause of that we need to prepare to support it too!)?
Thanks…
AmirSaam امیرسام
September 16, 2011 at 9:17 am #108450In reply to: forums list
Jaja..
MemberWhy isn’t this working?
<?php bbp_list_forums('forum_id' => '4'); ?>and this.
<?php bbp_list_forums(array('forum_id' => '4')); ?>If i’m correct this should only load forum ID 4 correct?
September 16, 2011 at 12:28 am #108972In reply to: Calling the loop by ID possible?
Jaja..
MemberSomething else i was thinking about..
What if i make this loop-single-forum template file empty..
<?php bbp_get_template_part( 'bbpress/loop', 'single-forum' ); ?>And after that i include a PHP code that says..
If forum_ID = ‘2’ go get file loop-single-forum-2.php
if forum_ID = ‘4’ go get file loop-single-forum-4.php
if forum_ID = ’14’ go get file loop-single-forum-12.php
Else die or loop-single-forum.php
Would that help me out?
September 16, 2011 at 12:02 am #108791In reply to: How to make BBpress 2 looks like BBpress 1.03?
warezjasz
MemberHow to do something like that, man, it looks A.W.S.O.M.E.
)Any guide, tips?
September 15, 2011 at 11:23 pm #108969In reply to: Complete Noobasaurus
Anointed
Participant#1 are you running the old 1x vs. of bbpress or the new plugin?
(I would suggest the plugin for sure as it’s the most updated)
#2 if you are not then here is the page to find the download to the plugin
https://bbpress.trac.wordpress.org/browser/branches/plugin
*on the bottom of the page is the download link. Keep in mind that this is the most recent vs. and it changes almost daily until everything is finalized.
You simply click that link, save the file to your computer, and then go to your wp installation. In there you will use ftp to go into your wp-content/plugins/ folder.
#3 From there create a folder called bbpress inside the plugins directory.
#4 Upload the plugin you downloaded to your plugins folder
(browse the bbpress download and go into the folders until you see bbp-admin, bbp-includes, etc folders. You upload those into the bbpress folder that you created in your plugins folder)
Structure should look like
wp-content
–plugins
—-bbpress
bbp-admin
bbp-includes
etc….#5 From there simply activate the plugin.
There are other steps needed to get the forums working properly in wp and your theme, but the above instructions will at least get you going.
September 15, 2011 at 11:15 pm #108923In reply to: Plugin Install
John James Jacoby
KeymasterIf you can offer up some clarification, I’ll edit the post so it makes more sense.
September 15, 2011 at 11:14 pm #39959Topic: Complete Noobasaurus
in forum InstallationAaronRighter
MemberSo, I decided to work fairly hard and invest a lot of resources into creating a gaming website. I have been pretty impressed with indie games lately, and decided to start a nice area where I can highlight some of the better ones and maybe talk to developers and post things like great soundtracks and art.
*Ahem* Apparently things have changed a little since I learned HTML in…1998 lol That being said I feel pretty stupid and have some very basic questions to ask. If these answers are somewhere on the bbPress site I apologize, I did some cursory perusing of the forums and didn’t find what I needed and because I’m on a bit of a time crunch decided a post would be quicker.
From what the internet tells me WordPress is a nice content managing/blogging platform and bbPress is the way to go if I want a forum. I have downloaded and activated both the bbPress and bbPress Integration plug ins through my WordPress.
My question is…where is it? Do I have to FTP any files onto the server? Is there a link somewhere I’m missing? Any (very patient) help would be appreciated. Thank you
September 15, 2011 at 10:00 pm #108971In reply to: Calling the loop by ID possible?
Jaja..
MemberI’ve got this..
(changed all linking files by adding a -4)
<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
<?php bbp_get_template_part( ‘bbpress/loop’, ‘single-forum-4’ ); ?>
<?php endwhile; ?>
Problem is i have to tell bbp_forums to only get and show forum ID 4.
I would like to list every forum ID on it’s own template like this:
My new Forum
Install (forum-ID=2)
troubles (forum-ID=4)
plugins (forum-ID=14)
Now i have given each forum it’s own ID and own template file by duplicating the original template file that bbPress uses for every forum ID and adding an it’s unique forum ID number behind it.
Everything is going fine the right files are been read the only problem i face is i can’t find a way to say only export forum ID-4 in ID-4 template file.
Now i get this on my homepage.
My new Forum
install (forum-ID=2)
install (forum-ID=2)
install (forum-ID=2)
troubles (forum-ID-4)
troubles (forum-ID-4)
troubles (forum-ID-4)
plugins (forum-ID=14)
plugins (forum-ID=14)
plugins (forum-ID=14)
I think i have to do something with WP Query’s i think?
But where, who and when?
Would be very nice if somebody knows the answer to this.
September 15, 2011 at 9:26 pm #108950In reply to: Forum pages not loading
jloosli
MemberI’m having the same problem…I installed bbPress about two months ago and it worked right out of the box, then I got going on other things and just came back to work on it again and I can’t get the forums to display. If I go to the forum page, it has the title; but before, there was a listing of forums and I could navigate through to the topics. I’ve tried using the shortcodes and they work fine, but I’d like to get things working through the standard hierarchy (e.g. forums, topics, etc.).
I’ve cleared the cache, flushed the permalinks, and changed the name of all the slugs (they’re currently changed back to the default names), uninstalled, then reinstalled the plugin (but didn’t delete settings from the database). Also, I know I’ve updated the plugin at least once since first installing it.
Some sample pages:
http://powerofmoms.com/forums/ (should show listing of all forums, but just get blank page)
http://powerofmoms.com/forums/forum/general-discussion/ (should show topics for this particular forum. Shows description text, but no listing of topics)
I haven’t made any changes at all to the template yet…just wanting to get things working again. Any suggestions?
September 15, 2011 at 4:28 pm #108829Gautam Gupta
ParticipantYes, if I remember correctly, groups are created as forums internally in bbPress and are sub-ordinate or children of a parent forum created by BuddyPress. When you’re done with your import, you can easily move out all of the forums from that parent and do a recount. Sorry for the late reply.
September 15, 2011 at 2:50 pm #106092In reply to: bbPress 2.0 – Theme Compatibility
Jaja..
MemberThis is what i did and worked for me.
I do have a WP Multi-site installation but i don’t think it’s different on a normal WP install.
*My root
wp-content > themes > <first theme> <second theme> <twenty ten> <twenty eleven>
First theme is the theme i was using on my WordPress website.
After that i created an empty folder called second theme
I copy-/pasted all files from the bbPress plugin folder into the empty second theme folder i just created.
From:
*plugins > bbpress > bbp-themes > bbp-twetyten > All files and folders from here (without the bolded bbp-twentyten folder)
Now if you go into your style.css in the second theme folder you see that this one is empty and it says it will call the css > bbpress.css from the functions.php file. <– now also inside that second theme folder.
But at the top of this style.css file you see some theme info it just looks like some regular junk-talk (theme info) but it really isn’t junk-talk but very important, at the last line of code it says template name: (twenty ten) (if i remember correct) If you change that to (first theme) in my case and save it you’re done.
Now it will load first theme as a main theme and second theme as your child theme (with your bbPress files inside)
It’s very cool because if you add a new page from your admin you can also pick different bbPress page templates.
Example, you can create a new page and add from the template drop down menu (right-side sidebar) the login bbPress page template and you will get a login-page.
This is all i did and it worked out for me, the add theme support function i never added because it’s also inside the functions.php file in your second theme folder.
Hope this will help somebody here.
September 15, 2011 at 11:54 am #108888master5o1
ParticipantWhich, I assume would be copying the existing shortcode function, modifying it to see fit.
September 15, 2011 at 11:53 am #108887master5o1
ParticipantYou could create your own custom shortcode that does it.
September 15, 2011 at 10:44 am #108958In reply to: do_action bbp template notices ?
Jaja..
MemberI found something..
https://codex.wordpress.org/Function_Reference/add_action
Only trying to find where those functions are.. they aren’t in my functions.php
??
So they call a function by the plugin DO_ACTION PHP code but i can’t find the template that lists all those actions-/functions.
September 15, 2011 at 7:40 am #108907In reply to: jDate and Jalali dates
amirsaam
MemberThanks!
I have a PHP class for jDate but I saw something in the core cause of that I asked. Now I must make a plugin for jDate

But your Docs are not very good and it’s hard to make it!
About regrading, you made vr.2 a plugin cause of that I get mistake

We will wait! but if you add Automatic Update to bbPress for the first step it will be intresting! Can we port the WP one tp bbP?
امیرسام
September 15, 2011 at 7:32 am #108906In reply to: jDate and Jalali dates
John James Jacoby
KeymasterI don’t see anything in bbPress core regarding jDate, and am unfamiliar with what it is. PHP has some jd functions for handling/converting Julian dates, but I’m afraid I cannot teach you PHP – it must be learned.

Regarding bbPress 1.0/1.1, we are still actively creating/supporting/maintaining all previous versions. Thanks for the offer, but we have everything under control.
September 15, 2011 at 2:10 am #108945In reply to: Forum pages not loading
xps20
MemberI am not a coder so I do not understand how to flush.
All I came across from a search was to add,
$wp_rewrite->flush_rules();
but I wouldn’t know where to start on where to add that code, or if that is even the right line of code.
Thanks for replying btw.
September 14, 2011 at 10:28 pm #106845In reply to: Need Help Removing Sidebar
WhiteRau
Memberas a quick addendum, i didn’t actually delete the code. i just commented out the PHP contents, like so:
<?php //get_sidebar(); ?>that was if something changes and i still need the sidebar, i’ll know where they all were to begin with.

WR!
September 14, 2011 at 10:19 pm #106844In reply to: Need Help Removing Sidebar
WhiteRau
Memberi’m trying to do the same thing right now. looks like you’re going to have to search through each PHP file in the bbPress theme and remove the following code:
<?php get_sidebar)(); ?>it’s the only way that i can think of… which is neither fast nor easy.

WR!
-
AuthorSearch Results