Forums / Cotonti / General / Register before download?

Swooshy
#1 2010-01-24 06:10
Hey there. I have just installed Cotonti to performanx.com... I hope this is the right place, but I thought I saw an option to force registering before someone can download a file... Now I can't find it again. Am I completely wrong that there is such an option?

Added 1 minute later:

I tried to search forums, but couldn't find such an option
SunChase
#2 2010-01-24 06:17
Try editing the Guests rights for PFS
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Swooshy
#3 2010-01-24 06:22
Hey, SunChase. Thank you for your quick response. Still, it didn't work. I am really sorry I didn't explain well enough. I meant files like in http://performanx.com/list.php?c=gamp

Added 7 minutes later:

Additional info: I tried to change download rights in m=rights&g=1 (for guest accounts), but when I logged out, I could still download files
This post was edited by Swooshy (2010-01-24 06:30, 14 years ago)
SunChase
#4 2010-01-24 06:46
I see.Try this:

<!-- BEGIN: GUEST -->
You are not autherised.Please login or register in order to download
<!-- END: GUEST -->
<!-- BEGIN: USER -->
{PAGE_FILE_NAME}
<!-- END: USER -->
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Swooshy
#5 2010-01-24 06:53
Sorry, but where should I add that? I am complete noob with Cotonti :P I only had LDU few years ago, so this is new to me
esclkm
#6 2010-01-24 07:28
Sun.sun.sun.... My student...
<!-- IF {PHP.usr.id} = 0 -->
You are not authorized.Please login or register in order to download
<!-- ELSE -->
{PAGE_FILE_NAME}
<!-- ENDIF -->
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
5uper Mario
#7 2010-01-24 07:37
# Swooshy : Sorry, but where should I add that? I am complete noob with Cotonti :P I only had LDU few years ago, so this is new to me

In the page.tpl file.
Swooshy
#8 2010-01-24 07:46
# 5uper Mario : In the page.tpl file.

Thank you. I will try that and post results :)
SunChase
#9 2010-01-24 07:58
Sensei:
Sun.sun.sun.... My student...
*5 rows on Japanise speach*
Translation: I dont remember such things...
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
esclkm
#10 2010-01-24 08:16
lol
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Trustmaster
#11 2010-01-24 16:51
When you add/edit a page, there's a dropdown, where you can select the access restrictions for the file. File download?: No/Yes/Members only.
May the Source be with you!
SunChase
#12 2010-01-24 19:24
# esclkm : lol
everybody is to lazy even to tell if there is some list of standart terms to use for such blocks ;)
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Swooshy
#13 2010-01-24 20:44
Thank you, Trustmaster. I don't know how I didn't spot it :) Works like a dream