Prabhakar, One solution is to: 1) have some code that is triggered when a user logs in to update their XWikiUsers object on the users profile page - not sure how to do this - maybe it needs a change to XWiki to do this - anyone? 2)You could then have some code to read users profile XWikiUsers objects to list how many times they have logged in - look at the code snippets and tutorial to get and adapt some code to do this - has anyone got some code for this?
Hope that helps a little. It sounds like a useful statistic to collect on the number of times a user logins in over a week/month/etc - maybe it could be added to the new statistics page? Regards, Richard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: 02 November 2007 10:46 To: users@xwiki.org Subject: [xwiki-users] Login counter Hi, Please help me out, Help for XWiki - User Login Counter ([EMAIL PROTECTED]) Hi All, I want to be creating the XWiki - User / Admin Login Counter. - (Page visited for intranet through respective Login). Please help me, how to do that? If anyone has xwiki code, please send to me. I am new to XWiki. Regards, Prabhakar Gopalsamy ______________________________ Wipro Technologies -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, November 02, 2007 4:11 PM To: users@xwiki.org Subject: users Digest, Vol 4, Issue 5 Send users mailing list submissions to users@xwiki.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.xwiki.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of users digest..." Today's Topics: 1. Re: Porblem Installing w/Oracle (Vincent Massol) 2. Class attributes (goldring, richard) 3. Re: Adding a document in XWiki.org (Esbach, Brandon) 4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing]) 5. Re: Access rights on XWiki space (Esbach, Brandon) 6. Re: Access rights on XWiki space (Marie Sauvage [EBM WebSourcing]) ---------------------------------------------------------------------- Message: 1 Date: Fri, 2 Nov 2007 09:24:56 +0100 From: Vincent Massol <[EMAIL PROTECTED]> Subject: Re: [xwiki-users] Porblem Installing w/Oracle To: XWiki Users <users@xwiki.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Hi Craig, Have you followed the instructions on http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle and especially the part about the oracle HBM file? Also what version of xwiki are you installing? Thanks -Vincent On Nov 2, 2007, at 12:59 AM, Fye Kan wrote: > Hello, > > We're investingating a few wiki options and were trying to use Xwiki > with Tomcat 6 and Oracle 10g using the war installation process. > We've modified all of the config files per the instructions on the > site but are getting the following errors when trying to access the > default page: > > 17:25:31,106 [http-129.147.132.30-80-1] ERROR > store.XWikiHibernateBaseStore - Failed updating schema: 2 > 17:25:31,213 [http-129.147.132.30-80-1] ERROR > store.XWikiHibernateBaseStore - While executing query: update > xwikidoc set xwd_translation=0 where xwd_translati on is null > 17:25:31,213 [http-129.147.132.30-80-1] ERROR > store.XWikiHibernateBaseStore - Failed updating schema: ORA-00942: > table or view does not exist > > followed by a lot more errors. This is a brand new install so no > tables exist yet. The user account we have for the DB has access to > create/modify/remove tables so we're at a bit of a loss as to what > the problem is. Does anyone out there have any suggestions as to > what the problem could be? Do we need to create the tables a head of > time? Is there a script to do so? Any help would be appreciated, > thanks! > > Craig > ________________________ ------------------------------ Message: 2 Date: Fri, 2 Nov 2007 09:47:46 -0000 From: "goldring, richard" <[EMAIL PROTECTED]> Subject: [xwiki-users] Class attributes To: "'XWiki Users'" <users@xwiki.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain Hi, Does anyone know how to set the various Class properties? There appears to be no documentation on this - if there's anyone in the know who could provide some documentation then it would be really really useful for developing inline forms to access page object properties to help develop real applications on XWiki. i.e. for a display selection list on an inline form ... Name: Pretty Name: Tooltip: Custom Display: Unmodifiable: --- Yes No Number: Validation Regular Expression: Validation Message: Size: Rows: Editor: ---TextPureTextWysiwyg Content: FullyRenderedTextVelocityCodePureText TaskMainTypeName: Pretty Name: Tooltip: Task main type Custom Display: Unmodifiable: --- Yes No Number: Validation Regular Expression: Validation Message: Display Type: inputselectradiocheckbox Multiple Select: --- Yes No Relational Storage: --- Yes No Use Picker: --- Yes No Size: Join separator: Sort: noneidvalue Cache: --- Yes No Values: Separators: Regards, Richard Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail is confidential. It may also be legally privileged. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. We may monitor all e-mail communications through our networks. If you have received this e-mail in error, please inform us immediately on +44 (0) 1749 672081 and delete it and all copies from your system. We accept no responsibility for changes to any e-mail which occur after it has been sent. Attachments to this e-mail may contain software viruses which could damage your system. We therefore recommend you virus-check all attachments before opening. A business of Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No. 868273 ------------------------------ Message: 3 Date: Fri, 2 Nov 2007 09:57:08 -0000 From: "Esbach, Brandon" <[EMAIL PROTECTED]> Subject: Re: [xwiki-users] Adding a document in XWiki.org To: "XWiki Users" <users@xwiki.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Given that I can't access outside servers from our server network (company policy), I adjusted this to reflect my own database - changing only the db name and user details. I setup a table to mimic your column name as well. On 1.1 it seems to work; though my environment is a bit different to standard release (not completely standard xwiki install). ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Your XEN ICT Team - Ricardo Rodriguez Sent: 01 November 2007 19:15 To: XWiki Users Subject: Re: [xwiki-users] Adding a document in XWiki.org Esbach, Brandon wrote: Xwiki.org sandbox: you don't normally get programming rights (admin rights don't guarantee programming rights on the .org sites). Someone on the xwiki team will have to open and save the page for you in order to test it. Thanks for the information. I didn't realize about the required programming rights. It is perfectly reasonable that this rights must be given by an administrator. But the site is not accessible yet. This link http://sandbox.xwiki.org/xwiki/bin/view/Main/WebHome keeps generating an exception while reading document XWiki.XWikiPreferences. In any case, it there were a problem with programming rights, I understand that no script will be executed. In this case, scripts recovering a single record work fine or printing simple lines by using println work fine. If it's a local xwiki instance that's also causing the problem, I'm not sure. Accessing mysql databases seems to work fine for me for my own local databases. Could you be so kind as to trying the following script in your xwiki installation to see if it is my server the only one that is having problems while printing iterations? Thanks! <% import groovy.sql.Sql; println "This is a sample to access epec in *mire*" def sendSQL = Sql.newInstance("jdbc:mysql://mire.environmentalchange.net/epec","epec_R eadOnly", "epec_ReadOnly", "com.mysql.jdbc.Driver") sendSQL.eachRow("SELECT * FROM epec.spot s") {row ->println "${row.code}"} %> I've run it in three boxes all of them running 1.2-milestone-1.5235 and always get the same result. Please, could anybody else try this? Thank you so much. Best, -- Ricardo Rodr?guez Your XEN ICT Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xwiki.org/pipermail/users/attachments/20071102/71daf3c6/att achment.html ------------------------------ Message: 4 Date: Fri, 02 Nov 2007 11:03:24 +0100 From: "Marie Sauvage [EBM WebSourcing]" <[EMAIL PROTECTED]> Subject: [xwiki-users] Access rights on XWiki space To: XWiki Users <users@xwiki.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" An HTML attachment was scrubbed... URL: http://lists.xwiki.org/pipermail/users/attachments/20071102/231eec3f/att achment.htm ------------------------------ Message: 5 Date: Fri, 2 Nov 2007 10:24:01 -0000 From: "Esbach, Brandon" <[EMAIL PROTECTED]> Subject: Re: [xwiki-users] Access rights on XWiki space To: "XWiki Users" <users@xwiki.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" The way I have it setup is, by default users have only "view" permissions to the XWiki space; and all new XWiki tools are written into their own space so that they're protected at space level. Admin tools (my automated group assignment for example) I have a specific space for and have that space protected completely so that users can't even see the space. I wouldn't worry too much about allowing people to see users and groups lists though. Restricting all but view permissions is sufficient for most purposes. ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marie Sauvage [EBM WebSourcing] Sent: 02 November 2007 10:03 To: XWiki Users Subject: [xwiki-users] Access rights on XWiki space Hi ! I'm trying to configure access rights on a XWiki to a group of users. My problem is that I don't want them to access to the administration, I will be the only administrator. But when I deny access on the space XWiki, the users of the group don't access any more to the user's pages, even their own profile page, as those pages are in this space. Is there a way to give them access without having to deal access page per page and modify the XWiki>Users page to make appear only allowed section with many "if ($xwiki.hasAdminRights())" ? thanks in advance ! Marie. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xwiki.org/pipermail/users/attachments/20071102/c2ab3b8f/att achment.html ------------------------------ Message: 6 Date: Fri, 02 Nov 2007 11:41:12 +0100 From: "Marie Sauvage [EBM WebSourcing]" <[EMAIL PROTECTED]> Subject: Re: [xwiki-users] Access rights on XWiki space To: XWiki Users <users@xwiki.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" An HTML attachment was scrubbed... URL: http://lists.xwiki.org/pipermail/users/attachments/20071102/b2c4bec7/att achment.htm ------------------------------ _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users End of users Digest, Vol 4, Issue 5 *********************************** The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail is confidential. It may also be legally privileged. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. We may monitor all e-mail communications through our networks. If you have received this e-mail in error, please inform us immediately on +44 (0) 1749 672081 and delete it and all copies from your system. We accept no responsibility for changes to any e-mail which occur after it has been sent. Attachments to this e-mail may contain software viruses which could damage your system. We therefore recommend you virus-check all attachments before opening. A business of Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No. 868273 _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users