Jump to content
Killersites Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About jsarber

  • Rank

Profile Information

  • Location
    Angier, NC

Contact Methods

  • Website
  • AIM
  • Other
  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 C
  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
  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
  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=""></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 so
  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...