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. 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!
  9. 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
  10. Hey folks. Ads for hosting companies are fine for now. We're not accepting orders at WebHost Freaks or Server Powered at this time anyways, so I'm cool with that. Thanks for putting the ads up and, more importantly, keeping the wheels turning here. Regards,
  11. It sucks but for some reason, people love to attack this site. Therefore, the main site is going to remain off line until someone redevelops it, which judging by my schedule, will not be me. We have removed all files from the DocumentRoot only leaving the forums behind. We have also modified all permissions on the forums to tighten security. Sorry folks, but these hackers are having too much fun at the expense of a FREE community. It's disappointing. Regards,
  12. Until further notice, PHPFreaks.com is now a forums only website. Regards,
  13. Hey everyone, I just wanted to pop in and say hi! I've been swamped over at Server Powered for the past 8 months . I've not had much time to visit here as we've been dealing with a bunch of things. It's nice to see this forum and the community going strong! Regards,
  14. I swear it looks like something straight out ofa Jane's Addiction video..
  15. [quote author=wildteen88 link=topic=124769.msg524510#msg524510 date=1170962958] This photo: [quote][img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=64&g2_serialNumber=1[/img][/quote] Looks so like my mate A.D at where I work. Thats just freaky. by the way A.dD is not the most average person you see every day. He dont like his face and gets in a mood and the throws things. He's sound though just dont like his face. [/quote] Haha, I'll take your word for it. That's my afro wig I keep around for special occasions...
  16. 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!
  17. And don't forget that by purchasing hosting from http://www.webhostfreaks.com and / or http://www.serverpowered.com that you directly support this community! We own both of those companies!
  18. [quote author=cmgmyr link=topic=124769.msg517522#msg517522 date=1170198159] Nice pics. Here are a few of mine:  :) http://syracusebands.net/gallery.php?cmg=View_Cat&userid=1&aid=89 http://syracusebands.net/gallery.php?cmg=View_Cat&userid=1&aid=182 [/quote] Wow, I love that cymbal setup! Very smooth indeed. You can make some noise with those :)
  19. I actually play on my Rolands more than my acoustic drums.  I love them.  Never go out of tune, always reliable and they don't make a sound outside the room. Over 100 drum kits in one module. They record very very nicely too.  Here's me playin my gretsch in my favorite t-shirt: http://www.thewebfreaks.com/drums/NED%20004.jpg More pics at http://www.thewebfreaks.com/drums/
  20. [quote author=cmgmyr link=topic=124769.msg517452#msg517452 date=1170193486] those are pretty funny. ...is that drum equipment in the background??? haha :D [/quote] Why yes it is. I play drums too :)  I got 3 sets of drums, Gretsch Renown Maple, Premiere Cabria, and a set of electric Roland TD6.  That's a Beatnik behind my desk I use to tap on when I'm "thinking"....
  21. Oh yeah, and those of you who thought this was me, its not :) [img]http://www.webhostfreaks.com/images/free-domain.jpg[/img] I don't have that bad of teeth.
  22. When I get bored at the office (rarely), I switch on my iSight and load up Photo Booth on my Mac Pro. Check these out :) [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=108&g2_serialNumber=1[/img] [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=114&g2_serialNumber=1[/img] [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=118&g2_serialNumber=1[/img] [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=86&g2_serialNumber=1[/img] [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=76&g2_serialNumber=1[/img] [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=82&g2_serialNumber=1[/img] [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=52&g2_serialNumber=1[/img] [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=64&g2_serialNumber=1[/img] [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=54&g2_serialNumber=1[/img] [img]http://www.phpfreaks.com/phpfreak/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=48&g2_serialNumber=1[/img] So, if you ask me why I would spend a buttload of money on a Mac Pro (Dual Core, Dual Xeon 3.0) this is the reason. To have my iSight and make funny pictures to amuse you! There's more at http://www.phpfreaks.com/phpfreak/gallery If you are offended by any of these, too bad. Sorry :)
×
×
  • 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.