Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] [tag op=log....



******    message to minivend-users from jojo@buchonline.net     ******

On  2 Jun, Barry Treahy wrote:
> ******    message to minivend-users from Barry Treahy <Barry@BSTent.com>     ******
> 
> Sorry for the delay, I had to go back and find it.
> 
> Hans-Joachim Leidinger wrote:
> 
>> Hmmm...can you post a part of this codes for example and what you get
>> (copy&paste)?
>>
> 
> [set logtime interpolate=1][tag time]%A, %B %d, %Y[/tag][/set]
> [tag arg="pages/log/logfile.log" op=log interpolate=1]
> [scratch logtime] login: [value mv_username]  page:@@MV_PAGE@@
> [/tag]
> 
> I could never get the time to work and if I recall, the MV_USERNAME was also blank.
> 
> In addition to that, I didn't want the logs in the pages, that would never work when I moved it.

This works for me (tested with MV3.14-3 and MV4)

<BR><BR><BR><BR>

[set name=logtime interpolate=1][tag op=time]%A, %B %d, %Y[/tag][/set]
[scratch logtime] login: [value mv_username]  page:@@MV_PAGE@@
<BR><BR>
[set name=logmsg interpolate=1][tag op=time]%A, %B %d, %Y[/tag] login: [value mv_username]  page:@@MV_PAGE@@[/set]
[scratch logmsg]<BR>

This will works for MV4 and MV3 (NOT for MV4.03):

[set name=logtime interpolate=1][tag op=time]%A, %B %d, %Y[/tag][/set]
[tag file="pages/log/logfile1.log" op=log interpolate=1]
[scratch logtime] login: [value mv_username]  page:@@MV_PAGE@@
[/tag]

<BR><BR>
[set name=logmsg interpolate=1][tag op=time]%A, %B %d, %Y[/tag] login: [value mv_username]  page:@@MV_PAGE@@[/set]
[tag file="pages/log/logfile2.log" op=log interpolate=1]
[scratch logmsg]
[/tag]

server:/root[root]# ll /www/buchonline.org/mv4/catalogs/bol/pages/log/
total 2
-rw-rw----  1 mvend  buchonline  47 Jun  2 16:58 logfile1.log
-rw-rw----  1 mvend  buchonline  47 Jun  2 16:58 logfile2.log

server:/root[root]# cat /www/buchonline.org/mv4/catalogs/bol/pages/log/logfile1.log 
Freitag, Juni 02, 2000 login: jojo  page:test2

server:/root[root]# cat /www/buchonline.org/mv4/catalogs/bol/pages/log/logfile2.log
Freitag, Juni 02, 2000 login: jojo  page:test2
server:/root[root]# 

Regards,

	Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671449
45886 Gelsenkirchen         FAX: 0209 1671449

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: