Text files only for reg?
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Text files only for reg?

Started by Plagued Elohim, 27 July, 2007, 15:46:39

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Plagued Elohim

Is there a way that I can make text files reachable only for reg users? A script or a command? Please help me. Thank you

bastya_elvtars

You mean those files that are handled by PtokaX?
Everything could have been anything else and it would have just as much meaning.

Plagued Elohim

I mean the text files that you put in the foler Texts :)
Anyone?  :'(

Plagued Elohim

Nice... Thank You :) Just two more things that I would like you to help me with. Could you tell me the lines that I have to modify so that only unreg users cannot see the text files and that the text files will appear in PM. Thanks, again ;)

Thor

Change this:
if user.iProfile ~= -1 and GetProfilePermissions(user.iProfile).bRefreshTxt == 1 then

to this:
if user.iProfile ~= -1 then

Btw. it's still sends the messages in PM as I saw

Plagued Elohim

I didn't quite got that from the script notes. Thx Mutor and you too, Hungarista

SMF spam blocked by CleanTalk