51
blindman
Re: XLanguage and Content Module(V0.5) conflicted.
  • 2006/7/26 5:18

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


I have tried to use Edito and XLanguage and faced the same problem.
I supposed that is a code issue for editing mode, the way that module extract content for editing, without the action of xlanguage. With xlanguage action in editing mode, we lose the other languages content (and keep the language content of our language setting).
Still, the Hervet's news module can manage this problem. I have asked about a code modification to avoid xlanguage action in editing mode for Edito. I guess is the same problem for the Content module.
Don't follow me. I'm lost too.



52
blindman
Re: Why's that?
  • 2006/7/18 17:24

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


You can set group permisions fore each block in admin side. Select the groups that can view and leave unselected the groups that cannot view a block. Press +ctrl fore multiple selections.
Don't follow me. I'm lost too.



53
blindman
Re: Users including me , Cant log in to my site
  • 2006/7/18 17:19

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


My sugestion is this. Access phpmyadmin, select prefix_session table and than chose -repair. It could be demaged.
Don't follow me. I'm lost too.



54
blindman
Re: Let's make resmanager work
  • 2006/7/17 8:35

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


Well, I tried to change some code.
Fore some reasons, even I have required setting in php, I get fatal error if unixtojd and other calendar functions are used.
Therefore, I have found at www.php.net/calendar this :
if (!function_exists('unix_to_greg')){
    function 
unix_to_greg($unix_timestamp) {
           
$julian floor(((($unix_timestamp "60") / "60") / "24") + "2440588");
           
$julian $julian 1721119;
           
$calc1 $julian 1;
          
$year floor($calc1 146097);
           
$julian floor($calc1 146097 $year);
           
$day floor($julian 4);
           
$calc2 $day 3;
           
$julian floor($calc2 1461);
           
$day $calc2 1461 $julian;
           
$day floor(($day 4) / 4);
           
$calc3 $day 3;
           
$month floor($calc3 153);
           
$day $calc3 153 $month;
           
$day floor(($day 5) / 5);
           
$year 100 $year $julian;
   
           if (
$month 10){
               
$month $month 3;
               }else{
               
$month $month 9;
               
$year $year 1;
               }
           return 
"$day.$month.$year";
    }
}
    
//cal_days_in_month
if (!function_exists('cal_days_in_month')){
           function 
cal_days_in_month($a_null$a_month$a_year) {
               return 
date('t'mktime(000$a_month+10$a_year));
           }
}
    
// cal to jd
if (!function_exists('cal_to_jd')){
       function 
cal_to_jd($a_null$a_month$a_day$a_year){
               if ( 
$a_month <= ){
                     
$a_month $a_month 12 ;
                     
$a_year $a_year ;
               }
               
$A intval($a_year/100);
               
$B intval($A/4) ;
               
$C 2-$A+$B ;
               
$E intval(365.25*($a_year+4716)) ;
               
$F intval(30.6001*($a_month+1));
               return 
intval($C+$a_day+$E+$F-1524) ;
       }
}


So, maybe, if I don't have those functions on the server settings, I could write some functions right there. In /resmanager/include/functions.php.
Than, replace the script that take an unix timestamp and convert in jd timestamp, after that converting in gregorian calendar.
I must tell you that I don't have fatal errors anymore, but I have problems with passing values and array stuff or something.
Any other fun of resmanager there?
Don't follow me. I'm lost too.



55
blindman
Let's make resmanager work
  • 2006/7/16 15:10

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


I don't want to break any rules, but loudo seems to be gone from XOOPS community. May I try to make resmanager work?
IMHO resmanager is a usefull module. I have been searching a reservation module for medical appointments (with confirmation email, etc). So far, resmanager seems to be the best choice but it has a fatal error.
Since I am not a coder, but I need this module, I call for help from those can manage XOOPS code.
I will try to make it work, and, if anybody could guide me, will be great.
So far, like other people here, I got a fatal error.
I think is because of managing date formats calling php function
$cal_jd unixtojd($cal_timestamp);

I am sure that smarty or XOOPS classes have the ability to manage date format. So I want to change unixtojd with formatTimestamp or something.
If I'll change succsesfully unixtojd and cal_from_jd functions, I'll will let you know. Actually I did it , and fatal error message is gone, but the date values are wrong.
So the replacement of those functions could be a solution.
Anybody could help me with those changes ?

sorry for mypoor English, I hope I made myself clear.
Thank you for your help.
Don't follow me. I'm lost too.



56
blindman
Edito and xLanguage
  • 2006/6/4 20:18

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


I have read about some problems about using xlanguage.
Is a very cool tool and I like it verry much, but I think that some module could be changed a bit to work with xlanguage.
In my case, I like to use news 1.4.4 for articles that require categories and Edito for articles without categories.
But, unfortunately, Edito (which is a great module) can insert into data base content like [en]text english[/en][fr]text french[/fr] but cannot modify it later. Seems that admin section isn't able to ignore xlanguage and lose the other languages content. ( if you are with english language on, the other languages content is ignored, and if you save, you lose it).
Well, news module manage this problem. I tried to figure out why, but ...
I think is in Edito's admin script, the way it call informations field, to avoid xlanguage action or something...
Anyone face this problem before? Can be Edito modified or hacked, to manage this issue?
Don't follow me. I'm lost too.



57
blindman
Re: News module without 'Submit News' and 'Archive'.. and a bunch of other stuff...
  • 2006/1/5 23:01

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


For archive link you could comment a line in xoopsversion.php. About submit link, try to set up permissions (only webmaster allowed to submit).
And finally, for clicks and comment counts and stuff, you could comment some code in the templates files like news_item.html. The same for blocks. Worked for me.
Don't follow me. I'm lost too.



58
blindman
Re: Can I remove Displayname from user registration (xoops 2.2.3)
  • 2005/11/8 10:10

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


I think you are right. I did this for ICQ and other fields, but the display name cannot be set hidden at admin>>modules>>Extended profile>>fields.
Don't follow me. I'm lost too.



59
blindman
Re: Can I remove Displayname from user registration (xoops 2.2.3)
  • 2005/11/7 23:57

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


I don't know if you can remove it but you could set that field to be invisible for some groups and not displaied in registration page. I think is the same as you remove it, for the registered users or another groups.
Don't follow me. I'm lost too.



60
blindman
Re: News 1.42 and SPAW
  • 2005/11/4 21:15

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


Thank you Hervet for your excelent work.
Adding editor folder in the class directory and selecting spaw in admin>>preferences should be enough.
The News module works fine for me, but the Spaw editor gave me a lot of head ache. It doesn't manage well the xhtml converssion and convert the \n or \r in break tag anyway. So, if you insert any table tag, you will get a verry big gap between before text and the <table.
Don't follow me. I'm lost too.




TopTop
« 1 ... 3 4 5 (6) 7 »



Login

Who's Online

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


Members: 0


Guests: 148


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