Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,826 through 10,850 (of 32,504 total)
  • Author
    Search Results
  • #151025
    Stephen Edgar
    Keymaster

    Firstly, we won’t be ‘squelching’ any error reporting in the importer, I wish we could have more, or at least improved error reporting. 😉

    I haven’t see that user_pass error for a long time, are you using the latest 2.5.4 version of bbPress for the plugin side of things?

    Onto the old bbPress standalone side, what version of bbPress standalone are you using?

    For the import to work you need to import from bbPress Standalone 1.2 to bbPress plugin 2.5.x.

    Details on upgrading and a general flow of what is required is outlined in the following topic, once you’ve read that post you’ll need to read the replies in that thread to follow along the steps.

    #151022
    Robkk
    Moderator

    Will do it later , bout to head to sleep

    But yeah it always looks weird whenever that stats widget is in a sidebar , I would put the stats short code in the bottom of some templates

    #151021
    Stephen Edgar
    Keymaster

    Please see the following page in the docs for this issue:
    https://codex.bbpress.org/import-forums/import-troubleshooting/

    #151019
    Robin W
    Moderator

    I’d say the issue was more with the widget not taking up the column space it could – rthe widget below is much wider. This is fixed usually with css rather than widget code.

    Sorry but an training today or I’d take a look, perhaps rob will

    Robin W
    Moderator

    you could do, but since you’re into code, I’d just amend line 1157 on bbpress/includes/common/widgets.php, and make a note to change it again on upgrades

    Not the recommended way, but practical !

    #151011
    Stephen Edgar
    Keymaster

    There are two files attached here, vBulletin5.php and converter.php:
    https://gist.github.com/ntwb/02aff28553ae63e6a614
    You can also download both in a zip file via this link.

    You need to place vBulletin5.php in the folder `/includes/admin/converters/
    and converter.php in the folder /includes/admin/

    A couple of notes, you’ll need to make sure your vB5 tables do NOT include a table prefix, if they do this will not work and you will need to rename all of your tables to remove the prefix.

    You can confirm this by opening your vB5 database in phpMyAdmin
    <img src=”https://i.cloudup.com/czW3RJAK-9.png&#8221; alt=”” />
    If your node table name is the same as mine in the above screenshot your good to go, if it is a prefix it it would look similar to prefix_node (the prefix could be named anything)

    One other important note, the main difference with this version of the importer is to support vBulletin 5 ‘comments’ which are like bbPress threaded replies, allowing users to reply to replies, these vBulletin replies will NOT work as expected unless you have enabled bbPress threaded replies setting before you import your forums. Also if you reset and delete your forums or uninstall the bbPress plugin this setting will be reset and you need to enable it again.

    P.s. More my bad, I appeared to not hit submit on this post when I uploaded these yesterday 😉

    Let me know how it goes 🙂

    #151009
    Stephen Edgar
    Keymaster

    Excellent, glad your on track to getting your custom templates up and running 🙂

    Your correct, we don’t have a donate button, but we’re always on the lookout for extra hands, we need more docs on doing what you doing currently, Robin has already written some introductory docs here.

    Pretty much anything goes, we need lots of docs written for our codex and anyone can create new and/or edit existing docs, so if you feel the urge to contribute that way if that’s your thing, that would be great. 🙂 If not we’ll also be having some other initiatives in the new future. 🙂

    Participate & Contribute

    #151005
    Stephen Edgar
    Keymaster

    If you don’t switch you will constantly have the same issues you are asking us how to fix.

    You should implement that same fix again and yes, it will cause issues with your sidebar but you should find that your other issues will be fixed.

    What I meant by ‘Source Code’ is to include the contents of the bbpress.php in your new topic, copy and paste it into your topic and surround that ‘source code’ using the code toolbar button on the topic form..

    #151004
    cybarmitzvah
    Participant

    The only reason I would be a bit concerned to do it again is because my sidebar is fine for now, but if I switch it, then all my users would be confused for the few day while we figure it out. Also whats my source code?

    Sorry, I am new to this,

    JB

    #150986
    Stephen Edgar
    Keymaster

    Indeed it would have helped and by switching back you have enabled the error to occur again, redo what you did and then create a new topic and include the source code of your bbpress.php file and the name and link of the theme you are using and we can help get your sidebar back.

    #150979

    In reply to: Importing SMF

    Stephen Edgar
    Keymaster

    Oh! The version included in bbPress 2.5.4 is the r5191 version, the smf3 you refer to is older than that, essentially there is no need to download any files from trac manually to replace the files that already exist in bbPress 2.5.x.

    That said “if” you do download any versions of the importers from trac, you need to match the main bbPress converter.php file, this is not the ‘dropdown’ you refer to.

    Looking closer at your original message, indeed you did use the smf_ prefix, my bad.

    Can you open up phpMyAdmin and open the smf_members table and post a screenshot like mine below (if there is sensitive data there then just the column headers would be fine)

    For some reason it appears your table is missing the member_name column and that is why the error occurs.

    What version of SMF are you trying to import?

    And lastly, no forum is to big for bbPress 😉

    #150973
    Piani
    Participant

    I havent tested any of the siggestions below. But you can play around with changes as example and change parameters:

    #bbpress-forums div.bbp-forum-title h3,
    	font-size: 30px;
    	color: #CC00CC;
    }

    ….ad this as as separate controls in the code above.

    Find colors that you want at: http://www.w3schools.com/tags/ref_colorpicker.asp

    You dont need uch change. Just add controls on the text types you want to change woth an } to close the code.

    #150972
    freshwater
    Participant

    on her site/post she said we can control the icon size by css or add_image_size. can anyone give exact code for us? i don’t know what “name” we’re supposed to add size to in her above code.

    and / or could we see the css code exactly and i guess we put this code in our child theme?

    thank YOU!

    #150970

    In reply to: mobile layout

    Yolle
    Participant

    Hi!

    I finally managed to do it.
    I added this code so the avatar is at the top of the text

    #bbpress-forums div.bbp-reply-author {
    	float: none;
    	text-align: center;
    	}

    Then when the text was below the avatar I inserted this code to the mobile part of the css:

    #bbpress-forums div.bbp-reply-content {
    		margin-left: 20px;
    		padding: 0 0 0 0;
    		text-align: left;
    }

    Thanks for getting me on the right track.
    It concerns a closed forum and I was already preparing an access for you but then I managed by myself.
    Thanks again!

    #150969
    Robkk
    Moderator

    you can try this for right now, im not sure how it works though

    input #bbp_search_submit.button {
    padding: 9px;
    border: solid 1px #E5E5E5;
    outline: 0;
    font: normal 13px/100% Verdana, Tahoma, sans-serif;
    width: auto;
    background: #FFFFFF url('images/bg_form.png') left top repeat-x;
    background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
    background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
    box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
    -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
    -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
    }
    #150967
    Robkk
    Moderator

    It has nothing to do with bbpress.

    contact your theme developer
    make a topic on wordpress support

    or you can

    create a folder called images in your theme if you dont have one already find a facebook icon and rename it fb.jpg

    and use this

    <a href="fbico"><img style="border:0;" src="fb.jpg" alt="Like Me" width="42" height="42"></a>

    and just place it in the right template file

    then position with css

    links with images:

    http://www.w3schools.com/html/tryit.asp?filename=tryhtml_imglink

    #150966
    freshwater
    Participant

    wm, this worked perfect, THANKS, i’ve been searching on/off to do this for 1.5 years, (i’m not sure if that says about me?) LOL! i would like to do something extra, do you know how? i would like – your code enlarged the Forum Parent text size, how can i also enlarge the Child Forums that display under the enlarged Parent Forum text?

    and can we change the font color in your code?

    Thanks a BUNCH!!!

    Robin W
    Moderator

    yes, you would be looking in the usermeta table 9noramlly called wp_usermeta at meta-key wp__bbp_subscriptions

    this is comma deliminated, so if I was user ID 3, and was subscribed to topics 10, 12 and 15, and forums 1, 3 and 6, I would see

    user_id 3
    meta_key wp__bbp_subscriptions
    meta_value 1,3,6,10,12,15

    So to add category 246, you would just add this to the end, or create if not there

    Someone cleverer than me out to be able to give you a sql string or two that would do this which you could run on phpmyadmin.

    Logically you’d create two statements, the first would say

    for all the user_id’s if wp_bbp_subscriptions exists, then make the meta_value equal to the meta_value concatenated with ‘,246’
    Then second one
    for all user_id’s if wp_bbp_subscriptions does not exist, make meta_key wp_bbp_subscriptions equal to 246.

    I’m not good enough at sql to code this without lots of checking – anyone good at this stuff?

    #150958

    In reply to: EDIT TOPIC in BBPRESS

    Robin W
    Moderator

    I don’t know either of the two plugins, but essentially I don’t let anyone have access to the backend of my site – it jars with the front end.

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    contains a list of the capabilities, and most restriction plugins should list these, and you hopefully should be able to find or see edit_topics as a capability that you can restrict.

    It may well be that one plugin is conflicting with the other as they both sound like they are trying to do the same job.

    #150952

    In reply to: mobile layout

    Robkk
    Moderator

    you probably decrease the margin-left and add the @media at top

    #bbpress-forums div.bbp-topic-content {
    margin-left: 130px;
    padding: 12px 12px 12px 0;
    text-align: left;
    }

    need a link to just make sure though.

    #150943

    In reply to: Quicktag Toolbar

    Robkk
    Moderator

    ya didnt need to bump your topic after 20 minutes.

    try that, it just changes it to black and white. change the colors to whatever you want

    #bbpress-forums div.bbp-the-content-wrapper input {
    font-size: 12px;
    padding: 5px;
    margin: 0 2px 0 0;
    line-height: 1em;
    background: #222;
    color: #fff;
    }

    put it anywhere you can put custom css in

    #150928
    cybarmitzvah
    Participant

    Hi all,

    I am not sure this is necessarily a plugin or just a bit of code I need. But I am trying to get Twitter and Facebook buttons (maybe 32×32) (that link to our social sites) in the header of the site http://www.astronomertalk.com:

    http://s24.postimg.org/p71o3hp5x/Screen_Shot_2014_08_15_at_6_18_27_PM.png
    http://s24.postimg.org/p71o3hp5x/Screen_Shot_2014_08_15_at_6_18_27_PM.png

    It is a responsive layout so it may not be too easy to to, but all help will be appreciated.

    *I want a facebook and twitter button (aka image), not the writing in the picture. I just don’t know how to use photoshop 🙂

    Best,
    JB

    #150920
    Robin W
    Moderator

    In fact took a look today and done !

    bbp additional shortcodes

    You now have a template of ‘short’ which just does the titles and topics, no search or other stuff.

    see the web for full details on how to do this, but for example

    [bbp-display-topic-index show=’5′ forum=’29’ template=’short’ ]

    #150908
    Robin W
    Moderator

    just updated this to do a particular forum as well !

    bbp additional shortcodes

    #150907
    Robin W
    Moderator

    @crushdg

    I doubt that would be possible.

    This script reverses the logic

    so normally the database would have a list of forums you have manually subscribed to.

    This changes it to have a list of forums you have manually unsubscribed to, thus you are subscribed by default.

    So the code would not work to just have one forum.

Viewing 25 results - 10,826 through 10,850 (of 32,504 total)
Skip to toolbar