11
ackbarr
Re: oops, custom block contents gone!

1. Make sure that the file /modules/system/templates/blocks/system_block_dummy.html exists on your website

2. Update the System module in System -> Modules
Site Hosting - PlanetXoops



12
ackbarr
Re: how to i change whats in a smarty tag?

Site Hosting - PlanetXoops



13
ackbarr
Re: Quick Theme Change

before making any theme related changes, you'll want to disable smarty template caching for the theme. To do so, go to Preferences -> System -> General Settings and turn on the setting:
"Update module template .html files from themes/your theme/templates directory?"

Turn this setting back off once you're done modifying your theme.

Since you have already made the changes to your theme, you can clear the smarty template cache by removing all files from the /templates_c folder. When you reload a page in your site, smarty will re-compile all necessary templates.
Site Hosting - PlanetXoops



14
ackbarr
Re: php script and XOOPS

use option #1 in the FAQ article below:https://xoops.org/modules/smartfaq/faq.php?faqid=253

the key is including the following scripts before your php code:
mainfile.php
header.php

and the following after:
footer.php
Site Hosting - PlanetXoops



15
ackbarr
Re: xHelp Custom Fields

FYI - there is a dedicated support forum for xhelp at the xhelp project site
Site Hosting - PlanetXoops



16
ackbarr
Re: xHelp Custom Fields

also - turn on smarty template debugging and see if anything is defined for "xhelp_custFields"
Site Hosting - PlanetXoops



17
ackbarr
Re: xHelp Custom Fields

are you using a custom template set? If so, remove your custom templates for addTicket.html and regenerate from the default set.
Site Hosting - PlanetXoops



18
ackbarr
Re: mail problems in xoops 2.0.9

sounds like you'll need to configure your XOOPS site to send email via SMTP (not SMTP Auth). If your host provides normal mail services, use the same SMTP settings for your site that you would use in your mail client.
Site Hosting - PlanetXoops



19
ackbarr
Re: beta1.xoops.org is ready!

Quote:

Bender wrote:
http://www.squish.net/dnscheck/

Throw it in here ... and it looks good. That should answer this.

Off Topic - but that is a nice DNS testing tool Bender. Added to my toolbox, thanks.
Site Hosting - PlanetXoops



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

the only reason it would do that is if in_array is false, change the code to add the following debugging line:

//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']);
  [
color=008000][b]print_r($ref_info);[/b][/color]
  
//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();
}


Check that the value for $ref_info['host'] is in the list of allowed domains. Once done that debugging line can be removed.
Site Hosting - PlanetXoops




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



Login

Who's Online

264 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 264


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