21
liomj
Re: Home Page
  • 2021/11/5 2:01

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


Last time there was a module call TS-MyStartup
https://xoops.org/modules/news/article.php?storyid=5220

Quote:
The TS-My Startup Page module allows an administrator to specify which module is shown at startup for a specific group after login or for anonymous users, i.e. you can now redirect specific groups of users to a part of your site that suits them with an easy to use administration interface.


will be great if it can be updated to be compatible with latest XOOPS



22
liomj
xlanguage and xoopsfaq problem
  • 2021/10/27 7:21

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


When using xlanguange tags eg [en]...[/en][ms]..[/ms] in the xoops faq, such as in categories and answers the [ ] tags is display instead of translating in frontend and backend

XOOPS FAQ 2.01 Alpha 1 (01/07/2020)
Xlanguage 3.1.3 RC-1 (08/18/2021)
XOOPS Version XOOPS 2.5.11-Beta2
PHP Version 7.4.24
MySQL Version 5.7.36

https://github.com/XoopsModules25x/xoopsfaq/issues/10



23
liomj
Re: My overloads of the templates search.tpl and userinfo.tpl
  • 2021/10/27 7:19

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


Looking Good alain...nice



24
liomj
Re: Xlanguage Issue
  • 2021/8/19 23:38

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


Quote:

Mamba wrote:
Liom,

in /api.php please comment out the line 45 and line 128, and see if it makes a different for you


Yes, it makes a difference and now everything working right so far



25
liomj
Re: Xlanguage Issue
  • 2021/8/19 8:08

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


Quote:

Mamba wrote:
LiomJ,
could you test the 3.1.3 RC-1 version and let me know if it works for you?

https://github.com/mambax7/xlanguage/releases


Mamba

It seems working the site is now in default my local translation

but now it introduces a new issue - blocks and contents are not translating it will show the tags with the translation

Resized Image

only after clicking the flag image it will translate



26
liomj
Re: Xlanguage Module - Default Language Issue
  • 2021/8/19 8:00

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


Quote:

alain01 wrote:
Strange,
did you create Config file ?

Tab Manage Languages, bottom ! (create config file).

In my config file :
    $cachedConfig['xlanguage_base'] = array(
        
"english"=>array(
            
"lang_id"=>1,
            
"weight"=>20,
            
"lang_name"=>"english",
            
"lang_desc"=>"English version",
            
"lang_code"=>"xen",
            
"lang_charset"=>"UTF-8",
            
"lang_image"=>"english.gif"
        
),
        
"french"=>array(
            
"lang_id"=>2,
            
"weight"=>10,
            
"lang_name"=>"french",
            
"lang_desc"=>"Version française",
            
"lang_code"=>"xfr",
            
"lang_charset"=>"UTF-8",
            
"lang_image"=>"french.gif"
        
),
    );
?>


Hi alain,

I dont use any ext language and config file is created but i still have the problem



27
liomj
Re: Xlanguage Issue
  • 2021/8/18 1:54

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


i made some self troubleshooting testing with xoops 2.5.11 beta and xlanguage 3.1.2 with different browsers

a. Firefox - remove english as language settings in browser
- clear cache now my translation is working as default without clicking the flag image

b. chrome - remove english language from setting
- clear cache - translation not working

im not sure if this got to do with browser language setting but if i used the old xlanguage, i dont have this problem



28
liomj
Re: Xlanguage Issue
  • 2021/8/18 1:40

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


i solved it temporarily by using old version of xlanguge 3.0 from an older installation...



29
liomj
Xlanguage Module - Default Language Issue
  • 2021/8/18 1:38

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


Hi, How do i set my language as Default ?

What did i miss, i setup it like this

a. add my language folder in root/language/ and also in root/modules/xxx/language also others place where language folder exists
b. change the Preferences - General Settings - Default Language
c. Install xlanguage module
d. Add base language, my local language and English language
f. Activate block language
g. try to change language using block - success

but my site default language is still English .. i need to click the flag image in the language block to change to my local language,

i've cleared my cache, use incognito and private browser mode and also use another pc..same problem

if i deactive uninstall the xlanguage module, i will see my translation

Im using
XOOPS Version XOOPS 2.5.11-Beta2
PHP Version 7.4.21
MySQL Version 5.5.5-10.4.20-MariaDB
xlanguage 3.1.2

https://github.com/XoopsModules25x/xlanguage



30
liomj
Re: user and group maintenance help
  • 2021/4/23 3:18

  • liomj

  • Just popping in

  • Posts: 82

  • Since: 2012/4/10


Quote:

goffy wrote:
hi

i would suggest:
first determine all relevant uids/links from group 5 and store them in a temporary table
Quote:
CREATE TABLE temp as SELECT linkid, groupid FROM xe07_groups_users_link as query1 INNER JOIN (SELECTxe07_groups_users_link.uid FROM xe07_groups_users_link WHERE (((xe07_groups_users_link.groupid)=5))) AS query2 ON query1.uid = query2.uid;


then delete all items from table groups_users_link from this uids where group_id <> 5
Quote:
DELETE xe07_groups_users_link,temp FROM xe07_groups_users_link INNER JOIN temp ON temp.linkid = xe07_groups_users_link.linkid WHERE xe07_groups_users_link.groupid <> 5


please make data backup before


thank you all

im using geekwright method for now

i need to use php to deal with array
DELETE FROM `xxxx_groups_users_linkWHERE `uidin (SELECT `uidfrom `xxxx_userswhere uid in (396,12))
DELETE FROM `xxxx_groups_users_linkWHERE `uidin (SELECT `uidfrom `xxxx_userswhere uid='396')
INSERT INTO `xxxx_groups_users_link`(groupiduidVALUES (5,396)




TopTop
« 1 2 (3) 4 5 6 ... 8 »



Login

Who's Online

148 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 148


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits