[첫화면으로]UseModWiki소스수정/사용자추가매크로

마지막으로 [b]

변경사항 (가장 최근의 "일반적인 수정"부터) (다른 사용자에 의한 수정)

-64,6 +64,7
* ''' [[JuanmaMP]] ''' :  adminonly deserves to be treated in a way that remember PageIsHidden, with subtle differences. With help a "summary" when editing that automatically appends a mark when this happens, for instance "adminonly" in "summary" (or any other). GetDiff works in help, GetRc needs a change (next  if ((!$all) && ($ts < $changetime{$pagename}))), requires other conditions, for instance if in DoEditPrefs, an user doesn't accept " Show all changes ", can happen that some changes in the same pages have adminonly an other haven't. DoRc have to change in the similar manner if page is hidden. At last, &ColorDiff gives the sequence (for instance, a change can be, erase one adminonly, other write an adminonly, but only the second option have to hide for users without admin role. I am working around this subject. It seems to goes well. - <small>2012-7-23 12:49 am</small>
* ''' [[Raymundo]] ''' : The purpose of this macro was just to make 'final output' to be hidden from non-admin users. It doesn't hide any 'diff', 'rc', 'page source'. Of course it will be great if this macro hid all such things, but I thought it required so complex code. :-) - <small>2012-7-24 7:48 am</small>
* ''' [[JuanmaMP]] ''' : You're right. Veeery complex because for instance, they appear some side-effects that require much imagination in order to see them all in advance ¬¬ - <small>2012-7-25 9:55 am</small>
* ''' [[JuanmaMP]] ''' : For the moment, the most important stage is creating filters with automatic markup in summary (on dopostmain). Because one way to do it is take advantage  from the format of this summary is employed that for spread of these filters in other subroutines. It seems I have three filters, now: added adminonly (to hide), changed inner content from one adminonly (then to hide too), or deleted adminonly: tags and contents (then hide, too; because it was an hidden content). The 4th scenario, deleted tags but not content, then visible; because it assumes one wants undo adminonly. It's all by the moment ... (a wonderful nightmare :)) - <small>2012-7-25 10:11 am</small>
<comments(104)>
----


이 페이지는...

/매크로모듈화가 적용된 버전에서 추가로 mymacros 에 넣어서 사용할 수 있는 매크로들을 올리는 곳입니다. 유용한 매크로들을 만들면 혼자 쓰지 말고 여기 올려서 공유합시다~ ^_^

1. <prevnextdiary>
2. <mostedited(시작순위,끝순위)>
3. <mysign(이름,서명시각)>
4. <small>타임스탬프</small>
5. <adminonly>내용</adminonly>

1. <prevnextdiary>

Upload:prevnextdiary.txt (확장자를 pl 로 바꿔서 사용할 것)

이름:  
Homepage:
내용:  

2. <mostedited(시작순위,끝순위)>

Upload:mostedited.txt (확장자를 pl 로 바꿔서 사용할 것)

이름:  
Homepage:
내용:  

3. <mysign(이름,서명시각)>

Upload:mysign.txt (확장자를 pl 로 바꿔서 사용할 것)

이름:  
Homepage:
내용:  

4. <small>타임스탬프</small>

Upload:small.txt (확장자를 pl 로 바꿔서 사용할 것)

이름:  
Homepage:
내용:  

5. <adminonly>내용</adminonly>

Upload:adminonly.txt (확장자를 pl 로 바꿔서 사용할 것)

이름:  
Homepage:
내용:  


위키위키분류

마지막 편집일: 2012-7-25 10:11 am (변경사항 [d])
1346 hits | Permalink | 변경내역 보기 [h] | 페이지 소스 보기