Custom Module With Form Interacting With Users

I had a quick question if someone can answer. We are creating a job application page that allows a person to apply for a job and upload a resume using a form. I have created a custom form that allows you to upload the resume and then interact with the user object by inserting into the database just as if they user was editing his profile. The issue is that it does not show up under his profile immediately after they apply for this job and does not until the cache is cleared.

So my question is.

Filter Nodes with Community Tags In users - contextual

I have posted this topic in 2 places. Perhaps it is outside of the scope of existing module functionality.

http://drupal.org/node/1425222

http://drupal.org/node/1417698

Should I go ahead and work on a new module for this functionality or have I missed the module that might perform the filtering we need?

Thanks for your advice.

Next/Previous Node Buttons

Hello,
I am working at creating a gallery of sorts on a clients website. To do so I simply created a content type and am using next/previous buttons to go from one node to the next. I am attaching the code (which I copied from elsewhere on this forum) I am using.

This first code was inserted in my template.php
<?php
function node_sibling($dir = 'next', $node, $next_node_text=NULL, $prepend_text=NULL, $append_text=NULL, $tid = FALSE){
if($tid){
$query = 'SELECT n.nid, n.title FROM {node} n INNER JOIN {term_node} tn ON n.nid=tn.nid WHERE '
. 'n.nid ' . ($dir == 'previous' ? '<' : '>') . ' :nid AND n.type = :type AND n.status=1 '
. 'AND tn.tid = :tid ORDER BY n.nid ' . ($dir == 'previous' ? 'DESC' : 'ASC');
//use fetchObject to fetch a single row
$row = db_query($query, array(':nid' => $node->nid, ':type' => $node->type, ':tid' => $tid))->fetchObject();
}else{
$query = 'SELECT n.nid, n.title FROM {node} n WHERE '
. 'n.nid ' . ($dir == 'previous' ? '<' : '>') . ' :nid AND n.type = :type AND n.status=1 '
. 'ORDER BY n.nid ' . ($dir == 'previous' ? 'DESC' : 'ASC');
//use fetchObject to fetch a single row
$row = db_query($query, array(':nid' => $node->nid, ':type' => $node->type))->fetchObject();
}

if($row) {
$text = $next_node_text ? $next_node_text : $row->title;

update.php is a blank page

After upgrading from 7.10 to 7.11 I am not able to access update.php. I have tried changing the update_free_access variable to TRUE however I still receive a blank page. I've also noticed an increase in valid pages returning "No input file specified." Are there any ways to remedy this? Am I the only one receiving these errors? Any help would be greatly appreciated.

TIA

Messages (status, error, warning) and where they get added to the document flow

Hi there,

Can anyone tell me where the messages get added to the document flow? I'm trying to add wrappers to them but can't find exactly where they get added.

Thanks

Connecting to multiple databases, concurrency issues?

Hi, I've edited my settings.php to have 5 databases. The website I am building is a website where users can query information from multiple tables on multiple databases. My question is that let's say there are 100 users using the website and they are all querying from any of the 5 databases. If I have db_set_active('database_1') on one person and another person runs code for db_set_active('database_2'), what will happen? Are there concurrency issues here?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x