Jump to content
xisto Community

jlhaslip

Members
  • Content Count

    6,070
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by jlhaslip

  1. Your credits are displayed on the index page every time you log-in.
  2. Sounds like there is some history here that I am not aware of. Regardless, yes, you must respect the authority of the position, otherwise mayhem on the Forum is the result. Personal issues aside, the position of Moderator is not awarded lightly here at the Xisto. Respect the position and title, if not the individual. No further reply is expected on this matter. Your question has been answered. Topic is Resolved. End of discussion.
  3. You might be able to 'repair' the holes with drywall anchors. There are some "threaded" drywall plugs which should be strong enough to hold speakers.Visit a local hardware store, tell them your problem and they should be able to fix you up. The ones I am thinking of cost about 50 cents each and need a starter hole, then you simply screw the speakers to them.
  4. No, it is not against the rules, but it is not a preferred method of obtaining credits. Posting to earn credits is recommended.Any Hosted member can transfer credits to any other Hosted Member. The only condition is that the member must have 30 credits AFTER the transfer. What a member does with their credits is their decision, ultimately.And Truefusion's Moderator status needs to be respected. His reply was entirely within a reasonable degree of acceptability. Your response is awfully close to the border of acceptable.
  5. Here is another, simpler, method. Serve a different CSS file based on the time of day. Replace your existing link tag with the following php code. You will need 3 CSS files named according to the file names used in the script, of course, with the background image changed in each one according to the preferred design. <?php$hour = date('H');if ($hour < 12 ) { echo '<link rel="stylesheet" type="text/css" href="morning.css" />;}elseif ($hour < 17 ) { echo '<link rel="stylesheet" type="text/css" href="day.css" />;}else { echo '<link rel="stylesheet" type="text/css" href="night.css" />;}?>Untested. No example available.
  6. Done.There should not be any difficulties determining the swap now.
  7. The php code is a screenshot of the if/else block, so that is the "image".I simply plunked the code into an available "templated" page for the demo only.Look at the bottom of each image and that tells you what the time slot is according to the script. If morning shows at the bottom of the tiled image, the server time is between midnight and noon. If the day.png is tat the bottom of the tile, it is day time at the server, and likewise, night.png shows between 1700 hrs and midnight. Should work in all Browsers since IE only has trouble with tansparent png's. These aren't transparent.Trust me, it works.
  8. Background Image Changer Script To swap the background image from your CSS file according to the Server Clock Time. 1.) In your CSS file, add the following rule: body { background: url(time.png);} 2.) Create a "folder" named time.png. 3.) Into the folder, place three images named morning.png, day.png, night.png. 4.) Also, in the same folder, create an index.php file and copy/paste the following script. <?php$hour = date('H');if ($hour < 12 ) { $image = "morning.png";}elseif ($hour < 17 ) { $image = "day.png";}else { $image = "night.png";}$image = imagecreatefrompng( "$image" );if (!$image) { /* See if it failed */ header("(anti-spam-(anti-spam-content-type:)) image/png"); $im = imagecreatetruecolor (150, 30); /* Create a blank image */ $bgc = imagecolorallocate ($im, 255, 255, 200); $tc = imagecolorallocate ($im, 0, 0, 0); imagefilledrectangle ($im, 0, 0, 150, 30, $bgc); /* Output an errmsg */ imagestring ($im, 1, 5, 5, "Error loading Image", $tc); imagepng($im); imagedestroy($im); die(); }header("(anti-spam-(anti-spam-content-type:)) image/png");imagepng($image);imagedestroy($image);?> 5.) Browse to your page and the background image should change according to the Server time clock. Demo page: http://forums.xisto.com/no_longer_exists/ Any questions?
  9. why not? Problem with using php would be that it requires a refresh from the Server. Javascript or Ajax could do it without the full refresh. But utilizing the Iframe in this manner should work, or simply a div, maybe? http://forums.xisto.com/no_longer_exists/
  10. Nice Introduction... (proofreads carefully)Good to have you aboard... Hope you find the Topics useful. Lots of things to learn by browsing around. The Search feature can produce some amazing topics.The Hosting is excellent and you won't be disappointed. Best of luck with the course and I look forward to reading your Posts.
  11. Welcome to the Xisto.Lots of different countries are represented here. Several other Members are also from Holland.Hope you enjoy the Forum and the Hosting.
  12. Patience, please. Being a weekend, the Server Admins or Accounts people may be enjoying themselves...
  13. What's to comment on?I don't use illegal copies, so zero impact on me... and the decision to target "organised crime" is a long standing policy for removing the source of the crime by eliminating those who make it available rather than the end-user. They have a somewhat similar policy for Druggies in Vancouver, they supply needles and a clean spot for druggies to inject drugs... sheesh! We Canadians are simply too nice...
  14. Just a reminder that the styling of Scrollbars is an Internet Explorer constuct and will only work in IE-related browsers.Also, the scrollbar styling code will not validate in the w3c or Html Tidy systems.
  15. All the best for the season of Diwali (or Deepavali). Shine on... Opaque. Lead the way for Xisto with your light and vision. from wikipedia http://en.wikipedia.org/wiki/Diwali
  16. Safari has difficulties with AJAX programming apparently.The Mod Writer for the Shoutbox has been advised and we have no indication that anything has been done about this problem at this time.
  17. the php manual might be handy for this. http://docs.php.net/manual/en/function.date.php http://docs.php.net/manual/en/function.time.php There are many time and date functions available to you in php. Those links should get you started.
  18. How about something along the lines of :"Bush for President"
  19. Sign-on to your Cpanel. Doing that will take you to the Account {root} folder.Click on the file folder ICON next to public_html to move into the public_html folder.Click on the Icon to move into a folder or click on the text to have a list of available options for the folder/file.Once you find the file, you can click on the text name and a list of Options is displayed top-right of the page.One option is to edit a file, or the bottom link will display the file in your Browser.
  20. check with rvalkass for the correct .htaccess file information on that method also, I found a code snippet which might work for you using standard (?) html. Treat the menu as an Object and include the html file? <object type="text/html" data="linktest.html" width="600" height="40"> <param name="BorderStyle" value="1" /> <param name="MousePointer" value="0" /> <param name="Enabled" value="1" /></object>I have not had a chance to test this method myself, yet. Reports are that it is slow and also, IE may have some trouble with it. http://w3schools.invisionzone.com/index.php?showtopic=16231
  21. Edited title to better reflect the purpose of the Topic...I expected to see pictures of Socks, as in footwear...
  22. php includes will do that. have a read of the Tutorials at the http://www.w3schools.com/ if you need an example, I can write a Tutorial for you.
  23. jlhaslip

    Db Transfer

    RTFM https://www.phpmyadmin.net/
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.