Forum Replies Created

Viewing 37 posts - 121 through 157 (of 157 total)
  • Author
  • in reply to: Display Links in Forums for Not Logged In user #27484
     gm713
    Participant

    Figured it out. Stored it in a variable using this, and then reference it in the replacement string

    $hot_login_button = "Please " . "<a class='bp-menu bp-login-nav kleo-show-login' href='#'>Log In</a>" . " to create new topics.";

    in reply to: Display Links in Forums for Not Logged In user #27466
     gm713
    Participant

    (Non working) Code in the above comment for Login. '<a class="bp-menu bp-login-nav kleo-show-login" href="#" '. '">Log In</a>';

    in reply to: Display Links in Forums for Not Logged In user #27465
     gm713
    Participant

    Hi Abe,

    Thanks for your inputs.

    Rather than making changes to the core files, I added the following code (credit: http://www.viper007bond.com/2011/07/13/changing-core-wordpress-strings/ ) in the child functions.php file to compare and replace. Figured that’ll help with future proofing.

    Having said that, I’m planning on using the same string replacement “login” string (commented) below. Can’t figure out the right syntax to get Login to fire the modal.

    // Message replacement function
    function youruniqueprefix_filter_gettext( $translated, $original, $domain ) {
    //get topic title to supress unwated string later
    //$topic_title = bp_get_the_topic_title();

    // This is an array of original strings
    // and what they should be replaced with

    $strings = array(
    ‘Oh bother! No topics were found here!’ => ‘Select one of the topics above to participate.’,
    ‘The forum ‘%s’ is closed to new topics and replies.’=>”,
    // ‘You must be logged in to create new topics.’ => ‘Please ‘ . ‘Log In‘; . ‘ to create new topics.’,
    //Add some more strings here,
    );

    // See if the current string is in the $strings array
    // If so, replace it’s translation
    if ( isset( $strings[$original] ) ) {
    // This accomplishes the same thing as __()
    // but without running it through the filter again
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }

    return $translated;
    }

    add_filter( ‘gettext’, ‘youruniqueprefix_filter_gettext’, 10, 3 );

    // message replacement function ends

    in reply to: Get Login button to fire modal window #26849
     gm713
    Participant

    Great, thanks. That did it.

    Before closing this issue out, I have “bp-menu bp-login-nav boton_doi kleo-show-login” in the extra calls field. Do all these need to be in there, or do I need to remove any.

    in reply to: Display Links in Forums for Not Logged In user #26572
     gm713
    Participant

    Thanks Abe. That did the trick. However, can you let me know if these 2 things are possible, and if so, how to go about it:

    1) For closed forums threads, customize the “Oh bother! No topics were found here! The forum ‘{forum name}’ is closed to new topics and replies.

    I’m housing sub-forums in a forums, so this message is misleading and may confuse website visitors. If it were up to me I’d not display it all or if I had to I’d like to change the copy to be more generic like “Please click on one of the forums above to participate in the discussion”

    2) For forums that are open, it displays a message “You must be logged in to create new topics.”

    I’d like to make “login” a hyperlink to my login modal/page.

    in reply to: Registration page – New Required Field #26423
     gm713
    Participant
    This reply has been set as private.
    in reply to: Get Login button to fire modal window #26422
     gm713
    Participant

    Thanks for you reply. Please find the “Sign Up” link on the homepage http://greencardez.net within the Forums section (3rd section from top with blue background)

    in reply to: Get Login button to fire modal window #26329
     gm713
    Participant

    Thanks, you mentioned that before, but I want to use a button to fire the popup and not a text link. Is that possible?

    in reply to: Showcase KLEO #25776
     gm713
    Participant

    All right, I’ll go as well.

    http://greencardez.net

    Still working through some homepage design. Will updated once I updated the home page.

    in reply to: Get Login button to fire modal window #25736
     gm713
    Participant

    Hey Catalin,

    Any update on how to trigger the login via a button link?

    Thanks!

    in reply to: Footer font-size override #25452
     gm713
    Participant

    Nevermind figured it out.

    Used this to override the h4 tags for widget titles.

    .footer-color#footer
    {
    font-size:14px !important;
    }

    in reply to: Footer font-size override #25451
     gm713
    Participant
    This reply has been set as private.
    in reply to: WooCommerce Removal – Any harm? #25418
     gm713
    Participant

    Thanks Abe.

     gm713
    Participant

    OK thanks. I’ll try to play around some more to see if I can figure it out. This isn’t launch critical item but something I’d like to do for design consistency, so worst-case I should be able to take the site live within a few days and will ping you back.

    Do you want me to mark this ticket resolved or leave it open for the time-being?

    in reply to: Footer font-size override #25089
     gm713
    Participant

    Hi Catalin,

    I want all text appearing in the footer to be set to 12px. Currently I have the following widgets added in the footer:

    Footer Column 1: Text widget (I can manually hard code the text in within the text widget, but want to know the right way to do this)

    Footer Column 2: Online Members, and Recently Active Members widgets. I need to set the headline i.e. “Online Members” and “Recently Active Members” to be set to 12px.

    Footer Column 3: Have added a Social Media widget. Need to override the headline text to be set to 12px

    Footer Column 4: Have added the “Latest Posts” widget. Need to headline text and the dynamically pulled post-titles that widget pulls to be set to 12px.

    Attached is the screenshot for visual reference.

    Hope this helps. Essentially, trying to set all text that appears in the footer to be set to 12 px.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Style Top Nav/Menu #25086
     gm713
    Participant

    Thanks Catalin.

    in reply to: Get Login button to fire modal window #25052
     gm713
    Participant

    @loraehmke Thanks for your inputs. For your issue, it’s simply a matter of setting the website landing page to your home page.

    Go to Settings>Reading option and then set Static page Front Page to desired page. Screenshot attached for your reference.

    PS: The screen grab colors look slightly different since it’s not taken from the Kleo template but a different site. From a functionality/settings point of view, it should be no different.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Get Login button to fire modal window #24930
     gm713
    Participant

    @loraehmke to answer your question, go to Appearance>Menu and under “select a menu to edit” pull up your top menu. Once loaded, find login and register links under “BuddyPress” options on the left and add to menu, and you should be all set.

    PS: if you don’t see BuddyPress on the left, scroll all the way up to the top of the page, and click on “Screen Options” to reveal options and select “BuddyPress”.

    Hope that helps!

    in reply to: Get Login button to fire modal window #24929
     gm713
    Participant

    @loraehmke how did you get it to work. Do you mind pasting the code here?

    in reply to: Set background color for Text #24928
     gm713
    Participant

    Thanks!

     gm713
    Participant

    Hi Catalin,

    Thanks for the link. It works, but the avatars are shown as squares. Where/Which file do I set “border-radius: 100%;” parameter in for them to be rounded

    PS: Not sure if this matters or not but I’m displaying the widget in the sidebar.

    Thanks much!

    in reply to: Parallax issue on 1.6.2 #24925
     gm713
    Participant

    Thanks Abe. Confirmed it works on my end as well.

    in reply to: Get Login button to fire modal window #24817
     gm713
    Participant

    Hi Caitlin,

    I’m sorry, I don’t quite follow. Attached are the screenshot of how I’m defining a button. Should I be doing something differently?

    Attachments:
    You must be logged in to view attached files.
    in reply to: Parallax issue on 1.6.2 #24430
     gm713
    Participant

    Hi Abe,

    I’m having the same issue. It happened after updating it to 1.6.2. I don’t have it live yet, running off of localhost.

    To elaborate a little, the initial image loads but as soon as your start scrolling the image disappears.

    Thanks!

     gm713
    Participant

    Thanks!

     gm713
    Participant

    I realized that it is user-specific after posting my question, but my follow up question is – is there a way to remove restrictions so it can show up on other pages, besides just member/user profile, as well (as long as the user is signed in).

     gm713
    Participant

    Hey Catalin,

    Unfortunately I’m still running it on my localhost. Attached is the screenshot – it appears in Appearance > Widget.

    I just read the note below it. It turns out that it’s doing what it’s suppose to do. Not sure if there is way to display it outside of the member profile section or not.

    Attachments:
    You must be logged in to view attached files.
     gm713
    Participant

    Essentially trying to publicly display the current status of forum activity on page (viz. topics, replies), similar to how it’s include int the attached screen shot (which appears on admin dashboard).

    Attachments:
    You must be logged in to view attached files.
    in reply to: Footer Columns #23684
     gm713
    Participant

    That did it. Thanks!

    in reply to: KLEO Updates Change Log #23467
     gm713
    Participant

    Thanks Abe.

    in reply to: KLEO Updates Change Log #23451
     gm713
    Participant

    Hi. I hope I’m posting this in the right thread. The Login modal window as part of v1.6 looks great. Are you planning on implementing it across other instances on the site. E.g. On my site, I allow for only logged in users to comment. Currently, it displays a message on the lines of “You must be logged in to comment”. When the user clicks on the login link, it still takes the user to the old login page and not the modal window. It would be great to see that implemented in that instance as well. Thanks!

    in reply to: Breadcrumb – Current page text color #23373
     gm713
    Participant

    That did it, thanks!

    in reply to: Set Video as background #23191
     gm713
    Participant

    Thanks!

    in reply to: Google Analytics – Event Tracking #22778
     gm713
    Participant

    Perfect, thanks for your help.

    in reply to: Allowing multiple profiles for one email address #22595
     gm713
    Participant

    If you don’t get a direct answer, here’s a workaround.

    1) Use/Create a gmail address, say “worldsbestdog@gmail.com”
    2) Appending “+<whatever>” to your primary email address will allow you to furnish distinct addresses without having to create separate accounts. E.g.:

    1) worldsbestdog@gmail.com
    2) worldsbestdog+1@gmail.com
    3) worldsbestdog+spot@gmail.com
    4) worldsbestdog+profile1@gmail.com

    Email sent to any of these email addresses will delivery it to your primary email address viz. worldsbestdog@gmail.com. You can use a logical pattern after “+” to keep a track of which profile is which.

    Hope that helps.

    in reply to: Google Analytics – Event Tracking #22267
     gm713
    Participant

    Sorry, the link above got rendered as an HTML element despite of some replacements . This is what I meant:

    “[” a href=”example.com” onClick=”ga (‘send’, ‘event’, ‘Anchor Tag’, ‘Menu Click’, ‘About Me’);”]”About”[“/a”]”

    PS: Replace “[” (including quotes) by < and “]” by >:

    in reply to: Google Analytics – Event Tracking #22265
     gm713
    Participant

    Hi Catalin,

    Thanks for your reply, but let me elaborate. I’m not asking for a generic answer at an HTML level, but for KLOE theme specific method of accomplishing this.

    To elaborate, in HTML I would write the following line:

    Hyperlink or a button

    So, the questions is – How do I append GA’s event tracking code with hyperlinks/buttons?

Viewing 37 posts - 121 through 157 (of 157 total)

Log in with your credentials

Forgot your details?