Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'spam'

Viewing 25 results - 3,276 through 3,300 (of 3,323 total)
  • Author
    Search Results
  • #41128

    In reply to: Recentally Active

    Andy Peatling
    Keymaster
    function get_recently_active_users( $limit = null, $page = 1 ) {
    global $wpdb;

    if ( $limit && $page )
    $pag_sql = $wpdb->prepare( \" LIMIT %d, %d\", intval( ( $page - 1 ) * $limit), intval( $limit ) );

    $paged_users = $wpdb->get_results( $wpdb->prepare(
    \"SELECT DISTINCT um.user_id FROM \" . $wpdb->base_prefix . \"usermeta um
    LEFT JOIN \" . $wpdb->base_prefix . \"users u
    ON u.ID = um.user_id
    WHERE um.meta_key = \'last_activity\'
    AND u.spam = 0 AND u.deleted = 0 AND u.user_status = 0
    AND DATE_ADD( FROM_UNIXTIME(um.meta_value), INTERVAL 10 HOUR ) >= NOW()
    ORDER BY FROM_UNIXTIME(um.meta_value) DESC{$pag_sql}\" ) );

    return $paged_users;
    }

    #4099
    2222427
    Inactive

    There’s a sort_by_name(user_ids) that work specifically in displaying “My Friends” alphabetically.

    Looking for a similar function for the members widget on the home page.

    Wrote a function yesterday, but is not working. Here’s my function below.

    function get_alpha_users($limit = null, $page = 1 ) {

    global $wpdb, $bp;

    if ( !function_exists(‘xprofile_install’) )

    return false;

    if ( $limit && $page )

    $pag_sql = $wpdb->prepare( ” LIMIT %d, %d”, intval( ( $page – 1 ) * $limit), intval( $limit ) );

    $total_users = count( $wpdb->get_results( $wpdb->prepare( “SELECT DISTINCT u.ID user_id FROM {$wpdb->base_prefix}users u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id LEFT JOIN {$bp->profile->table_name_fields} pf ON pd.field_id = pf.id WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 ORDER BY pd.value ASC”, BP_XPROFILE_FULLNAME_FIELD_NAME ) ) );

    $paged_users = $wpdb->get_results( $wpdb->prepare( “SELECT DISTINCT u.ID as user_id FROM {$wpdb->base_prefix}users u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id LEFT JOIN {$bp->profile->table_name_fields} pf ON pd.field_id = pf.id WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 ORDER BY pd.value ASC{$pag_sql}”, BP_XPROFILE_FULLNAME_FIELD_NAME ) );

    return array( ‘users’ => $paged_users, ‘total’ => $total_users );

    }

    #4082
    bbrian017
    Participant

    I won http://www.blogengage.com

    The biggest issue I have is spam!

    Any suggestions for registration, comments, creating blogs, and posting regarding spam prevention?

    Any mods would be greatly appreciated

    Thanks,

    Brian

    cdutoit
    Participant

    Hi All –

    I think I’m finally done with my project…well…as much as one could be done. I guess done for the first phase. I still have some rough edges to smooth over but wanted to drop a line here to thank everyone for their help.

    Burtadsit for spending hours helping me track down a error which ended up being, well, user error (bad chmod permissions)…

    So, here is the site. I thought I would mention some additions that others might find interesting:

    Site: jurnl.com

    Implementation details:

    1. It is a combination of WPMUDEV premium theme with the BP theme.

    2. I used the WPMUDEV theme pack so users have a choice of over 100 themes, with built-in support for advertising.

    3. I have sitewide Askimet spam protection for comments. This is auto enabled so users get this for free automatically.

    4. I have a iPhone application branded to Jurnl look and feel that allows users to blog from their phone.

    5. I integrated commercial photo software. Specifically:

    5.1 A user automatically has a page created when they create their blog. This page is called “PhotoJurnl”. Your photojurnl will show your photos, albums and slideshows. Clicking any photo takes you to the photo software, which I substantially modified to be tightly linked to Jurnl. (Signing in to Jurnl auto creates a session in the photo software so its seemless to the user).

    You can see what this looks like at http://chris.jurnl.com/photojurnl/

    5.2 These photos and slideshows etc are also in the BP profile view.

    You can see this in action at:

    http://jurnl.com/members/chris/

    5.3 If you have an account on Jurnl, you can use the photo software to upload photos, tag them, create albums etc. Pretty neat generally.

    6. I modified the recent posts widget to only show one most recent post per memmber so that if one person posted three comments thats not all you see. I also widened the column for recent posts.

    Thats it for “phase I”. Now I will continue to clean/debug and add functionality.

    Thanks again everybody for your help.

    PS: this post will be crossposted at the WPMUDEV forums, not to spam, but to acknowlegde those that helped me there too.

    #40554
    enlightenmental1
    Participant

    ….that means having to go over the user’s entire output…. and make a serious of highly-subjective decisions about what is and is not acceptable.

    you’re right Donnacha… good thinking

    @ Nicola

    your workflow looks good to me…

    would the [Report This] link dynamically insert the reported user’s info?

    like:

    – Username being reported

    – username of the person reporting(in case questions need to be asked)

    (if user reporting isn’t signed in, show something else…?)

    – a place for the reporter to describe what’s offensive

    – perhaps checkboxes of where the offensive content is (blog, wire, events, etc)

    That could then be written to a DB table and called back for the admins on the dashboard

    (almost the same as the blog comments feature…. delete user, mark report as spam, warm reporting user, warn reported user)

    that would be pretty cool…

    #40544
    Shelley Keith
    Participant

    An email yes/maybe, but also a queue would be important for very high traffic sites. Something that would allow more than one user (possibly all “admin” users) to view and act on items that have been reported. Being spammed with email isn’t likely to make my admins want to log in and manage things.

    #39925
    nicolagreco
    Participant

    are you sure they are not spammers that register account when you delete them?

    Well, if I understand correctly it certainly seems possible, considering its pretty much the way that WordPress installation goes.

    You install WordPress and are provided a login (“admin”) and a randomized password.

    If you’re looking for code to try to tap into, or an example of how to go about it, that would be where I would look first?

    The next step in your theory would be to consider how to handle spam registrations in the event that user never sees the pw and never logs in to your website. Maybe take a look at the Register Plus plugin for WordPress.org to get some ideas also?

    #39761
    Burt Adsit
    Participant

    Following the chain of functions:

    <?php $posts = bp_blogs_get_latest_posts( null, $options ) ?>

    to this:

    function bp_blogs_get_latest_posts( $blog_id = null, $limit = 5 ) {

    global $bp;

    if ( !is_numeric( $limit ) )

    $limit = 5;

    return BP_Blogs_Post::get_latest_posts( $blog_id, $limit );

    }

    gets me to this:

    function get_latest_posts( $blog_id = null, $limit = 5 ) {

    global $wpdb, $bp;

    if ( !$bp->blogs )

    bp_blogs_setup_globals();

    if ( $blog_id )

    $blog_sql = $wpdb->prepare( ” AND p.blog_id = %d”, $blog_id );

    $post_ids = $wpdb->get_results( $wpdb->prepare( “SELECT DISTINCT p.post_id, p.blog_id FROM {$bp->blogs->table_name_blog_posts} p LEFT JOIN {$wpdb->base_prefix}blogs b ON p.blog_id = b.blog_id WHERE b.public = 1 AND b.deleted = 0 AND b.archived = ‘0’ AND b.spam = 0 AND b.mature = 0 $blog_sql ORDER BY p.date_created DESC LIMIT $limit” ) );

    for ( $i = 0; $i < count($post_ids); $i++ ) {

    $posts[$i] = BP_Blogs_Post::fetch_post_content($post_ids[$i]);

    }

    return $posts;

    }

    Where I see that changing ‘null’ to ‘1’ in bp_blogs_get_latest_posts() will get me posts only from blog id 1.

    #39746

    -limit access to members only

    -protect email adresses against spam

    #39637
    Rich Spott
    Participant

    Bigkill,

    glad to see that it’s working (although not as secure as you thought) as i understood it, you have to force it sitewide because the registration page is for your whole site, not just the main one.

    As far as wp-recapatcha not being the best, well this might be the case, but it does prevent some spammers. I was having a problem with scripts bypassing the entire registration process and starting up profiles and blogs without entering any of the required fields, and the only way i got them to stop, was to change my “wp-signup.php” to something different like “sbn-start.php” and replaced the 4 instances of it in the “wp-signup.php” file with “sbn-start.php” and then went into “bp-core-template-tags.php” and replaced the one instance of “wp-signup.php”.

    This solved the problem (crossing fingers), but I still have a few people getting by that I have to manually spam and ban, but I can deal with 2-3 a day versus waking up in the morning and finding 200 spam blogs signup over night.

    Hope I helped.

    #39630
    bigkill
    Participant

    okay if I force it sitewide (by placing it in mu-plugins) it works.. BUT recaptcha will allow you to enter only a portion of the image.. I tested this at multiple sites.. get half of the question right and you’re in. Will see how well this works against spam. I though recaptcha was the best but this seems.. not so hot?!?

    john, we are kinda off the hook.. so long as owners don’t mind forcing this sitewide. You agree we mark this resolved? if not I’ll be glad to assist as your lab rat if you have any ideas.

    thank you all for your efforts!

    #39239
    gpo1
    Participant

    It could lead to spamming…

    #39062

    Yeah it’s frustrating when things don’t work the way you want them to, that’s for sure.

    You can email me at spam (at) johnjamesjacoby (dot) com and I’ll get it right away.

    I can verify that the way the cookies are presented hasn’t changed in Firefox versions as I’ve had integration going on a few platforms since 2.0x.

    We’ll get this figured out, just gotta figure out what we’re missing.

    #38784
    hyrxx
    Participant

    i would like to see member themes changeable on a per user basis so they can have their own skins as such, and also allow them to create their own, i think we need to collaborate as to what the user can change and what they cant, it would be nice to allow them selected css,

    i would also like to see the modules changeable in a drag and drop kinda way and allow the user to choose which modules they do or do not want to use,

    im interested in a love plugin which allows users to post a little love icon with thier wire posts but i could also see this being extended to comments, i have made a request for it before but got no replies so visit my profile for the topic,

    last fm integration would be majorly cool i think, as it would rival many of the ‘apps’ out there on the larger social networks. building on this area of things you could also add twitter, etc. so i guess what im trying to say is focus on the users ‘lifestream’

    when the user logs in i want them to go straight to the dashboard but the dashboard should have things like pending freind requests, groups to join, latest comments, profile stats (incuding who visited thier profile), options and such like, and an aggregation of thier freinds activity updates. when i visit my site i dont care what user a,b and c are up to im just interested in what my freinds x,y and z did recently,

    so it would be very useful to have these widgets in the dashboard, that way everything is centralised for the user to do things,

    another thing i thought would be useful was profile privacy options, allowing members to discriminate based on age eg, users over X cant visit profiles for members under 18 or whatever, maybe allow the user to choose who can contact them / add them etc,

    also have a block ability and mark as spam,

    the profile itself should have 3 modes of operation, public – everything is displayed, semi private, freinds can see full profile, non freinds can see selected modules / different modules only, and fully private – the user must be freinds to see anything other than name, age and city/ country.

    i have used the profile sidebar plugin, but as of yet there are no freinds or group widgets for it, i would like to see these with a good amount of configurability options allowing for things like top freinds, other half etc

    sorry for such a long post but i would like to see these features implemented as i think they would greatly enhance buddypress!!

    thanks!!

    #38345
    Burt Adsit
    Participant

    That kind of thing happens if you email provider decides that the mail is spam and doesn’t even let you see it. It gets blocked before you get it. Hotmail as email provider does this alot. Look in your ‘spam’ folder.

    Just getting situated here this morning. Gotta go look at this thread again.

    #3570
    ozpoker
    Participant

    Just wondering if someone has a solution for hiding some profile fields from non-members.

    For instance we collect email adresses in the fields and we’d rather not have then scraped for spam lists

    #38091

    In reply to: messaging error

    jugoretz
    Participant

    Disabling spamkarma 2 did not do the trick.

    I am running buddypress in a subdirectory–not the root of the wpmu install

    (wpmu is in http://macaulay.cuny.edu/eportfolios and buddypress in http://macaulay.cuny.edu/eportfolios/social ). Could that be the source of the problem? Doing it this way has caused other problems, all of which I’ve been able to solve so far!

    #38085

    In reply to: messaging error

    jugoretz
    Participant

    I am running sk2 for anti-spam.

    Will try disabling that temporarily to troubleshoot.

    But this error is not in the admin area at all–on a user page.

    Does that url look right? Should the reply button be calling to wp-admin?

    #38083

    In reply to: messaging error

    Burt Adsit
    Participant

    I did find some threads about that type of msg in my googling around. They all seemed to have somthing to do with a plugin that was hooking the url resolution mechanism. Got any anti-spam plugins?

    As a matter of fact these errors only occurred in the admin area of wp.

    #37261
    royak
    Member

    According to a legend if you remove the copyright you will be captured by extra-terrestrials (Automattic team) and their chief (Mullenweg) will implante an electronic chip in your brain . the chip will generate the same song (downtown by petula clark) everytime a comment spam is send to a blog around the world.

    so : Be careful please!

    #37192
    bauhaus
    Member

    I’d be interested in this as well. This would be an important tool to have for management of the sites I run. For instance, if someone where to post an inappropriate avatar, how does admin currently deal with this other than marking as spammer or deleting their profile? I’d like to have the ability to simply change an avatar or other parts of a profile to a default in these cases.

    Thanks!

    #36482
    Trent Adams
    Participant

    Best look in the WPMU forums for things (plugins) to help. Off the top of my head, some of the better ones are WP-Hashcash, Signup Question and Admin confirm new blogs. Hashcash is available at https://wordpress.org/extend/plugins and the others are at http://wpmudev.org/plugins/

    Loads of good ideas though in the WPMU forums and that is the best place to start looking.

    Trent

    #36478
    trcwest
    Participant
    #36477
    trcwest
    Participant

    I have had a major spam attack on my new instalation… over 100 new blog and user subsriptions that are definately spam… how can i over come this…

    they are signing up and then confirming the email…

    shall i put a human idendifyer on??

Viewing 25 results - 3,276 through 3,300 (of 3,323 total)
Skip to toolbar