Jump to content
Stef's Coding Community

debmc99

Member
  • Content Count

    58
  • Joined

  • Last visited

Everything posted by debmc99

  1. debmc99

    Php Sidebar Error

    Thanks Ben! It worked great!
  2. debmc99

    Php Sidebar Error

    Thanks Ben, I think I am almost there. But now I get this error. Do you see the problem? Parse error: syntax error, unexpected '<' in /home/xxxxx/www/www/wp-content/themes/theme-name/sidebar-df.php on line 8 <div class="m-blog-side"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Home-Sidebar-Widgets") ) : ?> <div class="side-cats2"> <div class="sider-22"> <?php <div class="woodo"> <div class="ad_callout" onclick="location.href='/blog/register/';"> <!--<h2>Call To Action!</h2>--> <p
  3. debmc99

    Php Sidebar Error

    Thanks Ben, Is there a way I can disable that thing all together? I think it was from a plugin. I am not sure. It is happening in the sidebar. Can you tell me how to disable the sidebar in the functions.php page?
  4. debmc99

    Php Sidebar Error

    Hello, not sure if this post should be here or WordPress. I migrated a WordPress site (an ordeal in itself) to a new server and new domain name. The theme has a sidebar with a login that is throwing this error: Fatal error: Call to undefined function sidebarlogin() in /home/domain_name/www/www/wp-content/themes/theme_name/sidebar-df.php on line 17 Can someone point me in the right direction? Here is the sidebar-df.php code below. Any help would be appreciated! <div class="m-blog-side"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Home-Sidebar-Widg
  5. Hello, I have two responsive WordPress themes. However, neither resize when I touch the screen to zoom in or out. However, when I look at some sites on my tablet, they have that capability. Does anyone know what that capability to resize by pulling or dragging on the screen is called? Thanks!
  6. Yes, but the date needs to appear on the coupon automatically, for example, if the user gets redirected to the coupon on 7/14/2012, the coupon needs to show 7/14/2012. Not sure how to make that happen. Actually, maybe it is not an image that is displayed on coupons I have seen in some plugins, but maybe a form with text in between fields. So it will look like a coupon but it's really another form. What do you think?
  7. Hello Ben, Yes, I am building a website that just needs a single coupon. I am using the Formidable Pro plugin to create a short online survey. Once the survey is submitted, the user is directed to a page where they can right click the coupon and save it to their phone. The problem is that I need them to be able to email the coupon to themselves to print later if they want to. So your suggestion of "email to a friend" might work. The other problem is I need the date displayed somewhere near the coupon because it will only be valid for a certain time, like 30 days, next visit, etc. So m
  8. Hello! I am building a client site with WordPress and I am looking all over for a simple coupon plugin. I have looked everywhere. I don't need anything with affiliate links, or Groupon type offers. I just need to make an coupon (.png file) available on the site and then have the ability to print or email it. Any suggestions would be helpful. I have been looking for 3 days and have not found anything that will work.
  9. Hi, sorry, this is a WordPress issue. Once I create a Home link on for the navigation, "Home" become the title for the homepage, and I was wondering where the php code is to edit it. I've checked header.php but can't find I need to edit the code.
  10. Hello, In Wordpress, does anyone know how to edit the default H1 tag titles on pages and posts? I've checked header.php but can't find the code. Any help would be appreciated!
  11. Hello, I don't really like Facebook and have stayed away from it. But I have clients that want me to set up pages for them and not profiles. I find that each time I try to set up a page for a client, Facebook asks me to log in. I have deleted all the cookies I can find on my computer but nothing works. Does anyone know how to set up accounts for clients? Any help would be appreciated. Thank you.
  12. Hello, I have a client who wants his email address on his website where you can click on it to contact him. He did not want a contact form. I advised him against the email address because I thought it would just get harvested and he'd get a lot of SPAM. I would just like to know if you would go ahead and add the email address since the client wants it, or would you make the email address not active or something. Just wondering. Thank you.
  13. Hello, I have a question about my code below which allows clients to upload files. In testing the code as it is, what happens is the error message does not display when I try to upload an incorrect file type, nor does the "File uploaded successfully" message display when I upload an acceptable file type. The files actually do get uploaded but you'd never know because but you automatically get redirected back to members.php which is where you start to upload a file in the first place. However, if I take out everything before the line "// begin Dave B's Q&D file upload security code
  14. That totally worked! Thank you so much!
  15. Yes, I noticed that, but it is like that in the phplogin - parts 17 and 18 project file - register.php, so I wasn't sure. Do I just close it?
  16. Here is the register.php code: <?php /* * REGISTER.PHP * Register New Members */ //start session / load configs session_start(); include('includes/config.php'); include('includes/db.php'); /* * This section below checking if user is logged in/checking for inactivity * may be best put in a reusable function so it is easily reused/updated */ // check that the user is logged in if (!isset($_SESSION['username'])) { header("Location: login.php?unauthorized"); } //check that the user is an admin else if (!is_ceoadmin()) { header("Location: members.php"); } // check for inactivity i
  17. Hello, Yes, I had the php code replacing the "mmm" parts. The options for the "Select" drop down list should be coming from this, right? <?php echo $select; ?> Here is the current CSS: body { font-family: Arial; margin:0; } h1 { background: #1B2835; padding: 20px; font-size: 1.5em; color: white; margin: 0 0 20px 0; } #content {padding: 0 20px; } #content a {padding: 0 20px;} .required { color: red; font-size: .8em; clear: both; padding-top: 20px; } .error { float: left; color: red; display: block; padding: 4px 0 0 10px; font-size:.8em; } .alert { background: #feff96
  18. The only error I am getting refers to this: <select name="type"> mmm </select> (end tag for "SELECT" which is not finished) but everything else is valid. The CSS is valid too.
  19. Hello, I am sorry, but this is still not working. Actually, I am using IE8. When I add the php code the alignment is off again and the drop down select menu displays an actual option rather than "select an option". It is so weird because virtually the exact same CSS styles work fine for the other pages, including a contact form with drop down menus. I know you are all busy but if I could get any further advice I would really appreciate it and I can finally finish this project. Would adding the php have anything to do with the alignment issue?
  20. Hello, I completed the PHP Login tutorial. Everything worked fine when I tested it in Firefox. However, the form used to register new members (register.php) is only showing 3 of the 4 form fields and they are not lining up vertically and floated next to the labels as they should be. I am really stumped because it works fine in FF. And even if I download the style.css source file it still is out of alignment in IE only. Can anyone see what I am doing wrong? I would appreciate any advice. Thank you. Here is the css: body { font-family: Arial; margin:0; } h1 { background: #1B2835;
  21. Hello, If I go to http://www.killersites.com/university/user-login.php and login as usual, I get the error message: "Your subscription has expired. Please Purchase a New Subscription to enter to Killersites University." This message appears here: http://www.killersites.com/university/user-login.php?f=2 It's weird because I do have a subscription. This did not happen previously. And even though it shows that expired subscription message it is still logging me in because it says "Hello my email address" in the top right corner. After that I can log out and it says: You h
  22. Hello, This is my second month of the subscription to KU and I notice that when I login I get this message: "Your subscription has expired. Please Purchase a New Subscription to enter to Killersites University." Here's the page with the error: http://www.killersites.com/university/user-login.php?f=2 However, I still get full access to the videos and it even says "Hello my email address" at the top of the user-login.php page. Just letting you know.
×
×
  • Create New...