xoops forums

Forum Index


Board index » All Posts (neill)




neill

Just popping in
Posted on: 2006/8/6 14:37
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#1

Re: What is your best module/method for backing up?

i'll also like to know an effective upload folder backup, incase some hacker delete all your files


neill

Just popping in
Posted on: 2006/8/6 14:29
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#2

Re: Group and rank mess

i understand that groups and ranks are seperate thing.

so do you mean i have to manually going into the database and change the user's rank to admin?


neill

Just popping in
Posted on: 2006/8/6 6:35
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#3

Group and rank mess

this is the problem, when i change a user's group, for example from user to admin, it updates in the
"xoops_groups_users_link" table
but it doesnt updates in "xoops_users" table, still saying rank 0.

any help?


neill

Just popping in
Posted on: 2006/8/5 3:25
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#4

how to disable Xlanguage auto language detection

as title says, im building a chinese site for chinese in australia, ofcourse most of my users are from australia, but are chinese, and most likely they will have location set to australia, so they will get english as the auto detection in xlanguage

but i'll like to have default language of chinese to emphasis this is a chinese community

[edit]
dont worry, fixed, this is extreemly difficult to detect, i have to clean my cookie to see the effect

change i made was
xlanguage/include/functions.php
function xlanguage_detectLang()
{
    
/*global $available_languages,$_SERVER;

    if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
        $HTTP_ACCEPT_LANGUAGE = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
    }

    if (!empty($_SERVER['HTTP_USER_AGENT'])) {
        $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];
    }

    $lang = '';
    $xoops_lang ='';
    // 1. try to findout user's language by checking its HTTP_ACCEPT_LANGUAGE
    // variable
    if (empty($lang) && !empty($HTTP_ACCEPT_LANGUAGE)) {
        $accepted = explode(',', $HTTP_ACCEPT_LANGUAGE);
        $acceptedCnt = count($accepted);
        reset($accepted);
        for ($i = 0; $i < $acceptedCnt; $i++) {
            $lang = xlanguage_lang_detect($accepted[$i], 1);
            if(strncasecmp($lang,'en',2)){
                break;
            }
        }
    }
    // 2. try to findout user's language by checking its HTTP_USER_AGENT variable
    if (empty($lang) && !empty($HTTP_USER_AGENT)) {
        $lang = xlanguage_lang_detect($HTTP_USER_AGENT, 2);
    }
    // 3. If we catch a valid language, configure it
    if (!empty($lang)) {
        $xoops_lang = $available_languages[$lang][1];
    }*/
    
return "schinese";
}


neill

Just popping in
Posted on: 2006/8/4 0:00
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#5

Re: Xoops Search with Mediawiki

right now im using wiwimod from XOOPS Brasil
its best integrated into xoops, better than doku and mediawiki
the search will look for page title and content


mediawiki is not designed for xoops, wiwi is, so that made difference
you may give that one a try


neill

Just popping in
Posted on: 2006/8/3 23:54
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#6

Re: how does module cache work?

i'll like to know this too, and what cache to set for each modules


neill

Just popping in
Posted on: 2006/8/3 23:42
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#7

Re: Modules in subdomain, is it possible?

Thx Daigoro

this is what i did, except i have masking on, but i never know it will have penalty with search engines, so i'll remove it, thx again


neill

Just popping in
Posted on: 2006/8/3 11:12
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#8

Re: Sub-domain in modules

there must be a workaround, i understand the multisite hack, but i dont want to apply too many hack or it will become too hard to maintain and update

if its the domain name problem, (the virtual path set in mainfile)
then i wouldn't be able to setup a secondary domain, which i did, and fully functional even for all modules



the workaround i have in mind is create a subdomain that redirect to www.mydomain.com/modules/modulename with url masking enabled, but thats very host specific. i'll test it and see how it goes


neill

Just popping in
Posted on: 2006/8/3 8:47
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#9

Re: Modules in subdomain, is it possible?

bump, same problem here

i made www.mydomain.com/modules/newbb
a subdomain bbs.mydomain.com

if i go to my subdomain, i get a message of
"Selected module does not exist!"

but i can access newbb from the main domain.

i also made 1 subdomain for each modules, but all of them are having same problem


neill

Just popping in
Posted on: 2006/8/3 3:20
neill
neill (Show more)
Just popping in
Posts: 16
Since: 2006/7/23
#10

Re: Open in new Window

you can hardcode a link to your chatforum in your theme template with target of blank



TopTop
(1) 2 »