Forum Replies Created

Viewing 15 replies - 61 through 75 (of 607 total)
  • Plugin Author rfgoetz

    (@rfgoetz)

    Krusher, due to personal reasons, I’ll be offline for a couple of weeks. I apologize and will pick this back up when I get back.

    I am thinking that there maybe something odd with your Magic Quotes setting, a defect how the plugin handles slashes, or a defect in those two browsers.

    Bob

    Plugin Author rfgoetz

    (@rfgoetz)

    Krusher, can you select a TopBar, and go to the Debug Tab and copy/paste the following Debug info:

    Server Check:
    Server Type: Apache
    Operating System: Linux
    PHP Version: 5.4.45
    fopen setting is ON
    PHP Magic Quotes is OFF
    
    Wordpress Check:
    Wordpress Version: 4.4.2
    Plugin Version: 5.32
    URL: https://zwebify.com
    Charset (get_bloginfo): UTF-8
    
    Database/Column Check:
    MySQL Database Server Version: 5.5.47-MariaDB
    Charset (DB_CHARSET): utf8
    Collation (DB_COLLATE):
    Collation encoding: utf8mb4_unicode_ci
    Plugin Author rfgoetz

    (@rfgoetz)

    Closing – no response in three weeks.

    Plugin Author rfgoetz

    (@rfgoetz)

    For each Social Button is an option section. Select the radio button that has the “_self” action then update the options via the button at the bottom of the page.

    Bob

    Plugin Author rfgoetz

    (@rfgoetz)

    closing – no response in over 4 weeks.

    Plugin Author rfgoetz

    (@rfgoetz)

    1. Look at the TopBar options, you will find one that lets you load an image.
    2. Search the help forms for the TopBar and you’ll find a sample code to change the TopBar text.
    3. There is sample PHP on the PHP Tab that let’s you change the text based on who is logged in.

    Bob

    Plugin Author rfgoetz

    (@rfgoetz)

    1. This is a CSS setting you change. For each Social Button you can add whatever CSS you want. Try adding height:23px; vertical-align:text-bottom;float:right; to the CSS for each of the Social Buttons you are using. This is done on the Social Button Tab.

    2. Use an empty Social Button – for example Social Button #4. First create a button. Make sure it is the same size as the existing buttons (64×64 pixels, I believe). Upload that image using the upload image button. Add the link of where is would go in “Social Icon 4 Link”. Update the CSS to your needs. This is done on the Social Button Tab.

    3. Go to Main Options Tab. Set “Scroll Action” to be “ON”. Set “Scroll Amount:” to be how far down the page the user needs to scroll before the TopBar disappears. Try 0 at first, adjust as you see fit. It works best when the “Force TopBar to Be Fixed On Top of Page” is set to yes. So change that also.

    Bob

    p.s. Your website has some odd text being shown at the top (hidden under the TopBar):

    lang="en-US" class="no-js"> football, soccer, highlights, rumors, Serie A, Champions League, blog

    Looking at your HTML output, it appears a Meta data plugin (Add-Meta-Tags WordPress plugin) you are using might be setup wrong.

    Plugin Author rfgoetz

    (@rfgoetz)

    The “Generate a second link” looks like it is coming from the PHP tab. Delete all the options on that tab.

    For Social Buttons, go to the Social Button Tab. Enable the button you wish to show. Enter your URL to make the button go to your personal site on Facebook, Twitter, etc. Then select “right” to show on the right side of the TopBar.

    Plugin Author rfgoetz

    (@rfgoetz)

    I don’t have a manual.

    What I’ve seen:
    TopBars using background images as the backdrop to highlight key points of their site.
    TopBars that change based on day of wee/time of day.
    TopBars that change whether the user is logged in and special TopBars for special pages.

    Forum: Plugins
    In reply to: [WP-TopBar] time settings
    Plugin Author rfgoetz

    (@rfgoetz)

    If you go to the Debug tab, you’ll see a Time Check Section:
    Mine looks like this:

    Time Check:
    Server Timezone: UTC
    Current Time: 12/19/2015 08:24
    Current Time (GMT): 12/19/2015 16:24
    WordPress GMT Offset: -8

    I’ve set my time (Shown as Current Time) to be pacific, where I live. Yours may be different. So, you’ll need to adjust the hours in the sample code to offset from your server time.

    You should also check your WordPress time in WordPress|Settings|General.

    A quick cheat might be to add this line as the last line in the code:

    $wptbOptions['bar_text'] = $h;

    This will just display the current hour in the TopBar text. Then you can just calculate the offset from your watch’s time and adjust the code as appropriate.

    Last, you can set the default timezone in the sample code – see this for instructions: http://php.net/manual/en/function.date.php

    Bob

    Plugin Author rfgoetz

    (@rfgoetz)

    From what I can tell you might be using some custom HTML or custom PHP in the TopBar??? This is causing the plugin to insert an extra <div> in the generated HTML causing the “>” to be displayed.

    Can you export your TopBars and email them to me? Export them in SQL format please.
    My email is in wp-topbar.php.

    I can then import it into my test system and debug what is going on.

    Bob

    Forum: Plugins
    In reply to: [WP-TopBar] time settings
    Plugin Author rfgoetz

    (@rfgoetz)

    Sure… Create one TopBar. Then use code like this in the PHP tab, in the BEFORE section.

    You might need to adjust the logic in the statements to meet your requirements.

    This will take the TopBar you create and modify the text being shown based on the DATE and TIME.

    Let me know if this works for you,

    Bob
    ———————-

    $d=date('w');  /* 0 (for Sunday) through 6 (for Saturday) */
    $h=date('G');  /* 24-hour format of an hour without leading zeros */
    switch ($d) {
        case 1: /* Monday */
             $wptbOptions['bar_text'] = 'Closed until Tuesday 10am';
             break;
        case 0: /* Sunday */
             if ($h > 22) {
                $wptbOptions['bar_text'] = 'Closed until Tuesday 10am';
                break;
             }
         default:
            if ($h < 10) {
                $wptbOptions['bar_text'] = 'Closed until 10am';
             }
            elseif ($h < 14) {
                $wptbOptions['bar_text'] = 'Closed until 5pm';
             }
            elseif ($h < 20) {
                $wptbOptions['bar_text'] = 'Rush hour - up to 1 hour wait';
             }
            elseif ($h < 23) {
                $wptbOptions['bar_text'] = 'Open for business';
            }
            else
                if ($d == 6) {
                    $wptbOptions['bar_text'] = 'Closed until Tuesday 10am';
                }
                else {
                    $wptbOptions['bar_text'] = 'Closed until 10am tomorrow';
                }
    }
    Plugin Author rfgoetz

    (@rfgoetz)

    Can you check your custom PHP or CSS to see if it is valid?

    It looks like that may be causing the issue.

    Plugin Author rfgoetz

    (@rfgoetz)

    Thanks — let me know.

    Plugin Author rfgoetz

    (@rfgoetz)

    Julien, thanks for sharing your review. I’ll take any suggestions on how to remove the confusion. You’re the first user in over 3000+ installations to report this.

    Bob

Viewing 15 replies - 61 through 75 (of 607 total)