Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 12,326 through 12,350 (of 32,521 total)
  • Author
    Search Results
  • #144262

    In reply to: Shotcodes not working

    Robin W
    Moderator

    what shortcodes?
    what software versions of bbpress, buddypress and wordpress are you running?
    what theme?
    what plugins are you running?
    url of your site?
    when do you get 404 – logged in, not logged in?

    etc.

    We would love to help you, but give us a fighting chance of working out what is wrong by giving us some details 🙂

    Come back and we’ll do our best to hep you !

    #144250
    cliffrohde
    Participant

    I have a better than layman’s grasp of code, but not much better. Have read multiple threads. Is there an easy way to resolve the “Private: Private:” issue? I’d prefer there to be no “private” at all even though the forum is in fact private.

    #144247
    Robin W
    Moderator

    I imported from an access database (ditto conversion to sql) so know what you’re going through! see https://bbpress.org/forums/topic/documented-import-from-snitz-access-database/ for a blow by blow of how I did this and presume you’re already well into using custom importer https://codex.bbpress.org/import-forums/custom-import/

    Now given that you’re going to re-register users, then we only need the topics to be assigned to a user which exists, which then when they re-register you can set up properly.

    So for instance if you have a topic with the author name of “fred” – then you need a user fred to exist. This needs to be at ID level.

    So in essence you’ll need to import

    topic with author ID
    User with same ID

    Minimum info to create a user is (in theory – it may be less) ID, username, email and password.

    In my case they mapped from a snitz access forum (via sql) as follows

    MEMBER_ID _bbp_user_id
    M_NAME user_login
    M_PASSWORD _bbp_password
    M_EMAIL user_email

    So I would go about it this way.

    What we need to end up with is a topics/replies table that has a author ID (number) against each topic/reply.
    In a user table, we then need that same ID, together with name, password and email.

    So first I’d go back to my lotus notes and see if topics has an author ID. If not we’ll need to create one (we’ll do that in a minute).

    Then from the topics and replies lists create a set of autor names and (if it has them) ID’s

    Create a user table (in my case in excel, but presume you’re familiar with creating in lotus notes) with the following headings

    ID NAME PASSWORD EMAIL

    If your topics/replies doesn’t have user ID’s then you just need to populate this table with unique ones, I’m pretty sure that you can just start with 1 and increment them – wordpress will assign new ID numbers as they come across starting with the next number that wordpress is not using.

    For password, just put anything – and they can all be the same

    Emails must be unique in theory, but don’t need to exist so abc@def.com is fine (you’ll be fixing these as they register, so doesn’t matter). But as you’re importing directly into the database, I reckon you could get away with them all being a single fictitious one. But if you have the skills, I’d create them as increments eg abc1@def.com, abc2@def.com just in case

    so now you have a user table to import.

    If you topics and replies don’t have author ID’s, then now go back to the topics and replies tables and run macro to populate a new column using name against the user table you’ve just created to populate with id.

    Now we have topics with ID’s an da user table to import. Just check that column names match the importer, convert it all to sql, and off you go !

    #144246
    Juan
    Participant

    Finally I’ve written a small script to migrate kunena attachments to GD bbPress attachments. It is in a very early stage, any help are really wellcome. You must run the script as standalone and only after the kunena migration has been performend using the importer distributed with bbPress.

    Now I’d like to write a script to convert kunena BBCode into bbPress HTML because there are some bbcodes not converted.

    #144245
    yoshimitsu1234
    Participant

    I have added shortcodes to few pages on my site wit both bbpress and buddypress installed but i am getting 404 error on those pages. Is there any way to resolve this issue?

    #144240

    In reply to: Order of Topics

    RitaJoC
    Participant

    Thanks! I didn’t realize my question was answered. So, are you sure adding these codes won’t break the site? Thanks, again.

    #144235
    kvr28
    Participant

    well, looks like that stopped the errors, but it created another issue, every time you click on a different page in the forums, it just keeps reloading the most recent posts in that forum, it doesn’t happen in most recent topic page with shortcode, the pagination works fine there, any suggestions?

    #144233

    In reply to: Order of Topics

    batmanfan
    Participant

    @Stephen, newbie here. How and Where to add the above code please. Thank you so much.

    #144230
    Robin W
    Moderator

    This comes from your theme’s main style, in my case

    a:link { 
    color : #EEEEEE !important ; 
    }
    

    if you want to change this throughout your site, then drop this into your style.css (or amend the current setting)

    If you just want it in bbpress

    #bbpress-forums .bbp-author-name a:link { 
    color : #EEEEEE !important ; 
    }

    should work

    #144228
    Robin W
    Moderator

    No, nothing you can do, but I’ve just made an error in my plugin, and I think I have solved the problem above by chance !!

    The plugin will let you do this, but you’ll have to wait for the plugin though as it is still in dev – expect a week !

    I should be able to get content in as well with luck !

    Sorry can’t be sooner, but a lot of code to write properly now I know it works !

    and of course no guarantee that I won’t find some major flaw !

    #144223
    blessedtoes
    Participant

    It was there. I got one response which seemed – I’m not a coder, so I might have misunderstood – but seemed like my question was misunderstood, a redirect to a FB app developer page.

    It occurred to me to re-post over there but I don’t want to abuse the forum so decided to try here first. Thanks, Robin (and all).

    #144222
    adressler
    Participant

    I’m importing a large subscription forum from a custom-coded Lotus Notes / Domino database (*sigh*) which I converted to MySQL. The posts exported from Lotus include User’s first and last names, but no passwords, or email addresses. These old users won’t be able sign in, but their names should be displayed next to the posts they authored that were imported to the new WP site. I would like all users to re-register for the new site in order to post new topics, etc.

    So, is this even possible? Are email addresses/passwords required when importing Users based on the converter /plugins/bbpress/includes/admin/converters/Example.php? I’m really trying to avoid creating an Admin user named “Archived Author” to assign all 35,000 of these old topics/replies to.

    Thanks in advance.

    #144219
    Robin W
    Moderator

    ok, so that two posts I haven’t come back to you on !

    I had a dig, and this one is not a two minute answer, and I may not be able to solve it for you.

    However, I am working on a plugin for an entirely different use, but it is in the same code/function area, so as I am digging I try to see if I can work a fix for you.

    BUT, I may not within time available to me

    #144218
    Robin W
    Moderator

    do you mean no. 8 in the attached?

    bbPress Styling Crib

    #144214
    Robin W
    Moderator

    it means that someone has gained access to your site, and put some code into it.

    You really need to go through all of these to fully clean up the site and make sure any “backdoors” have been closed:
    https://wordpress.org/support/topic/268083#post-1065779

    How To Completely Clean Your Hacked WordPress Installation


    http://ottopress.com/2009/hacked-wordpress-backdoors/
    Additional Resources:
    http://sitecheck.sucuri.net/scanner/
    http://www.unmaskparasites.com/
    http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html

    or you can pay securi to fix it for you – see the link above !

    #144211
    virusek89
    Participant

    Hello @Robin Unfortunately, this code only changes the color of header
    and I want to change the color of the link which is next to the small avatar in freshness “link with the name of the author”

    #144210
    blessedtoes
    Participant

    Hi (again!) Robin-

    Thanks for the reply and for asking.

    It is for a blog. I’ve been using iFrames so I get the ad at the top and a goofy window people have to drag around (though I thought it cool), then I came to find out many object.

    I’d like to just have code to cap the title and a relevant image, just like posting a URL to FB.

    Thanks again,
    Matthew

    #144203
    batmanfan
    Participant

    Is it possible let users view their newly created topic prior to ‘submit’ it live? is there a plugin or a code to add to it? Thanks.

    #144201
    Robin W
    Moderator

    do you have a root page as such?

    Step by step guide to setting up a bbPress forum – Part 1

    Step 3 method 2

    #144193
    Robin W
    Moderator

    put this code into your style.css in your theme

    #bbpress-forums li.bbp-header {
    	background: #dc9e5a !important ;
    }

    You should select the color you want

    #144191

    In reply to: simple registration

    Robin W
    Moderator
    #144190

    In reply to: Bar users

    Stephen Edgar
    Keymaster

    Yes, bbPress uses the same system as WordPress, how to do that is explained here:

    https://codex.wordpress.org/Combating_Comment_Spam#Default_Comment_Spam_Tools

    You can and should also enable and use the Akismet plugin.

    #144180
    Robin W
    Moderator

    Without spending time going back through this thread, I presume you have tried all the bits of code above. The fact that they didn’t work for the OP whose site we couldn’t see doesn’t mean they won’t work for you.

    If you have done all that, come back with a link and I’ll take a look.

    #144179
    webbud65
    Participant

    Désolé, je n’avais pas vu la réponse.
    C’est bien ça, le problème est résolu.
    Juste une erreur dans le code fourni (_ à la place de -).
    Le code rectifié :

    function bbp_increase_forums_per_page( $args = array() ) {
    	$args['posts_per_page'] = get_option( '_bbp_forums_per_page', 150 );
        return $args;
    }
    add_filter( 'bbp_before_has_forums_parse_args', 'bbp_increase_forums_per_page' ); 

    Merci beaucoup !

    blessedtoes
    Participant

    Hi friends-

    I’ve been using iframes to embed pages on my blog from time to time and not only do I not love the look, but I’ve recently noticed some conversations about some sites having objections to this application.

    Does anyone know if there’s code I can use on my WP blog that looks like the FB page links, where it shows a relevant image from the page and the article headline?

    Just to be clear, this is for use on my WP bbPress blog, using an OptimizePress theme – not for a Facebook page… I asked on another forum and had no luck.

    Thanks in advance – grateful for your wisdom and experience!

    Matthew

Viewing 25 results - 12,326 through 12,350 (of 32,521 total)
Skip to toolbar