xoops forums

Forum Index


Board index » All Posts (guspel)




guspel

Just popping in
Posted on: 12/24 20:01
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#1

Re: verify registered user in html

Thanks for the answers.
I solved it using this code.
For now it works well. I'll keep doing tests.

<?php include dirname(__FILE__) . DIRECTORY_SEPARATOR '../../mainfile.php';
 if (isset(
$GLOBALS['xoopsUser']) && is_object($GLOBALS['xoopsUser'])) { ?> 
<html>Any content</html>
 <?php }else {redirect_header(XOOPS_URL "/user.php");} include(XOOPS_ROOT_PATH."/footer.php"); ?>


Thank you and Happy New Year


guspel

Just popping in
Posted on: 12/21 19:48
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#2

verify registered user in html

I have a page (xx.html) in a directory within xoops.
I want users to be able to see it (xoops / file / xx.html), but not anonymous.
What code should I include in the header of xx.html so that it verifies that it is a registered user?
Thank you


guspel

Just popping in
Posted on: 2012/5/15 3:08
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#3

Re: Strange problems with email user

Hi
In /class/xoopsform/formtextdateselect.php replace _CAL_FORMAT for _SHORTDATESTRING

In Spanish had the same problem and I solved this way.
I hope you will be useful

Bye


guspel

Just popping in
Posted on: 2012/3/9 13:56
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#4

Re: Restrict access to users according to the country of origin

Hi Rodney

I commented
I'm doing work for a print magazine that wants to sell subscriptions to all the countries except where performed.
In this country only want to sell the printed edition.

There would be no problem accessing the whole site except for the section of the magazine subscription and pdf

He had thought of using it htaccess but restrict access to the entire web site.
Restrict access to a module or a module category as with the groups but using the ip would be a partial solution.
But not how or if there is some hack to do

Thank


guspel

Just popping in
Posted on: 2012/3/9 3:03
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#5

Restrict access to users according to the country of origin

Is possible to restrict access to the site or any section of the site to users according to the country of origin.

Would need to see the possibility of blocking access to a section from the country of origin of the web and open access to all other countries.

thanks


guspel

Just popping in
Posted on: 2012/3/5 4:50
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#6

Re: User access to temporaly

Thanks Flipse
I will try

Rodney
Waiting For the patch

In my case it is best:
1 - Create subscriptions for 6 or 12 months
2 - Payment by paypal
3 - Power to create a password that will last the time of subscription

But I can accommodate my needs the system to exist.
Thanks for the answers


guspel

Just popping in
Posted on: 2012/3/4 15:48
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#7

User access to temporaly

Hi

My query is whether it is possible to give users access to temporarily.
For example 6 months or 12 months notice of expiration

Is there any module or from the same system.

thanks


guspel

Just popping in
Posted on: 2012/3/4 15:06
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#8

Re: Problem with Publisher and Tinyeditor/TinyMCE

Quote:

Mamba wrote:
From which version to which one?


I think the mistake is the structure of the tinymce folder.
Here is the link so you can download and watch as this prepared the folder structure.

http://www.sendspace.com/file/bkilsd


guspel

Just popping in
Posted on: 2012/2/26 13:49
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#9

Re: Problem with Publisher and Tinyeditor/TinyMCE

I solved by changing the version of tinymce

Thanks


guspel

Just popping in
Posted on: 2012/2/25 21:25
guspel
guspel (Show more)
Just popping in
Posts: 11
Since: 2012/2/25
#10

Re: Problem with Publisher and Tinyeditor/TinyMCE

Thank for you colaboration.

Yes, the permissons into module and configuration of system is correctly assigned, but does not work.

Data:

I am working in localhost
Wampp server
Xoops 2.5.4
PHP of server is 5.3.4

Any other solution for this ?
Thanks



TopTop
(1) 2 »