Everything posted by Evostance
-
Permalinks
He can't do that due to the way it is setup. Wordpress is installed to a blog subdomain. However it has been configured so that the index.html page in the root loads Wordpress if you understand - if not I will explain later when I can access the FTP. We did it like this - http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory The issue seems to be that when a new page is made, Wordpress creates it and only assigns it the URL elliothesp.co.uk/pagename instead of blog.elliothesp.co.uk/pagename Ie. The page in Wordpress called Contact send the URL to here http://elliothesp.co.uk/contact-page when the location of the file is actually http://blog.elliothesp.co.uk/contact-page However when it is loading the subdomain version, it doesn't load the images As you can see below, the permalink suggestions are not taking the subdomain into account:
-
File upload validation not working - please help
bump
-
PHP - Form submit not validating...
Genius, thats had me stumped for hours Though I had put that { in though xD Thanks
-
PHP - Form submit not validating...
Ok fixed but thats not the problem, just me copy pasting lol
-
PHP - Form submit not validating...
Yep //This is includes/registermember.php <?php $username = $_POST['member_name']; $password = $_POST['member_password']; $password2 = $_POST['member_password2']; $email = $_POST['member_email']; $email2 = $_POST['member_email2']; if (isset($_POST['register'])) { if ($password == $password2 && $email == $email2) echo "Thanks"; } else { echo "Password and/or Email Address Mismatch. Please try again"; } ?> Here is the form bit: <?php include ('includes/registermember.php')?> <form method="POST" name="register"> <input name="member_name" type="text" /> <input name="member_password" type="password" /> <input name="member_password2" type="password" /> <input name="member_email" type="text" /> <input name="member_email2" type="text" /> <input name="member_ipaddress" type="hidden" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>" /> <input name="member_access" type="hidden" value="0" /> <input name="register" type="submit" value="Register" /> </form>
-
PHP - Form submit not validating...
So I have a piece of code i wrote that doesn't seem to be working correctly. It is a registration system and is just doing a bit of verification at the moment. Here are the steps it should go through: Show registration form IF passwords and email address are the same - echo "Thanks" IF passwords and email address's are NOT the same - Say "mismatch..." However, the form is always showing the mismatch part and I cannot find a solution. Here is the code if (isset($_POST['submit'])) { if ($password == $password2 && $email == $email2) { echo "Thanks"; } else { echo "Password and/or Email Address Mismatch. Please try again"; } }
-
File upload validation not working - please help
oh what a spanner. Sorry wrong one. Uploading it now uploadfile.zip
-
File upload validation not working - please help
Bump Really need some help with this guys. Thanks
-
File upload validation not working - please help
Zip file upload. Thanks upload.zip
-
File upload validation not working - please help
I have created a PHP upload script, however I have a bit of an issue with it. The script checks to see if the checkbox 'remote' is ticked. If it is, it uploads the image file and stores the external URL as a field in the database. If the checkbox isn't checked it will upload the file and the image. Or it should. I appear to have a problem I can't sort. I have some file validation to check if the file is a .rar .zip or .jpg If the file IS NOT a .jpg it WILL NOT upload any files, but it will store the information in the database instead of giving me an error. The upload (checkbox unticked) will only work with .jpg's as the file when it should check to see the defined files allowed.. Here is the file: http://www.webdesignerforum.co.uk/index.ph...ost&id=3184
-
Select all clears fields...?
Found the problem, however cannot solve it. When I go into my phpmyadmin to change a field, the field 'member_name' has a dropdown box. I cannot select a member name in there, it just has 2 options - +1 or -1 Is this because the member_name is taken from a different table? How can I solve this?
-
CSS Menu aligning left when set not to
Wish I could tell you that worked, but, unfortunatly it didn't. The problem is still there..
-
FarCry2 Map Database Site
Just designed a new site for the upcoming game FarCry2. Basically it will be for users to upload/download custom FarCry2 map. Take a look at my dev site and tell me what you think. Bearing in mind that the database and php has not been put in place yet www.fc2maps.com/dev
-
CSS Menu aligning left when set not to
Muppet cant spell. Fixed the link now Anyway, that has aligned them center but they now appear ontop of the nav bar rather than within it
-
CSS Menu aligning left when set not to
Ive read a tut. about it somewhere but you have to use spans and it gets a bit messy
-
CSS Menu aligning left when set not to
Now I know the problem is to do with float:left but without that the menu won't style Here is my css .solidblockmenu{ margin: 0; padding: 0; font: bold 13px Arial; width: 100%; overflow: hidden; margin-bottom: 1em; background: black url(images/nav.png) center center repeat-x; } .solidblockmenu li{ display: inline; } .solidblockmenu li a{ float: left; color: white; padding: 16px; text-decoration: none; border-right: 1px solid #480500; } .solidblockmenu li a:visited{ color: white; } .solidblockmenu li a:hover, .solidblockmenu li .current{ color: white; background: transparent url(images/nav2.png) center center repeat-x; } And my html <ul class="solidblockmenu"> <li><a href="http://www.dynamicdrive.com/" class="current">Home</a></li> <li><a href="http://www.dynamicdrive.com/style/" >Submit Map</a></li> <li><a href="http://www.dynamicdrive.com/forums/">F.A.Q</a></li> <li><a href="http://tools.dynamicdrive.com">Tools</a></li> <li><a href="http://www.javascriptkit.com/">Forums</a></li> <li><a href="http://www.cssdrive.com">Contact</a></li> </ul> to see it in action go to www.fc2maps.com/dev I would like the menu lined up in the center Also, if anyone knows how to get rid of that gap between the banner and the nav bar then please explain THanks
-
Looking for a download script
Thats the kind of thing I dont want. I just want something that outputs it the same as the site I mentioned. My idea is to create a map site for a game, so anything like portalgamemaps.com is perfect
-
Looking for a download script
When you say PHP Nuke has a download manager and only specific people can upload, is that by what I set or just limitations of the CMS?
-
Looking for a download script
Anyone?
-
What Camera do you have
Got my LG Viewty 5MP lol. Suprisingly the camera is brilliant in good lighting conditions. Just sucks quite a lot when there isnt enough light
-
Click Fraud, getting another account
About a year ago I was in a clan for a game. I created the website and put google adsense on it from my account. Any earnings from google would go into helping pay for the servers etc. Our website was quite a popular site at the time so was receiving quite a lot of hits (about 300 a day, alot for a clan) Anyway, my clan members asked my why the ads were there. So I explained that I would get some money for ever ad that was clicked on. Anyway, I got an email from google a few weeks later saying my account had been disabled due to click fraud. I never got to the bottom of who was doing it since I had been away on holiday while it was happening. I never established whether it was my clan members or visitors to the site. In turn this made me loose my adsense account that had about $200 before the click fraud, the account got shut down and google either took the money or redistributied it. So what I am asking is, am I allowed to sign up for another account. I know its against Google's TnC's but they never gave me any warning or informed me that click fraud was happening. Would google know it was me if I signed up again?
-
Google Analytics
I have setup google analytics on my website but was wondering if there is any way to exclude certain referral sites and ip addresses. I have a new script running on their at the moment and it tracks me when I go onto it giving me an incorrect number of views Thanks
-
Looking for a download script
Hi Im looking for a download script that I can implement into my site. An example of the script can be found here: http://www.portalgamemaps.com/ I would like to be able to Categorise my downloads Let users rank them Allows users to upload their own Be able to show the latest downloads Show the most popular downloads etc My intention is to make a site pretty much the same as http://www.portalgamemaps.com/ for something else. Does anyone know where I can find such a script?