jezza101 (@jezza101)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 33 total)

  • jezza101
    Participant

    @jezza101


    jezza101
    Participant

    @jezza101

    Yes I’m only aware of an old plugin. Not sure there is a recent one that does what you want.

    For what it is worth I believe it is in the development roadmap for core bbPress so should be added one day.

    Is it this ticket?
    https://bbpress.trac.wordpress.org/ticket/2498

    Unfortunately bbPress development seems to have stalled a little with buddyPress taking much of the attention these days (?). I did actually contribute to a crowd funding campaign in the hope to kickstart bbPress development but no release came out of that sadly.

    I’d love this feature too, if my PHP skills were up to it I would work on it myself – maybe one day!


    jezza101
    Participant

    @jezza101

    I have used Google Custom search previously. This is essentially a Google search over your site so will be limited to pages Google can see only. This will cover all areas of your site, including WordPress and any other apps / custom pages.

    I think you have to show adsense ads on the search results page but that may or may not be a problem for you.


    jezza101
    Participant

    @jezza101

    OK, so it looks like the request is for member views, which means logged in users. That is much easier to identify.

    The problem is that this is a fairly niche case, it’s unlikely that many users of this plugin want a count of members only.

    I could add it is an option but then the plugin isn’t really “simple” any more. Let me have a think about it πŸ™‚


    @devyncjohnson
    That’s a great idea by the way. I like the idea of a little panel on the main dashboard with a few stats. Let me have a think about this.

    The plugin hasn’t been updated because it hasn’t really needed any changes, as far as I know it still works and the idea is to keep it simple. But some admin stats is a neat idea. I love the idea of core bbPress having view counts but bbPress development has ground to a halt, which is disappointing especially after a bunch of us stumped up some cash to support the further development of bbPress.


    jezza101
    Participant

    @jezza101

    Thanks. Yeah, I don’t check the forum that often *sorry*. I’ll look now.

    So make some kind of finger print based on available info? Seems plausible. Yeah, I guess it doesn’t have to be fool proof but it handles the case where someone hits refresh a couple of times.

    The performance issue I would be worried about is that on every page load I’d have to check against a list of all previous views so I know whether to increase the counter or not. Maybe it would work OK, it would just be an exists check and if indexed well perhaps MySQL would handle it well. On a site with millions of visitors it could be a big search on each page load?


    jezza101
    Participant

    @jezza101

    I started reading the topic and thought, hold on, Im sure I wrote a plugin for that!

    Anything I can do to make it better? πŸ™‚


    @bruce30
    do you mean like a unique view count? This starts to get tricky, you’d need a way to uniquely identify users, and then you’d need to track who has seen them. Even if WP had a way to track this it would be veeeery slow.


    jezza101
    Participant

    @jezza101

    For what it’s worth I have started on a bbPress app.

    It’s a personal project and one that I want to do to hone my Android development skills (I am a professional developer, but have no Java experience!!). It’s something I will continue with regardless of other commercial implementations.

    The idea is that you can add any number of bbPress sites, once the WP REST API is in core you won’t need any additional plugins for it to work. I’d also like to make it easy for others to produce a custom / branded app that works for their own site only.

    You can find out more here:

    WordPress JSON Rest API bbPress and Android

    I will host on GitHub once I have some basics in place.

    This will be Android only, cos hey, nice for Android to have exclusives for a change ;). I’m sure someone will do an iOS one someday…

    In reply to: Best anti spam plugin

    jezza101
    Participant

    @jezza101

    I wrote this up a while back. Hope it is useful.

    In reply to: Adsense Plugin

    jezza101
    Participant

    @jezza101

    Shortcode support now added to 0.4.

    I’ll have a look at some of the other points above. I’ve begun working on 0.5!


    jezza101
    Participant

    @jezza101

    Thanks for this. Had the same problem a year later.

    I tried the solution but found it also affected an adsense iFrame (not sure why??). Anyway, I fixed that by being more specific,

    I used .youtube-player.iframe { … }

    Add it here in case someone else hits the same issue.
    Cheers.


    jezza101
    Participant

    @jezza101

    Good job guys, keep up the great work πŸ™‚


    jezza101
    Participant

    @jezza101

    OK, version 1 uploaded to official repository:

    Get it here.


    jezza101
    Participant

    @jezza101

    Forums are relatively resource hungry, and whilst bbPress is “lighter” than others, it will place additional strain on any server.

    Is it a shared server? Perhaps you have outgrown it.
    What plugins are you running? Often problems are caused by a rogue plugin, try disabling them all.
    What is your website traffic like? If your site is busy, bbPress will cause server load! Time to upgrade!

    In reply to: Adsense Plugin

    jezza101
    Participant

    @jezza101

    No probs, checked the plugin’s forum on wordpress.org and saw there were a few issues raised there so a bit of work ahead.

    I have started work on 0.4 πŸ™‚


    jezza101
    Participant

    @jezza101

    update: Submitted to the WP repository for approval, it’s here if anyone wants the zip. Note that this is a 1st release and whilst I have checked it works I have done limited “real world” testing. This will add a db read/write to each page load so that may have an impact – personally I think it’s unlikely on all but the bigger sites but who knows until tested.

    download


    jezza101
    Participant

    @jezza101

    Just knocked up a little proof of concept and it seems to work well. I’m using the inbuilt WP post meta functionality to record a count that gets incremented each time the page is viewed.

    As mentioned above, who knows if this would be a big performance hit and how it would work with cache plugins etc??

    Anyway, I just need to display the counts somewhere and then I’ll pop the plugin into the repository. If it gets some traction we could look at making it better, although perhaps this is something that will be put into bbpress core at some point?

    In reply to: Adsense Plugin

    jezza101
    Participant

    @jezza101

    Hi guys!

    It means that somewhere in the plugin there is some “white space”, usually this comes after the php closing tags.

    Fortunately this is no show stopper and the plugin still works.

    I use it on my own site nxtab.co.uk and therefore I am committed to keeping it up to date, I had no problems migrating to 3.6 and will be quick to fix any issues raised.

    I will take a look at this error above and will get an update out asap.

    Any other probs, or suggestions, let me know. If I don’t spot the post I can be reached via twitter @jezza101


    jezza101
    Participant

    @jezza101

    Big thanks to the Ians then, I rely on this, keep up the good work.


    jezza101
    Participant

    @jezza101

    Great, thanks for the new release. Always exciting to see new bbpress updates :)! Couple of comments from me.

    Search
    I’ve traditionally used Google search to search across my whole site, is there an easy way to switch the new form off? It appears to be forced upon the main forum list page.

    It is also not looking great on my sites main forum page, what’s the easiest way to style this, what can I add to my CSS file to change the look? See here.

    Stats
    For those looking, the Stats shortcode is [bbp-stats], there is also a widget. https://bbpress.trac.wordpress.org/ticket/2052

    Is it possible to style the output?
    Can I control which stats are shown? For example “empty tags” isn’t something I really want to boast about on my forum!

    In reply to: Adsense Plugin

    jezza101
    Participant

    @jezza101

    Just a small bump to say this plugin is updated. As before, let me know if you have ideas to make this better.

    Cheers.


    jezza101
    Participant

    @jezza101

    The new shortcode is:

    [bbp-statistics]

    Is it possible to style this or control which stats are visible? For example “empty tags” and “hidden replies” aren’t really stats to share about (are they?!)

    How is the “who’s online” done?


    jezza101
    Participant

    @jezza101

    I looked into this in the past and having read a number of existing threads on the topic it looks like there is no way to change this.

    For aesthetic reasons I chose to change from the default as “/forum/forums/” doesn’t look great so you can change it to “/bb/forums” or “/forum/discuss/” or whatever. Not ideal but trying to hack this to work could leave you in a whole world of pain (prob tricky to get right, and may break with future releases).


    jezza101
    Participant

    @jezza101

    Upgrade to 2.2 fixed all problems.

    Good stuff.

    Cheers.

    In reply to: Adsense Plugin

    jezza101
    Participant

    @jezza101

    I think it would be a case of changing the order of the two filters? So when you apply a filter you have to set the priority:

    https://codex.wordpress.org/Function_Reference/add_filter

    If you change the priority of the filter on that plugin to be less than the filter on mine it might then work in the right order.

    Which plugin are you using? Is it this: https://wordpress.org/extend/plugins/kk-i-like-it/

    I can have a look if I can get the right plugin to test…


    jezza101
    Participant

    @jezza101

    Thanks loads, I’m definitely on my way now. If I can just identify the first post then I’ve got everything I need.

    I guess I could just set a global flag once we’ve done the first loop to say don’t process my function again – but that doesn’t seem particularly elegant!

    Cheers, will definitely pop a credit / link in when I get this out.

Viewing 25 replies - 1 through 25 (of 33 total)