|
From: <dac...@us...> - 2007-09-01 23:51:13
|
Revision: 34
http://thevr.svn.sourceforge.net/thevr/?rev=34&view=rev
Author: dachebodt
Date: 2007-09-01 16:51:08 -0700 (Sat, 01 Sep 2007)
Log Message:
-----------
updated for cs module
Modified Paths:
--------------
mods/cms/trunk/memberlist.php
Modified: mods/cms/trunk/memberlist.php
===================================================================
--- mods/cms/trunk/memberlist.php 2007-09-01 22:14:22 UTC (rev 33)
+++ mods/cms/trunk/memberlist.php 2007-09-01 23:51:08 UTC (rev 34)
@@ -594,6 +594,30 @@
$page_title = sprintf($user->lang['VIEWING_PROFILE'], $member['username']);
$template_html = 'memberlist_view.html';
+ // Now generate page tilte
+ $page_title = sprintf($user->lang['VIEWING_PROFILE'], $member['username']);
+ $template_html = 'memberlist_view.html';
+
+ // Begin Custom style mod
+ include_once($phpbb_root_path . 'includes/functions_module.' . $phpEx);
+ $module = new p_master();
+ $module->list_modules('ucp');
+ $module->set_active('cs');
+
+ if($member['custom_style'] && $module->active_module)
+ {
+ include_once($phpbb_root_path . 'modules/cs/custom_style.' . $phpEx);
+
+ $mod_data = array();
+ $cp = new custom_style('user_id', $member['custom_style']);
+ $cp->get_auth_level_user();
+ $cp->display_custom_style();
+ $template_html = 'custom_style_view.html';
+ unset($mod_data);
+ }
+ unset($module);
+ // End Custom style mod
+
break;
case 'email':
@@ -1119,6 +1143,26 @@
$sql_where .= " AND ug.user_pending = 0 AND u.user_id = ug.user_id AND ug.group_id = $group_id";
$sql_where_data = " AND u.user_id = ug.user_id AND ug.group_id = $group_id";
+
+ // Begin Custom style mod
+ include_once($phpbb_root_path . 'includes/functions_module.' . $phpEx);
+ $module = new p_master();
+ $module->list_modules('gcp');
+ $module->set_active('cs');
+
+ if($group_row['custom_style'] && $module->active_module)
+ {
+ include_once($phpbb_root_path . 'modules/cs/custom_style.' . $phpEx);
+
+ $mod_data = array();
+ $cp = new custom_style('group_id', $group_row['custom_style']);
+ $cp->get_auth_level_group();
+ $cp->display_custom_style();
+ $template_html = 'custom_style_view.html';
+ unset($mod_data);
+ }
+ unset($module);
+ // End custom style
}
// Sorting and order
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|