Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 69 total)
  • @juanmaguerrero

    Participant

    @juanmaguerrero

    Participant

    @darrenmeehan this is really big news. Before trying the plugin, just wanted to ask if this creates notifications like “%username& liked your %item%” on the topbar, thank you! 🙂

    @juanmaguerrero

    Participant

    It can be done, of course. You could create a user named “anonymous” for example, and then show the activity update form adding an option for posting “as ‘username’ or ‘anonymous'”. And if the last is selected, add the variable via post and add checking via backend. If everything is ok, post to the database with the “anonymous user” ID. Voila! The user posted as anonymous. 🙂

    @juanmaguerrero

    Participant

    @bphelp

    Of course, as @sbrajesh says, there’s no competition that’s why I just mentioned a couple of things from my point of view so that Brajesh could see them and have his conclusion (which he did) just trying to add some value.

    I have been a registered member of Brajesh site for long so I am also respectful and thankful for his works and effort.

    So, in resume, everything’s ok. And Brajesh, thanks for your clarifications.

     

    Cheers,

     

    -JM

    @juanmaguerrero

    Participant

    Well, this is truly a good work, but there’s a few things that still are missing. For example, Facebook does not wait for the user to reach the actual bottom, else he would have to wait for the items to load and have nothing to see for a while (depending on your server speed). Also with this system it is preferable to load a lot more activity items than the default number (study what Facebook exactly does and you’ll see what I mean).

    I hope this can be a good point of reference for improving. The code I gave in this thread is already doing that so you can take a look. Another thing, you should use throttling for avoiding several simultaneous requests that may load your server’s speed.

    Keep on the good job!

    @juanmaguerrero

    Participant

    oh, @bphelp that’s just awesome! I had made lots of improvements to the code, could you send me a copy of what you made to juanmaguerrerocom {at} gmail.com?

    I had a lot of work recently but I wanted to made a plugin anyone could use with this. Maybe if it’s good we can certainly upload it, and I would be glad if we appear both as authors 🙂

    Thanks a lot!!

     

    Cheers

    @juanmaguerrero

    Participant

    Thanks a lot!!! will try that out! 🙂

    @juanmaguerrero

    Participant

    Ok, I can do that, do you know what files or where should I start looking for the code to change? Thanks!

    @juanmaguerrero

    Participant

    Do ypu want to hide it via CSS or only trough PHP?

    @juanmaguerrero

    Participant

    Hi, I’m working on launching a new bp plugins / themes site soon, there will appear the “auto load more activity on scroll” plugin. Thanks for your patience. Regards,

    -JM

    @juanmaguerrero

    Participant

    @chouf1 THANKS!! 🙂

    @juanmaguerrero

    Participant

    heeey, Thanks a lot, @mercime !!! :) Yes I plan on add (a thousand thong, and among them) a map for all kinds of groups that have addresses, like beaches and surf schools and local businesses like pubs, etc.
    I’ll have to create some logic when the site will have more content in order to let the user select beaches/other stuff in their area and not “global ones”.

    Well, thanks a lot for the feedback and glad you liked it! :)

    @juanmaguerrero

    Participant

    Hi again, @sakarya I’m not quite sure of what you refer to when you say you’re using them for content, but you can customize everything having a group “tagged” as a page. I have scrapped Facebook’s categories and kept just a few that has to do with my own community (www.soysurfista.com) f.e: Local commerce or business / Institution / Surf School / Public or famous person / Professional sportsman / Music artist or band and so on…
    Then I list only that “groups” in separate directory pages, and customize everithing in the creation process and the way they look. For example, if it’s a “local commerce” I add a google interactive map with the address. If it’s a person not, of course. You can do preety much everything… :)

    @juanmaguerrero

    Participant

    Great, @shawn38, enjoy your vacations and when you come back I guess we’ll make something pretty neat ;) Thanks for the help

    @juanmaguerrero

    Participant

    Hi @nhoullet, all, the script is not meant to work on all mobile platforms since it uses a pixel to calculate the height of the window. Also, remember that the script posted is only the “alpha version” and I plan to make a plugin with the latest code refactoring and all. I will let you know when I have it finished. BTW, the opera issue is surely related to CSS (style/design) are you using the latest version? thanks all

    @juanmaguerrero

    Participant

    Hi, @erikahrend there’s no plugin now that does that, but if you can manage to code a bit you can use de “BP Labs” plugin mention autocomplete feature disguising it as “tags”. You will not have the feature of pointing specific x1 y1 / x2 y2 square tag position but at least your members will be able to mention “who appears in this pic?” and the mentioned users will be notified… maybe that will suit for a while :/

    @juanmaguerrero

    Participant

    Hi, @rogercoathup I missed your comment previously. In our case I modify the activity loop and any other plugin or theme will have the same activity loop as the default one, just with the modification my plugin is installed to do, meaning that if the user wants the activity loop not modified my way will never install my plugin in the first place. It’s for auto loading activity items and removing the “load more button”. It would be crazy to think that the user would install this plugin ando other that uses that button xD and no filter instead… Also, with every “bp-default” theme upgrade/new BP version, I would update the plugin (will took me two minutes to do that ;)

    @juanmaguerrero

    Participant

    @shawn38 that is exactly what I was looking for for the last month… :) Would you like to drop me an email to juanmaguerrero.com and have a nice chat about the possibilities of making this an other great plugins I have in mind? Thanks for all!

    @juanmaguerrero

    Participant

    Mmm you can find if a search is being made by checking if the get parameter ` ?s= ` is being passed. then you could add some function or custom javascript in your bp-custom.php / functions.php file to react to that, and even better, check if it comes within certain url or not, for example /groups/ or /members/ etc. and display a notification then.

    @juanmaguerrero

    Participant

    In fact the entire modifications (not only the preloader.gif) are made in the not-ideally-correct way, since all will be gone with any update. I’m asking for help since weeks ago on https://buddypress.org/community/groups/creating-extending/forum/topic/help-at-making-a-plugin-how-to-replace-bp-code/ and now on buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-can-i-make-a-custom-activity-loop-into-a-plugin-that-will-replace-the-default-one/ if I can manage to solve that automation I have all the code ready to pack as a plugin with a lot of improvements. @shawn38 do you know how to get this done?

    @juanmaguerrero

    Participant

    I need that same thing exacly, to learn how to programatiaclly replace a template file or at least a piece of it, and not the content that it will digest vĂ­a filters. Would be amazing if someone give us a tip for pointing us in the right direction.

    @juanmaguerrero

    Participant

    Hi, maybe someone just can tell me how to programatically set a custom template instead of a given one? I need to change the activity loop template inside the user’s current theme (as a child theme would do) but my “product” would be a plugin, not a theme.

    I can’t use filters since I don’t want to modify the dynamic content but the template php logic.

    Please I hope someone could point me in the right direction… or give me some advice on what is the best practice for doing this if I’m thinking it wrong. Thanks a lot.

    @juanmaguerrero

    Participant

    I would make a wizard, that is, splitting a long form in a few more user-friendly steps. I would create the custom fields you need and make them required in the registration, and then add some javascript to show / hide the fields as the user goes through the steps… that way you will not need to touch the backend.

    @juanmaguerrero

    Participant

    I think maybe because of the PHP code, I have pasted the whole answer in paste bin (since it took some effort and I’m not willing to leave that in vain) ;) http://pastebin.com/phB0uwx4

    @juanmaguerrero

    Participant

    Hi, @sbaglia, I’m trying to post the answer but the system just displays an error. Would you drop me an email juanmaguerrerocom [at] gmail.com? and will paste the code to you

Viewing 25 replies - 1 through 25 (of 69 total)
Skip to toolbar