Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,026 through 17,050 (of 32,501 total)
  • Author
    Search Results
  • @ChrisClayton
    Participant

    One of the worst things about a major update like this, is that we lose alot of great plugins – But, it’s better finding out now that their not actively updating it anymore than use it for a while and find out one day that everything’s broken :)

    what type of html did you want your users posting?

    Post toolbar allows alot of great functionality – https://wordpress.org/extend/plugins/bbpress-post-toolbar/

    It seems to do the same thing as ‘easy video embed’ by allowing users to post videos using a ‘[video]‘ or ‘[youtube]’ shortcode.

    Also, because bbpress is now using WordPress post-types. you could also easily create other shortcodes to achieve what you want.

    https://codex.wordpress.org/Shortcode_API

    Instead of letting users do img src and giving them complete control over the output of the image, you can allow them to do ‘[image]cat.img[/image]’ to achieve the same affect in an easier way, as an example.

    I do honestly think that using shortcodes (search the wordpress extend, theirs alot of shortcode plugins) would be a better option as it allows you to control it’s use properly, as i’m sure you know, some humans enjoy causing trouble – and their are afew html codes that can causing a hellish experience for your users if it gets into the hands of the wrong user.

    It’s one of the reasons wordpress.com doesn’t allow some html codes :)

    benfrain
    Member
    benfrain
    Member

    Correct. There can’t be any hard coded links anywhere, because all themes are different and will want them in different locations with different URLs. You can use the Login Widget that’s included to get you some of the way there, but even with widgets/shortcodes/templates it won’t satisfy everyone.

    Correct. There can’t be any hard coded links anywhere, because all themes are different and will want them in different locations with different URLs. You can use the Login Widget that’s included to get you some of the way there, but even with widgets/shortcodes/templates it won’t satisfy everyone.

    Create pages, use Shortcodes or Page Templates.

    Create pages, use Shortcodes or Page Templates.

    @ChrisClayton
    Participant

    Hi Philv.

    The plugin has not been upgraded for BBpress 2.0+

    To use that plugin you will need to download the stand-alone version or bribe the plugin developer into updating it

    or; finding a new plugin that is compatible for 2.0+. :)

    Hope that helps.

    #109736
    will_c
    Participant

    I was having the same issue and found some information here: https://codex.wordpress.org/AJAX_in_Plugins.

    I’m using BuddyPress, so I added the following to my functions.php file. If you are using regular WordPress I believe you’d need to substitute site_url(‘wp-load.php’) with admin_url(‘admin-ajax.php’):

    function ajaxurl_fix () {
    ?>
    <script> var ajaxurl = '<?php echo site_url('wp-load.php'); ?>';</script>
    <?php
    }
    add_action( 'get_header', 'ajaxurl_fix');

    Edit: I changed the action hook from init to get_header because I was experiencing problems logging in.

    #110920
    kahuitel
    Member

    Hi and thanks for your answer.

    As you suggested, I’ve been in settings / permalinks, then I saved, but I still have the problem. Did I understand well your suggestion ?

    Thanks for your precious help =)

    #110877
    drewdavid
    Participant

    Hi again,

    Just wondering if I could get a hand here from someone in the know. :)

    Best Regards,

    Drew

    Stephen Edgar
    Keymaster

    bbConverter FAQ/Known Issues 1.3 phpbb – bbpress

    – Post URL’s (**From post above this post)

    The URL’s from phpbb I thought were not getting migrated correctly when in fact they are, it is just that phpbb in its table lists the URL’s rather oddly. When looking at URL’s in the raw tables of phpbb they are in the following format:

    <!-- m --><a class="postlink" href="http://example.com">http://example.com<!-- m --></a>

    Need to strip the <!– m –> & ‘ class=”postlink”‘ before conversion either with bbconverter or firstly converting the links in phpbb before conversion

    – Poster IP Address is not migrated.

    see this post.

    – Images and Attachments (and smilies) are not migrated.

    see this post.

    – Existing Users

    If a username already exists in wp_users the imported user will be named imported_username eg. If ‘john’ already exists will import as ‘imported_john’

    – User Post Counts are not imported

    When viewing /wp-admin/users.php each user post count is ‘0’

    Ideally adding support to bbPress Core /wp-admin/tools.php?page=bbp-recount would fix that.

    (I couldn’t find where WP/BBP is keeping the total post count for a user though it is stored in phpbb_users user_posts)

    – Ophaned/Deleted User Posts:

    If the user has been deleted from phpbb when bbConverter runs these posts will be imported into bbPress as userid ‘1’ (i.e. ‘Admin’)

    – Time Zone

    Ensure you have your WP install is set to the same Time Zone as phpbb to get correct post times

    – User Profile data AIM & YahooIM fields are migrated by Jabber is not

    add the following code for ‘jabber’ to ‘/** User Section **********’ of phpbb.php script below aim/yim

    <br />
    // User jabber.<br />
    $this->field_map[] = array(<br />
    'from_tablename' => 'users', 'from_fieldname' => 'user_jabber',<br />
    'to_type' => 'user', 'to_fieldname' => 'jabber'<br />
    );<br />

    – ‘Quotes’

    I haven’t fully looked into how quote behavior works just yet, needless to say a workaround of sorts needs to be found for this.

    – Additional User Profile fields

    Ideally would like to import phpbb_users user_from (phpbb User Localtion) field to wp_usermeta description (Thus eg. Melbourne, Australia is added to the WP user BIO). Unless of course there is a funky way to import ‘User Location'(user_from), ‘Signatures'(user_sig), ‘occupation'(user_occ) & ‘interests'(user_interests) all together into WP Bio?

    – User Stuff not migrated (No big deal IMHO)

    User Subscribed Post, Favorite, Bookmarks, Private Messages, Rank

    (I dont see much of that as a very big issue in my case, users can just start this stuff from scratch)

    And that’s about all I have for now… Any ideas or other workarounds would all be well received and again thanks guys for this plugin and hope that now phpbb is there I can help contribute something back.

    Cheers,

    Stephen

    #41169
    eternal noob
    Participant

    I want to be able to make a forum for every blog post and use it in staed of the blog commenting system which is weirdly lacking for a blog-software system.

    There is a plugin that automatically makes a topic in a specific forum – but I need it to make a new forum.

    Of course I can alwaysuse a shortcode and make a new forum and include it in the blog post. But perhaps there is an automatized way, easier way.

    Why and what is the benefit of this ? Comments tend to be very unfocused and not very constructive. If you have to make a specific topic you have to focus and be more reflected when writing …

    Also I believe that John James Jacoby has thought about this ….

    Anyone who could and would do this ?

    Thanks, Jacob

    Aechus Tea
    Participant

    Is there a schematic for the bbpress forum/post/userlog/etc databases? I have a custom forum with a lot of posts that I’d like to import into bbpress but I’m going to be doing it myself. Is the code in your importer script clear enough so that I could do something?

    It would be cool if there was a simple universal xml file one could create with all the data for bbpress and import it that way.

    Thanks.

    ebiznet88
    Member

    Woohoo! Thank you, Adam! I’m going to now convert my phpBB3 forum to bbpress2.

    I’ll report back on how it went.

    Thanks again, Adam :)

    #110876
    drewdavid
    Participant

    Hi *Bump*

    Is my post lacking some information? If anyone could help out it would be much appreciated. The ‘forum participant’ user role doesn’t seem to be able to see my main forum page; it still reacts as though I am not logged in.

    Thanks so much for your help. :)

    Drew

    #100044
    Gautam Gupta
    Participant

    Rastarr, you may try converting your WordPress blog into bbPress standalone forums via http://code.google.com/p/wordpress-to-bbpress-converter/ and then use the bbPress plugin importer to import from the bbPress standalone. Please have a backup, cheers! :)

    Something in your theme’s CSS is coded for comment replies and bbPress is picking it up. This has happened to a few others, and I’ll be tweaking the default theme to prevent this in 2.1.

    #41132
    SportinSS
    Member

    I have the Chameleon theme from ElegentThemes. And i am trying to find out what to do to make bbpress work. I have it installed and works great on my mobile device. So i know it’s something to do with the theme i have. But i’m not sure where to start to make it work. This is really all i need so if there is a better way of doing it I am all ears! This site is for a small staffing company (365worx.com). They post a lot of things on Craigs List. But, they want to start posting things on there site. They don’t do a lot of it. So i don’t need anything special like phpBB. But i have thought about it and just don’t care for it much. Since i am so new to this it’s a little frustrating lol. Anyway, they will only post things to one forum, and no one will reply to it. it’s just to let people know it’s there.

    Thank you all for your help! Sorry if it’s a dumb question! =)

    MishaOLS
    Member

    Hello Adam, well, to be honest, I don’t remember, I have done the first conversion like two months ago. Now I have just used the tables from the database. But it should be the standalone version 1.1. And yes, I do have the bbconverter_translator table. Do you want me to send you my tables? ;) thank you very much for your work and time!

    #41130
    aravoth2011
    Participant

    Hi everyone. I’ve been trying to display posts from the forum on a static home page so that it gives the appearance of a blog. Basically, I’m using the tewntyeleven theme and I’m using the showcase.php template to display the forum entries.

    you can see what I’m going for here.. http://test.objectsinmotion.org

    So far, I’ve managed to modify it so that super stickies are put in the featured slideshow. The forum posts are displayed properly, and I’ve managed to pull the topic tags. One of the things I’ve been having a lot of trouble with is displaying the forum a topic is posted in as a category. Normally there is a line of text below the topic excerpt that says, “posted in (category name)” . But it seems that nothing I have tried so far is working. In fact, whenever I try to call the forum title, is displays the topic title instead.

    I’m not a programmer, and I know next to nothing about php, I’ve been doing a lot of reading, and trying to learn as much as I can, but I’m just running into a brick wall here. Any help anyone could offer would be much appreciated.

    Showcase.php uses content.php to display all that meta data. right now it looks like this..

    <?php
    /**
    * The default template for displaying content
    *
    * @package WordPress
    * @subpackage Twenty_Eleven
    * @since Twenty Eleven 1.0
    */
    ?>

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <header class="entry-header">
    <?php if ( is_sticky() ) : ?>
    <hgroup>
    <h2 class="entry-title"><a>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    <h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
    </hgroup>
    <?php else : ?>
    <h1 class="entry-title"><a>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    <?php endif; ?>

    <?php if ( 'topic' == get_post_type() ) : ?>
    <div class="entry-meta">
    <?php twentyeleven_posted_on(); ?>
    </div><!-- .entry-meta -->
    <?php endif; ?>

    <?php if ( comments_open() && ! post_password_required() ) : ?>
    <div class="comments-link">
    <?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
    </div>
    <?php endif; ?>
    </header><!-- .entry-header -->

    <?php if ( is_search() ) : // Only display Excerpts for Search ?>
    <div class="entry-summary">
    <?php the_excerpt(); ?>
    </div><!-- .entry-summary -->
    <?php else : ?>
    <div class="entry-content">
    <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
    <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    </div><!-- .entry-content -->
    <?php endif; ?>

    <footer class="entry-meta">
    <?php $show_sep = false; ?>
    <?php if ( 'topic' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
    <?php
    /* translators: used between list items, there is a space after the comma */
    $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
    if ( $categories_list ):
    ?>
    <span class="cat-links">
    <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
    $show_sep = true; ?>
    </span>
    <?php endif; // End if categories ?>
    <?php
    /* translators: used between list items, there is a space after the comma */
    $topic_tags = bbp_get_topic_tag_list( '', __( ', ', 'twentyeleven' ) );
    if ( $topic_tags ):
    if ( $show_sep ) : ?>
    <span class="sep"> | </span>
    <?php endif; // End if $show_sep ?>
    <span class="tag-links">
    <?php printf( __( '<span class="%1$s">Tagged</span> %2$s ', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $topic_tags );
    $show_sep = true; ?>
    </span>
    <?php endif; // End if $topic_tags ?>
    <?php endif; // End if 'topic' == get_post_type() ?>

    <?php if ( comments_open() ) : ?>
    <?php if ( $show_sep ) : ?>
    <span class="sep"> | </span>
    <?php endif; // End if $show_sep ?>
    <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
    <?php endif; // End if comments_open() ?>

    </footer><!-- #entry-meta -->
    </article><!-- #post-<?php the_ID(); ?> -->

    Other things on my to-do list include making the comments section show number of forum replies instead of number of wordpress comments, and changing the author link so that it goes to the bbpress profile of that user instead of a wordpress post archive.

    For now though, I’m hoping that someone out there can help me with the “category” issue. Anyone have any ideas?

    MishaOLS
    Member

    Hello Adam, congratulations to you wedding! I really appreciate that you work in the converter even thought you have so much other stuff to do! Wow!

    I have upgraded the converter just now and tried twice to convert the standalone bbpress 1.0 forum. But I had a problem – all the posts were converted as topics instead of posts :(. Do you have any clue why is that and how can I fix it? I had no such problem with the previous version of bbconverter (there I had the problem with the duplicate first post/reply on topics).

    Regarding the wp_users, I just tried to delete the e-mail addresses in the database and convert the users without the e-mail address. I hope that in this way the authors of the posts will be shown but at the same time my users might register again to my new site using their e-mail address. Hope it will work…:) thank you very much for your help! All the best from Misha

    #100466
    ice9web
    Member

    hi @Mark Barnes i tried your codes, saved to file and upload it on plugin folder then activated it..

    after activation i am looking for the import button or something like that … i can’t find it… can you please help me where to find it?

    thank you

    #105566
    ice9web
    Member

    hi @Mark Barnes i tried your codes, saved to file and upload it on plugin folder then activated it..

    after activation i am looking for the import button or something like that … i can’t find it… can you please help me where to find it?

    thank you

    AWJunkies
    Member

    Hey Justin the IP stuff is old I tested _bbp_author_ip which is the meta for storing for bbpress. But it doesn’t work. That code you see is error on my part for got to push that edit live but it is tested on my end. So I need to look into it further.

    Also make sure to run all the bbpress counters. After the conversion is done it has a link to do so. If you do not do so it will not link up all the forums/topics/posts you are saying is an issue with assigning. So make sure to run counters and should have 0 issues.

Viewing 25 results - 17,026 through 17,050 (of 32,501 total)
Skip to toolbar