Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,301 through 17,325 (of 32,500 total)
  • Author
    Search Results
  • #107954
    atiminou3
    Member

    I had the same problem with login, when I tried doing what mixlplex2 above explained.

    Tried some other options on https://codex.wordpress.org/Function_Reference/wp_logout_url

    but that seems to be the best one for now.

    #109957

    My guess is you were running an out of date install or insecure plugin or theme. You’ll want to go through your site’s code and find what was exploited.

    #109972
    djoep
    Member

    Hey Andrew,

    I took a look at bbPress Post Toolbar but it seemed to add bbcodes either by hand or by clicking a button. With “normal” wordpress, and inside the buddypress group forums, if you just enter the url as text, with no added adornment, it just shows up as embedded video. I believe the same is true for image urls but haven’t tested recently.

    Also, I’m confused. On both the WPplugin directory as well as the master501 website, it shows the latest version as being back in August, not today???

    Thanks,

    joe

    #109971

    Just today I added a Plugin called “bbPress Post Toolbar” to correct the very issue you’re referring too here. My youtube video’s were coming out as links. After installing this Plugin I didn’t even have to repost the links. They just magically became imbedded video. Hope this helps ya! :)

    #40338

    The title says it all.

    I’m running WP 3.2.1, BP 1.5 & BBP 2.0.

    I’ve installed the exact same setup on two sites, one works perfect, the other doesn’t.

    All I see in the source is:

    <a href="http://thegamersrepublic.org/members/pixel/" title="View 's profile" rel="nofollow"></a>

    Example of where its happening: http://thegamersrepublic.org/forums/topic/armageddon/

    I haven’t edited the source of BBP, and I’m not sure what causing it.

    Anyone got any ideas?

    Thanks.

    djoep
    Member

    I looked at all the files for other forum converters but the joins seemed simpler than what smf might require or more likely I just did not understand the table conversion code.

    So, here are the specifics (smf_ is the prefix).

    for the topics area.

    for the topic title conversion.

    SMF has two tables required to get whatever it is you need:

    Table = smf_topics includes:

    field = ID_TOPIC – the table index for topics.

    field = ID_FIRST_MESSAGE – the index of the first message written for the topic.

    Table = smf_messages includes:

    field = ID_MSG – table index & source of ID_FIRST_MESSAGE above.

    field = subject – the actual text for the “topic title”

    If you can give me the corresponding syntax to replace the following, I think I can probably muddle through the rest of the converter. I am very hesitant to send the entire database. BTW, this is coming from an smf 1.x install, not the newer 2.x version.

    Current converter code for topic title

    // Topic title.

    $this->field_map[] = array(

    ‘from_tablename’ => ‘thread’,

    ‘from_fieldname’ => ‘title’,

    ‘to_type’ => ‘topic’,

    ‘to_fieldname’ => ‘post_title’

    );

    Thanks very much!!

    joe

    AWJunkies
    Member

    Joe thank you so much for your info pasted above to help assist people. I just want to let everyone know I have a new version 1.2 coming out probably tomorrow which will speed up everything IF your mysql account for WP has access to add tables. It will also fix issues with non UTF8 WP tables. Also fixes cleaning to be faster.

    Now onto smf my advise is to look at invision and other examples in the convert folder that showing the tags grab which uses the join tables code.

    If you give me the two names OR dump me a database for SMF I can do the convert file or tell you what to put within minutes. These convert files I can create within 30min. It is the testing that is more time consuming. Once I release the next update I will start creating more convert files. Sorry again for the delays. I am ALWAYS available on skype and other messengers for immediate help.

    Erlend
    Participant

    Thank you kindly for your input Joe. In fact, your conversion process is identical to ours; we’re currently running a BP forum that was previously converted from SMF, using that same plugin (which one of our developers, Normen, actually programmed for that exact purpose. Maybe he could work his magic again, but our own software needs some lovin’ too).

    I’ve got some questions that I hope fall under the requirements of your disclaimer:

    – Did you ever experience any issues with memory loss / timeouts? If so, how did you bypass them?

    – After the successful conversion, did you have a new forum for each individual group? (i.e. Are the group forums all technically a single forum behind the scenes?)

    – What exactly is the date & time issue? It’s a rather critical fix in my opinion.

    I have not yet tackled the issue of getting rid of all the groups and group forums that the other plugin created.

    You mean cleaning out the existing groups & group forums in BuddyPress, created by using the “Site wide forum” option? I would expect that to have a wizard or at least a doc page for it, but I’ve not found any post, doc or code relevant to it yet.

    #107096

    In reply to: bbPress 2.0 & BBCode

    antonchanz
    Member

    Version 0.2 is out, more stable now. Much improvements over the bOingball version, even if you don’t have bbpress installed. The

    Quote:
    tag now supports

    name wrote:
    format in such a way that if name is the login name of a user on the system, it displays as their display name instead. Also if buddypress is installed, the display name becomes a link to their profile page. If buddypress isn’t installed but bbpress is, it links to their forum user page. I’ve also added css style classes to the html output, allowing for some interesting theme options…
    #108839

    Yes, thank you for your response dominornovus. I had just now figured out and corrected number one myself. I had Buddypress’s forums active and it was conflicting with bbpress.

    The second one, well I only use the databases for WordPress and obviously Buddypress and bbpress. I just need to know if bbpress is using my mysql database for storing of the forums ( posts and such ) and if it is is there a way to use multiple databases’s with it, as I’m sure I’m not the only one using GoDaddy or the only one with this 1Gig database restriction. Or even if the 1Gig is going to be a problem. If it’s not do to some functionality by the software such as autogenerating a second database or whatever then I just need to know that.

    And the third one I’ve already code for the css for the bar I want when I try including it it does nothing. The bar I’ve looked at his hooks are actually different than mine, now that might be from the css. I need to know what stylesheet to modify, I guess. I use Suffusion as my Theme and I tried adding a stylesheet into it’s backend to modify the admin bar but, as I said it did nothing.

    #109956
    dominornovus
    Member

    First and foremost, have you validated your code?:

    http://validator.w3.org/

    http://jigsaw.w3.org/css-validator/

    Based on pages source code, the following is appended to the end of your page within the body tags:

    <ul>

    <li class="page_item page-item-1156">
    <a href="http://fruitcity.co.uk/about-2/" title="About">About</a>
    </li>

    [...]

    </ul>

    I was expecting it to be a misplaced widget but the list does not have a class, id or typical parent div.

    I can’t tell you why it’s occurring but I can tell you how to figure out why it’s occurring.

    Sequentially disable blocks of code pertinent to that page and theme. e.g. style.css, functions.php and custom templates.

    By process of elimination you’ll stumble upon the root of the issue. i.e. when the list no longer appears.

    I’m ruling out that it’s a setting in the admin panel because the list doesn’t have an id or class.

    It might be wise to run the validation checks I suggested. It could be something rudimentary like an element requiring a closing tag.

    I’d tell you more if I could right click the page and use Chrome’s version of Firebug for property inspection.

    #109949

    In reply to: "Ago" in topic widget.

    Anonymous User 8347663
    Inactive

    Thanks a bunch Rivaldo07! That fixed it! :)

    #109948

    In reply to: "Ago" in topic widget.

    Rivaldo07
    Participant

    bbpress/bbp-includes/bbp-core-widgets.php, line 567 :)

    #108891
    Dan Milward
    Member

    That does make any sense to me in this context :P

    #39902

    Okay so yeah I’m new to all of this WordPress stuff, but I think I’m doing pretty well with it. I have three questions, and I have searched them here and came up empty so here goes…

    Firstly, in my “Forums” section, that I am choosing to call “Discussions” because I do not like the word “Forum”, I have all the stuff setup so that you now go to http://www.yoursite.com/discussions and the forums page loads but that’s the issue… It still reads Forums. I’m unable to figure out which file I need to edit to alter this to read “Discussions”.

    Secondly, my Hosting Provider allows for unlimited Database’s but each one can only be one Gig in size so I’m wondering if there is a way to set up the Forums to use one database for each Forum. Or what other options I may have here. I know that a gig is a bit but if I was to handle several hundred users, I’m not so sure 1 gig is going to sustain a forums section. Unless the forums aren’t using my mysql database, I’m not really sure about that. A bit of clarification would be great!

    Thirdly, is there a way to Mod the Admin Bar to be more of what I want it to be? I mean I know there is because I’ve seen a really nice one on another site already. I’m just curious as to which files I need to edit to manipulate it and also if there’s a guide somewhere to do that ( or a Plugin ).

    So, yeah those are basically the three issues I’m having right now. Any help would be greatly appreciated! And, if you like you can check out what I’m talking about at http://www.goodintoday.com/discussions ( for the Forum question ), the other two I don’t think you need a site to answer. Thanks again!

    Andrew Parris :)

    djoep
    Member

    woot! Got it working… now just need to start from scratch and do it cleanly.

    One thing I found quite frustrating was that somewhere or other, a post count is kept after using bbconverter. I did not find it sufficient to clean and start over. I ended up having to muck about with the post_metadata table the posts table, and others. Even after going on multiple search and destroy missions into the database, I still could not get the post count to start where i though it should. Hence the strong recommendation to make db backups along the way.

    So, I managed to get SMF users and posts over to WordPress and bbPress 2.0 plugin respectively. Here’s the basics of how I did it:

    Words of caution!!! BACK UP YOUR WORDPRESS DATA BASE! Make a backup before you install bbpress. make another before you install bbconverter.

    Keep the backups because you may need to revert back to them.

    Assumption here is that both WordPress and SMF are on the same server, but not the same database.

    WARNING! This is just from memory,and it only worked once, and there was a lot of DB manipulation done to get to the end. You should NOT attempt this unless you are very comfortable with SQL, phpmyadmin, and wordpress! If you are even a little concerned, contact the plugin author and tell him how much you are willing to pay for the SMF conversion capability!

    1) Install wordpress

    2) Install buddypress

    3) Install BuddyPress SMF Import plugin

    4) Follow the BuddyPress SMF Import directions. You should end up with a number of tables in your WB database that look like wpv_bb_blahblah. Make sure you go through the Upgrade Database step but Do not go beyond that. with this plugin. Please note that this plugin creates new groups for each original forum and all the topics for that forum are associated with the new group. If this is what you want, you can stop here. If like me, you wanted a site-wide forum with the old SMF content, keep going.

    5) Deactivate the SMF Import plugin (but keep the SMF Compatibility plugin… you’ll use that for user login later)

    6) Using phpmyadmin (or similar) go into the wpv_bb_forums table and make sure that the forum_parent field is set to 0 for all top level forums and set to the appropriate forum_id for any subordinate forums.

    7) Through Buddypress, install “site wide forum” which will install bbPress 2.0 plugin.

    8) Make another database backup NOW! Don’t overwrite the ones you made before because you may have to go back further than this if things don’t work!

    9) Install bbPress Converter plugin.

    10) Go to tools and recount everything.

    11) follow the directions for the “Standalonebbress” conversion using the WP database user and password and wpv_bb_ as the db prefix (or whatever the SMF Importer left you with). Do NOT select the transfer user option… the other plugin already did that.

    12) If you have a large forum, the conversion takes a while!

    That’s about it. If you have set wordpress up to be able to display the plugin forum (not group forums), with any luck, you’ll see your forums populated.

    I have not yet tackled the issue of getting rid of all the groups and group forums that the other plugin created.

    The resulting forums and posts seem to have wrong dates & times and I have not looked into this.

    If I had it to do over again, I probably would have spent the same amount of time figuring out how the converter works and building an SMF converter directly, avoiding the SMF Import plugin altogether.

    I beg you to not use this thread to ask questions about this process or any of the plugins or applications other than bbConverter.

    joe

    #40320
    Anonymous User 8347663
    Inactive

    Hi there forum!

    Thanks for the extensive help last time.

    My new issue is that i have translated bbPress to danish (the frontend stuff). And a single word cannot be found in the language file, so it is still in english. I want to know how to change this single word (ago) to danish. I already changed the

    %s ago

    to

    %s siden

    But it does not work.

    Here is a screenshot: http://min.us/lldwdq8bs97xS

    As you can see it is translated from “days” to “dage”. And then the english word “ago” comes in, wich should have been “siden”.

    Can you help me, please? D:

    #109939
    dominornovus
    Member

    I’ve figured out how to change the bread crumb separator:

    <br /><br />
    // Change bbPress bread crumb separator.
    function filter_bbPress_breadcrumb_separator() {
    //$sep = ' &raquo; ';
    $sep = is_rtl() ? __( ' &laquo; ', 'bbpress' ) : __( ' &raquo; ', 'bbpress' );
    return $sep;
    }
    
    add_filter('bbp_breadcrumb_separator', 'filter_bbPress_breadcrumb_separator');

    I have not yet figured out how to add “You are here: ” at the start of the bread crumbs:

    I’ve tried this…

    <br /><br />
    function my_breadcrumb_trail_args( $trail ) {<br /><br />
    $args = '<div class="bbp-breadcrumb"><p>You are here: ';<br /><br />
    return $args;<br /><br />
    };<br /><br />
    add_filter( 'breadcrumb_trail_args', 'my_breadcrumb_trail_args' );<br /><br />
    

    …and this…

    <br /><br />
    function test($defaults) {<br /><br />
    $defaults = array(<br /><br />
    'before' => '<div class="bbp-breadcrumb"><p>You are here: ',<br /><br />
    );<br /><br />
    return $defaults;<br /><br />
    }<br /><br />
    add_filter('bbp_breadcrumb','test_args');<br /><br />
    

    Neither work.

    For now I’ve taken the hacky approach and just edited my bbPress files directly. You can see it in action here: http://www.directsponsor.org/forums/

    Any assistance with the filter would be greatly appreciated.

    #109886
    spicynodes
    Member

    Just checking in again…

    Are there options for short code [bbp-topic-index]?

    e.g.

    [bbp-topic-index max=7 pagination=off breadcrumbs=off]

    #107347
    spicynodes
    Member

    Are there options for short code [bbp-topic-index]?

    e.g.

    [bbp-topic-index max=7 pagination=off breadcrumbs=off]

    #109921
    mjpg
    Participant

    [WORK-AROUND]

    I used the WP plugin ‘User Role Editor’ (WP not bbp plugin)

    https://wordpress.org/extend/plugins/user-role-editor/

    to add some capabilities to the ‘forum participant’ role.

    These seem to be the extra capabilities required:

    [v] read_hidden_forums

    [v] read_private_forums

    [v] read_private_replies

    [v] read_private_topics

    If set up without the ‘read_hidden_forums’ capability, forums are visible, but not topics. I don’t know if this is real or because I have been switching the hidden/private setting for the forum during testing.

    I have done some basic testing and access/posting/replies/create topic/uploads/subscribe all seem to work OK.

    I guess this could be done simply via some code in functions.php, but I don’t have the time to investigate.

    #109938
    dominornovus
    Member

    In bbp-common-template.php I found:

    // Allow the separator of the breadcrumb to be easily changed

    $sep = apply_filters( 'bbp_breadcrumb_separator', $sep );

    I attempted to apply a filter…

    $sep = 'x';

    add_filter('bbp_breadcrumb_separator', $sep);

    …but it resulted in:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'x' was given in

    #109937
    dominornovus
    Member

    I’ve found a list of hooks and filters for bbPress at:

    /wp-content/plugins/bbpress/bbp-includes/bbp-core-hooks.php

    I’ve also found the bbPress bread crumb function(s) at:

    /wp-content/plugins/bbpress/bbp-includes/bbp-common-template.php

    By combining code from the two, I’ve attempted adding a filter but it’s being ignored:

    function test_args($args) {

    $args = array(

    'sep' => ' x ',

    );

    return $args;

    }

    add_filter('bbp_title','test_args');

    djoep
    Member

    I am also interested in the ability to migrate group forums to bbpress 2.0 plugin (and out of the groups).

    I have managed to set up bp groups so they each have their own forum without having their forum contents displayed at the top level menu by deleting the bp forums page (and removing it from trash).

    I then created a site-forums page for the bbpress site-wide forum by creating a “Site-Forums” page in WP and using the bbpress shortcode bbp-forum-index to list the available forums. I may add other shortcodes later.

    Unfortunately, I am still left with a lot of content under “groups” that were only created to form quasi forums under buddypress internal groups version of bbpress.

    Personally, I really like the idea of having both types of forums available!

    joe

    #109936
    dominornovus
    Member

    I have come across an example of a filter to change the bread crumb separators but I can’t seem to get it to work:

    add_filter( 'breadcrumb_trail_args', 'my_breadcrumb_trail_args' );

    function my_breadcrumb_trail_args( $args ) {

    $args = ‘ → ‘;

    return $args;

    }

    Source: http://themehybrid.com/support/topic/change-separator-breadcrumb#post-22852

Viewing 25 results - 17,301 through 17,325 (of 32,500 total)
Skip to toolbar