1
corne
newbb layout
  • 2005/3/10 12:05

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


I'm creating a new template / layout, but now I have a problem with the newbb menu...

The dropdown menu now is expanded, is this a problem in my css file? Or is it something else?? Someone knows a sollution???


I have a screen shot HERE for if you don't know what I mean....

If you need more info, than ask :)

Thanks



2
corne
Wrong query??
  • 2005/3/3 9:56

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


I have added the following to userinfo.php:

if(isset($HTTP_GET_VARS['usr'])){
  
//get UID from database
  
$uid_get_query 'SELECT uid FROM '.$xoopsDB->prefix('users').' WHERE uname='.$HTTP_GET_VARS['usr'];
  
$uid_get_result $xoopsDB->query($uid_get_query);
  while(
$uid_get $xoopsDB->fetchArray($uid_get_result))
  {
    
$uid $uid_get[0];
  }
}


It should be possible to gotohttp://www.yoursite.tld/userinfo.php?usr=uname
to get the profile...

But $uid stays empty (also when the user exists)
What is wrong with this query or what is wrong with the code??

I can't seem to find out why this doesn't work...



3
corne
Is it possible?
  • 2005/2/24 11:59

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


Hi,

I want that if users goto my site with the following URL (http://www.mysite.tld/username
That they are automaticly redirected to the user profile of the user...

Is this possible to do?

I don't want this to work with a 404 error page, so maybe MOD REWRITE is an option?



4
corne
WYSIWYG editor
  • 2005/2/24 9:15

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


Is it possible to use a WYSIWYG editor for a specific field?

I have a field in my user profile where users can create there own profile. I would like to use HTMLArea to edit this one specific field. Is this possible?

I have HTML area in the root of the XOOPS instal, I've tried to add it to edituser.php, withoud success (the textfield stays a normal textfield)

Any one knows if it is possible and how to do it?



5
corne
Re: User profile
  • 2005/2/23 16:29

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


To use HTML in a field in the user profile:

Change:
$xoopsTPS->assign('user_info'$myts->makeTareaData4Show($thisUser->getVar('info')));


to:
$xoopsTPS->assign('user_info'$thisUser->getVar('info'));



6
corne
User ranks
  • 2005/2/23 9:12

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


It is possible to give specific users a specific rank, is it also possible to do this per group??

I want all the members of the group CREW to be ranked as CREW, is this possible?



7
corne
Re: User profile
  • 2005/2/15 8:18

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


Someone knows how to hack the profile than so it is possible to add HTML to the extra info field?

The rest isn't that importand for now (for me)..



8
corne
Re: forum group access
  • 2005/2/11 14:48

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


And the rights in the forum?? so far I've only found an option to add specific users, not groups...



9
corne
forum group access
  • 2005/2/11 14:31

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


Hi,

I have installed xoops, with the standard forum. Is it possible to give specific groups access to specific topics?

I have for example a category GIRLS, all the forums in this categorie must be only accesible by users in the group girls..


Also is it possible that when someone signs up, they are automaticly added to a specific group depending on there gender?
(When someone signsup he must give a gender, when it's a male, than add to group male, when it's a girl add to the group girls)

Is this all possible?? And if so how can I do it??



10
corne
Re: Query not executed
  • 2005/2/9 13:21

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


it works thanks




TopTop
(1) 2 3 »



Login

Who's Online

224 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 224


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