Search Results for 'buddypress'
-
AuthorSearch Results
-
September 28, 2010 at 3:23 pm #93659
In reply to: Translating buddypress
Roger Coathup
Participantin 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’);
`September 28, 2010 at 2:52 pm #93656In reply to: Different profiles for different user types
Piergiorgio
Participant@Tiptap could you share us what we shoud do to manage different user’s types
thanks
September 28, 2010 at 11:21 am #93641In reply to: Stylizing the navigation bar
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.
September 28, 2010 at 11:20 am #93640In 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.
September 28, 2010 at 11:16 am #93639In reply to: mobile theme for buddypress?
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.
September 28, 2010 at 10:51 am #93638James
Participantdon’t know why, but first API that I got did not work, so I had to get another one, which works well now.
September 28, 2010 at 10:41 am #93636Hugo Ashmore
ParticipantAre you referring to API key? in which case you must obtain one first and replace the one in the example code.
September 28, 2010 at 10:38 am #93635James
Participantsorry guys, code works well, however Google Map API V3 would be good update.
September 28, 2010 at 10:22 am #93634James
ParticipantSeptember 28, 2010 at 10:03 am #93633alf-axel
MemberI have the same problem. romik84, where do you place the line
`$userid = $wpdb->get_var(“SELECT post_author FROM $blogPostsTable”);`
?
Can you help?
September 28, 2010 at 10:03 am #93632In reply to: How to create a submenu for pages and categeories
@mercime
ParticipantSeptember 28, 2010 at 10:00 am #93631In reply to: How to get more than one blog
@mercime
ParticipantWhat 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?September 28, 2010 at 9:31 am #93630Hugo Ashmore
ParticipantIt’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
September 28, 2010 at 9:12 am #93629James
Participantcouldn’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
September 28, 2010 at 8:56 am #93628Hugo Ashmore
ParticipantAre 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.
September 28, 2010 at 8:49 am #93627James
Participantisn’t it allowed to just take necessary piece of code from gPress?
September 28, 2010 at 7:33 am #93624noizeburger
Participant@Paul Gibbs:
Thank you for that!
September 28, 2010 at 6:19 am #93621In 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(); ?><a href="” class=”media-image”> <?php
$row_count++;
if($row_count == (int)$bp->bpa->options){
echo ‘‘;
$row_count = 0;
}endwhile;
// STEP 4: Close the CSS block. ?>
<?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″ />
`
September 28, 2010 at 6:15 am #93618In reply to: New users not showing up in BuddyPress
Paul Wong-Gibbs
KeymasterAssuming the missing user(s)’ accounts aren’t marked as spam, they probably need to log in before they appear in the BuddyPress lists.
September 28, 2010 at 6:14 am #93617noizeburger
ParticipantMe 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…
September 28, 2010 at 5:16 am #93615In 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
September 28, 2010 at 5:10 am #93613In 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.
September 28, 2010 at 3:26 am #93603In reply to: BuddyPress Spam
September 28, 2010 at 2:54 am #93599In reply to: Add custom fields to activity stream
Nirok
ParticipantThis 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
September 28, 2010 at 12:12 am #93594chicoi
Participanthm… 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! -
AuthorSearch Results