21
Antoine
Re: Xoops and SSL
  • 2005/9/7 11:12

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Yes I have. Nothing particularly interesting there.
I guess I'll just have to give it a go then and do troubleshooting as I go along. Will post any probs + solutions I run into.



22
Antoine
Re: How to run Login page on SSL?
  • 2005/9/7 11:07

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Quote:

Mithrandir wrote:
or
define ('XOOPS_URL'$_SERVER['SERVER_PROTOCOL'].'://www.example.org');


If you are going to put the same protocol as is being used by the request, anyway.


$_SERVER['SERVER_PROTOCOL'].'://www.example.org' yields HTTP/1.1://www.example.org

Not quite usefull.



23
Antoine
Re: Xoops and SSL
  • 2005/9/7 9:09

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


No reason really except maybe a slight speed hit.

Just realise I will just have to have all the setcookie statements in my custom code read xoopsConfig wether to send secure cookies or not. Or is there a setcookie wrapper in XOOPS that doesn this for you?



24
Antoine
Xoops and SSL
  • 2005/9/7 8:38

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Hi,

I am about to install a XOOPS site in it's production environment and it is going to make use of SSL for login and transmitting cookies (in custom modules I wrote).
Is there anything in particular I should watch out for?
Any article on this or any common pitfalls?

Thanks in advance.

Dirk



25
Antoine
Re: Form validation (client and serverside)
  • 2005/8/30 7:32

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Hate to do this but: bump.
Anyone know of any XoopsForm mods or have example code of how they can be best made to work with Smarty templates?



26
Antoine
Form validation (client and serverside)
  • 2005/8/29 13:28

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Hi,

I have been doing a lot of module coding the last few months and find myself spending a lot of time trying to sidestep, extend or sometimes even totally ignore the XOOPS forms due to some (as far as i can see) shortcomings. I have a few questions regarding XOOPS forms as they are implemented in the lastest 2.0 release and about potential extentions put there.

1) When using XoopsForms with template files a LOT of undocumented tags seem to get passed to Smarty that need to be wrapped in HTML forms. This hardly seems like a time saver. Am I missing some system that automatically does this wrapping?
Presently I often use output buffering to capture the rendered HTML by the forms to pass that to my templates but that hardly seems like the intended way to use the XOOPS forms.
2) Are there some third party XOOPS form extentions out there that provide any or all of the following?
- Client and server side validation that goes further than just checking wether a textbox contains an empty string.
- Date/time control that accepts and displays date/time according to local settings instead of the default Unix yyyy-mm-dd
- Custom validation message instead of using the control label in validation output.

Any pointers would be much appreciated.

/Dirk



27
Antoine
Re: Theme change
  • 2005/8/29 7:59

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


This is once again changed in the System Admin panel.
Have a good look at the General Preferences there. A lot of usefull settings there.

Just change the standard theme there and make sure that it's selected in the selectable themes section too.



28
Antoine
Re: main page
  • 2005/8/29 7:56

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


You would change this in the admin panel:

System Admin->Preferences->General Settings->Module for your start page



29
Antoine
Re: error: Call to undefined function: is_a() in /kernel/object.php on line 986
  • 2005/8/26 11:23

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Oh yes, wholeheartedly agree that it is time to leave compatibility with some older PHP versions. But naturally it should be noted in the installation requirements. It's just that I am so used to seeing the get_class type of syntax instead of is_a in the 2.0 kernel and core modules that I half expected that to have carried over to 2.2, which I haven't had much time to take an in depth look at unfortunately.
What other 4.2+ only functions are used in 2.2?



30
Antoine
Re: error: Call to undefined function: is_a() in /kernel/object.php on line 986
  • 2005/8/26 10:18

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


is_a is only suported from PHP 4.2 and up. Surprised this is actually used in code due to compatibility issues. If you are familiar with PHP you can try and rework the line to somtething to the extent of:
if(strtolower(get_class($<the_class_instance>)) != 'class_name_in_lowercase')


Otherwise you could try to upgrade to PHP >= 4.2




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



Login

Who's Online

163 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 163


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