Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 46,276 through 46,300 (of 68,970 total)
  • Author
    Search Results
  • #93659

    In reply to: Translating buddypress

    Roger Coathup
    Participant

    in wp-config.php:
    `
    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de.mo to wp-content/languages and set WPLANG to ‘de’ to enable German
    * language support.
    */
    define (‘WPLANG’, ‘fr_FR’);
    `

    #93656
    Piergiorgio
    Participant

    @Tiptap could you share us what we shoud do to manage different user’s types

    thanks

    #93641
    John
    Participant

    @rogercoathup “Do you want to allow all blogs to have their own choice of theme, but ensure that they use the same font for the admin bar?”

    Yes, this is what I wanted, apparently it’s not possible but at least I can set up the background to look the same on IE and Firefox.

    #93640

    In reply to: Translating buddypress

    John
    Participant

    @rogercoathup I’ve put the buddypress-fr_FR.po in bg-language but I’ don’t see where I cant set the default language in buddypress ? I haven’t look yet at a plugin for offering the user a choice to switch language.

    #93639
    lylewinton
    Member

    @groan , by “links” I actually mean BuddyPress URL paths such as “http://yoursite/…/groups/”. BuddyPress recognises a few of these (activity, groups, members, forums) and I believe these are directories in BuddyPress themes. Under unix operating systems (I’m installing on Linux) you can create “symbolic links” or “symlinks” which are like shortcuts to other directories. My solution was to “hack” such links into the “mobile_pack_base” and “mobile_pack_blue” themes, linking to the corresponding directories under the BuddyPress Default theme. And it worked. (I was a bit surprised) The lines starting with dollar signs are linux commands. If you don’t have command line access you may be able to create symlinks using ftp or something else, I’m not sure. If you’re on Windows I have no idea what to do.

    PS. In retrospect I should have created a new and independent theme derived from “mobile_pack_base” which then included all of the symlinks. Or perhaps WordPress has a better way of doing such links that would work across platforms. I’m pretty new to WordPress.

    #93638
    James
    Participant

    don’t know why, but first API that I got did not work, so I had to get another one, which works well now.

    #93636
    Hugo Ashmore
    Participant

    Are you referring to API key? in which case you must obtain one first and replace the one in the example code.

    #93635
    James
    Participant

    sorry guys, code works well, however Google Map API V3 would be good update.

    #93634
    James
    Participant

    thanks @hnla ,
    probably it would work, but at the moment code requests new API, even if I already pasted new one.
    maybe someone knows how to update @DJPaul code to Google Map API V3 (if it needs a lot of time, no need even to reply to this question)?

    thanks to all!

    #93633
    alf-axel
    Member

    I have the same problem. romik84, where do you place the line

    `$userid = $wpdb->get_var(“SELECT post_author FROM $blogPostsTable”);`

    ?

    Can you help?

    #93632
    @mercime
    Participant
    #93631
    @mercime
    Participant

    What do you mean you cannot create more than one blog?
    Are you Super Admin? Did you go multisite before installng BuddyPress? Did you install plugin limiting a user to one blog?

    #93630
    Hugo Ashmore
    Participant

    It’s gpl code, Apart from the fact that no would know, give due attribution to the original authors of the work/ code snippet and unlikely anyone will eat your www :)

    The code above that Paul shows in the pastebin example is run as a standalone snippet that you would place where you wanted the map to display or you could run it from a functions.php file using add_action function to place the code on the page where there is an action hook such as bp_profile_header_meta.

    To see the code working try placing it somewhere in the members-header.php file perhaps for testing purposes before or after the div item-meta block of code. As for where it really needs to go for your requirements that’s harder to say

    #93629
    James
    Participant

    @hnla

    couldn’t you specify, where exactly I should put this code?
    (probably, profile-loop, but somehow it does not work for me).

    V3 map api would be good, but my knowledge of html, php, etc..won’t allow me to do this.

    P.S. “..Are you asking for permission?..” I just don’t know what all these plugins licenses mean. maybe authors of gPress will decide to eat my tiny www for this x lines of code :)

    #93628
    Hugo Ashmore
    Participant

    Are you asking for permission?

    You can hack anything you like, preferable is to write it yourself where possible. Paul provides you with the code you need above though so it might be better to use that but perhaps update it to use V3 map api.

    #93627
    James
    Participant

    isn’t it allowed to just take necessary piece of code from gPress?

    #93624
    noizeburger
    Participant

    @Paul Gibbs:

    Thank you for that!

    #93621

    In reply to: More CSS madness

    LPH2005
    Participant

    @paulhastings0 it’s a mixture of BP-Album Media, a nightly build, but I did not change the database from a previous installation. Next, some code was copy/pasted, modified to show the photos and videos along with a widget for login/logout differences.

    `

    <?php
    global $bp, $featured_template;

    // STEP 1: Run the default query. It will use the options set in the admin back end.
    bp_album_featured_query_items();

    $row_count = 0;

    // STEP 2: Test if items were found. If so, open the CSS block.
    if ( bp_album_featured_has_items() ) : ?>

    <?php
    // STEP 3: Iterate through the items the query has found, printing each one out.
    while ( bp_album_featured_has_items() ) : bp_album_featured_the_item(); ?>

    <?php

    $row_count++;

    if($row_count == (int)$bp->bpa->options){
    echo ‘

    ‘;
    $row_count = 0;
    }

    endwhile;

    // STEP 4: Close the CSS block. ?>

    <a href="” class=”media-image”>

    <?php

    endif;

    ?>

    <form name="login-form" id="sidebar-login-form" class="standard-form" action="” method=”post”>

    <input type="text" name="log" id="sidebar-user-login" class="input" value="” />

    <input type="submit" name="wp-submit" id="sidebar-wp-submit" value="” tabindex=”100″ />

    `

    #93618
    Paul Wong-Gibbs
    Keymaster

    Assuming the missing user(s)’ accounts aren’t marked as spam, they probably need to log in before they appear in the BuddyPress lists.

    noizeburger
    Participant

    Me and my friends are running a joomla-driven community for bands and listeners. I’ve tried all leading os-cms (drupal’s still the only cms fullfilling all my wishes – but hard work to get along with). WP + Buddypress would be an alternative if there’s a way to allow certain members (depending on a select field or role) to make their own pages. Sounds like your plugin could bring me in the right direction. Small donation could be paid…

    #93615

    In reply to: More CSS madness

    LPH2005
    Participant

    @paulhastings0 – Also – thank you!

    Code changed to none since that is probably more appropriate than using 0px.

    Personal Note: One of these days this site is going to look like something else besides a default theme with color changes. Guess that means the header.php file needs to be changed more … hehe

    The Chemistry Book

    #93613

    In reply to: More CSS madness

    LPH2005
    Participant

    @modemlooper – thank you!

    Found this in the default.css using firebug.

    `div#container {
    border-right:1px solid #E0E0E0;
    border-bottom:1px solid #E0E0E0;
    }`

    Changed to 0px – and all is well :)

    Oh – and moved that wave.png into the footer.php and footer-wiki.php – it looks nicer.

    #93603

    In reply to: BuddyPress Spam

    pcwriter
    Participant

    @ipstenu

    Thanks for pointing that out… clears things up! :-)

    #93599
    Nirok
    Participant

    This looks like a classifications listing website? Why not look at classipress? I don’t think buddypress activities would work in this case, even a simple wordpress loop might work better here… frontend editor isn’t available without some workaround and plugins but I think its coming in the next release of wordpress… classipress theme has a frontend editor

    #93594
    chicoi
    Participant

    hm… Thanks ray for the code.. I have used the one that is placed on the functions.php.

    But i have a little problem.. When i resized the image.. it is pixelated.. when i inspect the element.. It is fetching the bpthumb..
    I also want to change the Avatar in the profile.php using the same avatar as the buddypress too…
    Can anyone help me fix this please? thanks a lot!

Viewing 25 results - 46,276 through 46,300 (of 68,970 total)
Skip to toolbar