openmeetings3.0.6 二次改动(无需源码)

来源:互联网 发布:最短路径算法原理 编辑:程序博客网 时间:2024/05/20 06:24
openmeetings3.0.6   后续改进


1.针对各种中文乱码问题

mysql数据库 my.ini文件

讲latin1更改成utf8:
character-set-server=latin1-->character-set-server=utf8  
然后重启mysql服务 输入:show variables like 'character%'; 检测server编码是否变为utf-8


2.更换OpenMeetings名称
方法一:
然后以管理员身份登陆系统,找到“管理-->配置信息”中的application.name的值替换掉。
方法二:
数据库 检索:select* from configuration where conf_key='application.name' 
替换开OpenMeetings


3.去除导航栏 reportbug+about
Mainpage.html文件
屏蔽以下代码:
<!--<span 
id="reportBug"><a target="_blank" wicket:id="bug"><wicket:message key="284"/></a></span><span><a 
wicket:id="about"><wicket:message key="1549"/></a></span>-->


4.去掉登陆窗口多余选项
SignIn.html文件
屏蔽以下代码:
<!--<tr>
<td><a wicket:id="forget"><wicket:message key="311"/></a></td>
<td><a wicket:id="netTest" target="_blank"><wicket:message key="1527"/></a></td>
</tr>-->


5.去除登陆页背景
jquery-ui-1.10.4.custom.css文件
屏蔽以下代码:
/*background: #eeeeee url(images/ui-bg_diagonals-thick_90_eeeeee_40x40.png) 50% 50% repeat;*/


6.更换地址栏
将webapps/openmeetings整个文件改名-->webapps/shipinhuiyi
然后再webapps/openmeetings/public目录下找到config.xml文件
修改里面的:<webAppRootKey>openmeetings</webAppRootKey>--><webAppRootKey>shipinhuiyi</webAppRootKey>
            <httpRootKey>/openmeetings/</httpRootKey>--><httpRootKey>/shipinhuiyi/</httpRootKey>
然后以管理员身份登陆系统,地址为:goodhead.cn:5080/shipinhuiyi/
找到  “管理-->配置信息”中的jod.path作相应改动:第二个 openmeetings-->shipinhuiyi
      “管理-->配置信息”中的application.base.url也做相应改动:openmeetings-->shipinhuiyi  


7.更换图标(两处)
第一处:
找到openmeetings\webapps\goodhead\public\themes\basic-theme\general目录下的:logo.png 图标
以133x40规格的图片去替换  
第二处
找到openmeetings\webapps\goodhead\public目录下的favicon.ico 图标 以32x32规格的图标去替换                  


8.更改版面(去除顶部图标以及+导航栏下移到菜单栏最右边)
需要更改的页面:
    MainPage.html文件:第一处<script type="text/javascript">
function showBusyIndicator() {
$('#busy_indicator').show();
}
function hideBusyIndicator() {
$('#busy_indicator').show(); 
}
       </script>
                        
                        <div id="topControls">
 第二处<!--<div id="topLinks"><span 
id="contactsAndMessages"><a wicket:id="messages"><wicket:message key="1188"/></a></span><span 
id="profile"><a wicket:id="profile"><wicket:message key="5"/></a></span><span 
id="logout"><a wicket:id="logout"><wicket:message key="310"/></a></span><span 
id="reportBug"><a target="_blank" wicket:id="bug"><wicket:message key="284"/></a></span><span><a 
wicket:id="about"><wicket:message key="1549"/></a></span>
</div>-->
<div wicket:id="dev" id="devMenu"/>
<div id="busy_indicator"><span 
id="contactsAndMessages"><a wicket:id="messages"><wicket:message key="1188"/></a></span><span 
id="profile"><a wicket:id="profile"><wicket:message key="5"/></a></span><span 
id="logout"><a wicket:id="logout"><wicket:message key="310"/></a></span></div>
<div wicket:id="menu"></div>
</div>
  
    BasePage.html文件:屏蔽 <!--<div wicket:id="header"></div>-->




theme.css文件:

屏蔽以下代码:

             /*#header {
font-size: 28px;
line-height: 40px;
font-weight: bold;
background-image: url(../public/themes/basic-theme/general/logo.png);
background-repeat: no-repeat;
padding-left: 150px;
}
#topLinks {
position: absolute;
top: 10px;
right: 10px;
}


#topLinks span {
padding-right: 5px;
padding-left: 5px;
border-right: 1px solid black;
}


#topLinks span:last-child {
border-right: none;
}
*/
#menu {
background-color: #AFCBFB;
margin-top: 0;
}
.ui-menubar .ui-menu {
width: 250px;
}
.ui-menu .ui-menu-item a {
line-height: 1.2em !important;
padding-bottom: 5px !important;
}
.menuName {
font-weight: bold;
}
.menuDesc {
font-size: smaller;
line-height: 1em !important;
}


#busy_indicator {
display: none;
float: right;
margin-top: 5px;
z-index: 1000;
width: 400px;
font-weight: bold;
text-align: center;
font-size: 1em;
color: #FF0000;

}

增加span:

#busy_indicator span {
padding-right: 5px;
padding-left: 5px;
border-right: 1px solid black;
}
theme-rtl.css文件:
             /*#header {
padding-left: initial !important;
padding-right: 150px;
background-position: right center;
}
#topLinks {
right: initial !important;
left: 10px;
}


#topLinks span {
border-right: none !important;
border-left: 1px solid black;
}


#topLinks span:last-child {
border-left: none;
}*/




9.去掉menu剩下单排菜单
.menuDesc {
font-size: smaller;
line-height: 1em !important;
display:none
}




10.去除右上角所有标签
<div wicket:id="dev" id="devMenu"/>
<!--<div id="busy_indicator"><span 
id="contactsAndMessages"><a wicket:id="messages"><wicket:message key="1188"/></a></span><span 
id="profile"><a wicket:id="profile"><wicket:message key="5"/></a></span><span 
id="logout"><a wicket:id="logout"><wicket:message key="310"/></a></span></div>-->
<div wicket:id="menu"></div>




11.上传头像失败
原因:没有在“配置信息”里面配置ImageMagick的路径。
解决:配上即可如:D:\SoftForOmeeting\ImageMagick-6.7.5-Q16




12.更改个人主页里面的链接(服务与支持)
“语言编辑器”lableid=282,283,286,287。改完重启服务器即可生效。
0 0
原创粉丝点击