hi krobi.
Quote:
i'am wondering what this "'(your area name)'" exaclty do and mean.
"area" means purpose of the ticket.
eg)
Even if you buy the ticket for japan-brasil in the heat, you cannot watch the final germany-brasil
Quote:
i have tried it with and without the "'(your area name)'" and it works always.
"gticket" checks loosely like this.
deep referer ok && area ok -> ok
deep referer ok && area ng -> ok
deep referer ng && area ok -> ok
deep referer ng && area ng -> ng
Because "deep referer" and "area" have almost the same effect.
If you issue a ticket with the area of "myblocksadmin" and you check the area is "mytplsadmin", "area" will be NG.
But if you send right referer, the total result of the check will be OK.
Quote:
and i have a second question, how can a add a gticket2 to a xoops_confirm?
I don't think it is necessary to add gticket2 into xoops_confirm.
In the latest version of xoops, "xoops_confirm" has a ticket from XOOPS core.
The advantages of using gticket2 in your module:
(1) independence of core versions (XOOPS 2.0/2.2, XOOPS Cube, Oreteki, MOX etc)
(2) auto repost form
If your module have textarea for long text, (2) will be the big advantage