Jump to content

jsarber

Member
  • Posts

    29
  • Joined

  • Last visited

Profile Information

  • Location
    Angier, NC

Contact Methods

  • Website
    http://jeremysarber.com
  • AIM
    jeremysarbercom
  • Other
    jeremy@jeremysarber.com

jsarber's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I played with this for quite awhile and I found a way to fix it. I added this to the IE stylesheet: a#logo img {margin-bottom:25px;} Thanks for your help.
  2. I got excited for a second because I thought you were on to something. The closing brackets are there though. ?>">
  3. I appreciate the response but it's in there on the other side of the php/Twitter stuff.
  4. The site is http://orangecoffeecup.com. Look at the header. In IE the coffee cup image drops half way down. It looks fine in other browsers. I'm stumped. Here's the header: <div id="header"> <div id="twitter-badge"><a href="http://twitter.com/<?php if ($apa_Twitter == ''){echo '_fearlessflyer';}else{echo $apa_Twitter;} ?>">follow</a></div><!--twitter-badge--> <a id="logo" href="<?php bloginfo('url');?>"><img src="http://orangecoffeecup.com/wp-content/uploads/2011/03/coffee-cup-large.png" width="111px" height="70px" alt="Orange Coffee Cup" title="Orange Coffee Cup" /> Podcasting Network</a> <div id="navigation"> <div id="page-nav"> <ul> <li id="welcome" class="current_page_item2"><a href="<?php bloginfo('url');?>" title="Home">Welcome</a></li> <?php wp_list_pages('title_li=&depth=1&sort_column=menu_order'); ?> </ul> <span id="login"><a href="<?php echo get_option('home'); ?>/wp-admin/">Login to Site</a></span> </div> Here's the CSS: #header {height:156px; clear:both; padding:70px 49px 0 49px; width:940px; margin:0 auto; text-align:left; background:url(images/header-bg.gif) no-repeat bottom left; position:relative;} #twitter-badge {position:absolute; left:740px; top:-5px; background:url(images/twitter-badge-maroon.png); width:218px; height:139px;} #twitter-badge a {display:block; width:218px; height:139px; text-indent:-9999px;} a#logo {clear:both; font-size:98px; overflow:hidden; text-decoration:none; text-transform:uppercase; color:#333333;letter-spacing:-2px; display:inline; margin:0px; padding:0;} Any help would be greatly appreciated.
  5. Thanks. Worked like a charm. Seems now like an obvious fix.
  6. I have some ShareThis buttons at the bottom of each post on my blog. As the title says, they are displayed vertically in IE and horizontally in FF. I want IE to display them like FF. Here's what I'm talking about: http://www.jeremysarber.com/wp-content/uploads/2010/08/sharethis-buttons.jpg Here's the code: <span st_url="<?php the_permalink() ?>" class="st_twitter_vcount" displayText="Tweet"></span><span st_url="<?php the_permalink() ?>" class="st_facebook_vcount" displayText="Share"></span><span st_url="<?php the_permalink() ?>" class="st_email_vcount" displayText="Email"></span><span st_url="<?php the_permalink() ?>" class="st_sharethis_vcount" displayText="Share"></span> I have no idea why they display differently or how to fix it. Any help would be appreciated.
  7. I got it. It was some encoded script added to the wp-config file in the root directory by some hacker. I simply replaced the file, changed the passwords, and all is well.
  8. Here's the root index file: <?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require('./wp-blog-header.php'); ?> Here's the theme's footer: <?php global $wp_theme_options; ?> <?php do_action('above_footer') ?> </div><!--end #container--> <div class="<?php do_action('container_style'); ?>" id="footer"> <div class="alignleft"> <strong><?php bloginfo('name'); ?></strong><br /> <?php _e('Copyright ©','flexx'); echo ' '.date('Y').' '; _e('All Rights Reserved','flexx'); ?> </div> <div class="alignright"> <?php $footer_credit = '<a href="http://flexxtheme.com/" title="Flexx Theme">'.__('Flexx Theme','flexx').'</a> '.__('by','flexx').' <a href="http://ithemes.com" title="WordPress Themes">iThemes</a><br />'; $footer_credit .= __('Powered by','flexx').' <a href="http://wordpress.org">'.__('WordPress','flexx').'</a>'; echo apply_filters('ithemes_footer_credit',$footer_credit); ?> </div> <?php wp_footer(); //We need this for plugins ?> </div> <?php do_action('flexx_footer_stats'); ?> </body> </html> I don't see anything, do you? I've searched the entire site for that script and every part of it. My search was fruitless which made me think it must be encoded. I also searched the database and came up short. I don't know what to do.
  9. My friend, The Lonely Conservative (lonelyconservative.com), had her site hacked. I am struggling to find the problem code within her Wordpress site. Here's what going on. This script has been added to the bottom of each page: <script src="http://61.4.82.212/js.php"></script> As you would expect, this script is not within the actual files. I assume I am looking for some kind of encoded something or other. How in the world do I go about finding it? I've been searching for more than a day.
  10. Maybe someone far more knowledgeable than me can help me with this. If you are familiar with BlogTalkRadio.com, several others and I host our own shows on that site. What I am trying to do is creating a streaming audio player that would take these shows and play them live instantaneously and play my own sound files in between. Is this possible?
  11. No, it's not smart enough. I came up with this: <?php $dir = 'mydirectory/'; $new_file = $dir.date('l-H-i').'.php'; if(file_exists($new_file)) { include $new_file; } else { $files = glob($dir.'Friday-00.php'); include $files[rand(0, count($files)-1)]; } ?> "Friday-00" is a sort of default file that can be used during any undesignated time. This script was originally written to use a random file if no file matched the time. I just changed the file name from "*" to "Friday-00". It works for my purpose. Just thought I would share in case someone else was looking for something similar.
  12. Here's a piece of the script I'm using: $new_file = $dir.date('l-H-i').'.php'; The entire script pulls and displays different php files at different times of the day. The files are named something like "Monday-09-30" and so on. Here's my question. If I have certain hours without any minutes (for instance, Monday-07), will it automatically display that file during the entire 7th hour? I hope this makes sense.
  13. I'm looking for a way to refresh a page, not in time intervals, but at a certain time of the day. For instance, I want the page to refresh at 9 a.m. (server time) each day. Even better, I would like it to refresh about 5 seconds after 9 a.m. Is this possible?
×
×
  • Create New...