Jump to content

phpfreak

Members
  • Posts

    507
  • Joined

  • Last visited

Everything posted by phpfreak

  1. one thing to note is that if you're bootstrapping a file in drupal, you should put the file at the same root path as your index.php - otherwise you'll have bootstrap nightmares. For example: public_html/index.php public_html/forms.php Inside forms.php set_include_path($_SERVER['DOCUMENT_ROOT']); require_once $_SERVER['DOCUMENT_ROOT'].'/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); And now you have full access to drupal's database layers, user authentication, and all of drupal's classes and modules. You can process your form and save the data into an object and node_save that object. There's also node_submit and a few other functions for validation. I recommend http://drupal.org for more on that stuff.
  2. You can do it the drupal way or you can do it your own way. I've found that doing anything with drupal's forms requires learning. If you have the views module installed you can create a new view, or hack your template and add a menu path and include a template file with your PHP code, or just make a "form.php" file and process your own forms. Drupal usually has jquery built in with Ajax support, but you can grab the jquery.form plugin and use Ajax Forms and then post to your own form.php. From there, I do a bootstrap and then map your $node->filed = $_POST['value']; and do a node_save($node); and then display a message to the user.
  3. are you trying to collect these e-mail addresses or trying to remove them from the rest of the content to hide them?
  4. salathe - the more I think about it, I see your point, and I do respect that. I agree with you... no need for Facebook Connect on this site.
  5. the changes were being tested.. live. I've removed a couple of the ad elements, the more intrusive ones.
  6. If you're going to be a troll then you may as well move along... What was the point in that?
  7. Dear Sally, My sincere apologies for intruding ads on your space of our website. Unfortunately, we had a hardware failure, and PHP Freaks could be optimized with some more ad space. So yes, we do have to pay the bills, but please don't assume that I don't care about you. If I didn't care about you or this community, this site wouldn't have existed for 9 years. I've always been directly connected with the site, although not always here, and I do my best to keep the lights on and the servers up. A little help from the community could really do us some good here, so please support our decision to put more ads on the website. If we can continue to monetize enough to pay the bills, then we will focus more energy and efforts into growing this site. Its just a fact of life these days no thanks to large social media sites sucking up everyone's time on the web, the little guys have to rely on advertising to keep it all going. Good to see you again salathe!
  8. Thanks Daniel
  9. I have experience working with Facebook Connect and I agree this would be a great tool to have on PHP Freaks. I'll check with the other developers and see what we can do to implement. Thanks for the suggestion!
  10. Hey everyone, we apologize for the downtime. It is something we didn't expect and something we weren't aware of. We now have monitoring software up and running, but please realize that this is a FREE resource and it's run by volunteers. Our ads barely pay for the service itself, so understand that you're complaining about a free resource being offline for a short period of time. This site has never been down in it's 9 years of operation, and this was just an oversight due to changeover in management of the site. Ooops... We'll do our best to keep the site up and running while we rebuild our team of volunteers to maintain the site. If you're interested in being on that team, please pm me. Thanks! phpfreak
  11. Don't forget that http://www.webhostfreaks.com (Shared Hosting) and http://www.serverpowered.com (Dedicated Servers / Virtual Private Servers / Load Balanced clusters) are owned by The Web Freaks who owns this site and maintains it!
×
×
  • Create New...

Important Information

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.