Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi,
I had a query in the forum module. Where in this module is the data (like the title and description that has been entered by user) saved to the database. I found a code segment like
function forum_insert($node) {
db_query('INSERT INTO {forum} (nid, vid, tid) VALUES (%d, %d, %d)', $node->nid, $node->vid, $node->tid);
}
It is here that the code ids like nid vid and tid are saved to the table forum.
But where is the code that takes the title and description to the table node.
hi,
I need a modification with the forum module. I am trying to add new form field for entering the contact number of the user who is starting the form. I have added a new field at the end like this
I want to enclose some comments (by certain users) with div tags, so they can be styled differently from within a module. How would I do this?
I'd also like to be able to control who can comment on the node type the module has created. Again, any pointers on how to do this? I've looked at the comment api, but couldn't make much sense of it.
With emailpage installed and enabled, every post gets the "email this page" link twice. The first link goes to "this page not found". The second link goes to the forward page.
With email installed but disabled, every post gets the "email this page" link once. It goes to the forward page.
With email deleted (in cPanel, removed from the modules subdirectory and placed in the trash bin), every post gets the "email this page" link once. It goes to the forward page.