Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'questions'

Viewing 25 results - 751 through 775 (of 2,231 total)
  • Author
    Search Results
  • #173533
    DennisH
    Participant

    I hate to break the bad news but spammers already know about it. The problem is no one here seems to care.

    Others have also reported this:

    http://wordpress.stackexchange.com/questions/113255/spammers-are-bypassing-buddypress-registration-form

    #173505
    Hugo Ashmore
    Participant

    Please don’t post duplicate questions, once is sufficient.
    Closing.

    #173369
    cyndimarie
    Participant

    @jaxdestroyer This looks EXACTLY how I was hoping. I’ll look over the code you sent me tonight, and I’ll let you know if I have any questions. Thanks so much, you just saved me a ton of time figuring this out myself.

    #173367
    jaxdestroyer
    Participant

    I have Actually done this on my own site that I am developing. I at first Used Buddypress Facebook, Buddypress Googleplus and Buddypress Twitter and they work well enough but I wanted to be able to add some other sites as well as use my own icons. So I figured out what they did and updated it for my needs.
    Here is what I came up with. The following code will go into your themes functions.php.

    <?php
    //Social Media Icons based on the profile user info
    function member_social_extend(){
    		$dmember_id = $bp->displayed_user->id;
    		$fb_info = xprofile_get_field_data('facebook', $dmember_id);
    		$google_info = xprofile_get_field_data('googleplus', $dmember_id);
    		$twitch_info = xprofile_get_field_data('twitch', $dmember_id);
    		$twitter_info = xprofile_get_field_data('twitter', $dmember_id);
    		echo '<div class="member-social">';
    		if($fb_info||$google_info||$twitch_info||$twitter_info){
    			echo 'My Social: ';
    		}
    
    		if ($fb_info) {
    		?>
    		<span class="fb-info"><a href="https://www.facebook.com/<?php echo $fb_info; ?>"  title="My Facebook" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/your_theme_name_here/images/facebook.png" /></a></span>
    	<?php
    	}
    		?>
    		<?php
    		if ($google_info) {
    		?>
    		<span class="google-info"><a href="https://profiles.google.com/<?php echo $google_info; ?>" title="My Googleplus" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/your_theme_name_here/images/google-plus.png" /></a></span>
    	<?php
    	}
    		?>
    		<?php
    		if ($twitch_info) {
    		?>
    		<span class="twitch-info"><a href="http://www.twitch.tv/<?php echo $twitch_info; ?>" title="My Twitch" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/your_theme_name_here/images/twitch.png" /></a></span>
    	<?php
    	}
    		?>
    		<?php
    		if ($twitter_info) {
    		?>
    		<span class="twitter-info"><a href="https://twitter.com/<?php echo $twitter_info; ?>" title="My Twitter" target="_blank" class="twitter-follow-button""><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/your_theme_name_here/images/twitter.png" /></a></span>
    	<?php
    	}
    	echo '</div>';
    }
    add_filter( 'bp_before_member_header_meta', 'member_social_extend' ); ?>

    I will explain the code to you so that you can use it for more than just these 4 sites.
    First the Variables

    $dmember_id = $bp->displayed_user->id;
    $fb_info = xprofile_get_field_data('facebook', $dmember_id);
    

    $dmember_id grabs the currently displayed user id.
    $fb_info gets the data that was placed the facebook text box I created in extended users profiles.
    The same goes for $google_info, $twitch_info, and $twitter_info all you need to do is change 2 simple things.
    $your_variablename_here = xprofile_get_field_data('your_textbox_field_name_here', $dmember_id);

    That textbox field name can be anything you want it to be as long as it is the same as the extended profile field name. For each different site you will need to do that line.

    echo '<div class="member-social">'; All this does is start a div with a class of member-social so you can box all the different icons in one place.

    The below code is optional but may be important if you want to prefix the icons with something.

    if($fb_info||$google_info||$twitch_info||$twitter_info){
    			echo 'My Social: ';
    		}

    This asks if any of the variables have data in them. If so then prefix the icons with “My Social: ” if not then show nothing. You will need to add your new variables each seperated with the horizontal bars as shown. So that it will show as long as any of them have one field filled in.

    if ($fb_info) {
    		?>
    		<span class="fb-info"><a href="https://www.facebook.com/<?php echo $fb_info; ?>"  title="My Facebook" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/your_theme_name_here/images/facebook.png" /></a></span>
    	<?php
    	}
    		?>

    This asks if $fb_info has any data then show the icon.

    The Below code can differ based on your preference.
    <span class="fb-info"><a href="https://www.facebook.com/<?php echo $fb_info; ?>" title="My Facebook" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/your_theme_name/images/facebook.png" /></a></span>
    I wrapped each icon in its own span HTML tag. Then create the link.
    <a href="https://www.facebook.com/<?php echo $fb_info; ?>" title="My Facebook" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/your_theme_name/images/facebook.png" /></a>
    In this example I am linking to facebook.com with the $fb_info data. Here is where the preference comes in if you want them to just put their whole social profile link in the profile field then all it needs to look like is
    <a href="<?php echo $fb_info; ?>" title="My Facebook" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/your_theme_name/images/facebook.png" /></a>
    the title=”put_hover_text_here” is what you want to show when hovering over the link the target= “_blank” makes the link open in a new tab.

    <img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/your_theme_name_here/images/facebook.png" />
    This is where you placed the image of the icon. Currently this will point to the images folder of your theme and the image name of facebook.png as long as you updated the theme name.

    <?php
    	}
    	echo '</div>';
    }
    add_filter( 'bp_before_member_header_meta', 'member_social_extend' ); ?>

    this closes the if statement and closes the div that I made earlier. Then adds the function to the buddypress profile.

    here is an image of the results:
    social Results

    The Twitch icon I made myself but the others are free here http://icondock.com/free/vector-social-media-icons along with many more social sites. I used the 32px images.

    If you have any questions or need some extra explanation of this or want to add these social icons to the group header,or even add them to a users authorbox(this will require you to change your themes code) just PM Me or reply. I hope this helps anyone else looking to do something similar Note this will only send people to their respective social media profiles not allow them to follow or friend straight from your site.

    #173110

    In reply to: Pagina registrazione?

    Asynaptic
    Participant

    Please use English or at least use google translate or babelfish so we know what you’re talking about!

    http://translate.google.com/#auto/en/Potreste%20aiutarmi%20a%20creare%20un%20modulo%20di%20registrazione%3F

    “Could you help me create a registration form?”

    https://buddypress.org/support/topic/newbie-buddypress-questions-about-registration-forms-and-more/

    I believe you can also use membership plugins like S2 (free and premium) or membership (premium) from wpmu to customize the register.php

    #173017
    David Jay
    Participant

    I was able to get this (create a link to the post author’s BP profile) to work using Boones suggestion here http://wordpress.stackexchange.com/questions/43528/how-to-get-a-buddypress-user-profile-link-and-a-certain-user-profile-field-for-t

    To get it to work in the sidebar (running Genesis and the Content Aware Sidebar plugin) I had to use the code below to pull the author id outside the loop. I am strictly an amateur but this may be where folks are having trouble adding a link in sidebars, plugins or widgets?

    http://wordpress.stackexchange.com/questions/39493/getting-user-id-for-the-author-meta-outside-the-loop-in-multisite

    If you are like me, and not a coder, below is the exact code I used:

    <?php
    $temp_post = get_post($post_id);
    $user_id = $temp_post->post_author;
    $author_bp_profile = bp_core_get_user_domain( $user_id );
    ?><a href="<?php echo $author_bp_profile;?>">View the author's profile</a>
    #173015

    In reply to: PHP Errors

    danbp
    Participant

    Hi @keiser-media @celticdancer,

    The usual answer in this case is: these notice are only notice. A kind of weather report: all hear and read about, but who cares ?

    If you see the notice on a production site, deactiveate the debug define in wp-config.

    Don’t be afraid by “strict standards” messages. It’s probably because you use PHP 5.4.x or higher. These versions are a little bugy actually. And most shared server are yet under 5.3.x

    More here

    PS: i encounter the same problem (php 5.4.12) 😀

    #172915
    bp-help
    Participant

    @jiminps
    Even though the first question deals with bbPress the answer is it depends on what you mean by capabilities. You can can assign user roles like keymaster, moderator, participant, spectator, or blocked.
    Yes, private messages can be sent and received. If you only want messages to be sent between a member and the admin that would require use of a plugin, or some custom code but it can be done!
    Hope that answers your questions!

    #172749

    In reply to: 'Survey' Project

    @mercime
    Participant

    I would like to create a section where people can sign in and answer questions and add their image and then have people see their answers.


    @cortttt
    Sure. Use BuddyPress Extended Profile Fields to highlight the best of your community https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/
    Make sure that Extended Profiles is checked in wp-admin Settings > BuddyPress > Components

    At the top of the sections would be a running total…total years lost to illness

    Check out https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ and then customize the plugin to include the running total years lost to illness or use/rename birthday field

    #172723
    @mercime
    Participant

    @zane 1a.) There is a reply link in every topic post if you’re using default bbPress forums in your installation.

    e.g.1. In this topic you started, when you hover a post a line shows up on the bottom right corner of each post with different links including the “Reply” link which will bring you to the reply form at the bottom.

    e.g.2. In this screenshot of a default forum topic layout you’ll see the “Reply” link along with other links are shown at the top of every post in that page.

    Please check with your theme author why you’re not seeing the Reply link in your theme.

    #172716
    Zane
    Participant

    Hey Mercime,

    1a. Forum. It is not very intuitive to scroll to the bottom to make a new post.
    1b. http://themeforest.net/item/cinematix-buddypress-theme/4959387 – Love this theme 🙂

    2. Thanks! I knew I saw this somewhere. I even checked there (doh!). Worked like a charm. Thanks!

    #172652
    @mercime
    Participant

    @zane

    1) Reply button on what page exactly? Forum post or blog post? What theme are you using?

    2) Group Forum posts do appear in that Group’s Activity Stream. If you want to disable forum/blog post commenting in the Activity Stream to prevent confusion and to have all the forum/blog post comments in one location, then go to Settings > BuddyPress > Settings – Activity Settings, and make sure that Blog & Forum Comments are not enabled (not checked).

    #172269
    martinbeaulne
    Participant

    I have the same question as Ben.

    I know we shouldn’t modify core files. I know there are .po and .mo files for translations. But creating an entire .mo file for only one ( 1 ) more translation is overkill ( since poedit doesn’t let you just “add” an entry to an existing .po file ). ( http://stackoverflow.com/questions/7680021/how-to-add-a-new-string-to-a-po-file-w-a-po-editor )

    I have a third-party theme, and I’ve copied the buddypress folder in it. In members/ there is an “activate.php” file where I changed some text.

    But the “Check Your Email To Activate Your Account!” is not in activate.php, nor register.php, nor anywhere else.

    So, the question is simple: where is located the string “Check Your Email To Activate Your Account!” ?

    ( Let me guess something else: there is no translation in the official translation files for this specific string, maybe, because it just isn’t in the registration php files ? )

    I think that’s what Ben wanted too.

    #172104
    xKroniK13x
    Participant

    I wrote this while I was tired last night, you should cleanse the input on line 15 with:
    $input = htmlspecialchars($_POST['input']);

    That should prevent SQL injections by converting quotes and other special characters into their HTML values… See here for more details.

    Any questions, feel free to ask, I’ll keep an eye on this thread for ya.

    #172005
    martinbeaulne
    Participant

    By “easy”, I meant “There must be simple functions for posting things to the database; but I don’t know them”. I often see people answering to questions with pages and pages of code from outer space, so I thought my little question would be a very simple one….

    Well.. Let’s make my question “less general”.

    I want to get rid of the bottom tabs of the member profile page. Still, I want the members to be able to edit their profile. I want to style that directly in the member-header.php page.

    I want that kind of thing:

    
    <div><?php 
    if ( bp_is_my_profile() )
      echo "Hi there, since it's your profile, you can edit the value of field number 46";
      echo '<form id="formtochangefield46" name="updatefield46" onSubmit=" " action=" "  method="post" >
      <div>New value</p></div>
      <div><input type="text" id="updatefield46" name="field46" size="20" style="width:150px;"   maxlength="150" value="">
      </div>
      <div><input type="submit" name="submit" value="Submit"></div>
      </form>';
    endif;
    $embed = wp_oembed_get( xprofile_get_field_data('46'), array( ‘width’ => 400 ) );
    echo $embed;
    ?><br></div>
    

    I guess there must already exist wp functions to… call the database and update a field from a form’s submitted values… I mean, how does one creates a custom register page ? It must be the same functions after all…

    I hope my question is more precise… And sorry for my english, I don’t really speak it.

    #171997
    Paul Wong-Gibbs
    Keymaster

    Those two questions aren’t really relevant here. A quick Google search will suggest object caching solutions for WordPress:

    https://wordpress.org/plugins/apc/ is one of them, if your web host is using APC. You’ll have to ask them to find this out.

    #171709

    In reply to: Email Activation

    @mercime
    Participant

    Can you receive an activation mail if you deactivate BuddyPress? Where are you hosted? Have you checked out possible solutions at https://codex.buddypress.org/troubleshooting/frequently-asked-questions/ ?

    #170746
    fideldonson
    Participant

    Hi @mercime
    Thanks. – i just downloaded the db via phpmyadmin

    We are running a BP default child theme – would i simply remove it from the theme files?

    How about the link to ‘read more’ for a forum post showing up in the activity stream. Is that also done in the theme files – as opposed to settings?

    Best regards

    #170718
    @mercime
    Participant

    @fideldonson no problem

    Backup all tables in site’s database and you’re fine. But also check if there’s a bp-custom.php file in wp-content/plugins/ in server, and back that up if there’s one.

    You can remove the status update box in different ways. It just depends on whether you’re using a WordPress theme or BP Default child theme.

    #170665
    voopress
    Participant

    I came across the topic of someone asking about 123flashchat by TOPCMM and felt I should share with you what my experience is so that others don’t get caught.

    Anyone considering any of TOPCMM software should spend a lot of time asking questions. I lost $1300.00 plus thousands of dollars in advertising, hardware and other software because TOPCMM was never able to make this software work right.

    After only a few months of owning it, I started begging for a refund which never came. When they found my review, they said in public that they were happy to offer me a refund but in email, the keep telling me it’s not possible and that will not happen.

    Support is almost nonexistent and they will make you nearly crazy with delays. No matter what ticket type you use, low priority or critical, you still will receive the same support no matter what. You might get lucky and someone will respond in a day, maybe two and often, a week. By then, you will have lost many customers and money if you are advertising as I was.

    They also take countless holidays and leave you hanging during those and only sales is on staff during weekends. Their forums are useless and they never give any real answers other than ‘give us your login details and we’ll fix it’. This means you’ll never learn about your server and will always be dependent on them, just how they like it.

    From what I can tell, they are on their knees after abusing countless customers and their future is unsure. Be very careful!

    I could go on and on and would be happy to share more horrors if anyone is considering this software. Just PM me.

    Good luck… now… on to more positive things

    #170369
    Tecca
    Participant

    Ah, sorry about that. I misread your question.

    This StackOverflow answer is perfect for your needs: http://stackoverflow.com/questions/13795283/fixed-header-while-scroll

    You basically need to use Javascript to do something like this, else your shadow will always show up.

    You can put that Javascript either in <script> tags in your template’s header.php or put it in a file and enqueue it in your functions.php

    Basically, change #my_fixable_table_header in the javascript to your own id, which would be #header #searchbar and change the myHeader.addClass(‘fixed’) to something like myHeader.addClass(‘scroll-shadow’)

    Add a class to your CSS called .scroll-shadow (which you’re now adding a class for based on your scrolling) and put your box-shadow in there. Make sure to remove it otherwise from your #header #searchbar.

    You can check the answer in that link to see a working example to toy around with.

    #170355
    Hugo Ashmore
    Participant

    BP isn’t a forum app, you can’t have non registered users, wouldn’t bother to try hacking it to, however comment posting to blog posts or allowing anonymous topics and replies in bbPress can be allowed.

    #170351
    ClaireBearBunch
    Participant

    hey.

    yeah i suspected as much sadly.

    i know on simplepress forums they get round it by creating a ‘fake’ account for whatever username is typed in as the guest username, i was just hoping somebody had tried to modify it to work on buddypress at some point.

    i dont have anything like the skills to try it lol.

    ill have a coffee and look at the adding hidden text to the status update field again

    #170350
    Hugo Ashmore
    Participant

    I’m afraid you’re trying to achieve something not possible, WP might allow anonymous posting of comments but BP is a membership system, you must be a member to be able to add items to something like the activity stream (otherwise it simply won’t know who to attribute data to) , and many such functions in BP are based on a logged in requirement.

    #170349
    ClaireBearBunch
    Participant

    ive pretty much given up on this. been 20 hours straight trying lol

    as for opening up the status comments to all site visitors, it looks like that one is impossible aswell.

    its a shamebecause i think both features would be universally popular.

    ill take a break and maybe try later. take care folks x

Viewing 25 results - 751 through 775 (of 2,231 total)
Skip to toolbar