rfgoetz
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] Since update no topbar anymoreI will try to add this to a future release.
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] Does not work well with cachingI have a beta version working. Would you like to test it before I release it?
Bob
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] Since update no topbar anymoreI tested it with google by copying the code above into a simple web page.
For whatever reason, the code you copied in has linefeeds (as hex 0a) embedded in it. that is causing chrome to not process it (calls it an ILLEGAL TOKEN). I manually removed the 0Ax linefeeds and the page loaded without the ILLEGAL TOKEN error.
So, you’ll need to do the same.
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] Since update no topbar anymoreOK — go to the debug page, and copy/paste the entire code that is generated for the topbar.
That will help me see what the problem is.
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] php and topbarHere is what I would do:
Create a function from the PHP you have above in wp-topbar.php. Call it mtgox
In wp-topbar.php, in function wptb_display_TopBar, look for:
echo '">',$wptbOptions['bar_text'],'<a style="color:',$wptbOptions['link_color'],'; ';Change it to:
echo '">',$wptbOptions['bar_text'],mtgox(),'<a style="color:',$wptbOptions['link_color'],'; ';Your Text would be something like: “The last MT.Gox price is “
You will need to maintain these changes as I fix/update the topbar.
Of course, your mileage may vary.
Bob
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] Does not work well with cachingCorrect…caching will only pick up the selected topbar.
I could re-write it so that it pulls from a file instead of the generated website.
I’ll have to see if I can find the time to do that.
I will put it on the list of future enhancements.
Bob
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] php and topbarSorry, I cannot help you as I don’t what you are really trying to do.
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] My topbar is not working, what do I do?Xpaw01, pls turn on debuging in wp-config.php and send me a link to the logs.
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] Social Buttons wont enableI just pushed v. 4.03 with the fix. Thanks for letting me know!
You you tried this, entered in the last CSS field box (For the Entire TopBar):
top: 40; width: 240px; z-index: 99999;margin: 0 auto; text-align: left;It worked for me. I created a small, centered text box that had the text left aligned.
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] My topbar is not working, what do I do?Bonkerz, pls turn on debuging in wp-config.php and send me a link to the logs.
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] Customize text, how to?You have two selectors to work with: topbar and wptbheadline
You can customize using your themes’s CSS file.
Hmm. If I add the new DIV, you can use your own stylesheet to format that (center, 100% width) and then use the options in the plugin to style the text line (left aligned. etc).
Or am I missing something?
Do you have a better option?
Forum: Plugins
In reply to: [WP-TopBar] [Plugin: WP-TopBar] php and topbarIn wp-topbar.php, you can modify the function
wptb_inject_specific_TopBar_html_jsto add your custom code. You’ll need to maintain this as I update the plugin.Right now you have two CSS selectors to work with:
<div id=”topbar”>
<p id=”wptbheadline”></p>
</div>I think you are asking for a new selector such that:
<div id=”wptopbar”>
<div id=”topbar”>
<p id=”wptbheadline”></p>
</div>
</div>Then you can use your own CSS stylesheet to style the new selector.
Right?