A good free host

I have been using this JWN Media hosting for about a year now and I must say that they are probably the best host I have ever had in the seven years of hunting for free servers.

*NOTE* Users get a bonus for refering other user, please DO NOT use my name to give me a bonus. I am simply trying to promote a good free host because I see a handfull of you asking in IRC about hosts, not rack up affilate link goodies. I only included this part as not to confuse the lurking admins into thinking im breaking the Posting Rules here :)

$node->comment_count and other strings removed from Object

Hey, I have a 4.7.x install and I'm trying to access $node->comment_count from the $node object. when I do a print_r($node); That variable isn't located in the current node, and seems like it's missing a couple other strings as well. Is it possible to write a hook to include them/exclude them? If so, where about would it be located.. I know it could be in whatever module etc etc. But a general direction would be much appreciated! (or something to override it).

Pardon if my lingo is incorrect, please correct me if the 'strings' I'm referring to are variables or something else.

Thumbnails for manually embedded youtube files as embedded object format from youtube

I put this code in a comment but wanted to share a better version here.

This is a code which needs to be modified and put within your code requirements. I created this code because the site was already using embedded youtube files but needed to show thumbnails as a teaser, efficiently.

First you need to install imagecache module to be able to resize the image realtime.

You can put this code in a theme function where you like to show the thumbnails and call this function within your .php.tpl file, if not already done.
$node variable needs to be as a reference to the function.

Considering the first array for the CCK content field name is field_embedded_link, you can change this by checking your field name. You can also uncomment print_r($field) and see the array.

<?php
$title_size = 45;
$field = get_object_vars($node);
$matches = array();
$match = '';
//print_r($field); // you can uncomment this part to show the fields
if (preg_match("/youtube/i", $field['field_embedded_link'][0]['value'])) { //
preg_match('/(http:\/\/www.youtube.com\/v\/)(.+)(\"><\/param> $match = trim($matches['2']);
$fieldthumb = 'files/youtube/t' . strtolower($match) . '.jpg';

Who modify node_access table?

Dear webadmins,

What are the modules/functions that modify/rebuild the node_access table? (in details please)

Thanks in advance.

new question after an answer

who can help me,

I need a Module like a webform only I want when your answer an Question that you get a new Question reletative to the previous question. example: when you are by question 1 you have 2 anwser yes and no. Yes will go the question 2, and no will go to question 7.

who can help me

How to send a mail by using drupal

HI
Iam new to the drupal .At first time iam "create a new Account" with my gmail id and password and submit that form .So by using gmail id and password one mail was compulsary send to this gmail id .But this was not happen.
BY this iam doing ,download one smtp.module and put this in to modules directory and after that goto administer => modules and enabled that smtp module .Ater that administer => settings => smtp menu item came .BY clicking the smtp it shows only two buttons (1) Save Configuratuin

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x