Search Results for 'codes'
-
Search Results
-
I need create a query to bring the list of forums and subforums on the homepage of my website, i woudn’t like to use shortcodes cuz i want create a custom style. I did a wp-query but i can’t use functions to show the topic, replies and posts quantity.
<?php $args = array( 'post_type' => 'forum', 'order' => 'DESC', 'orderby' => 'date' ); $query = new WP_Query($args); ?> Foruns| Posts <?php if( $query -> have_posts() ): ?> <?php while ($query -> have_posts() ) : $query -> the_post(); ?> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?> </a> <?php $value = bbp_get_forum_post_count(); echo $value; ?> <?php endwhile; ?> <?php wp_reset_postdata(); ?> <?php else: ?> Nothing yet... <?php endif; ?>
Thanks for help.
Topic: Import Hung?
I was importing from my Vbulletin 4 and it went through converting topics, then it started converting tags and hung about 12,900. Is this a known bug? What’s the best way to do this over without losing the imported content and without taking risks of missing content not being imported initially on the hang up? Any ideas why it would hang up like that? It took a pretty long time just to do the topics. It didn’t start the users yet either. You’d think it would import users first?
Side note, I don’t see any area to set up bbcodes? Is bbcode not a default feature?
Topic: Import from vBulletin
Hi folks. Saw this page, https://codex.bbpress.org/import-forums/vbulletin/
It hasn’t been updated in 2 years. Just wondering if there are any improvements made to this tool?
Some of my concerns are these listed:
1. Custom vBulletin BBCodes are not supported eg. [youtube] – You will have to manually change these yourself either before importing in vBulletin or after importing into bbPress using phpMyAdmin.
2. All ‘Ordered Lists’
- will be displayed as numerical lists.
3. You may find extra page breaks <br> and paragraph <p> elements in topics and replies and is less than ideal and is from the way the BBCodes are converted during the forum import conversion. You will find these primarily around ‘blockquotes’ and ‘lists’
In regards to
#1 If I create the exact bbocodes in BBPress prior to the import, I assume this would rectify this area correct?
#2 This is definitely not good. I’m hoping someone knows a trick around this.
#3 Same as above.Topic: user redirection issue
My domain is:
forum.mydomain.comI have set an static page as Front Page Displays with following short-codes:
Some Welcome text….
[bbp-forum-index]
[bbp-topic-index]Also I have set an URL to restrict users to redirect if they are not logged in (Under plugin: bbP Members Only).
Now I am facing following issue:
1. If someone visits forum.mydomain.com first time by entering the URL: forum.mydomain.com, yet they are not redirected to page specified under plugin bbP Members Only
Infect they get following info:Some Welcome text….
You do not have permission to view this.
You do not have permission to view this.So they should have redirected to page specified under plugin bbP Members Only. Although if I click on sidebar forums list then they are redirected.
This can be solved out by:
Either redirect to page specified.
Or, this text “You do not have permission to view this.” must display only once.Please help guys to fix me.
Thanks.
What’s the best way to go about adding a custom page under the bbPress directory (/forums)?
I’ve created a new page in WordPress that uses bbPress shortcodes. I’d like the URL to remain under ‘/forums’ like ‘/forums/new-page’. WordPress automatically converts the directory to /forumsnew-page (due to a conflict with bbPress using /forums)
Any help would be greatly appreciated!
bbPress forums play an important part in an outdoor recreation club site I administer. Members make heavy use of notification emails to be informed of changes in scheduled events.
Html entities in notification emails annoy the members. The members are non-technical. They don’t understand why characters such as & ‘ and – are replaced with strange codes in email.
The fix is trivial, apply html_entity_decode() to the subject and message body before sending. I don’t see any security risk in this. (Someone please let me know if there is a risk; I’m using this fix on the site.)
Can this be added to bbPress?