Hello,
After a few tries on rawvegandating.com and lesbiandating.ch, I decided to start again with Drupal 6.x. After twitching with so many settings, I kind of lost track myself... So this time I want to document it in a tutorial.
LET's MAKE AN ALL INCLUDED DATING and COMMUNITY DRUPAL SITE TUTORIAL!
The search function is the big missing function in building dating sites with Drupal.
I only found one module that tries to solve this problem at MyBesInformatik, it uses profile plus. I am unfamiliar with this solution because I went with nodeprofile as user profiles. Why? Because that way we could add stuff like user galleries/... to the profiles.
A quick overview on how to get a search page similar to this one.:
You will find the introduction here. I will structure everything when I get the time.
:-)
For my Master's Thesis, I have developed a Tabu Search Algorithm that optimizes musical fragments. An extremely interesting topic. You will find the algorithm and the extensive documentation attached. I'm afraid it is in Dutch, I'd be willing to translate parts if there are any requests. You will also find some interesting graphics about the underlying maths of music.
Drupal is such a powerful tool you can make almost any type of site with it. And that is at the same time its weakness. Don't get me wrong, I love Drupal, it's great. Because of the wide range of possibilities, it can sometimes be confusing to set up and that is exactly why I am writing this elaborate tutorial.
Our goal is to make an internet magazine or ezine, with some of the following features
- Users can write articles
- Articles have nicely layout pictures
- articles are categorized
- people can subscribe to the magazine to receive weekly articles
I wanted to display a 'related nodes' block on an internet magazine I am setting up. I know you can use 'similar by terms', but that wasn't up for 6.x yet. So I found a little code fragment that I modified:
<?php
if (arg(0) == 'node' && is_numeric(arg(1)) && is_null(arg(2))) {
$nid = (int)arg(1);
$terms = taxonomy_node_get_terms($nid);
$output = "
";
foreach($terms as $term){
$sql = "SELECT n.title, n.nid FROM {node} n INNER JOIN {term_node} tn ON n.nid = tn.nid WHERE tn.tid = $term->tid AND n.nid != $nid LIMIT 5";
Just experimented with setting up a tag cloud. First I created a vocabulary for all terms, then I set the properties to 'multiple'. Apparently the Tagadelic module won't let you set up a block with weighted tags by default. So I created a block with:
<?php
drupal_set_html_head('@import url('.drupal_get_path('module','tagadelic').'/tagadelic.css);');
$vocs[] = 3; // id of the vocabulary of which you want to display a tag cloud
$output = theme('tagadelic_weighted',tagadelic_get_weighted_tags($vocs));
print $output;
?>
Just when I thought Google Earth couldn't get better after the sky update, I stumbled upon a few blogs talking about an hidden flight simulator in google earth 4.2.
So let's check it out! Pressing Ctrl-Alt-A should open up the flight simulator, but it didn't. Don't worry, Ctrl-Windowskey-A did the trick. I work on a Suse Linux system, maybe that's why. The simulator is quite impressive, you can fly over your own house! Don't crash though!
This week I cloned one of my Drupal installs. Very usefull and a great timesaver.
Here is how I did it:
Step 1
Copy all of the files to your other webspace using ftp
Step 2
Dump your existing database in an .sql file. I used the following php script:
$db="xxx";
$name="xxx";
$user="xxx";
$pw="xxx";
mysql_connect($db,$user,$pw);
@mysql_select_db($name) or die ("Kon geen connectie maken met de database!");
$filename = "db_backup_" . date("n-j-y");
header("Content-Disposition: filename=$filename.sql");
I am Dorien Herremans - Dorax - and I am a commercial engineer. A few years back I was still at the University of Antwerp. In the meanwhile, I moved to Switzerland and I am working as an IT Lecturer in Les Roches University. I also started up a compagny here, together with my partner Els. We do all sorts of things, she is an osteopath. One of our current projects is the natural loghome Andromeda, in which we are opening a raw vegan bed and breakfast (see Naturalp.org for more info).
Recent comments
1 week 1 day ago
3 weeks 6 days ago
3 weeks 6 days ago
3 weeks 6 days ago
4 weeks 20 hours ago
4 weeks 4 days ago
4 weeks 4 days ago
4 weeks 6 days ago
5 weeks 11 hours ago
5 weeks 17 hours ago