PDA

View Full Version : How to change the default first topic


lisss001
08-15-2006, 06:43 PM
Editing the Default Post:

In: /nbs/new_forum_sql.php

Look For:

$sql[] = "INSERT INTO " . $accessname . "_topics (topic_id, topic_title, topic_poster, topic_time, topic_views, topic_replies, forum_id, topic_status, topic_type, topic_vote, topic_first_post_id, topic_last_post_id) VALUES (1, 'Welcome to phpBB 2', 2, '972086460', 0, 0, 1, 0, 0, 0, 1, 1);";

$sql[] = "INSERT INTO " . $accessname . "_posts (post_id, topic_id, forum_id, poster_id, post_time, post_username, poster_ip) VALUES (1, 1, 1, 2, '" . time() . "', NULL, '7F000001');";
$sql[] = "INSERT INTO " . $accessname . "_posts_text (post_id, post_subject, post_text) VALUES (1, NULL, 'This is an example post in your phpBB 2 installation. You may delete this post, this topic and even this forum if you like since everything seems to be working!');";

Edit the part in red to say what you would like ;)

Derek
08-15-2006, 10:29 PM
Hmm good idea, I should probably make that a setting so that it doesn't get overwritten each time they upgrade the multi-forums script.

Cronos
08-16-2006, 02:26 AM
Good Idea ;)

luky
09-20-2006, 06:13 AM
Ih thank you very much! :) I will edit mine.

luky
09-22-2006, 11:24 PM
Derek, please add tihs to the setting in the head admin panel. It is nice. :D

Derek
09-23-2006, 10:39 AM
Yes, it will be in the next beta.

luky
09-25-2006, 01:12 AM
How do you edit the e-mails for register, new forum and forgot password?

Derek
09-25-2006, 04:25 PM
You can edit those in the Admin CP, under Phrases. Click edit and find these phrases...


New Forum Verification Message - verify_email_message
Forgot Password (Subject) - send_pass_email_subject
Forgot Password (Message) - send_pass_email_messageDerek

luky
09-26-2006, 11:30 PM
Ohh, i still dont exactly understand that phrases module, i guess ill just play around. Thanks!