Search Results for 'codes'
-
Search Results
-
Topic: Custom BBCodes?
Hello, after importing from a phpBB forum where I had custom BBCodes I have the problem that they are not changed in actual html.
I would like to know how can I implement such custom bbcodes in my bbpress installation.I did some tries making a custom plugin with something like this inside (this is just an example):
function bb_table_replace( $text ) { $text = preg_replace('/\[tabella\](.*?)\[\/tabella\]/ie', "<table>$1</table>", $text); return $text; } add_filter('bbp_get_reply_content', 'bb_table_replace');
But I had no luck. It seems however to find my regexp pattern but its replace is wrong, it’s made after the matched pattern (adding to it, instead of replacing).
Any help?
Topic: Forum Index Customization
When looking at the settings, I see that I can “customize” the forum index with shortcodes. I did that, and when its just its own page, then it works. When I try and change the settings to display that page as the forum index, it overwrites it with a weird looking search result instead of the index.
All I want it to do is to display the forums that I have, and to be the forum link that is displayed when you go into a topic.
Here is the page with the shortcode (and not yet assigned to the forum root):
Topic: Layout errors and 404
Hello, I have installed bbpress and added a forum and topic.
WordPress and BBPress are both the latest version.The forum shows in a really odd way with items stacked on top of each other.
http://imagphoto.com/forums/forum/new-forum/Secondly, the breadcrumb link to the forum results in a 404 http://imagphoto.com/forums/forum/
Yet the parent link in the breadcrumb works http://imagphoto.com/forums/Is it possible to use pages and the shortcodes to have the forum within a page so that I can control the settings of the page and maybe dump the sidebar to see if that corrects the issue? I checked the documentation but could not see anything about this specific issue.
Many thanks for your help π
Hi .. As a volunteer, I’ve created and run a website for a local dental charity http://www.dentaid.org which uses WordPress and a custom theme. The charity have asked me whether its possible to add a forum within the existing site to allow the dental volunteers who go on organized trips to developing countries to get together before the expeditions and discuss topics, ask questions of the organizer etc. Clearly bbPress is a natural candidate for this but having spent a few hours searching the web, I’m not 100% sure of the right way to proceed (and of what I’ve read, there seems to be several different ways to implement bbPress .. maybe depending upon the level). I would like the forum to work as a self-contained subsystem within the existing web site with one entry URL (www.dentaid.org/forums) which can be added to the nav bar and maintaining the existing header/nav bar and footer, so using the one column full screen width content for bbPress. I think that bbPress will need it’s own styling as I’m sure that the existing style.css won’t be optimal for forums.
I’ve tried putting bbpress shortcodes into new pages as recommended in some of the web articles but although it appears to work, the styling is not ideal and functionally it seems very basic. What I’m aiming for is to put something like the bbPress forum page that I’m using right now into the content of a page on our website while keeping the rest of the website exactly asis. (I would also like to allow new folks to register and/or existing users retrieve their lost passwords from within the bbPress ‘subsystem’ i.e. provide complete forum functionality from within the bbp system.
Any help as to how I go about this would be much appreciated as the charity have decided that this is an urgent requirement for a trip to Uganda coming up soon and I don’t want to go off at a tangent and waste a whole load of time climbing the learning curve. At the moment, I’m confused as to whether I should be using widgets, creating child themes, using shortcodes with my own pages or anything else.
Pointers to web pages, documents, videos or just some good old-fashioned advice will be very welcome.
Thanks in anticipation.
RonDoes anybody know how I can use a shortcode outisde a page or post?
Im not that much of a code reader…I need a some code to add to the shortcode or the “sourcecode”.
(to add a forumpart to a .php file)Thanks!
Topic: bbpress resgistration issue
Hi all.
I am using bbpress fist time.
I have configured the login widget with links to my “lost password” & “registr” page i have created with shortcodes: [bbp-register] , [bbp-lost-pass].
I have also created an page with shortcode: [bbp-login] which then i have changed the redirect link from wp-login to my own page link of the shortcode for login. The change i have done in bbpress/includes/common/template.php around line 1154.Now my issue is that after i run a test register (from my page created with the shortcode) nothing happens. I get redirected to my custom login page. But i get no email or my test user does not show up in “Users” in my WP backend.
I have following plugins installed:
Advanced Custom Fields
bbPress – Report Content
bbPress Notices
bbPress Notify (No-Spam)
bbpress Simple Advert Units
bbPress Users Stats
Better WP Security
Crumina Menu Customizer
Facebook
Google Fonts WordPress
Math Captcha
Page Builder by SiteOrigin
WPBakery Visual Composer
WP Maintenance ModeHope someone can help me on this issue. π
Hi
I read in the docs that you can now specify a forum to post to using the shortcodes without having to use the dropdown forum selection.
I tried using this shortcode but it doesn’t seem to work and I still get the dropdown.
[bbp-topic-form id=544]
I want to load a form to create a new thread but have the forum hardcoded.
Thanks
Topic: Request post2blog feature
If a user makes a nice forum post I would like to be able to choose to post this single topic into a WP post/blog of categoryX. If I see another nice forum post then I would like to be able to choose to post this single topic to the same, or perhaps a different WP post/blog under categoryY. All video/images etc should be presented in WordPress as it would appear in the forum.
I’d like to see the topic content appearing as an article rather than a forum topic: No reply window shown even if logged in, instead show ‘number-of-replies’. No avatar, just a short comment ‘posted-by-xxx’. The topic title and ‘number-of-replies’ links the user to the respective forum topic in the main forum view.
————-
I was thinking this might be possible using shortcodes. e.g. create a new shortcode based on ‘bbp-single-topic’ (perhaps called ‘bbp-single-topic-post2blog’). Then add a drop-down-list beside each forum topic only visible for admins. The drop-down-list includes all WP posts/blogs. After selecting a WP post from the drop-down-list the shortcode and respective topic-ID gets added to the bottom of the WP post content.What do you think? I have quite a clear picture on how this should work.
If this is possible I would be happy to test it.