292951
_masi
Re: Autologin for Xoops 2.0.x
  • 2003/6/21 8:26

  • _masi

  • Just popping in

  • Posts: 19

  • Since: 2003/3/28


A good start and a fine feature. But I have a few issues.

I don't think it is a good idea to store the actual password in the cookie nor it is to send out a simple hashed version of it. Have a look at sourceforge, they use even a hashed/encrypted login plus a special session_persist cookie.

And of course this feature has to be configurable
A config to turn it on and off and another one to configure the timeout in days.

Anyway I'd love to see this in the official XOOPS.

PS: BTW, I posted an ugly autologin hack myself. It's about an auto-login after an auto-approved registration. Perhaps you could integrate this as well, while you're at it



292952
jctsup1
NewBB Problem?
  • 2003/6/21 7:39

  • jctsup1

  • Not too shy to talk

  • Posts: 146

  • Since: 2002/5/23


When a "anonymous" user browses my forums & then uses the login block to login, the user is sucessully logged in however the following message appears:


Error: Forum not selected


Then the user is taken to the forum home page i.e. /modules/newbb/. I do not have this issue with any other mod.

Happens with ver 2.02 & 2.03. I can reproduce this problem on Windosws systems running IIS 4, 5, 5.1 & 6. I have tried it both with registe_globals on & off with no change in bahavior.
PHP Version : 4.3.2 Any ideas?



292953
knight
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/6/21 7:30

  • knight

  • Just popping in

  • Posts: 29

  • Since: 2002/12/29


i wonder you solve the problem already ?
facing same problem, i just remove the
width="<{$image.width}>" height="<{$image.height}>" from the template and the pic is showing now...

anyway thanx for this patch



292954
AndreyRa
Some useful hacks
  • 2003/6/20 23:30

  • AndreyRa

  • Just popping in

  • Posts: 17

  • Since: 2003/3/16





292955
patagon
Re: Hello username, you have X new private messages
  • 2003/6/20 19:44

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks for the reply...no idea how I was getting that into theme.html, as usual I was just trying to do something and overlooking something really obvious (but not for me

I will try it in a block instead now that I know it works there



292956
mvandam
Re: Hello username, you have X new private messages
  • 2003/6/20 19:31

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


Quote:

is there any reason why this would work in a block but not in theme.html?


How are you getting '$block.new_messages' into theme.html? You would have to do an assign to $xoopsTpl somewhere so the theme knows about this value, since this is not part of the standard information assigned by the core.

Probably putting in a block is better unless you want to mess with the core.



292957
patagon
Re: Hello username, you have X new private messages
  • 2003/6/20 18:30

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks for the reply! I found the template and included it in theme.html (instead of in a block). However it doesnt show when I have a new message, it always says you have 0 new messages

Here is the code I copied in theme.html

Hi <{$xoops_uname}>,
<{if $block.new_messages > 0}>
you have
<{$block.new_messages}> new message(s)
<{else}>
you have no new message
<{/if}>



Account info
·

Logout

<{if $xoops_isadmin}>
·

XOOPS admin

<{/if}>

is there any reason why this would work in a block but not in theme.html?

thanks



292958
Ace_Armstrong
Limiting anonymous users' search ability

Is there a way that we can allow registered users to search the message boards, but not allow anonymous users (who don't have access to those boards) to include the newbb module in the search?



292959
tl
Re: Hello username, you have X new private messages
  • 2003/6/20 17:34

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


You can find the code in the Colors template. Search "colors" under download will lead you to Colors theme/template

file name under system/blocks:
system_block_user.html



292960
patagon
Re: Hello username, you have X new private messages
  • 2003/6/20 16:41

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Sorry for the double posting, it seems my browser hanged up during submit and ended up with two posts







Login

Who's Online

253 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

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

Latest GitHub Commits