21
bennie
Re: Time Zone Drop Down Is Too Wide To Fit In User Profile
  • 2004/4/10 7:38

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


i had the same problem, in the end i modified the time zone's. shorten them a bit and it wil get shorter in edituser.php.
Not very nice but hey, you got the go with what you know!

look in the language folder for timezone.php



22
bennie
how can i put navigation to the page?
  • 2004/4/8 8:31

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


Hey all,

i'm trying to modify a page i got from the brazilianpack, i try to make a sort of usergroup overview. the thing is, when i've got more than 10 users in a group i would like to show only 10 on the first page and than link to the next 10. in the same way the XOOPS modules (forum and news) work. can any body help me?

here is the code:

<?php
// by Fernando Santos (topet05) 11/02/2004

function ExibeGrupos ($groupName,$number)
{
global $xoopsUser;
$connect =& Database::getInstance();
$myts =& MyTextSanitizer::getInstance();
$result = $connect->query("SELECT u.uid, u.uname, u.email, u.user_viewemail, u.user_avatar, u.user_occ,
g.name AS groupname FROM ".$connect->prefix("groups_users_link")." l LEFT JOIN "
.$connect->prefix("users")." u ON l.uid=u.uid LEFT JOIN ".$connect->prefix("groups").
" g ON l.groupid=g.groupid WHERE g.name='".$groupName."' ORDER BY uname limit ".$number."");

if ($connect->getRowsNum($result) > 0) {
echo '</br></br>';
echo '<table class="outer" cellspacing="1">';
$user_group = 0;
while ($user_profile = $connect->fetchArray($result)) {
if ($user_group == 0){
echo'<tr><th colspan="3">'.$myts->htmlSpecialChars($user_profile['groupname']).'</th></tr>';
$user_group = 1;
}
if ($xoopsUser != '') {
echo'<tr><td class="even" valign="middle" align="center" width="20%"><img src="'.XOOPS_URL.'/uploads/'.$user_profile['user_avatar'].'" alt="" width="50" /><br /><a href="'.XOOPS_URL.'/userinfo.php?uid='.$user_profile['uid'].'">'.$myts->htmlspecialchars($user_profile['uname']).'</a></td><td class="odd" width="20%" align="left" valign="middle">'.$myts->htmlSpecialChars($user_profile['user_occ']).'</td><td class="even" width="20%" align="center" valign="middle"><a href="javascript:openWithSelfMain(\''.XOOPS_URL.'/pmlite.php?send2=1&to_userid='.$user_profile['uid'].'\',\'pmlite\',450,370);"><img src="'.XOOPS_URL.'/images/icons/pm_small.gif" border="0" width="27" height="17" alt="" /></a></td></tr>';
}else{
//if annonimous user
if ($user_profile['user_viewemail']) {
echo'<tr><td class="even" valign="middle" align="center" width="20%"><img src="'.XOOPS_URL.'/uploads/'.$user_profile['user_avatar'].'" alt="" width="50" /><br />'.$myts->htmlspecialchars($user_profile['uname']).'</a></td><td class="odd" width="20%" align="left" valign="middle">'.$myts->htmlSpecialChars($user_profile['user_occ']).'</td><td class="even" width="20%" align="center" valign="middle">E-mail deze gebruiker</br><a href="mailto:'.$user_profile['email'].'"></br><img src="'.XOOPS_URL.'/images/icons/em_small.gif" border="0" width="16" height="14" alt="" /></a></td></tr>';

}else{
echo'<tr><td class="even" valign="middle" align="center" width="20%"><img src="'.XOOPS_URL.'/uploads/'.$user_profile['user_avatar'].'" alt="" width="50" /><br />'.$myts->htmlspecialchars($user_profile['uname']).'</a></td><td class="odd" width="20%" align="left" valign="middle">'.$myts->htmlSpecialChars($user_profile['user_occ']).'</td><td class="even" align="center">Helaas Kunt u met deze gebruiker geen contact opnemen!</td></tr>';
// end if annonimous user
}
}
}
echo'</table>';

}else{
echo 'O grupo selecionado não existe ou não contém nenhum membro.';
}
}

?>

You can see the code working at
HDCF

help wil be much apreciated,

thanks Ben



23
bennie
Re: JS: Hide-and-Find blocks
  • 2004/4/5 5:38

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


Hey Jurgis,

i'm having trouble getting the menu blocks to hide innitialy, they hide but stay that way, so i can't access the menu links, further more is there a way to show the menu sublinks only after you have selected the main link. i.e. klick news and than the sublinks show. submit news etc.

i like the work you've don on the menu very much, thanks Ben



24
bennie
Re: first page of the portal
  • 2004/4/1 13:01

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


go to adminpage / prefs / general prefs and set module for start page, i think it's the 5 from the top.

i don't now about youre second question, hope somone els can help you out there.

good luck,
Ben



25
bennie
Re: Drop Down Main Menu
  • 2004/3/31 13:24

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


i,m very intrested in youre id, i would like to help however i have no id where to begin with this. i will keep an eye out for this tread and others relating this problem. i heard the XOOPS theme is working on a tigra module wich will make this possible in a much easyer way.



26
bennie
Re: Themes and MainMenu
  • 2004/3/30 12:45

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


Hey Hughs,

i thing so, if you make two different themes. than that should not be any problem. for instructions how to do that have al ook at the wiki pages.
theme kickstart guide

Hope this helps,

Ben



27
bennie
Re: How to divide mainmenu in to 2 blocks --Help Please--!
  • 2004/3/23 19:48

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


Has any one got a sugestion, please. need some help!

is it posible to change the xoops_version, $modversion['hasMain'] = 1; to $modversion['hasMain1'] = 1; and cloon the mainmenu template and rewrite it? or is this bullshit!

is there any one who can solve this problem with me?

Thanks,
Ben



28
bennie
Re: How to divide mainmenu in to 2 blocks --Help Please--!
  • 2004/3/7 23:04

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


Why do i want 2 blocks? ok lets try this, i'm using XOOPS for a school and like to set it up so that the content can be found in a logical order. so al the comunication like chat, forum and dmz would be in 1 block and a second block for home, news, userslists, contact, etc.

i found that using the mainmenu and putting al the blocks in a logical order not ideal for the kind of information we want to provide, further more if you look at how the brain works, (like blocks), blocks of information in a logical order divided. groups of information that have a relation with each other.

users who are going to use this site are no computer genuisses so i whant to try to make everthing as acessable and logical as possible. still they need to thing about what kind of information they whant and where it would be logical to find.

thanks so far for the effort you've been putting in to this.



29
bennie
Re: How to divide mainmenu in to 2 blocks --Help Please--!
  • 2004/3/7 17:52

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


is there any body who has an id!



30
bennie
Re: Document Management (DMS) or OpenDocMan
  • 2004/3/4 16:31

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


Digital-86,

you have to make the document storage path something like this:
/var/www/html/modules/dms/documents

depending on where you're dms is actualy located.

it works fine for me, exept for a few templates witch i had to modify.

i have try'd docman but was not happy with it, but of cource this depends on what you want with it.

hope this help,

Bennie




TopTop
« 1 2 (3) 4 »



Login

Who's Online

178 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 178


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