rfgoetz
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-TopBar] Disappears with w3 total cacheClosing — no response in about a week.
Forum: Plugins
In reply to: [WP-TopBar] Can I make top bar push down page yet still be in fixed postion?I am making the changes to make this a feature in the plugin. When I am done testing, it will roll out in version 5.23.
Thanks for the idea!
Bob
Forum: Plugins
In reply to: [WP-TopBar] Using a ' in the top-bar message does not workOk — I think I have it working.. but it is significant changes to account for Magic Quotes.
Can I email you the zipped file (also includes the temp fix to push down the TopBar)?
The file does NOT change your database; so it is easy to backout.
Bob
Forum: Plugins
In reply to: [WP-TopBar] Can I make top bar push down page yet still be in fixed postion?Ok — so here is how to make this happen.
Remove the position:fixed from the CSS. This will force the page down.
Next, in wp-topbar.php
You need to make two changes.
in
public static function wptb_inject_TopBar_html_jsChange this:
echo '<div id="topbar'.$wptbOptions['bar_id'].'" class="'.$wptb_class.'" style="'.trim($wptbOptions['div_css']).'" '.wptb::wptb_stripslashes($wptbOptions['div_custom_html']).' >';to this:
echo '<div id="topbar'.$wptbTopBarNumber.'" class="'.$wptb_class.'" style="'.trim($wptbOptions['div_css']).'" '.wptb::wptb_stripslashes($wptbOptions['div_custom_html']).' >';AND
Look for the function
public static function wptb_build_original_jsadd this:
$html_out .= “.fadeIn(‘normal’, function() {jQuery(‘#topbar”.$wptbTopBarNumber.”‘).css({position:’fixed’});})”;`
BEFORE this line of code:
$html_out .= ";}";So, the function should look like this:
public static function wptb_build_original_js($wptbOptions, $wptbTopBarNumber) { $html_out = " ".$wptbTopBarNumber.": function() {jQuery(".'"#wptbheadline'.$wptbTopBarNumber.'").hide().delay('.$wptbOptions['delay_time'].').slideDown('.$wptbOptions['slide_time'].')'; if (($wptbOptions['display_time']+0) != 0) $html_out .= ".delay(".$wptbOptions['display_time'].').slideUp('.$wptbOptions['slide_time'].').hide()'; $html_out .= ".fadeIn('normal', function() {jQuery('#topbar".$wptbTopBarNumber."').css({position:'fixed'});})"; $html_out .= ";}"; return $html_out; } // end function wptb_build_original_jsIf this works for you, I will make this an option.
Bob
Forum: Plugins
In reply to: [WP-TopBar] Using a ' in the top-bar message does not workOk – that helps! I am able to re-create the problem… It is the magic quotes setting. Now I am looking at how to fix it permanently!
Forum: Plugins
In reply to: [WP-TopBar] Using a ' in the top-bar message does not workI see it also. Can you change the text to “Do not”.. Update the TopBar. Make sure it looks OK on your site. Change it back to “Don’t”
Also, do you have Magic Quotes Turned on or off? (See the TopBar Debug Page) :
PHP Magic Quotes is ONForum: Plugins
In reply to: [WP-TopBar] Can I make top bar push down page yet still be in fixed postion?Great idea. I am thinking about a solution…
I usually leave space at the top via my CSS for the TopBar to overlay.
Will try some options and get back to you.
Forum: Plugins
In reply to: [WP-TopBar] Using a ' in the top-bar message does not workHmmm.. I think I found it.
look for this line in wp-topbar.php
echo $wptbOptions['bar_text'],'<a style="color:',$wptbOptions['link_color'],'; ';Change it to this:
echo stripslashes($wptbOptions['bar_text']),'<a style="color:',$wptbOptions['link_color'],'; ';Let me know if this helps,
Bob
Forum: Plugins
In reply to: [WP-TopBar] Using a ' in the top-bar message does not workI am not able to duplicate. Can you export your TopBar (in JSON) format and send it to me? I want to see if there is something unique to your setup that I need to account for.
Forum: Plugins
In reply to: [WP-TopBar] Disappears with w3 total cacheOK – here are detailed instructions and screen shots of how the settings should look when you are done:
Login to your Admin account.
On the General Settings Tab (selected from the Performance|General Settings on the left admin column) — scroll down to the Minify section and set the Minify Mode to MANUAL
Image:
http://imgur.com/zkXomMwOn the Minify Tab (selected from the Performance|Minify on the left admin column). Press the “Add a Script” button and enter this as the file URI:
http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.jsImage:
http://imgur.com/mZoYxETI would also empty the page cache. (Select Performance|Empty all caches from the admin bar.)
Let me know if this works for you,
Bob
Forum: Plugins
In reply to: [WP-TopBar] Disappears with w3 total cacheI installed W3 Total Cache. Found jQuery wasn’t loading.
I googled for an answer.
It worked for me.
Let me know if it works for you.
Bob
Forum: Plugins
In reply to: [WP-TopBar] Disappears with w3 total cacheHmm… let me install W3 Total Cache on my test site to see what if going on.
I looks like you are using custom PHP?
Bob
Forum: Plugins
In reply to: [WP-TopBar] Can't Get The Bar To Show At AllClosing – No response in over a week.
Forum: Plugins
In reply to: [WP-TopBar] Saving resets changesClosing – No response in over a week.
Forum: Plugins
In reply to: [WP-TopBar] Shortcode insert, WP-topbar not showingTry v. 5.21.. I re-wrote the jquery such that you no longer need to do the “echo” command.
This will work on its own:
echo do_shortcode(‘[displayAdzone id=”1″]’);