171
MS-2001
Re:xcgal and maintheme
  • 2004/10/27 16:38

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


i cant post a link because the site is double-locked with logins. anything else i could provide you ?



172
MS-2001
Re:xcgal and maintheme
  • 2004/10/27 14:56

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


i could post the css file?!?!
would u help me to find it?

and have a look at this shot. seems like u've got quite the same problem ;)

http://www.ms-2001.de/temporary/gnatoll.jpg

and again some additional information: i found out that the problem is only for mozilla / firefox. using ie everything works fine.



173
MS-2001
Re: xcgal and maintheme
  • 2004/10/27 14:02

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


another problem: the fontsize is about 14px instead of 12px on some computers. but why?



174
MS-2001
xcgal and maintheme
  • 2004/10/27 10:57

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


i dont know how to describe it so i took a screenshot:

http://www.ms-2001.de/temporary/menu.jpg

on the left u can see how the menu should look like (works in each module expect for xcgal). on the right u can see how it lloks like when xcgal is loaded.

i found out the xcgal is using an additional css file. but even if i remove that one, the style of the menu stays killed :-/

any idee what causes that problem?
(its not just with my design, i also saw the problem on other sites but it disturbs me...)



175
MS-2001
Re: xoopsUser in Adminarea
  • 2004/10/27 10:08

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


i found a solution for my other problem. thx anyway ;)



176
MS-2001
Re: xoopsUser in Adminarea
  • 2004/10/26 19:09

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Quote:

ejuden01 wrote:
1. You must globalize $xoopsConfig in your file to be able to call it. Let me know if this is what you needed.

global $xoopsConfig;
$sitename $xoopsConfig['sitename'];


thx, that works fine ;)



177
MS-2001
Re: xoopsUser in Adminarea
  • 2004/10/26 18:46

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


seems to work quite well ;)
just 2 more questions for the moment:

1.) $xoopsConfig['sitename'] is the next thing i need. how do i get it (same file).

2.) i want to show all winners of an expired competition. therefor i've got some code :-/

$member_handler =& xoops_gethandler('member');
        
$winners explode("|"$myrow['winners']);
        
$gw['gws'][$k]['showwinners'] = false;
        
        if (
sizeof($winners) > 0) {
            
$gw['gws'][$k]['showwinners'] = true;
            for(
$i=0$i sizeof($winners); $i++) {
                
$thisuser =& $member_handler->getUser($winners[$i]);
                
$gw['gws'][$k]['winners'] .= $thisuser->getVar['uname'].", ";
            }
        }
        
$gw['gws'][$k]['winners'] = substr($gw['gws'][$k]['winners'],0,strlen($gw['gws'][$k]['winners']-2));


for my tests i'm using 4 records. the values for $myrow['winners'] are:

a.) ""
b.) ""
c.) "1"
d.) ""

but it seems not to work? sizeof($winners) is 1 for each of my records. could someone help me ?



178
MS-2001
Re: xoopsUser in Adminarea
  • 2004/10/25 17:29

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


nobody who could help me?



179
MS-2001
Re:Convert date to timestamp
  • 2004/10/23 18:45

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Well, i wrote a function because i think theres no function which can do that:

function dateToTimestamp($date$addSeconds) {
    
$tmparr explode(" "$date);
    
$datearr explode("."$tmparr[0]);
    
$timearr explode(":"$tmparr[1]);

    return 
mktime($timearr[0],$timearr[1],0,$datearr[1],$datearr[0], $datearr[2]) + $addSeconds;    
}


use it if u need it



180
MS-2001
xoopsUser in Adminarea
  • 2004/10/23 18:43

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


how do i get the emailadress of a user with $uid as uid in modules/mymodul/admin/index.php where '../../../include/cp_header.php' is included?




TopTop
« 1 ... 15 16 17 (18) 19 20 »



Login

Who's Online

106 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 106


more...

Donat-O-Meter

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

Latest GitHub Commits