1
massacre
Re: How do I make "Real Name" required on registration?
  • 2005/12/5 18:51

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


Phew... Had to read that a few times. Seems like I have it setup now. Hopefully it works! Thanks m0nty

Oops! you too Sleo!



2
massacre
Re: How do I make "Real Name" required on registration?
  • 2005/11/16 15:36

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


Hmmm... that seems to simply make it required when I edit a profile. If I logout and attempt to register it doesn't add the field to the form. Am I missing something?



3
massacre
How do I make "Real Name" required on registration?
  • 2005/11/13 1:47

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


The docs on this are out of date: https://xoops.org/modules/smartfaq/faq.php?faqid=478&com_id=23675&com_rootid=23675&com_mode=flat&com_order=0&

Does anyone have instructions for hacking the profile module (looks like you have to work with /include/forms.php as well as the register.php). I'm not solid enough to figure this out yet and was hoping someone has this already done and could relay the required changes to make it work.

Thanks!



4
massacre
Re: Has anyone worked to get Dictionary (currently 0.91) working with Xoops 2.2 and PHP5?
  • 2005/11/13 1:44

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


Yes, sorry. I had help at XOOPS Malaysia and they got their version working... I've been so heads-down I haven't helped them notify the author yet and see if we can't get it on here.



5
massacre
Re: php5 compatability
  • 2005/10/18 2:44

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


Quote:

bennie wrote:
Xoops builders and users,

i just migrated from php4 to php5 and the core system works like a charm (Xoops 2.0.9.2) but a lot of modules were not working. so here is what i did to get it working:

basicly the problem is a change in the global variables. these are the 4 variable stings i changed to get it to work.

$HTTP_GET_VARS ==> $_GET
$HTTP_POST_VARS ==> $_POST
$HTTP_COOKIE_VARS ==> $_COOKIE
$HTTP_SERVER_VARS ==> $_SERVER

i hope this helps in getting you're site up and running with php5. if there is more that needs change please post it here so we can make it work.

Thanks Ben


I've seen $HTTP_POST_FILES as well..

$HTTP_POST_FILES ==> $_FILES



6
massacre
Re: Help! Login trouble on 2.2.1
  • 2005/10/6 15:57

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


Disabled Referrer (set to always return true) in /class/xoopssecurity.php.

Still have the problem. I believe that it's likely a change to my proxy server at work (over which I have zero control). When I'm not VPNed into work, things are fine.

Even with it not checked referrer, it still logs me out almost immediately. I'm using Protector (latest version on GIJOE's site), and I am using statistics 0.45 - the only modules I can think that may be involved in some way.

Anyone have any ideas?



7
massacre
Re: HTTP_REFERER error and function checkReferer
  • 2005/10/6 15:48

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


Well, my problem still exists even without the referrer check which is supposed to resolve 9 out of 10 issues.

I guess I'm in the 10%. Any other ideas?

It's definitely related to proxy or firewall, as when I VPN into work, the firewall settings are forced as is the proxy. It's only when I go through work and it's something they changed very recently, as it has been working fine for 2 months.



8
massacre
Re: HTTP_REFERER error and function checkReferer
  • 2005/10/6 15:44

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


Hehe... yeah.

I *just* found it here https://xoops.org/modules/smartfaq/faq.php?faqid=310&com_id=17236&com_rootid=12693&com_mode=thread&#comment17236

Looks like they moved it, but it looks the same. Now I'm wondering what the other function was for.

I've changed it to return true, so hopefully my testing will go smoothly now.



9
massacre
Re: Help! Login trouble on 2.2.1
  • 2005/10/6 15:27

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


Okay, I still need some help here.

I'm on 2.2.2 XOOPS and I'm confident now that the problem stems from my company's proxy server. I can't control their firewall settings on my machine at work and I also go through a proxy that seems to be acting up on another application I use in this same timeframe (I change a proxy setup and IE behaves "normally" again).

Anyway, I asked in a much older thread about the HTTP_REFERRER but nobody responded.

I need to know how to disable/hack the xoops_refcheck function in php. In 2.2, the code looks different from the original hack Mithrandir wrote.

Can anyone explain how to disable the referrer check with:
Quote:
return $GLOBALS['xoopsSecurity']->checkReferer($docheck);


I believe this is the place in functions.php where it's located now, although the function is different from the previous version.



10
massacre
Re:Cant post in forum or update profile
  • 2005/10/5 21:10

  • massacre

  • Just popping in

  • Posts: 48

  • Since: 2005/8/10


Quote:

Mithrandir wrote:
It is possible to completely turn off that check by going to include/functions.php around line 137:

function xoops_refcheck($docheck=1)

{

        return 
true//<-- Insert this line here

    
$ref xoops_getenv('HTTP_REFERER');

    if (
$docheck == 0) {



How do we do this on XOOPS 2.2 Mithrandir? I don't recall seeing an administrative option, but it seems that it's written that way and the code is different in 2.2. I'm no PHP jockey (still learning) - so I'm not sure how to do it.




TopTop
(1) 2 3 4 5 »



Login

Who's Online

192 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 192


more...

Donat-O-Meter

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

Latest GitHub Commits