Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 11,126 through 11,150 (of 32,504 total)
  • Author
    Search Results
  • #149861

    In reply to: Full Width Forum Help

    watstyl08
    Participant

    @robin W @aussiestar14

    The proposed code changes didn’t work, so I was forced to go back to the three column approach.

    I still really want to move to full-width, but so far no solution has worked.

    #149860
    kopperwoman
    Participant

    I’m having a similar problem to dustinarmstrong. But its not exactly the same.

    I’m trying to fix a broken forum set up for a client. I did not do the forum installation (he did it himself) AND the forum is installed on a live site that gets lots of web traffic so I don’t want to do anything that might impact the website overall.

    Here’s my situation:
    1) BBPress was installed (I don’t have details about when and how),
    2) a page was created with the [bbp-forum-index] shortcode on it
    3) the forum didn’t work, so my client contacted me to fix it
    4) I went into settings > forums and changed the forum root slug from the default “forum” to “travel-forums” (the name of the page where the shortcode lives. The error message “Possible bbPress conflict: Forum slug” showed up next to the slug field after saving the settings.
    5) I also changed the single forum slug from the default “forum” to “travel-forums”. The error message “Possible bbPress conflict: Forums base” showed up next to the slug field after saving.

    In my case, the forum page DOES show up at http://foobar.com/travel-forums but it is empty except for the welcome text that I had entered into the forum main window. (So it just says “Welcome to our forum” without any of the discussion topics showing up.

    Also, I have the “Recent Topics” widget enabled on my sidebar and my three test discussion topics DO show up there. When I click on any of them they take me to the correct URL but the pages are blank. So, for example, when I click on “test topic” in the widget I land on http://foobar.com/travel-forums/topic/test-topic/ and the page displays the topic header “Test topic” and the topic question “what do you think about travel?” but it doesn’t display any of the posts.

    I’m not sure if this behavior is related to the slug conflict error messages or if something else is wrong.

    I’m trying to follow the advice that Stephen Edgar gave.

    First up, I think this is probably true in my case:

    most likely you have something else either titled or using the slug discuss and this includes any items in trash as even though they are in the trash they still reserve that slug and it is not released until the item is removed from the trash.

    This is probably a stupid question but How do I empty the trash to make sure that the old slug is removed?

    Second, I’d like to try this:

    To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.

    but since my website is live and has been for a long time (and has lots of blog posts using the custom structure already) I’m concerned that this could permanently break the existing links. Any thoughts on this?

    #149858
    cybarmitzvah
    Participant

    #2 I have noticed a new problem on the forum, astronomertalk.com,

    you need to join to see it, but I changed the submit button,

    using this code:

    #bbpress-forums .submit {
    background-color: #000073;
    color: #FFFFFF;
    float: center;
    vertical-align: middle;
    border-radius: 2px;
    height: 35px;
    width: 80px;
    font-size: 18px;
    }

    but it also influenced the update profile button which now looks screwed up…

    You need to join to see it, but it looks bad.

    Does anyone know a fix?

    Best,
    JB

    #149851
    MilliR
    Participant

    I am using forums.php as my custom template to modify bbpress. I copied content of archive-forum into it and modified it a bit. Thing is, the forum lists shows up as expected. But no topic or list of topics is shown on following the links. This is all I get.

    Oh bother! No forums were found here!

    Using the default page.php gives no problem.

    Here’s the code for forums.php

    <?php
    
    /**
     * bbPress - Forum Archive
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    get_header(); ?>
    <div id="main-content">
    	<div id="millir-header-feat">
    		<div class="container">
    			<h1 class="entry-title"><?php bbp_forum_archive_title(); ?></h1>
    		</div>
    	</div>
    	<div class="container">
    	<div id="content-area" class="clearfix">
    		<div id="left-area">
    			<?php do_action( 'bbp_before_main_content' ); ?>
    
    			<?php do_action( 'bbp_template_notices' ); ?>
    
    			<div id="forum-front" class="bbp-forum-front">				
    				<div class="entry-content">
    
    					<?php bbp_get_template_part( 'content', 'archive-forum' ); ?>
    
    				</div>
    			</div><!-- #forum-front -->
    
    			<?php do_action( 'bbp_after_main_content' ); ?>
    		</div>
    		<?php get_sidebar(); ?>
    	</div>
    	</div>	
    </div>
    <?php get_footer(); ?>
    #149841
    Stephen Edgar
    Keymaster

    Can I bring with me the anonymous posts from deleted and anonymous users?

    I have just added support for this to a handful of bbPress’ importers, I hope to finalize some bits for compatibility with all of bbPress importers by the end of the week and release the code for people to test out. 🙂

    Importing Avatars

    This is kind of a complex issue because of PHP timeouts, if we can’t find an avatar via ftp/http how long do we wait, what if the remote avatar no longer exists.


    @cybmeta
    Has written a Joomla Kunena Forum Attachments converter for the GD bbPress Attachments plugin.

    I’d like to play around one day when I have some time up my sleeve to base an avatar and attachment importer that we could use as a separate plugin to import these into WordPress media library for use with bbPress.

    https://github.com/CybMeta/kunena-attachments-to-bbpress

    Kunena converter for bbPress 2.4

    Kunena converter for bbPress 2.4

    #149840
    Nicolas Korobochkin
    Participant

    In file bbpress.php I find this code:

    // Topic-View Pagination|Feed|View
    add_rewrite_rule( $view_slug . $paged_rule, 'index.php?' . $view_id . '=$matches[1]&' . $paged_id . '=$matches[2]', $priority );
    
    add_rewrite_rule( $view_slug . $feed_rule,  'index.php?' . $view_id . '=$matches[1]&' . $feed_id  . '=$matches[2]', $priority );
    
    add_rewrite_rule( $view_slug . $root_rule,  'index.php?' . $view_id . '=$matches[1]',                               $priority );

    What is it? What is feed? /forums/view/feed not open.

    #149838
    Stephen Edgar
    Keymaster

    Yes, all of what you state above will be a factor and it simply comes down to resource management, allocate a ton of RAM for MySQL, put each database on separate hard disk drives, make these SSD’s if you can, if you have some serious RAM available put the MySQL databases into a RAM drive (only marginally quicker than SSD).

    I also set the MySQL delay between rows to 0.1.

    Another suggestion is to not worry so much about getting ‘everything’ imported, make a copy of your database and trim it down to 1,000 topics and 5,000 replies (Along with forums, categories, users etc) and verify all the data and get your custom importer working 100% and then do your full imoport. Waiting 24 hours for 3 million posts to be imported then finding out everything is mis matched tends not to bring much joy 😉

    #149837
    Stephen Edgar
    Keymaster

    We are not supporting importing form a remote database at this stage, theoritically it shouldn’t be that difficult with the correct access in place, but not at this stage.

    It should work fine if you have a copy of your database locally though, most likely this is you didn’t select phpBB from the dropdown menu on the import screen.

    Robin: I had a horrid week last week and am still catching up, read through 1/2 of bbPress.org this arvo and I will write a heap of replies tomorrow 😉

    #149833
    Stephen Edgar
    Keymaster

    There are some details on what and why different status’ are reported depending on if the result is due to “Comment Moderation” or “Comment Blacklist” here:

    Moderation and BlackListing

    Depending on time, improved support for this may land in bbPress 2.6.

    #149828
    nolimit966
    Participant

    I’ve figured it out the problem now, the URL is removing the space from in between the first name and surname so instead of being:

    http://MYURL.co.uk/forums/users/Stephen%20Wright/

    Its becoming:

    http://MYURL.co.uk/forums/users/StephenWright/

    Im not sure how to fix it though, ive had a look at the function its calling in the loop-single-forum.php file & it seems to be:

    <?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?>

    #149825
    Kris35
    Participant

    Sktrader, thanks for posting your site. I had a coder set everything up for me a few months ago and I remember the BBPress register/login area looked really naff. Maybe he wasnt such a good coder? We decided to use User Pro, but I didnt like it in the end. We had a User Pro PM plugin and I just remember having so many problems with everything, I took it down in the end and members joined my closed FB group. Am going to look into this more. Not sure what happened with mine but yours looks professional and smart. Thanks a bunch for this.

    #149817

    In reply to: Full Width Forum Help

    Robin W
    Moderator

    ok, you are using the oxygen theme as well?


    @watstyl08
    never came back and said that the code worked, and is now using a three column forum, so don’t know.

    Ok, I’d go back to the original fix, that is copy the oxygen full width template as @watstyl08 did in their very first post, and then take out the three lines as I suggested.

    Once you have done that, come back, and I’ll look at your website.

    #149815
    ttmt
    Participant

    Hi all

    I have bbPress installed and everything is working fine.

    I would like to use wordpress’s moderation tools.

    This post states that bbPress uses the same moderation tools as WordPress.

    Moderation and BlackListing

    I have entered test words in the moderation text box:

    Dashboard > Settings > Discussion > Comment Moderation

    If I use these words in a post nothing happens and the post is added to the forum.

    I’m logged in as admin and the words are used in the post not comments.

    Does the user effect the moderation?

    Is the moderation only on comments?

    #149814
    Robin W
    Moderator

    @robkk – yes just saw the other thread. Let us know what the resultant code looks like 🙂

    #149813

    In reply to: Full Width Forum Help

    aussiestar14
    Participant

    Hey,
    I am having the same problems with my oxygen theme as mentioned above!!
    I created a forum page with shortcode and choosed there the fullwith template.
    This works great:
    http://www.curlyhorse.info/forum

    • I’ve copied my “page-template-fullwidth.php”
    • renamed it as “bbpress.php”
    • installed bbPress WP Tweaks
    • tried the code for the bbpress.php of Robin W (above)

    But the whole forum doesn’t work now anymore with the new code, if you click on a forumpage like “dies-und-das

    Can anyone help??
    Thanks a lot!!!!

    #149810
    cybarmitzvah
    Participant

    I have noticed a new problem on the forum, astronomertalk.com,

    you need to join to see it, but I changed the submit button,

    using this code:

    #bbpress-forums .submit {
    background-color: #000073;
    color: #FFFFFF;
    float: center;
    vertical-align: middle;
    border-radius: 2px;
    height: 35px;
    width: 80px;
    font-size: 18px;
    }

    but it also influenced the update profile button which now looks screwed up…

    You need to join to see it, but it looks bad.

    Does anyone know a fix.

    Thank You,
    JB

    #149808
    Robkk
    Moderator

    turns out there is this theme that has this function working

    check out https://wordpress.org/themes/wp-knowledge-base

    put it on a test site and see that i has what i need in that theme

    now all i need is to scrape that code out and i think wrap it in an if user is logged in function and thats it

    after that this topic should be done.

    Robkk
    Moderator

    <a href="http://yoursitename.com/new-topic/">New Topic</a>

    this should work after you have done everything in

    New Topic Button at top of topic, and Topic Creation on Separate Page

    MarximusMG
    Participant

    Thank you, but what would the actual line of code that should be entered there look like? Again, I apologize for the basic question, and I truly appreciate your help! 🙂

    #149796
    Robkk
    Moderator
    .content, #right-sidebar {
    padding-top: 0 !important;
    }

    this should do it , you shouldnt make everything at the top super cozy though.

    #149794
    Robkk
    Moderator

    Now i am think what the point of having this forum because Mostly Webmaster talks about code and customization and i have limited knowledge regarding that. i think i should abort this forum.

    sorry about that,

    but how did you get the actions button on each post if you didnt know much about code?
    like how did you get a quote link in there??

    MarximusMG
    Participant

    Thank you SO much robkk.

    At the risk of sounding like a complete newbie (which I definitely am), I’m getting stuck at placing the link in loop-forums.php. What would that line of code look like, using the sample New Topic URL?

    #149791
    Robkk
    Moderator

    for sidebar, also replace that .content code with 5px padding top with this

    .content, #right-sidebar {
    padding-top: 0 !important;
    }

    and

    #right-sidebar {
    float: right;
    width: 28%;
    padding: 0 0% 0%;
    }
    #149789
    sktrader
    Participant

    I whole idea of having this forum is having a common place where admin of bbpress forum can chit chat about managing the forum. i appreciate that you guys have provide genuine feedback. Now i am think what the point of having this forum because Mostly Webmaster talks about code and customization and i have limited knowledge regarding that. i think i should abort this forum.

    #149788
    Robkk
    Moderator

    @cybarmitzvah

    well you shouldnt use that code.

    especially this

    #post-entry article.post-single .post-content {
    font-size: 1.25em;
    margin-top: -85px;
    padding-top: 0px;
    line-height: 2.00em;
    }

    because if you go to your about page, there is text colliding with each other
    and never go negative.

Viewing 25 results - 11,126 through 11,150 (of 32,504 total)
Skip to toolbar