Thanks Sergiu - I didn't realise that the interval wasn't set by default -
its not as clear as it could be in the documentation - perhaps users should
be warned in a popup message when they set a watch on a page and the
interval hasn't been set to remind them?
As for the other issue with sharing a page .... Then I'll just have to
upgrade to the latest Xwiki.
Thanks again
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Sergiu Dumitriu
Sent: 13 July 2011 17:58
To: XWiki Users
Subject: Re: [xwiki-users] XWiki email not working
On 07/13/2011 03:13 AM, goldring, richard wrote:
> Hi All,
>
> I'm still not able to email using Email a wiki page or via the Watch
> plugin.....
>
> I've set up my email server (sendmail) on my Solaris server and set
> the appropriate setting in XWiki to talk to it and using the code
> below (taken from the XWiki website) to successfully send an email
> (presumably this uses the email plugin??) :
>
> {{velocity}}
> #if($xwiki.hasAccessLevel('admin'))
> #if("$!{request.action}" == 'send_mail'&& "$!{request.lastname}" == '')
> ## Check submission and honey pot.
> #if("$!request.recipient" != ''&& "$!request.subject" != '')
> #set($result =
> $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
> <mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
> "$!request.message"))
> #if($result == -1)
> {{error}}A problem occurred while sending the mail.{{/error}}
> #else
> {{info}}Everything went OK.{{/info}}
> #end
> #else
> {{error}}Please specify at least a recipient and a subject{{/error}}
> #end
> #end
>
> {{html wiki=true}}
> <form action="" method="post">
> <input name="action" value="send_mail" type="hidden" />
> ## this is a honey-pot hidden text field hat hopefully robots will
> not leave empty
> <div class="hidden">
> <input name="lastname" type="text" />
> </div>
> <fieldset>
> **TO:**<br />
> <input type="text" name="recipient" /><br />
> **SUBJECT:**<br />
> <input type="text" name="subject" /><br />
> **MESSAGE:**<br />
> <textarea name="message" style="width:99%;" rows=10>Your test
> message here.</textarea>
> </fieldset>
> <div>
> <span class="buttonwrapper"><input type="submit" class="button"
> value="Send" /></span>
> </div>
> </form>
> {{/html}}
> #else
> {{error}}Oops. Area restricted to Admins, sorry.{{/error}} #end
> {{/velocity}}
>
>
> BUT ..... in my XWiki wiki (I have the latest version) when I select
> to email a wiki page and press the Send button nothing seems to happen
> (I assume the email dialog should close when you press the Send button
> and an email should be sent), also when adding a Watch on the wiki or
> wiki page and the page is changed then no email is sent to the user
> who has put the watch on the page .... does anyone know why the emails
aren't getting sent????
For the watch problem, check that the user has selected a valid watchlist
interval, since by default all users have the watchlist emailer disabled.
You can do that by going to your profile, and editing the preferences on the
Watchlist tab.
> Having the facility to email a wiki page and to watch wiki pages would
> certainly help get more people to use our wiki.
>
> Any clues for fixing this would be most appreciated!
>
> Thanks.
>
> Richard
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)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 sender's telephone number above
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.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi Jan,
On Jul 11, 2011, at 8:16 AM, Jan Slegr wrote:
> Hi,
>
>
>
> can be date and time format changed in Activity Stream (XWiki 3.1 used)
> somehow?
>
>
>
> It's displayed as "10 VII, 11:19" by default and it ignores XWiki
> localization date preference and I'd like to change it to something like
> "10.7.2011, 11:19". I tried to check Activity Stream code, but have had no
> luck to find the correct place where it can be changed so far.
Indeed you're right, the Activity Stream is wrong and it should use the XWiki date format that is configured in the admin.
The code you're looking for is located in the ActivityMacro Object on the Main.Activity page
(http://localhost:8080/xwiki/bin/edit/Main/Activity?editor=object):
...
## Formatters
##--------------------------------------------------------------
#set ($eventDateFormatter = 'dd MMM, HH:mm')
#set ($eventFullDateFormatter = 'yyyy/MM/dd HH:mm')
#set ($activityListDateFormatter = 'dd MMM')
...
Would be great if you could create a jira issue for this at http://jira.xwiki.org.
Hope it helps,
-Vincent
Hi All,
I'm still not able to email using Email a wiki page or via the Watch
plugin.....
I've set up my email server (sendmail) on my Solaris server and set the
appropriate setting in XWiki to talk to it and using the code below (taken
from the XWiki website) to successfully send an email (presumably this uses
the email plugin??) :
{{velocity}}
#if($xwiki.hasAccessLevel('admin'))
#if("$!{request.action}" == 'send_mail' && "$!{request.lastname}" == '')
## Check submission and honey pot.
#if("$!request.recipient" != '' && "$!request.subject" != '')
#set($result = $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
<mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
"$!request.message"))
#if($result == -1)
{{error}}A problem occurred while sending the mail.{{/error}}
#else
{{info}}Everything went OK.{{/info}}
#end
#else
{{error}}Please specify at least a recipient and a subject{{/error}}
#end
#end
{{html wiki=true}}
<form action="" method="post">
<input name="action" value="send_mail" type="hidden" />
## this is a honey-pot hidden text field hat hopefully robots will not
leave empty
<div class="hidden">
<input name="lastname" type="text" />
</div>
<fieldset>
**TO:**<br />
<input type="text" name="recipient" /><br />
**SUBJECT:**<br />
<input type="text" name="subject" /><br />
**MESSAGE:**<br />
<textarea name="message" style="width:99%;" rows=10>Your test message
here.</textarea>
</fieldset>
<div>
<span class="buttonwrapper"><input type="submit" class="button"
value="Send" /></span>
</div>
</form>
{{/html}}
#else
{{error}}Oops. Area restricted to Admins, sorry.{{/error}}
#end
{{/velocity}}
BUT ..... in my XWiki wiki (I have the latest version) when I select to
email a wiki page and press the Send button nothing seems to happen (I
assume the email dialog should close when you press the Send button and an
email should be sent), also when adding a Watch on the wiki or wiki page and
the page is changed then no email is sent to the user who has put the watch
on the page .... does anyone know why the emails aren't getting sent????
Having the facility to email a wiki page and to watch wiki pages would
certainly help get more people to use our wiki.
Any clues for fixing this would be most appreciated!
Thanks.
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 sender's telephone number above
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.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Please can anyone help me with my problem below:
(Apologies if I am going about this request the wrong way, it is the
first time I've used this method - if I am doing something wrong please
advise corrections...)
I have a page in a space in my wiki that I cannot delete - this is a
page that the users need not see, and the ?link needs removing to
prevent 'recreating' the page.
I have tried several ways to remove this but it is persistent.
I have tried -
* Directly deleting the page. [results in the error below - and
leaves the link to the page with a '?' as being ready to create if
clicked]
* Moving the page to another space e.g. the Sandbox [results in
the page being copied to the sand box, but still leaves the link to the
page with a '?' as being ready to create if clicked]
* Creating an entirely new space and recreating all the other
pages (not moving them) except the unwanted page, and then deleting the
old space. [results in the deleted space showing with a '?' as being
ready to create if clicked - and there is still reference to the
unwanted page in this old space in the document index]
* I have checked all permissions and reset them on the unwanted
page/link/space to allow deletion - and I am trying to perform these
actions as Admin. [results in same as above]
The error displayed when I delete the page is:
Notice
A problem occurred while trying to process your request. Please contact
the webmaster if this happens again.
Detailed information:
Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
hibernate execute
Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:1040)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateB
aseStore.java:1086)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWiki
HibernateRecycleBinStore.java:68)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3994)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3986)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5816)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5805)
at
com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1166)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:915)
at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
:582)
Wrapped Exception:
java.sql.SQLException: Violation of unique constraint $$: duplicate
value(s) for column(s) $$: SYS_CT_116 in statement [insert into
xwikirecyclebin (XDD_ID, XDD_FULLNAME, XDD_LANGUAGE, XDD_DATE,
XDD_DELETER, XDD_XML) values (null, ?, ?, ?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at
org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delega
tingPreparedStatement.java:101)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delega
tingPreparedStatement.java:101)
at
org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(Abstract
SelectingDelegate.java:33)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEn
tityPersister.java:2163)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEn
tityPersister.java:2643)
at
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityIn
sertAction.java:51)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate
(AbstractSaveEventListener.java:298)
at
org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSa
veEventListener.java:181)
at
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(Ab
stractSaveEventListener.java:107)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGenerat
edOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequ
estedId(DefaultSaveEventListener.java:33)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransie
nt(DefaultSaveOrUpdateEventListener.java:172)
at
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(Def
aultSaveEventListener.java:27)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(
DefaultSaveOrUpdateEventListener.java:70)
at
org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore$1.doInHibernate(XWikiH
ibernateRecycleBinStore.java:72)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:1034)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateB
aseStore.java:1086)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWiki
HibernateRecycleBinStore.java:68)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3994)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3986)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5816)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5805)
at
com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1166)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:915)
at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
:582)
THIS WIKI IS LICENSED UNDER A CREATIVE COMMONS 2.0 LICENSE
XWIKI ENTERPRISE 2.1.1.25889 - DOCUMENTATION
Andrew Parkinson
www.senator.co.uk <http://www.senator.co.uk/>
=================================================================
This email is confidential and is intended solely for the use of the individual
or entity to whom it is addressed. If you are not the intended recipient and
you have received this e-mail in error then any use, dissemination, forwarding,
printing or copying of this e-mail is strictly prohibited and you should contact
the sender by e-mail return and then delete all the material from your system.
Any views or opinions expressed in this email are solely those of the author
and do not necessarily represent those of Senator International Limited.
This email does not form a part of a legally binding agreement. We have
taken precautions to minimise the risk of transmitting software viruses,
but we advise that you carry out your own virus checks on any attach-
ments to this message. Senator International Limited cannot accept
liability for any loss or damage done by viruses.
Head Office:
Syke Side Drive
Altham Business Park
Accrington
Lancashire
BB5 5YE
Tel: +44 (0) 1282 725000
Fax: +44 (0) 1282 725039
London Showroom:
11-13 Melton Street
London
NW1 2EA
Tel: +44 (0) 207 388 7621
Fax: +44 (0) 207 388 3121
Company No: 1323955 Registered in England & Wales
===========================================================
Hi,
Sorry if this questions are recurrent, but I can't find any references
on that. When I use the "share by email" feature on a page that contains
images, with the page within the email body, the page's images appear
broken on the html email. How can I fix that?
Another related question: how can I change the way notification emails
show the changes on a watched page? It's not relevant to my users that
html formatting info like "text align" etc are shown in the diff email.
How can I change this?
I'm using XE 3.1M1.
Regards,
--
* *
* *
*Ramon Gomes Brandão*
*//*
Hi,
I'm using version 2.7.1 of XE.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Vincent Massol
Sent: 13 July 2011 08:30
To: XWiki Users
Subject: Re: [xwiki-users] XWiki email not working
Hi,
Maybe it's caused by http://jira.xwiki.org/jira/browse/XE-913?
What exact version of XE are you using?
Thanks
-Vincent
On Jul 8, 2011, at 10:58 AM, goldring, richard wrote:
> Hi,
>
> I've set up my email server (sendmail) on my Solaris server and set
> the appropriate setting in XWiki to talk to it and using the code
> below (taken from the XWiki website) to successfully send an email:
>
> {{velocity}}
> #if($xwiki.hasAccessLevel('admin'))
> #if("$!{request.action}" == 'send_mail' && "$!{request.lastname}" ==
> '') ## Check submission and honey pot.
> #if("$!request.recipient" != '' && "$!request.subject" != '')
> #set($result =
> $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
> <mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
> "$!request.message"))
> #if($result == -1)
> {{error}}A problem occurred while sending the mail.{{/error}}
> #else
> {{info}}Everything went OK.{{/info}}
> #end
> #else
> {{error}}Please specify at least a recipient and a
> subject{{/error}} #end #end
>
> {{html wiki=true}}
> <form action="" method="post">
> <input name="action" value="send_mail" type="hidden" /> ## this is a
> honey-pot hidden text field hat hopefully robots will not leave empty
> <div class="hidden"> <input name="lastname" type="text" /> </div>
> <fieldset>
> **TO:**<br />
> <input type="text" name="recipient" /><br />
> **SUBJECT:**<br />
> <input type="text" name="subject" /><br />
> **MESSAGE:**<br />
> <textarea name="message" style="width:99%;" rows=10>Your test
> message here.</textarea> </fieldset> <div>
> <span class="buttonwrapper"><input type="submit" class="button"
> value="Send" /></span>
> </div>
> </form>
> {{/html}}
> #else
> {{error}}Oops. Area restricted to Admins, sorry.{{/error}} #end
> {{/velocity}}
>
>
> BUT ..... in my XWiki wiki (I have the latest version) when I select
> to email a wiki page and press the Send button nothing seems to happen
> (I assume the email dialog should close when you press the Send button
> and an email should be sent), also when adding a Watch on the wiki or
> wiki page and the page is changed then no email is sent to the user
> who has put the watch on the page .... does anyone know why the emails
aren't getting sent????
> Having the facility to email a wiki page and to watch wiki pages would
> certainly help get more people to use our wiki.
>
> Regards,
>
> Richard
_______________________________________________
users mailing list
users(a)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 sender's telephone number above
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.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Username: KurtKincaid
Requested Server Name: kurtkincaid
Usage: Personal documentation, note taking, personal task list/project
tracking, etc.
Sincerely,
Kurt Kincaid
kurt(a)kurtkincaid.com
http://www.linkedin.com/in/kkincaidhttp://www.kurtkincaid.com
Hi,
I just got my xwiki on mywiki.org and the recently viewed panel doesn't seem to work. Looking at the code it appears to rely on the stats which are turned off. So is the recently viewed panel just not available on the farm?
Thanks for your help, Regan
Hi,
I've set up my email server (sendmail) on my Solaris server and set the
appropriate setting in XWiki to talk to it and using the code below (taken
from the XWiki website) to successfully send an email:
{{velocity}}
#if($xwiki.hasAccessLevel('admin'))
#if("$!{request.action}" == 'send_mail' && "$!{request.lastname}" == '')
## Check submission and honey pot.
#if("$!request.recipient" != '' && "$!request.subject" != '')
#set($result = $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
<mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
"$!request.message"))
#if($result == -1)
{{error}}A problem occurred while sending the mail.{{/error}}
#else
{{info}}Everything went OK.{{/info}}
#end
#else
{{error}}Please specify at least a recipient and a subject{{/error}}
#end
#end
{{html wiki=true}}
<form action="" method="post">
<input name="action" value="send_mail" type="hidden" />
## this is a honey-pot hidden text field hat hopefully robots will not
leave empty
<div class="hidden">
<input name="lastname" type="text" />
</div>
<fieldset>
**TO:**<br />
<input type="text" name="recipient" /><br />
**SUBJECT:**<br />
<input type="text" name="subject" /><br />
**MESSAGE:**<br />
<textarea name="message" style="width:99%;" rows=10>Your test message
here.</textarea>
</fieldset>
<div>
<span class="buttonwrapper"><input type="submit" class="button"
value="Send" /></span>
</div>
</form>
{{/html}}
#else
{{error}}Oops. Area restricted to Admins, sorry.{{/error}}
#end
{{/velocity}}
BUT ..... in my XWiki wiki (I have the latest version) when I select to
email a wiki page and press the Send button nothing seems to happen (I
assume the email dialog should close when you press the Send button and an
email should be sent), also when adding a Watch on the wiki or wiki page and
the page is changed then no email is sent to the user who has put the watch
on the page .... does anyone know why the emails aren't getting sent????
Having the facility to email a wiki page and to watch wiki pages would
certainly help get more people to use our wiki.
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 sender's telephone number above
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.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
I am trying to get XEM installed on my shared hosting provider, and am
running into some trouble with the MySQL user permissions part.
The tutorial says:
****
In order for XEM to be able to create new wikis on demand, you will need to
give all rights to your database user. For example for MySQL, execute:
mysql -u root -e "grant all privileges on *.* to xwiki(a)127.0.0.1 identified
by 'xwiki'"
****
This command does not work when run on my SSH client. I contacted my hosting
provider to ask whether it was possible to assign admin privileges, and they
said:
"It is not possible to change privileges for a database user. The database
uses have the most commonly needed privileges set by default. Instead of
creating a user as explained in those instructions, you should just be able
to use provide the user of the database you created through your Hosting
Control Center."
Am I right that this response means that XEM will not install correctly,
despite their assurances that I have "commonly needed privileges"?
Has anyone had success setting up XEM on a GoDaddy hosting account? If not,
it might be time to switch...
Thank you,
Aaron Hardy