Non permettere il cambio del codice del gruppo
disattivare l'abilitazione se la registrazione arriva da me paoloar77 Sistemato il Menu del BOT per inviare msg a tutti e per ricevere il proprio Link personale. Non permettere il cambio del codice del gruppo Aggiunta la Provincia tra parentesi nei Comuni: es Rimini (RN)
This commit is contained in:
@@ -117,7 +117,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
fieldsUserToChange() {
|
||||
return ['_id', 'index', 'username', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'verified_by_aportador', 'ipaddr', 'lasttimeonline', 'profile', 'calcstat', 'news_on', 'aportador_solidario', 'made_gift', 'ind_order', 'old_order', 'numinvitati', 'numinvitatiattivi', 'qualified']
|
||||
return ['_id', 'index', 'username', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'notask_verif', 'verified_by_aportador', 'ipaddr', 'lasttimeonline', 'profile', 'calcstat', 'news_on', 'aportador_solidario', 'made_gift', 'ind_order', 'old_order', 'numinvitati', 'numinvitatiattivi', 'qualified']
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
@@ -122,6 +122,7 @@ export const shared_consts = {
|
||||
BOTTYPE_PAGE: 1,
|
||||
BOTTYPE_LINK: 2,
|
||||
BOTTYPE_TEXT: 3,
|
||||
BOTTYPE_MENU: 4,
|
||||
|
||||
CashType: {
|
||||
None: 0,
|
||||
@@ -155,6 +156,10 @@ export const shared_consts = {
|
||||
value: 3,
|
||||
label: 'Testo',
|
||||
},
|
||||
{
|
||||
value: 4, // BOTTYPE_MENU
|
||||
label: 'Menu',
|
||||
},
|
||||
],
|
||||
|
||||
Shippings: [
|
||||
@@ -769,7 +774,7 @@ export const shared_consts = {
|
||||
},
|
||||
|
||||
fieldsUserToChange() {
|
||||
return ['_id', 'username', 'group', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'verified_by_aportador', 'trust_modified', 'img', 'ipaddr', 'lasttimeonline', 'profile', 'news_on']
|
||||
return ['_id', 'username', 'group', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'notask_verif', 'verified_by_aportador', 'trust_modified', 'img', 'ipaddr', 'lasttimeonline', 'profile', 'news_on']
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
@@ -380,7 +380,7 @@ export default defineComponent({
|
||||
filter: null,
|
||||
useinput: false,
|
||||
icon: 'mood',
|
||||
filteradv: true,
|
||||
filteradv: false,
|
||||
},
|
||||
{
|
||||
label: 'Regione',
|
||||
@@ -476,7 +476,7 @@ export default defineComponent({
|
||||
filter: null,
|
||||
useinput: false,
|
||||
icon: 'fas fa-hand-holding',
|
||||
filteradv: true,
|
||||
filteradv: false,
|
||||
//icon: 'swap_horizontal_circle',
|
||||
},
|
||||
|
||||
|
||||
@@ -147,7 +147,6 @@
|
||||
<CMySelect
|
||||
:col="fieldsTable.getColByTable(mytable, item.key)"
|
||||
v-if="(item.type === costanti.FieldType.select) || (item.type === costanti.FieldType.select_by_server)"
|
||||
v-show="(item.filteradv && showfilteradv) || !item.filteradv"
|
||||
:label="labelcombo(item)"
|
||||
v-model:value="item.value"
|
||||
@update:value="searchval(item.value, item.table)"
|
||||
@@ -172,7 +171,6 @@
|
||||
|
||||
<CMySelect
|
||||
v-if="item.type === costanti.FieldType.multiselect_by_server"
|
||||
v-show="(item.filteradv && showfilteradv) || !item.filteradv"
|
||||
:col="fieldsTable.getColByTable(mytable, item.key)"
|
||||
:multiselect_by_server="true"
|
||||
:label="labelcombo(item)"
|
||||
@@ -196,7 +194,6 @@
|
||||
|
||||
<q-select
|
||||
v-if="(item.type === costanti.FieldType.multiselect)"
|
||||
v-show="(item.filteradv && showfilteradv) || !item.filteradv"
|
||||
v-model="item.arrvalue"
|
||||
label-color="primary"
|
||||
:label="labelcombo(item)"
|
||||
|
||||
@@ -518,7 +518,7 @@ const baseroutes: IListRoutes[] = [
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test',
|
||||
component: () => import('@/views/testServer/testServer.vue'),
|
||||
inmenu: true,
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -116,6 +116,11 @@ export default function () {
|
||||
return isVerified() && userStore.my.verified_by_aportador
|
||||
}
|
||||
|
||||
function notAsk_ToVerify() {
|
||||
const userStore = useUserStore()
|
||||
return isVerified() && userStore.my.notask_verif
|
||||
}
|
||||
|
||||
function paotest() {
|
||||
return 'Ciaoooooooooooooooo!'
|
||||
}
|
||||
@@ -177,6 +182,7 @@ export default function () {
|
||||
mySurname,
|
||||
myCell,
|
||||
Verificato,
|
||||
notAsk_ToVerify,
|
||||
MadeGift,
|
||||
Email,
|
||||
getMyImg,
|
||||
|
||||
@@ -105,6 +105,7 @@ export interface IUserFields {
|
||||
perm?: number
|
||||
verified_email?: boolean
|
||||
verified_by_aportador?: boolean
|
||||
notask_verif?: boolean
|
||||
trust_modified?: Date
|
||||
aportador_solidario?: string
|
||||
|
||||
|
||||
@@ -11,6 +11,19 @@
|
||||
|
||||
<!--<CMapsEsempio></CMapsEsempio>-->
|
||||
|
||||
<q-banner
|
||||
v-if="tools.isTest()"
|
||||
rounded
|
||||
dense
|
||||
class="bg-negative text-white"
|
||||
color="primary q-title"
|
||||
style="text-align: center;">
|
||||
<template v-slot:avatar>
|
||||
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs" />
|
||||
</template>
|
||||
<span class="mybanner">Questo è l'AMBIENTE DI TEST !<br> Solo per prove.</span>
|
||||
|
||||
</q-banner>
|
||||
|
||||
<div v-if="isLogged()">
|
||||
<div v-if="!isUserOk()">
|
||||
|
||||
@@ -216,9 +216,9 @@ const msg_it = {
|
||||
components: {
|
||||
authentication: {
|
||||
telegram: {
|
||||
open: 'Clicca qui per aprire il BOT Telegram e segui le istruzioni',
|
||||
ifclose: 'Se non si apre Telegram cliccando sul bottone oppure l\'avevi eliminato, vai su Telegram e cerca il Bot di \'{botname}\' dall\'icona della lente, poi premi Start e segui le istruzioni.',
|
||||
openbot: 'Apri \'{botname}\' su Telegram',
|
||||
open: 'Clicca sul bottone qui sotto, si aprirà una chat Telegram speciale (chiamata BOT)',
|
||||
ifclose: 'poi premi "AVVIA" o "START" e segui le istruzioni indicate.',
|
||||
openbot: 'Entra qui',
|
||||
},
|
||||
login: {
|
||||
facebook: 'Facebook',
|
||||
@@ -396,6 +396,7 @@ const msg_it = {
|
||||
legenda: 'Legenda',
|
||||
aportador_solidario: 'Chi ti ha Invitato',
|
||||
verified_by_aportador: 'Verificato dall\'Invitante',
|
||||
notAsk_ToVerify: 'Non chiedere la verifica Registrazione',
|
||||
trust_modified: 'Fiducia Modificata',
|
||||
blocked: 'Bloccato',
|
||||
username_who_block: 'Bloccato da',
|
||||
|
||||
@@ -520,7 +520,7 @@ export const colmyUserGroup = [
|
||||
name: 'groupname', label_trans: 'reg.groupname', required: true,
|
||||
maxlength: 30,
|
||||
allowchar: costanti.ALLOWCHAR_CODE,
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage,
|
||||
}),
|
||||
AddCol({ name: 'title', label_trans: 'reg.name', required: true, noshowlabel: true, maxlength: 40 }),
|
||||
AddCol({
|
||||
@@ -1906,6 +1906,11 @@ export const colTableUsersISP = [
|
||||
label_trans: 'reg.verified_by_aportador',
|
||||
fieldtype: costanti.FieldType.boolean
|
||||
}),
|
||||
AddCol({
|
||||
name: 'notask_verif',
|
||||
label_trans: 'reg.notAsk_ToVerify',
|
||||
fieldtype: costanti.FieldType.boolean
|
||||
}),
|
||||
AddCol({ name: 'trust_modified', label_trans: 'reg.trust_modified', fieldtype: costanti.FieldType.date }),
|
||||
AddCol({ name: 'blocked', label_trans: 'reg.blocked', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'username_who_block', label_trans: 'reg.username_who_block' }),
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
-->
|
||||
|
||||
<CMyFieldRec
|
||||
:title="t('reg.residency_city')"
|
||||
:title="t('reg.born_city')"
|
||||
table="users"
|
||||
tablesel="cities"
|
||||
:id="myuser._id"
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
<template>
|
||||
<div class="">
|
||||
<q-banner
|
||||
rounded
|
||||
dense
|
||||
class="bg-warning text-white"
|
||||
color="primary q-title"
|
||||
style="text-align: center;">
|
||||
<template v-slot:avatar>
|
||||
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs" />
|
||||
</template>
|
||||
<span class="mybanner">Questa sezione è ancora in fase di miglioramento.</span>
|
||||
|
||||
</q-banner>
|
||||
<CMyFriends
|
||||
v-model="filter"
|
||||
:finder="true"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<template v-slot:avatar>
|
||||
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs" />
|
||||
</template>
|
||||
<span class="mybanner">Questa sezione è ancora in fase di test.</span>
|
||||
<span class="mybanner">Questa sezione è ancora in fase di miglioramento.</span>
|
||||
|
||||
</q-banner>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user