Domino 9 und frühere Versionen > Entwicklung

O(+>--Zugriffszähler in LN R5

(1/4) > >>

Bellerophon:
*greetz* @ ALL

Wie kann ich einen Zugriffszähler in einem LN-Forum einbauen ???
Gibts da ein fertiges Script/eine Formel o.ä.???

Dank im voraus......

C
Ya

zaphod:
Hi

ich denke, du möchtest einen "Counter" fürs web?

dann versuchs hiermit:
http://217.160.137.156/html/cgi-bin/yabb/YaBB.pl?board=002-2;action=display;num=1029401701;start=3

bye bye z

Bellerophon:
Hallo zaphod,

dankeeeeeee werde es mal ausprobieren!
Ich benötige ihn für unser Lotus Notes Forum!

C

Ya ;D ;D

Raimund:
Hi,

Textfeld, berechnet zur Anzeige.

profilename := "Document History Usage Count"+ @Text(@DocumentUniqueID);
timestamp := @Today;
count := @GetProfileField(profilename; "Count");
@If(@IsNewDoc | @IsDocBeingSaved;
@Do(@Set("count"; 0));
count=0;
@Do(@Set("count";1); @SetProfileField(profilename; "TimeStamp"; timestamp));
@Do(@Set("timestamp";@GetProfileField(profilename; "TimeStamp")); @Set("count"; count+1)));

@SetProfileField(profilename; "Count"; count);
"This Document has been accessed " + @Text(count) + " time(s) since " + @Text(timestamp; "D0T1S2")


Gruß
Raimunud

Bellerophon:
Hallo Raimund!

Vielen dank für die Antwort!
Jetzt habe ich ein weiteres Problem:

Ich möchte den Zugriffszähler auf der LN Standard -  Forum Startseite anzeigen, aber in "Seiten" kann ich keine Felder erstellen! (So sagt es zumindest mein Designer Client!)

???Wie kann ich es denn sonst anstellen ???

Dank im voraus.......

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln