Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • gian-ava
    Participant

    @gian-ava

    Hi, I’d like to increment this value as well.

    But is there a way to do it with a function in “functions.php” instead of modyfing a “core” file?
    Thanks to anyone who stops by and suggest the code!
    ;-)


    gian-ava
    Participant

    @gian-ava

    Thanks Kylie, I appreciate! ;-) It’s a pity Cure fans are not really keen about using it…


    gian-ava
    Participant

    @gian-ava

    Thanks a lot, aces! That did it. And yeah, of course I’ve written this down in my “production notes” to keep in mind that I modified that core file and what and why I did it.

    Big thank you to you, man!
    ;-)


    gian-ava
    Participant

    @gian-ava

    Ok, thanks for the answer, Paul!

    The problem is that I don’t know where to start. Should I copy all the code from the ticket in functions.php (don’t think so…). Or a part of it? And where.

    If you culd be more specific, i’ll greatly appreciate.
    Thanks.
    ;-)


    gian-ava
    Participant

    @gian-ava

    Ok, I seem to understand that the default theme comes with the above “wp_nav_menu” with a fallback to action, meaning the menu is built in “functions.php”.

    So, if I delete the menu in the WP Admin, I get an automaticly generated Main Navigation, and the “highlight” tab works fine for all the pages under the same component. BUT, it does display ALL the pages, so how to choose what you want and in which order?

    Otherwise, if you do use a custom menu build in the Admin, than you don’t get the “highlight” tab for all the pages under the same component.

    I hope this is clear.
    Probably I am missing some basic thing. Otherwise, there is a twist somewhere in the core, and I can’t believe nobosy brought this issue up.

    Anyone?


    gian-ava
    Participant

    @gian-ava

    Hi, Paul!

    I got a fresh and clean install of both WP and BP, and it’s not working for me.

    The weird think I noticed after the install is that the “header.php” file is calling a “WP Menu”:

    ` false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>`

    … but in the WP Admin > Apperance > Menus I didn’t have any menu that I could customize (add tabs, …) so I had to create one with the same name: “nav”.

    Is that normal? And could this be anyhow related to my issue of having no automatic “highlight” tab for sub-pages in components?

    Thanks for your help…


    gian-ava
    Participant

    @gian-ava

    @thekmen For my site, since I have a “js” folder, I did put the tipsy plugin in there and than put the custom tipsy code in my “scripts.js” file. Also I call all the JS scripts from the footer.php, not the header. So I just had to add the call for the tipsy plugin (the code for scripts.js was already there) into the footer.php template file.

    The tutorial is more to give you the basic idea, than I think everyone customize it a little depending of their file structure and knowledge.

    But I must say that your suggestion is very good, and I would have never thought of something like that. Thanks a lot for suggesting such a good option. Maybe you could also go and write up the option in the comments for the post itself, to enrich the article.


    gian-ava
    Participant

    @gian-ava

    @thekmen “As for editing the BuddyPress widgets, maybe you should open a trac ticket to have title=” added to the image hrefs in bb-core-widgets.php”.
    I actually thought about that, because when I had to implement the effect on a site that used the who’s online widget, I had to add the title attribute into the “bb-core-widgets.php”, which is a core file, and that means that updates wil kill it.

    Anyway, on this matter, can I ask you if it’s possible to write a function to add the title attribute to “.item-avatar a”?
    I thought to give it a try with jQuery, since I am not a PHP Ninja yet?

    What’s your thoughts?


    gian-ava
    Participant

    @gian-ava

    Would it make sense to use both, friendship AND following?

    What are the diffrences between the two?
    Also, if you implement teh following on a running BP site, aren’t the members going to be troubled by that? Friends won’t convert automatically into followers, do they?


    gian-ava
    Participant

    @gian-ava

    @Travel-Junkie I do actually include, as a habit, the jQuery library that way. Only I got a function for that. Thanks for pointing that out, anyway. I thought you were talking about something else.

    Otherwise, because I did implement the effect on another site for someone, and run into conflicts with other js libraries, I decided to re-write the tutorial, with some adjustments.

    Same page: http://stylozero.com/a-cool-hover-effect-for-your-buddypress-members-avatars/


    gian-ava
    Participant

    @gian-ava

    Version 1.0.3
    I got a problem when checking the “To Facebook” option in Forums (Create topic, Add a reply).

    It actually prints #FACEBOOK in the topic title and/or in the replies for a topic.
    Is this a known issue?
    And is it fixable?


    gian-ava
    Participant

    @gian-ava

    Thanks for the quick reply, Paul.
    Well, that did the trick! Cheers to you man.
    ;-)


    gian-ava
    Participant

    @gian-ava

    @thelandman Thanks for your reply.

    Settings were fine. The characters problem seems to be gone.
    And since I deactivated the SI Captcha, the slowness too.
    Except for the homepage, which displays the activity stream. It actually do render fast, but it the loading seems to keep going endelessly, if you know what I mean. Like “something”, a script maybe, is being charged forever. But at the list all the necessary JS and CSS are loaded fast.

    As for shared hosting, yeah, that is where I am at for now. Cureuphoria does not have SO much trafic for the moment. But I my consider switching for another service.
    I don’t know if taking another shared host on MT and put only *one* website does the difference, or it’s the limitation of the sharad host itself and not how many sites you have in it that shared to be slower.


    gian-ava
    Participant

    @gian-ava

    I suspect it is the SI Captcha plugin, genereting the slowness. I deactivated and it looks lke speed is back to normal. I need to check this deeper and make sure it actually IS this.


    gian-ava
    Participant

    @gian-ava

    Sometimes, when I reload the admin, the funny characters are gone.
    The site is always extremely slow. Both backend and front end.


    gian-ava
    Participant

    @gian-ava

    @r-a-y ;-)

    @Travel-Junkie Could you expand more about that? You got me lost on the wp_enqueue_script. Thanks.


    gian-ava
    Participant

    @gian-ava

    @stwc Thanks for sharing that resource, it looks cool! I’ll have a deeper look at it.

    You know, my tutorial is not about using tipsy, just about the idea of using a tooltip to improve usability (the default browser tooltip for the title attribute is just too slow and small), so all other ways to accomplish that are always welcome.


    gian-ava
    Participant

    @gian-ava

    @r-a-y Thanks for the info!


    gian-ava
    Participant

    @gian-ava

    @3sixty By default, the tipsy popup was a little transparent, which was “conflicting” even more with the above photo. I did turn it flat black (or close to it), which it renders better the member’s name.

    Otherwise, I don’t think it really needs an opaque layer around the popup bubble, to focus even more on the name. If that is what you meant. But it’s cool that you suggest improvements, and I’m all for it.

    If you get something better out of it, let me know.


    gian-ava
    Participant

    @gian-ava

    I didn’t try yet the” This is a notice to all users” yet, but I thought that that would send an email notifications to all the users (if they have email notifications on).

    Selecting that checkbox, does it send only a site notification instead? I mean when users log in? No mail?


    gian-ava
    Participant

    @gian-ava

    De rien, el_terko!


    gian-ava
    Participant

    @gian-ava

    The next version of BP Album+ plugin will allow yuo to do just that.


    gian-ava
    Participant

    @gian-ava

    @foxly

    Do you think it is possible to use a redirect rule in .htaccess instead of going with the cPanel option from the video you provided? (I do not have cPanel, and I am on MediaTemple), to have images to doisplay fine in the activity stream?

    Please note that WP itself installed in a subfolder is not a problem (https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory), and URLs are generated without the subfolder. It is the BuddyPress components that generates the subfolder in URLs/permalinks. And that is the reason why I needed this code (who was provided by r-a-y) to get rid of it:

    // Getting rid of the subfolder in URLs/permalinks
    function my_bp_override_core_domain() {
    $domain = get_bloginfo('url');
    return $domain;
    }
    add_filter('bp_core_get_root_domain','my_bp_override_core_domain');

    I believe that as you said, many could be the issues with WP in a subfolder if not handled properly, but I also believe that there are *many* users using a subfolder installation, and probably the core BP should take this into consideration and properly handle one option (root installation) or another (subfolder installation), without having to use workarounds.

    There is an article from Jeff Starr that may be interesting:

    http://perishablepress.com/press/2008/10/06/redirect-subdirectory-to-root-via-htaccess/

    I did try different solutions, but none of them worked.

    But because this is not related only to your plugin, I will probably going to open a thread about the whole subfolder-related topic.

    Still, if you got an answear for me, I am here.

    Thanks.


    gian-ava
    Participant

    @gian-ava

    @foxly Well, at the least somebody points me to the right direction about that.

    I did suspect that having WP in a subfolder I would run into all kinds of problems with BuddyPress as I go along. But didn’t know about setting it up in another way, since WP just works fine like that.

    I will have a look at the youtube links you provide (didn’t do that yet).

    Thanks again!

    I will let you know…


    gian-ava
    Participant

    @gian-ava

    I was about to write a thread titled “We have our BP site up, should we use Terms Of Service”?

    But since this thread’s here, no need to do that.

    And, the WordPress.com resource is really what I was looking for. At the least as a base to be worked out to fit your particula site.

    Once I customized mine, I will come here a provide the link to my TOS page, and it would be a nice idea if everybody else would do the same, so to share each other’s for inspiration.

    What do you think?

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