21
ackbarr
Re: How to limit reg page access using http referer?

it was missing a ) on that line, I've fixed the original code.
Site Hosting - PlanetXoops



22
ackbarr
Re: How to limit reg page access using http referer?

Add this code somewhere at the beginning of register.php maybe after:
if (empty($xoopsConfigUser['allow_register'])) {
    
redirect_header('index.php'6_US_NOREGISTER);
    exit();
}


//List of allowed domain referrals seperated by comma
$allowed_domains = array('www.domain1.com''www.domain2.com');

//Was HTTP_REFERER set by browser?
if ($_SERVER['HTTP_REFERER']) {
  
$ref_info parse_url($_SERVER['HTTP_REFERER']);

  
//Check that REFERER is in the list of allowed domains
  
if (! in_array($ref_info['host'], $allowed_domains)) {
    
redirect_header('index.php'4'Invalid HTTP_REFERER host');
    exit();
  }

} else {
  
// HTTP_REFERER was not sent by browser, display error
  
redirect_header('index.php'4'HTTP_REFERER not sent by browser');
  exit();
}

Many software firewalls will strip the HTTP_REFERER field from the page request, making this protection spotty at best. In addition you'll probably want to change the error messages in to something more user friendly.
Site Hosting - PlanetXoops



23
ackbarr
Re: admin.php giving blank page

Step 1. Follow the instructions to enable php debugging on your website (methods 2 or 3)

Step 2. Try to access admin.php again

Step 3. If any error messages are displayed, please respond to this thread with the error messages.
Site Hosting - PlanetXoops



24
ackbarr
Re: Longdate field type

thanks for the patch. Can you please add this to the SF.net patch tracker to make sure that the core developers see it?
Site Hosting - PlanetXoops



25
ackbarr
Re: Search options - how do I search in other modules ?

http://dev.xoops.org has a wiki article on adding XOOPS search capabilities to a module. You will need PHP and (probably) mySQL knowledge to follow these instructions.http://dev.xoops.org/modules/phpwiki/index.php/SearchFunction
Site Hosting - PlanetXoops



26
ackbarr
Re: Help with errors? 'include ($_smarty_compile_path)'

it definitely sounds like a permissions error there. Make sure that IUSR_<COMPUTERNAME> has full control over the following directories (and all the files inside of them)

/cache
/uploads
/templates_c
Site Hosting - PlanetXoops



27
ackbarr
Re: XOOPS.org group added to Last.FM/Audioscrobbler

It would be a nice module, but I think part of the appeal is the large pre-existing user base that is used when making comparisons / recommendations.
Site Hosting - PlanetXoops



28
ackbarr
XOOPS.org group added to Last.FM/Audioscrobbler

Got any music fans in the house? XOOPS.org now has its own group on the music radio/recommendation sitehttp://www.last.fm/ (previously audioscrobbler.com).

For those not familiar with either of those two sites, let me briefly explain.
Last.fm is a system that remembers what music you have listened to, and based on those listens, recommends new music and lists people who have similar taste to yourself (neighbors). In addition, you can listen to streaming radio based on these recommendations, or a radio station based on your neighbors tastes.

I find it a great way to find new music, and the analyst in me loves the reports that it generates.

If this sounds interesting to you, head over tohttp://www.last.fm and check it out:

XOOPS group URLhttp://www.last.fm/group/XOOPS
Site Hosting - PlanetXoops



29
ackbarr
Re: XOOPS 2.2 Compatibility List

xHelp 0.71 does not work with XOOPS 2.2.x. We will be releasing xHelp 0.75 soon (maybe early next week), which will include support for 2.2
Site Hosting - PlanetXoops



30
ackbarr
Re: All Link to docs.xoops.org not working

the documentation site is being rebuilt after the recent hacker attack on xoops.org. We apologize for the inconvenience and will post updates on the rebuilding progress from time-to-time.
Site Hosting - PlanetXoops




TopTop
« 1 2 (3) 4 5 6 ... 121 »



Login

Who's Online

173 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 173


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