Auto image renaming based on tokens after image upload

Hi,
I want to rename uploaded images to a form like "[upload_date]/[other_tokens...]" automatically.for drupal 6 there is filefield_paths module but how can I do this in drupal 7?

every page takes 3-10 seconds to load

my hosting is x10hosting.com and it takes 3-10 seconds to load every page, is it normal or can I fix it?

Can't enable Clean Url - Gives errors

* Notice: Undefined variable: errno in drupal_http_request() (line 829 of /home/owyn11/public_html/includes/common.inc).
* Notice: Undefined variable: errstr in drupal_http_request() (line 830 of /home/owyn11/public_html/includes/common.inc).
* Notice: Undefined variable: errno in drupal_http_request() (line 829 of /home/owyn11/public_html/includes/common.inc).
* Notice: Undefined variable: errstr in drupal_http_request() (line 830 of /home/owyn11/public_html/includes/common.inc).

Autofill in webform fields from xml

I want to use the API from Pro6PP (http://www.d-centralize.nl/pro6pp/support) to fill in the address fields, from a Dutch database.
The request to that database is like this example

http://api.pro6pp.nl/v1/autocomplete?auth_key=YOUR_AUTH_KEY&nl_sixpp=5408xb&streetnumber=6&format=xml&pretty=True

The return is like this:

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>ok</status>
  <results>
        <result>
          <nl_sixpp>5408XB</nl_sixpp>
          <street>Reestraat</street>
          <city>Volkel</city>
          <municipality>Uden</municipality>
          <province>Noord-Brabant</province>
          <lat>51.64464</lat>
          <lng>5.6526</lng>
        </result>
  </results>
</response>

This is the php code example from the developpers documentation:


<?php
// This example requires the PHP Curl module installed
// In php.ini: extension=php_curl.dll

// Set account + address parameters
$auth_key = "YOUR_AUTH_KEY";
$nl_sixpp = "5408XB";
// Optional
$streetnumber = "";

// Optionally, set a timeout (in ms)
$timeout = 5000;

$url = "http://api.pro6pp.nl/v1/autocomplete?auth_key=" . $auth_key .
"&nl_sixpp=" . urlencode($nl_sixpp) .
"&streetnumber=" . $streetnumber;

$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

node/add and its alternatives

I have a site that has several roles, each role can create different types of content, these content types overlap between roles. I need a page that the user can navigate to that will show them a list of all the content that they can add based on there role, i also need them to be able to navigate to that content creation page from here. Ordinarily node/add would be the perfect page as it filters out any content that the user can create and only displays these options.

Affiliate referral tracking D7

I have read up on some affiliate tracking that is available for D6, but not D7. What I've read doesn't seem to do what I need. See http://drupal.org/project/affiliate . For one thing this isn't available in D7. What I need is a simple referral tracking and promoting system. It does not need to be tied into any purchases at this point. I don't believe in charging for opportunity. I'll need to take names of referrers and their data and convert it to a new database for my paid programmers to work with to bring the system out of PreLaunch. This will give an initial community of members the ability to understand what we will be selling and doing and how to present it.

  • What I need is to track who the referrer is so I will need a referrer URL that auto-fills a sign up form.
  • Ideally I would also be able to manually edit the referrer field as the admin.
  • I think there are already user profile modules available that will allow me to create new fields.
  • I want each member to be able to see user names of the people they've referred and be able to contact them.
  • I want each member to be able to see how many people their referrals have referred but not the names or contact info of the indirect referrals.
  • I want to be able to contact the entire database as admin without getting blacklisted.
  • Pages

    Subscribe with RSS Subscribe to RSS - Drupal 7.x