11
neill
Re: mail problems
  • 2006/8/3 2:03

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


i think its the problem with hotmail or those popular email's spam filter, i did a test to send mail to my hotmail account and it end up in the junk mail box



12
neill
Re: This will make the cbb Forum search > 100 times faster
  • 2006/8/1 14:47

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


good idea, but i dont think it will work good in other languages, like chinese



13
neill
CBB fatal error
  • 2006/7/30 6:12

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


Fatal error: Cannot instantiate non-existent class: xoopsformselecteditor in
forumform.inc.php on line 115

this happened after i change the height from 400px to 250px
but i tried to change it back, still this error



14
neill
Re: Upgrading to 2.0.14 Stopped includes
  • 2006/7/24 8:01

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


im pretty sure its CBB or newBB's problem
the problem is when use [ code] tag, it supposed to keep codes for example "& amp;" without space as it is, not translate it into "&" symbol



15
neill
Re: Upgrading to 2.0.14 Stopped includes
  • 2006/7/23 15:36

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


for my problem above, i have a workaround using javascript, if anyone interested, here is my code

insert this before you call the function
<{literal}>
    <
script type="text/javascript">
    <!--
    function 
langurl(lang)
    {
        var 
strHref window.location.href;
        if ( 
strHref.indexOf("?") > -)
        {
            var 
strQueryString strHref.substr(strHref.indexOf("?")).toLowerCase();
            var 
aQueryString strQueryString.split("&");
            var 
aQueryString_new = new Array();    
            for(var 
i=0i<aQueryString.lengthi++)
            {
                if(
aQueryString[i].substr(0,5)!="lang=")
                {
                    
                    
aQueryString_new.push(aQueryString[i]);
                }
            }
            var 
url strHref.substr(0strHref.indexOf("?"));
            
url url.toLowerCase();
            var 
finalquery aQueryString_new.join("&");
            var 
ret=(finalquery.length)? url+"?"+finalquery+"&amp;lang="+lang url+"?lang="+lang;
        }
        else
        {
            var 
ret=strHref+"?lang="+lang;
        }
        return 
ret;
    }
    
//-->
    
</script>
<{/
literal}>

BUG? the [ code] tag removes my content like "& lang" without space


then insert something like this to where you need it
<{literal}>
<
script type="text/javascript">
    <!--
    
document.write("<a href='"+langurl("schinese")+"'>&#20013;&#25991;</a>");
    
document.write("<a href='"+langurl("english")+"'>English</a>");
    
//-->
</script>
<{/
literal}>


ugly but works



16
neill
Re: Upgrading to 2.0.14 Stopped includes
  • 2006/7/23 14:12

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


i have a similar problem
im trying to implement xlanguage links into the theme
<{php}>
global 
$cnurl$enurl;
        
$cnurl xoops_getenv('PHP_SELF')."?".$query_string."lang=schinese";
        
$enurl xoops_getenv('PHP_SELF')."?".$query_string."lang=english";
<{/
php}>

when i call $cnurl or $enurl in template, i get my home address




TopTop
« 1 (2)



Login

Who's Online

174 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

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

Latest GitHub Commits