Activity

  • Adam The Minccino changed their profile picture 6 months, 1 week ago

  • Adam The Minccino became a registered member 6 months, 1 week ago

  • james became a registered member 8 months ago

  • James changed their profile picture 8 months ago

  • James posted an update 9 months, 2 weeks ago

    Want to show a welcome message to logged out users only?
    There are a few ways you can do this but the easier ways are:

    Embedding this code into your theme in the place you want the message to display and using this code:

    <?php

    if ( is_user_logged_in() ) {

    echo ”;

    } else {

    echo ‘Welcome, visitor! Why Not sign up!’;

    }

    ?>

    *Note: The code will be overwritten the next time you update your theme so it is advised to create a child theme and insert your welcome message there instead.

    OR an even easier option would be to use widgets.
    Here is a very simple trick in WordPress to show certain widgets to users that are not logged into your site (perfect for Welcome to our site widgets and the like). Simply download the popular plugin widget logic and then place the widget where you want your message to be and then in the widget logic section now added to your…[Read more]

  • gary posted an update 9 months, 2 weeks ago

    WOW the Chinese government are fascists.
    The Chinese government is trying hard to stomp out Christianity in china.. in the last three years alone over 1500 churches have been demolished and lawyers and pastors who have spoken out about the government doing this have been imprisoned. Chinease citizens have also been told that if they go to church then their welfare benefits will also be stopped and if they bring a minor to church that they will be sued!

    The Chinese government obviously sees the rise in Christianity in China as a direct threat to their corrupt rule and want to stomp it out as soon as they can! Sorry communist China Christianity has been around for 2000 years and is not going anywhere and will outlast your regime… either join in or shut up and treat your citizens with a bit more respect!

    You can read more about this story…[Read more]

  • gary posted an update 10 months, 1 week ago

    GOOGLE MAKES ME SICK!
    Scumbag Sundar Pichai CEO of google has said that Google will not pay any more tax and will only pay more tax if international laws change (but no doubt google accountants will try their very best to find loopholes wherever they can) his comments come after a huge public uproar over Google blatant tax avoidance the beginning of multiple investigations into googles tax affairs recently.

    The very fact that Google is allowed to carry on avoiding paying their fair share of tax like this makes me feel sick but it is also the fact that this sadistic nerd is basically sticking up his middle finger up at the rest of us form complaining that really makes me angry! He should be ashamed of himself as google rakes in billions of profits (usually by demoting small business on google to force them to buy ads) at a time when many are suffering from relative poverty and…[Read more]

  • jim posted an update 10 months, 1 week ago

    I went to a church BBQ this Sunday.. shame everyone ignored me!
    I started going to church recently to help strengthen my faith, learn more about the bible, meet new people and boost my confidence.. however things haven’t gone to plan. I have found learning about god and the bible really something amazing but iv not really had a warm welcome at all by the other church goers as for some reason I am getting the cold shoulder from them!
    I have been going to the church for the past 5 weeks now and have only managed to talk to a small handful of about four or five people out of the 500 or so that go to the church…. but that didn’t really bother me at first because I reckoned that over time I would meet and talk to more people and that at the Church BBQ I would be able to get to socialize with everyone there but I was wrong.
    When I went after the Sunday service I was totally ignored…[Read more]

    • After waking up this morning I am still feeling kind of down about what happened yesterday. I feel really disappointed in both myself and other people, but I know it is probably not the people at that churches fault because who am I to expect anything from these people they have their friends..
      I’m also thinking that maybe this church just isn’t for me as well…
      I have noticed something really bad that happens at the church after the service the white people gather in inclusive groups over at one half the hall and the black people seem to gather in inclusive groups at the opposite side of the hall and do not speak AT ALL to each other.
      Also even though I agree with most of the things that the church preaches about there are things that I disagree with that they believe.. for instance buying miracles! At the church they say that the more money that you give the church the more…[Read more]

    • Scratch all of that! I went to a church football event this week and have met so many great people. So if your reading this and are struggling to make friends with people just dont give up!

  • gary posted an update 10 months, 2 weeks ago

    @*$! off bloggers! Your opinions are not your own so stop lying! Stupid bloggers are damaging our economy and lying to people just to make a quick buck or two.

    How can small businesses even compete on the internet when big multi million dollar brands use dishonest practises to buy fake reviews online from greedy bloggers to trick people into thinking that their products are brilliant when there actually not.. What is more from these fake reviews these bloggers are also helping these big brands to rank higher in search engines like google because part of the deal that these bloggers make with the big brands is to supply the brands site with a dofollow and usually keyword rich anchor text. This pushes down smaller more honest brands down in the search results harming consumers and small businesses in the process.

    Amazon uses an affiliate scheme that is designed to motivate…[Read more]

  • gary posted an update 10 months, 2 weeks ago

    What do you do when you are a googler and you have just left Google? Join the Pentagon of course! Matt Cutts is the latest googler to take a top job at the Pentagon! Matt Cutts is a disgusting psychopath who used to be head of webspam at google which basically involved him censoring small businesses from the internet in order to force them to buy adwords! Just simply censoring small businesses from the internet wasn’t enough for Matt Cutts though as in his own words he wanted “to break peoples spirits” and would actively mock on twitter small businesses that he had destroyed! So it is no surprise to me at all that he has taken the next jump and no longer wants to destroy peoples businesses and livelihoods but now wants ultimate control to kill people (by proxy) instead to feed his sadistic apatite.

    Matt Cutts isn’t the first googler to get a top job in the Pentagon Eric Sch…[Read more]

  • James posted an update 11 months ago

     
    Here is some super handy code for buddypress that I thought I would just share.. in this piece of code you will see how using $current_user->ID you can use an array of different buddypress functions to echo out lots of goodies such as displaying the current users cover image, profile name and link as well as the users most recent activity!! This code below make an awesome starting point for a cool sidebar widget that you can put on your activity page just like all the other major social networks have like facebook and twitter! Enjoy.
    <?php
    if ( is_user_logged_in() ) {
    ?>

    [Read more]

  • James posted an update 1 year ago

    Here is an easy way in wordpress to add a class to the body element which you can then use to alter your design if wordpress is using a sidebar or not

    Simply add the following code to your theme function.php which will check to see if sidebar is active and if it is then it will add the class has-sidebar to the body.

    add_filter( ‘body_class’, ‘wpse_77719_sidebar_body_class’ );

    function has_sidebar($classes) {
    if (is_active_sidebar(‘ PLACE YOUR SIDEBAR ID HERE’)) {
    // add ‘class-name’ to the $classes array
    $classes[] = ‘has_sidebar’;
    }
    // return the $classes array
    return $classes;
    }
    add_filter(‘body_class’,’has_sidebar’);

    Now you can add css like this which will make the site-content 100% width if the sidebar is not active but if the sidebar is active the browser will instead use .site-content .has-sidebar and will make…[Read more]

  • James posted an update 1 year ago

    This took me forever to work out so I thought that I might as well share it with you guys!

    In this quick post I will be showing you how to make a thumbnail image zoom and display an overlay over the top of it when a user hovers over it with his mouse!

    So lets dive straight in… I have added various comments to my code to help you understand what is going on and why!

    For some stupid reason buddypress will not allow me to post raw html within code tags without buddypress converting it straight into actual html. However the basic layout is just in this order…
    post-thumbnail-container-padding
    post-thumbnail
    thumbnail image goes here
    post-overlay-container
    post-overlay
    entry-content-thumb-content

    Something very important to know about when doing this is that I made sure to have my overlay “entry-content-thumb-content” below my…

    [Read more]

  • James posted an update 1 year, 1 month ago

    Here is how I am adding custom jquery to a wordpress theme I am currently developing.. in other words how I am making an inbox in the header show on click and then disappear when you click on something else.

    First I had to call the jquery script in the foot.php of my wordpress theme (you want it being the last thing loaded)

    I imported it using the following code to ensure that it is compatible will other themes on other websites http://&#039;?php

    I then added this code to the file /js/effects.js

    jQuery(document).ready(function($){
    // First of all hide all elements you want hidden when page loads
    $(‘.inbox-mail’).hide(); // hiding mail box

    // when you click the icon
    $(“.site-header-user-notifcations-mail”).click(function(e){
    e.preventDefault(); //use prevent default to stop the link from being active. This is good for keeping the link alive for those who havnt got…[Read more]

  • James posted an update 1 year, 1 month ago

    Who the hell does president Obama think he is coming all the way from America just to tell us.. no wait threaten us not to leave the EU! I think that it is a bit rich for someone from the so called “democrat” party to come here and tell us what to do when we go out and vote not only that it is extremely hypercritical of Obama to say that we should not leave.. imagine if the united states was part of an American union whereby the borders to Mexico were wide open and people could move freely between south America and north America… not only that but imagine if somewhere in south America a bunch of non elected bureaucrats could have the last say on laws in the united states.. there would quite simply be uproar in the US if this ever happened.
    When Donald trump was asked his views on the Uk being in the uk he was said he thought that the Uk was better off out of the eu however he…[Read more]

  • James posted an update 1 year, 1 month ago

    Here is a good if statement for echoing out the number of notifications a user has in buddypress and IF the count is 0 then nothing is displayed. This is useful for adding to your header.php as a kind of bubble that can appear next to an icon or something linking to your notifications page to let users know that they have a new notification just like on facebook.

    $notificationcount = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );
    if ( $count > 0 ) {
    echo $notificationcount;
    } else {
    // nothing is displayed if the count is 0
    }

    You can change “bp_notifications_get_unread_notification_count” to adapt this code to count other things for example “bp_friend_get_total_requests_count” to get the users pending friend request count or you could even use “bp_get_total_unread_messages_count” to get the number of unread messages a user has! (Note if you…[Read more]

  • James posted an update 1 year, 1 month ago

    I thought I would just share these buddypress codes for you guys to help you all out if your using buddypress ( to be honest im really posting these codes here so I don’t forget them myself!)
    Basically if you want a to display a users cover image then this code echoes out the users url of the cover image if the user has one outside of the buddypress loop

    <?php $image_url = bp_attachments_get_attachment(‘url’, array( ‘item_id’ => bp_displayed_user_id() ) ); ?>

    so then all you have to do is echo $image_url out into a divs background style like so…

    bp_displayed_user_id() ) ); echo $image_url; ?> )”>

    Some more really useful code is this

    <a href=”<?php echo bp_loggedin_user_domain(); ?>/profile”><?php _e(“profile”)?></a>

    Basically this code creates a link that you can drop anywhere in your theme that will direct you to certain pages specific to the logged in…[Read more]

    • Another useful piece of buddypress code would be

      <?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?>

      which will display not only the currently logged in users name but also will make it a link to the users profile page.

  • James posted an update 1 year, 1 month ago

    Virgin media is the worst possible internet service provider ever! I recently moved house and had to opt for virgin media because it was the only internet provider in the area… even though it was extremely expensive I was forced to bite the bullet because I just cannot go without the internet as it is a must for my online business but after using it for a couple of months all I can say is that I wish that I could get another internet provider!
    Super fast fiber optic broadband my ass! I have found that Virgin media is pretty slow and if you are paying extra for the 5g you will not see any difference in speed at all in fact I think my 2g bt broadband at my old house (which by the way was located in the middle of nowhere) that I used to have was a lot faster.
    Not only that but recently my internet has been continually cutting out because the router that virgin has given me is…[Read more]

  • James posted an update 1 year, 1 month ago

    Stackoverflow/stack exchange is absolutely appalling! If you have a complex and difficult programming question don’t bother going to that site.. because if it your question isn’t something like “How do you echo out hello world?” then you aren’t going to get any answers! Although to be fair I don’t really understand peoples motivation to give answers anyway just to help out complete strangers (increasing your pointless reputation points doesn’t do it for me I am afraid)… I know I have better things to do then waste my time answering other peoples questions but that being said there are super saddo moderators on stackoverflow that don’t answer questions all day long but instead just correct peoples minor grammar mistakes.. which is extremely annoying when you have asked a question and rather than the moderators helping you out they would rather be a grammar troll or remove the…[Read more]

  • James posted an update 1 year, 1 month ago

    George Osbourne and David Cameron are showing their true globalist/big business colors as they try to bully us all into voting to stay in the EU! The fear campaign that the stay campaign is using to try and brainwash us all into thinking that we are better in the eu and if we leave then the uncertainty will cause us to be worse ff is utter garbage and is exactly why we should leave!
    The eu is not democratic at all and we have zero say what soever(something big businesses love because it is so much easier to bribe and infiltrate into something like the eu than to try to bribe disposable governments one by one ). If you think back to 2010 the leader of Ukip Nigel farage when Nigel asked the new president of the eu council Herman Van Rompuy who was he and who voted for him to be in charge.. for this this Nigel was fined for verbally attacking the the eu president £2 700.. in…[Read more]

  • Load More