diff --git a/checkin_notes b/checkin_notes
index 5305c3c397..23bd655c67 100755
--- a/checkin_notes
+++ b/checkin_notes
@@ -10117,11 +10117,32 @@ Jeff Feb 19 2004
Rom Feb 23 2004
- Removed stackwalkers exception description so duplicate information is not logged.
- api/win/
- stackwalker.cpp
+ api/win/
+ stackwalker.cpp
Karl 2004-02-23
- cookbook changes
doc/
project_cookbook.php
+
+Rom Feb 23 2004
+ - New projects were failing to be able to make profiles. Added a bunch of defines
+ to project.inc that are now required.
+ - Updated the schema.sql file to include columns that are now required.
+ - Changed URL handling to include URL_BASE before quite a few relative links.
+ Basically PROFILE_PATH was being used for URL generation instead of URL_BASE +
+ IMAGE_URL|PROFILE_URL.
+
+ db/
+ schema.sql
+ html/inc/
+ forum.inc
+ gallery.inc
+ html/project.sample/
+ project.inc
+ user/
+ profile_menu.php
+
+
+
diff --git a/db/schema.sql b/db/schema.sql
index 7da23b10f5..ab49657552 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -273,6 +273,9 @@ create table profile (
recommend integer not null,
reject integer not null,
posts integer not null,
+ hide_email integer,
+ uotd_time integer,
+ verification integer,
primary key (userid)
);
diff --git a/html/inc/forum.inc b/html/inc/forum.inc
index 48a6e5fea5..75914d063b 100644
--- a/html/inc/forum.inc
+++ b/html/inc/forum.inc
@@ -297,7 +297,7 @@ function show_post($post, $thread, $logged_in_user, $n, $controls=FORUM_CONTROLS
";
- echo user_links($user, "../");
+ echo user_links($user, URL_BASE);
echo "
diff --git a/html/inc/gallery.inc b/html/inc/gallery.inc
index b3a53eab5b..25959dcce8 100644
--- a/html/inc/gallery.inc
+++ b/html/inc/gallery.inc
@@ -78,7 +78,7 @@ function build_picture_pages($width, $height) {
"![](\"") | "
);
$count++;
@@ -102,7 +102,7 @@ function build_picture_pages($width, $height) {
}
- //echo "
Go to the first generated page.";
+ //echo "
Go to the first generated page.";
}
// Creates pages grouping user profiles by country. Filenames are of the
@@ -159,7 +159,7 @@ function build_country_pages() {
build_country_summary_page($countryMembers);
- //echo "
View Summary Page";
+ //echo "
View Summary Page";
//echo "
Done";
}
@@ -284,7 +284,7 @@ function build_alpha_summary_page($characters) {
foreach ($alphabet as $character) {
if (in_array($character, $characters)) {
- fwrite($descriptor, "$character ");
+ fwrite($descriptor, "$character ");
unset($characters[$character]);
} else {
fwrite($descriptor, "$character ");
@@ -293,7 +293,7 @@ function build_alpha_summary_page($characters) {
// Link to the 'Other' page if necessary.
if (!empty($characters)) {
- fwrite($descriptor, "Other ");
+ fwrite($descriptor, "Other ");
}
fclose($descriptor);
}
@@ -304,7 +304,7 @@ function generate_uod_page($profile, $user) {
if ($profile->has_picture) {
fwrite($descriptor,
- "id>
"
+ "id>
"
);
}
$x = user_links($user);
diff --git a/html/project.sample/project.inc b/html/project.sample/project.inc
index 6d5f7d3f0f..a368f171b9 100644
--- a/html/project.sample/project.inc
+++ b/html/project.sample/project.inc
@@ -8,13 +8,17 @@
require_once("../inc/util.inc");
define("PROJECT", "Test Project");
-define("MASTER_URL", "http://boinc.berkeley.edu/");
+define("MASTER_URL", "");
define("URL_BASE", "");
-define('IMAGE_PATH', '../user_profile/images/');
-define('PROFILE_PATH', '../user_profile/');
-define('LANGUAGE_FILE', 'languages.txt');
-define('STYLESHEET', 'white.css');
-define('COPYRIGHT_HOLDER', 'Test Group');
+define("IMAGE_PATH", "../user_profile/images/");
+define("IMAGE_URL", "user_profile/images/");
+define("PROFILE_PATH", "../user_profile/");
+define("PROFILE_URL", "user_profile/");
+define("LANGUAGE_FILE", "languages.txt");
+define("STYLESHEET", "white.css");
+define("COPYRIGHT_HOLDER", "Test Group");
+define("SYS_ADMIN_EMAIL", "");
+
function project_intro() {
echo"
diff --git a/html/user/profile_menu.php b/html/user/profile_menu.php
index d42240125c..e8133e2459 100644
--- a/html/user/profile_menu.php
+++ b/html/user/profile_menu.php
@@ -40,8 +40,8 @@ rowify("
");
row1("User Profile Explorer");
echo "
|