dmd54
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Footer Funk – Overlapping Contentneva mind. solved it myself
Forum: Everything else WordPress
In reply to: Best method for Developingthanks Brandon.
Forum: Fixing WordPress
In reply to: site content cutoff on resize…if anyone does review this. I seemed to have fixed it by assigning a min-width to the body.
If there is not the best way of doing so I’m open for other solutions.
Forum: Fixing WordPress
In reply to: button ain't workingAll right. Appreciate the help but I decided to simplify and scrap this form since it’s not working properly.
cheers.
Forum: Fixing WordPress
In reply to: button ain't workingHere is the sendmail php
<?php if(isset($_POST['submit'])) { error_reporting(E_NOTICE); function valid_email($str) { return ( ! preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $str)) ? FALSE : TRUE; } if($_POST['name']!='' && $_POST['email']!='' && valid_email($_POST['email'])==TRUE && strlen($_POST['comment'])>1) { $to = preg_replace("([\r\n])", "", hexstr($_POST['receiver'])); $from = preg_replace("([\r\n])", "", $_POST['email']); $subject = "Website contact message from ".$_POST['name']; $message = $_POST['comment']; $match = "/(bcc:|cc:|content\-type:)/i"; if (preg_match($match, $to) || preg_match($match, $from) || preg_match($match, $message)) { die("Header injection detected."); } $headers = "From: ".$from."\r\n"; $headers .= "Reply-to: ".$from."\r\n"; if(mail($to, $subject, $message, $headers)) { echo 1; //SUCCESS } else { echo 2; //FAILURE - server failure } } else { echo 3; //FAILURE - not valid email } }else{ die("Direct access not allowed!"); } function hexstr($hexstr) { $hexstr = str_replace(' ', '', $hexstr); $hexstr = str_replace('\x', '', $hexstr); $retstr = pack('H*', $hexstr); return $retstr; } ?>Forum: Fixing WordPress
In reply to: button ain't workingAndrew – no plugins are activated. I am currently using this domain to host sites i’m working on.
Beee – that is a file in my theme folder. I have used this specific contact form in other sites before and haven’t encountered any errors.
thanks
Forum: Fixing WordPress
In reply to: Where's that DIV???two errors:
...ide:0,currentImage:'',url:0,randAnim:'',0px:false,control:false,jpg:false};var s...TypeError: $("#slider").nivoSlider is not a function [Break On This Error] slideshowEnd: function(){} //Triggers after all slides have been shownForum: Fixing WordPress
In reply to: Where's that DIV???there was no comma, it was just |controlNav| so I removed it.
Forum: Fixing WordPress
In reply to: Where's that DIV???well, i’m not sure if this is correct, i removed “controlNav” from the nivoslider jquery but now the image doesn’t load.
Forum: Fixing WordPress
In reply to: Nextgen Gallery and AlbumsShawnswander – Thanks. I fixed the directory and it’s all good now.
Forum: Fixing WordPress
In reply to: NextGen Image will not UploadI have room. I simply get zero response when I hit upload. No error, no nothing.
Forum: Fixing WordPress
In reply to: Nextgen Gallery and Albumsrikardo – yes tried that, still nothing. it’s strange, no matter what change i do to the .ngg-album, I don’t even see the style being applied anywhere looking at the site.
Forum: Fixing WordPress
In reply to: Nextgen Gallery and AlbumsCPC – I’m not sure I follow. I added the template=compact to the album shortcode and nothing changed. In the NextGen album settings I don’t see any options for different album templates, only the galleries.
Could you tell me where you can select a compact version?
Forum: Fixing WordPress
In reply to: Nextgen Gallery and AlbumsI did try that first off and set a width of 300px but it didn’t work. It seems to be the logical solution but I can’t figure out why the style isn’t sticking.
Any other thoughts?
Forum: Fixing WordPress
In reply to: Twenty Eleven Version 1.2 sidebarThe sidebar is coded into the theme already. You just have to select it in settings to have it displayed.
I imagine it’s either in Appearance -> Themes -> Twenty Eleven -> Customize
Or selected in your page/post template.