xoops forums

Forum Index


Board index » All Posts




xtremdj

Just popping in
Posted on: 2002/8/2 13:30
xtremdj
xtremdj (Show more)
Just popping in
Posts: 68
Since: 2002/1/12
#292331

Re: (HACK) Prevent Firewall no-login

Quote:
If you would be a girl Trollix, I would give you a big kiss, but let's keep it at a big THANK YOU !


maybe he want ( joke )

Anyway excellent hack !


kitsou

Just popping in
Posted on: 2002/8/2 13:00
kitsou
kitsou (Show more)
Just popping in
Posts: 50
Since: 2002/3/19
#292332

Re: (HACK) Prevent Firewall no-login

If you would be a girl Trollix, I would give you a big kiss, but let's keep it at a big THANK YOU !

This hack was overdue und most necessary. It works for me like a charm.

I never understood why XOOPS RC3 came out without this feature.

Again: Trollix this is great stuff !


Herko

XOOPS is my life!
Posted on: 2002/8/2 11:20
Herko
Herko (Show more)
XOOPS is my life!
Posts: 4238
Since: 2002/2/4 1
#292333

Re: (HACK) Prevent Firewall no-login

Thanks, this is a great hack Now I won't have to configure ZA everytime I visit a XOOPS site (IF everyone includes this hack into their site, and/or it will be added into the next release?)

Herko


trollix

Just popping in
Posted on: 2002/8/2 11:01
trollix
trollix (Show more)
Just popping in
Posts: 7
Since: 2002/1/9 1
#292334

(HACK) Prevent Firewall no-login

As I can't log behind my firewall (zone Alarm or Norton), I had to write a little hack to do that. When XOOPS tests the $HTTP_REFERER var and find it empty (function myRefererCheck) connection is not allowed.

To avoid that, I have written this little hack:
file html/class/mysql.php, line 147, you have:
...
if (myRefererCheck($errstr)) {
...

REPLACE by:
...
if (myRefererCheck($errstr) || ALLOW_FROM_PROXY)
...

and in include/common.php file, line 40, ADD:
define("ALLOW_FROM_PROXY", TRUE); // Disactivate referercheck for SQL requests

If you want to return back to the normal settings, then just put FALSE instead of TRUE.

Trollix - HQCH (Hope Que Ca Helpe)


schwim

Just popping in
Posted on: 2002/8/2 4:41
schwim
schwim (Show more)
Just popping in
Posts: 11
Since: 2002/7/25
#292335

Re: Account re-activation required on Profile email changes

Another solution is to give him 24 hours before it changes back to his origional e-mail

:)
Jason


schwim

Just popping in
Posted on: 2002/7/31 18:18
schwim
schwim (Show more)
Just popping in
Posts: 11
Since: 2002/7/25
#292336

Re: Polish your theme CSS files

Hi,

When you said "a little later", how little later did you mean?


Jason


onokazu

XOOPS Founder
Posted on: 2002/7/31 10:24
onokazu
onokazu (Show more)
XOOPS Founder
Posts: 617
Since: 2001/12/13
#292337

Re: Who's Online Mod. Guest / Member Online User Count Problem

Yes, you're right. It's a known bug and we will be working on this soon..


kitsou

Just popping in
Posted on: 2002/7/31 8:58
kitsou
kitsou (Show more)
Just popping in
Posts: 50
Since: 2002/3/19
#292338

Re: Who's Online Mod. Guest / Member Online User Count Problem

Ok I did find what's wrong.

Unless you don't give away the block rights to not registered users to the whoisonline block, XOOPS thinks there is no guest online. It's not very logical about xoops....why should I have to give away the rights for a block which I don't like to show guests anyway?

Well, for all of you who like to see the correct counts of guests, you have to give group rights to the whoisonline block even to not registered users.
Then it works for me at least but I'm not happy about showing this block to guests.


kitsou

Just popping in
Posted on: 2002/7/31 8:30
kitsou
kitsou (Show more)
Just popping in
Posts: 50
Since: 2002/3/19
#292339

Re: Who's Online Mod. Guest / Member Online User Count Problem

I have the same problem: Guest's count are always 0 but members counts are ok. In fact: not registered users are not counted although connected to my site. I tried everything. even reinstall the whoisonline module but it does not help

I use 3.04

www.backnang-online.info
my site


smackdaddy

Just popping in
Posted on: 2002/7/27 6:29
smackdaddy
smackdaddy (Show more)
Just popping in
Posts: 14
Since: 2002/3/28
#292340

Re: PhpAdsNew

Ah well, thanks for trying, I guess I am just too stupid to get this to work......