Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,026 through 13,050 (of 32,503 total)
  • Author
    Search Results
  • #140773
    e-motion
    Participant

    OK, so here is what I get when upgrading database to v1.2:

    The upgrade process seems to have failed. Check the upgrade messages below for more information.
    Attempting to go to the admin area without resolving the listed errors will return you to this upgrade page.
    Beginning upgrade…
    >>> Modifying database: circuit_circuit (localhost)
    >>>>>> Table: bb_forums
    >>>>>>>>> Dropping index: PRIMARY
    >>>>>>>>>>>> SQL ERROR! See the error log for more detail
    >>>>>>>>> Adding index: PRIMARY
    >>>>>>>>>>>> SQL ERROR! See the error log for more detail
    >>>>>>>>> Dropping index: forum_slug
    >>>>>>>>>>>> Done
    >>>>>>>>> Adding index: forum_slug
    >>>>>>>>>>>> Done
    ...
    SQL ERROR!
    >>> Database: circuit_circuit (localhost)
    >>>>>> ALTER TABLE <code>bb_forums</code> DROP PRIMARY KEY;
    >>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key

    (same for each table)

    Something wrong with my sql import?

    If I click Retry, I get this:

    Nothing to upgrade. Get back to work!

    And admin page loads as usual.

    #140770
    e-motion
    Participant

    Forum is quite small, around 5’000 posts.

    I am trying to reproduce those errors for some time now, but only now I was able to get an error. It’s like something is wrong with my system, as it is too random…
    I have lowered post data limit to 128M instead of 1G (it was so high to allow large sql dump upload).
    The error is:

    Repair any missing information: Continue
    
    WordPress database error: [Unknown column 'forums.fid' in 'field list']
    SELECT convert(forums.fid USING "utf8") AS fid,convert(forums.par_board_id USING "utf8") AS par_board_id,convert(forums.ntopic USING "utf8") AS ntopic,convert(forums.nposts USING "utf8") AS nposts,convert(forums.fname USING "utf8") AS fname,convert(forums.description USING "utf8") AS description,convert(forums.forum_order USING "utf8") AS forum_order,convert(forums.status USING "utf8") AS status FROM bb_forums AS forums LIMIT 0, 100
    No forums to convert
    Starting Conversion
    #140769
    Stephen Edgar
    Keymaster

    Try running the repair tool ‘Remap existing users to default forum roles’
    https://codex.bbpress.org/repair-forums/

    #140766
    netfux
    Participant

    Thank’s Thank’s Thank’s! You did it… I put the following code in custom theme css:

    #bbp-forum-709 .bbp-forum-topic-count,
    #bbp-forum-709 .bbp-forum-reply-count,
    #bbp-forum-709 p.bbp-topic-meta {
    display: none;
    }
    #bbp-forum-1085 .bbp-forum-topic-count,
    #bbp-forum-1085 .bbp-forum-reply-count,
    #bbp-forum-1085 p.bbp-topic-meta {
    display: none;
    }

    #bbp-forum-700 .bbp-forum-topic-count,
    #bbp-forum-700 .bbp-forum-reply-count,
    #bbp-forum-700 p.bbp-topic-meta {
    display: none;
    }
    #bbp-forum-702 .bbp-forum-topic-count,
    #bbp-forum-702 .bbp-forum-reply-count,
    #bbp-forum-702 p.bbp-topic-meta {
    display: none;
    }
    #bbp-forum-1032 .bbp-forum-topic-count,
    #bbp-forum-1032 .bbp-forum-reply-count,
    #bbp-forum-1032 p.bbp-topic-meta {
    display: none;
    }
    #bbp-forum-1045 .bbp-forum-topic-count,
    #bbp-forum-1045 .bbp-forum-reply-count,
    #bbp-forum-1045 p.bbp-topic-meta {
    display: none;
    }
    ———

    I guess there is a cleaner way to put it, but now it’s working. I also needed the thumbnail and info above dissapear so I found the p.bbp-topic-meta code was it…

    The only thing that I need now is to know how can I center those forum titles at the center of the page, also center the height between lines…

    Thank’s

    #140757
    Robin W
    Moderator

    If you want to put some rules at the top of your main forum display page, then create a normal wordpress page, type your rules in the content and then at the end put

    [bbp-forum-index]

    Put that page in your menu, and it will show the rules before showing the forum list

    #140756
    Stephen Edgar
    Keymaster

    Try the ‘Remap existing users to default forum roles’ repair tool

    https://codex.bbpress.org/repair-forums/

    Also try resaving your permalink structure.

    #140751
    Stephen Edgar
    Keymaster

    One other thing I can’t ever get to work is “Purge all information from a previously attempted import”. I’ve let it run for over 48 hours in the past, and it was “Deleting previously converted data” with a number up into the tens of millions before I gave up on the process, and never actually starts converting. Has anyone else experienced similar issues?

    This is a known issue as we have two different caching methods we use, and in particular if one is used and not the other this goes on forever, hopefully I will have a fix in the near future for this, as a workaround do as you have and just ‘reset’ bbPress.

    It is odd that it stalls, stopis etc at a different point during the reply imports, typicaly it stops because of some mysterious reason on the same reply (or topic) and it appears to be some ‘malformed’ content in that particular post (I can’t prove this though and is not specific to SimplePress) 😉

    When it stalls if you click ‘Stop’ then bump the value of _bbp_converter_start by one, then click ‘Start’ again it should continue on from where it left off skipping that troublesome reply.

    (A side issue can be you actually get logged out of WordPress so it also pays to open/refresh another admin page to ensure you are still logged in)

    #140749
    Stephen Edgar
    Keymaster

    Basically your users shouldn’t be logging into to backend in the first place, thus they should never see that to be even tempted.

    You can add a login widget to a sidebar or create a page with a shortcode, up to you which way depending on how you want your site to look etc.

    https://codex.bbpress.org/widgets/ https://codex.bbpress.org/shortcodes/

    #140746
    Stephen Edgar
    Keymaster

    Would I be better with a ‘site-wide’ forum rather than the private All Residents group?

    I think this is now sorted based on your reply.

    Can I make a site-wide forum private?

    Same this is now sorted.

    How do I modify the formatting of the forum postings?

    If you want custom templates then follow the steps outlined here to make copies of the templates in your theme so they don’t get overridden when you update bbPress.

    https://codex.bbpress.org/theme-compatibility/

    Where do I look to troubleshoot the ‘threading’ function?

    You state you are using ‘bbPress 2.2’, threaded replies were introduced in bbPress 2.4 so you should upgrade to the latest bbPress 2.5.2. You can then enable them in bbPress settings per https://codex.bbpress.org/forum-settings/#forum-features

    #140743
    Stephen Edgar
    Keymaster

    So far no go. Only my admin user can click on these.

    This is correct and is by design, users should only be using the ‘front end’ user interface and not the ‘back end’

    Also check the codex docs here to help you on your way 🙂

    Codex

    #140742
    Stephen Edgar
    Keymaster

    Maybe try making a copy of your themes page.php or page-no-sidebar.php or page-sidebar.php depending on the type of template you want your forums to display with and rename the file to bbpress.php in the root of your themes folder.

    #140740
    Stephen Edgar
    Keymaster

    If you want widgets above your topic list you will need a theme that supports putting a sidebar at the top of your page, otherwise will one of the shortcodes work?

    #140738

    In reply to: Text Area not Visible

    Stephen Edgar
    Keymaster

    You can make a copy of bbPress’ templates and put theme in a subfolder bbpress in your theme and edit the templates to any style you wish 😉

    https://codex.bbpress.org/theme-compatibility/

    #140736

    In reply to: Forum Icons ?

    Stephen Edgar
    Keymaster

    That example I used was using the Glyphicons Font

    Probably taking a look at this will give you a rundown on what you can use in CSS with before, after & content

    CSS Content

    #140730

    In reply to: Modify "New Post" Form

    Stephen Edgar
    Keymaster

    You could add some custom code with a filter before and after the tags section and apply some custom CSS rules using:

    bbp_theme_before_topic_form_tags & bbp_theme_after_topic_form_tags

    Or make a copy of form-topic.php in your themes /bbpress folder and edit the template to exactly how you would like it.

    https://codex.bbpress.org/theme-compatibility/

    Stephen Edgar
    Keymaster

    I am pretty sure it is a theme issue your having in that it is not playing nice with bbPress for some reason.

    You could try adding a template wrapper for bbPress.

    Make a copy of your page.php or page-sidebar.php theme template file and rename it to bbpress.php in the root folder of your theme.

    Have you looked to see if there are any resources on your themes support site for using bbPress?

    #140724

    In reply to: Modify "New Post" Form

    Stephen Edgar
    Keymaster

    bbPress might not have many settings but it does have this one 😉

    https://codex.bbpress.org/forum-settings/#forum-features

    Topic Tags
    This will disable topic tags site wide and will no longer show topic tags associated with each topic or the topic tag input form.

    #140723
    Stephen Edgar
    Keymaster

    The ‘User Role Editor’ will not fix this issue, it has nothing to do with bbPress and will probably hinder your troubleshoot rather than helping.

    Have you tried running the ‘Remap existing users to default forum roles’ repair tool?
    https://codex.bbpress.org/repair-forums/

    #140722

    In reply to: BBpress Widget

    Stephen Edgar
    Keymaster

    As per https://codex.bbpress.org/widgets/

    You can set the forum/category ID in the widget but only a single ID at this stage.

    (bbPress) Forums List – A list of forums with an option to set the parent.

    Options:
    Title: Here you can set the title of the widget as it will be displayed in the sidebar.
    Parent Forum ID: “0″ to show only root – “any” to show all

    #140713
    Stephen Edgar
    Keymaster

    Add some custom CSS to your theme:

    Eg. For the ‘Notícias’ forum

    #bbp-forum-709 .bbp-forum-topic-count, 
    #bbp-forum-709 .bbp-forum-reply-count {
    display: none;
    }

    Yes, that was spam, now deleted

    #140711
    BelleO
    Participant

    Hello everyone! Thanks in advance for your help,

    I cannot for the life of me figure out how to get my root forum page to show properly

    This is my site: http://www.ladiesbalance.com/forums/

    I have created a page title forum and inserted the code [bbp-forum-index],
    when i go the forum page, it works fine but in the breadcrumbs, the root page shows up incorrectly. I have tried changing the page name but that doesn’t work. Can someone help please! thanks

    #140710
    Stephen Edgar
    Keymaster

    But eventually I got rid of them all and the Topics display returned to normal.

    Still an odd issue but glad you have it sorted now. If you see this again a couple of screenshots would be great to try and work out what exactly is going on.

    I am not sure why Akismet didn’t get block them. Perhaps it can only respond to certain language texts?

    Akismet handles any spam irrespective of the language in use or being used for the spam.

    Is your Akismet API key up to date and valid? /wp-admin/plugins.php?page=akismet-key-config

    #140703
    Josh Zandman
    Participant

    I’ve got it!

    I copied the bbpress.php file to my child theme.
    Copy/pasted my full-width.php code into the beginning of the bbpress.php code and it works perfectly.

    Thanks!

    #140702
    e-motion
    Participant

    Hi.

    I am still running bbPress v1.0.3. I have not upgraded it since due to complexity and lack of time. I am now all full at it.

    I am running a copy of my site locally (on WAMP2) due to obvious reasons.
    I have tried as per <fontadoni> instructions to update to v1.2, which was successful. Now I am trying to import everything to newest bbPress plugin (v2.5.2) via included import tool. What I get is:

    Calculating forum hierarchy (0 - 99)
    Converting forums (0 - 99)
    Starting Conversion

    And it hangs there (on hierarchy calculation). When I check the forums, I can see that forum categories are there, but no subforums, no topics and no users present.
    I do reset and recalculate everything before importing. I have tried various checkbox combinations …
    I was running bbPress integration btw (common users between wp and bbPress v1.2).

    help…

    #140701

    Topic: Modify "New Post" Form

    in forum Themes
    RyanSSealey
    Participant

    Site: http://dubiousdata.net/forums/forum/news
    WP Version: 3.8
    bbPress Version: 2.5.2

    I would like to modify the new post form that displays below the current topics in a forum. I was trying to do it with only CSS, but I have run into a problem.

    I want to remove the “Topic Tags” field below the body area. I initially tried with the following CSS:

    label[for=bbp_topic_tags],
    input[id=bbp_topic_tags] {
    display: none;
    }

    This removed the form and label themselves, but there is a <p> </p> tag around these with no Class or other identifier, leaving a noticeable space.

    What is the best way to accomplish this or modify the form?

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