hoogw
hoogw2000
pass: aaaa1111
=======================
cleargov1
hoogw, hoogw2000, hoogw2001
pass: aaaa1111
-----------------------------
glassgov1:
hoogw
pass: A1a18113
---------------------------------------------------
home page set to 'question'
qa-config add code:
/*
* this make home page as qa=questions ( with tab recent, most viewed, most voted )
* without this, qa=Q&A welcome page.
*/
$QA_CONST_PATH_MAP=array(
'questions' => '',
);
***************************
不容许注册
cleargov
click admin --- click user ------------- check tempary suspense new user registration
glassov
mysql Db, configure table ----------— close registration ----------— true
***************************
=============================
click top navigation bar , 'admin'
left side panel, click 'page'
turn on/off 'ask a question' === '' create a topic'
-----------------------------------
++++ change bottom info+++++++
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-main.php
'suggest_ask' => 'All Data Are Location Based - TransparentGov.net - huguowen@gmail.com 310-710-6501',
'voted_qs_title' => 'Most voted ',
------------------- remove footer, admin setting can do but not good-------------------
C:\Apache24\htdocs\cleargov1\qa-include\app\page.php
/*
'footer' => array(
'feedback' => array(
'url' => qa_path_html('feedback'),
'label' => qa_lang_html('main/nav_feedback'),
),
),
*
*/
C:\Apache24\htdocs\cleargov1\qa-include\qa-theme-base.php
/*
$this->nav('footer');
$this->attribution();
$this->footer_clear();
*
*/
---------End ------------------- remove footer, admin setting can do but not good-------------------
-------------hide header top banner ------ no need comment, admin setting can hide header top banner ---------------
C:\Apache24\htdocs\cleargov1\qa-theme\Donut-theme\qa-donut-layer.php
/*
if ( $this->is_home() && qa_opt( 'donut_show_home_page_banner' ) ) {
//check if user closed the header intentionally
$user_hidden = qa_opt( 'donut_banner_closable' ) ?
@$_COOKIE['donut_hide_site_header'] : 'no';
if ( $user_hidden !== 'yes' )
donut_include_template( 'site-header.php', $this );
}
*
*
*/
--------------End ------- no need comment, admin setting can hide header top banner ---------------------
=========== white background =================
C:\Apache24\htdocs\cleargov1\qa-theme\Donut-theme\css\donut.css
/*
background: #f3f3f3;
background-image: url("../images/asanoha-bg.png");
background-repeat: repeat;
*/
========== End ==== white background =================
----- 'question' either hide or replace with something else ------
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-main.php
'nav_qa' => 'T&A',
'nav_qs' => 'Topic',
question 如果能省掉,就省掉,如果不能,就topic 取代
Recent questions ---- Recent
Hot questions --- Hot
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-question.php
'add_q_favorites' => 'Add this to my favorites',
-----End ------ 'question' either hide or replace with something else ------
*********** on list page, remove "0 answered" next to "1 voted" *************
C:\Apache24\htdocs\cleargov1\qa-theme\Donut-theme\qa-donut-layer.php
comment out this line
// $this->a_count( $q_item );
****** End ***** on list page, remove "0 answered" next to "1 voted" *************
=====================
asked make empty
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-main.php
'asked' => '',
===============
===========================
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-profile.php
question change to topic
===================
============================================================
remove --- (240 points) --- at list page, jun, 23 by hoogw2000 ( 240 points)
C:\Apache24\htdocs\cleargov1\qa-include\qa-theme-base.php
comment out:
/*
if (isset($post['who']['points'])) {
$post['who']['points']['prefix'] = '(' . $post['who']['points']['prefix'];
$post['who']['points']['suffix'] .= ')';
$this->output_split($post['who']['points'], $class . '-who-points');
}
*
*/
=======================
=================
remove bottom footer
comment out
C:\Apache24\htdocs\cleargov1\qa-theme\Donut-theme\qa-donut-layer.php
/*
if ( qa_opt( 'donut_show_site_stats_above_footer' ) ) {
$this->donut_site_stats_bottom();
}
$this->output( '
if ( qa_opt( 'donut_enable_back_to_top_btn' ) ) {
$this->output( '' );
}
$this->output( '
parent::footer();
$this->output( '
' ); $this->output( '=====================
asked make empty
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-main.php
'asked' => '',
===============
===========================
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-profile.php
question change to topic
===================
============================================================
remove --- (240 points) --- at list page, jun, 23 by hoogw2000 ( 240 points)
C:\Apache24\htdocs\cleargov1\qa-include\qa-theme-base.php
comment out:
/*
if (isset($post['who']['points'])) {
$post['who']['points']['prefix'] = '(' . $post['who']['points']['prefix'];
$post['who']['points']['suffix'] .= ')';
$this->output_split($post['who']['points'], $class . '-who-points');
}
*
*/
=======================
=================
remove bottom footer
comment out
C:\Apache24\htdocs\cleargov1\qa-theme\Donut-theme\qa-donut-layer.php
/*
if ( qa_opt( 'donut_show_site_stats_above_footer' ) ) {
$this->donut_site_stats_bottom();
}
$this->output( '
if ( qa_opt( 'donut_enable_back_to_top_btn' ) ) {
$this->output( '' );
}
$this->output( '
' );
parent::footer();
$this->output( '
', '' ); *
*/
=========================
------------------------------------------
remove tab, hot, most answered
comment out below
C:\Apache24\htdocs\cleargov1\qa-include\app\q-list.php
/*
'hot' => array(
'label' => qa_lang('main/nav_hot'),
'url' => qa_path_html($request, array('sort' => 'hot')),
),
*/
/*
'answers' => array(
'label' => qa_lang('main/nav_most_answers'),
'url' => qa_path_html($request, array('sort' => 'answers')),
),
*/
--------------------------------------------------------------------------------------------
.....................................
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-misc.php
'nav_user_qs' => 'All topic',
................................................................................
++++++++++++++
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-question.php
'answer_must_confirm' => 'Please ^5confirm your email address^6 ',
'answer_must_login' => 'Please ^1log in^2 or ^3register^4 ',
'answer_q_popup' => 'Answer',
'ask_button' => 'Post Topic',
'q_notify_email' => 'Email me at this address if my topic is commented on:',
+++++++++++++++++
---------------------------
"Ask a Question" change to "Create a Topic"
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-main.php
'nav_ask' => 'Create a Topic',
C:\Apache24\htdocs\cleargov1\qa-include\lang\qa-lang-question.php
'ask_title' => 'Create a topic',
'ask_must_be_approved' => 'Your account must be approved before you create a topic. Please wait or ^1add more information^2.',
'ask_must_confirm' => 'Please ^5confirm your email address^6 to create a topic.',
'ask_must_login' => 'Please ^1log in^2 or ^3register^4 to create a topic.',
search To see more
'suggest_category_qs' => 'To see more, click for all the ^1topic in this category^2. 310-710-6501 huguowen@gmail.com',
'suggest_qs' => 'To see more, click for the ^1full list of topic^2. 310-710-6501 huguowen@gmail.com',
'suggest_qs_tags' => 'To see more, click for the ^1full list of topic^2 or ^3popular tags^4. 310-710-6501 huguowen@gmail.com',_________________________________________________________________________