41
hrac
sending welcome message after activation
  • 2009/10/20 10:56

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


Hello,

I want to send welcome message after successful validation of user's email address by clicking a link like this:

Quote:
http://domain/register.php?op=actv&id=26&actkey=blablabla


So register.php should send some email, so I added

Quote:
XoopsUserUtility::sendWelcome($thisuser);


line to register.php after

Quote:
$thisuser =& $member_handler->getUser($id);


but it didn't work, and didn't send any e-mail. Any idea how to do this?

Thanks



42
hrac
mastop_publish causes fatal error while enabling custom templates
  • 2009/10/14 4:24

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


Hello,
I get following error message while enabling custom template set:

Quote:

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Smarty error: [in db:mpu_menurelated.block.tpl.html line 79]: syntax error: unclosed tag \{if} (opened line 1). (Smarty_Compiler.class.php, line 326)
Backtrace:
/class/smarty/Smarty.class.php (1092)
/class/smarty/Smarty.class.php (1814)
/class/smarty/Smarty_Compiler.class.php (2242)
/class/smarty/Smarty_Compiler.class.php (326)
/class/smarty/Smarty.class.php (1488)
/class/smarty/Smarty.class.php (1421)
/class/template.php (100)
/class/template.php (181)
/modules/system/admin/preferences/main.php (432)
/modules/system/admin.php (80)


My configuration is as follows:
Windows XP SP3
XAMPP
xoops 2.3.3b
mastop_publish 1.1

I didn't installed any other module. I just installed xoops, than installed mastop_publish, than created a custom template set. Than I tried to make this custom template set as default template set and I got this error message.

Thanks for help
Hirac



43
hrac
redirect_header messages not displayed as UTF-8
  • 2009/10/11 12:21

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


I'm using following:
xoops: 2.3.3
xampp
windows xp sp3
browser: firefox 3.5.3
UTF-8 encoding for all languages

When some pages use redirect_header and displays some text as redirecting message, on some pages are displayed as ISO-8859-1 encoding, some pages displayed as UTF-8 encoding.

For example logout message displayed always as ISO-8859-1 encoding. But my other languages coded as UTF-8 and my texts are displayed as garbage :)

Any idea?

Thanks



44
hrac
mastop_publish and smarty
  • 2009/10/6 14:53

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


Hello,

Is it possible to use smarty variables in a document created with mastop_publish like <{$xoops_pagetitle}>?

Thanks



45
hrac
Re: Turkish Support Site's
  • 2009/9/21 17:38

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


You should check this page more carefully:

https://xoops.org/modules/xoopspartners/

xoops-tr.com was listed here for some time.

Kind regards



46
hrac
Re: hacked sites and file permissions
  • 2009/4/26 16:52

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


So is it better to publish installation packages with 644 permissions instead of 755?



47
hrac
hacked sites and file permissions
  • 2009/4/26 8:44

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


Hello,

Last week, my several websites attacked and hacked (hacker overwrites his file over original index.php file of xoops) easily :(

I opened a case to my hosting provider, and they said your all files have wrong file permission: 755 file permission (rwxr-xr-x) and they should be 644 (rwxr--r--) except directories of course. But nearly all XOOPS files comes from tar packages have 755 permissions.

Do you think do we need to remove executable permissions from ordinary files and does this make our websites safer?

My websites hacked by overwriting index.php file. If I change index.php's permission to 444 (r--r--r--), does this mean my website is safer?

Thanks



48
hrac
Re: FILE index.php HACKED
  • 2009/4/22 18:29

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


I am asking when the site was hacked these settings are ok?



49
hrac
Re: FILE index.php HACKED
  • 2009/4/22 16:44

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


Hello,

Were protector module installed and following parameters were set off while it was hacked?
register_globals : off
allow_url_fopen : off

Thanks



50
hrac
Re: how to enable debug without logged in?
  • 2009/3/17 19:07

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


table repair didn't work.

k_xoopscomments check Error Incorrect key file for table 'k_xoopscomments'
k_xoopscomments check error Corrupt

I am waiting for hosting support team to reply my support ticket about repairing the database.




TopTop
« 1 2 3 4 (5) 6 7 8 ... 20 »



Login

Who's Online

248 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 248


more...

Donat-O-Meter

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

Latest GitHub Commits