Re: [xwiki-users] Albatros menubar questions

2007-11-29 Thread Sergiu Dumitriu
Vincent Massol wrote:
 On Nov 28, 2007, at 5:17 PM, Paul Grodt wrote:
 
[snip]
 
 but that seems less
 intuitive.  When I click into the 'Show-Wiki code' or 'Show-History'
 or when linking to it directly, it's a bit awkward to return to the
 formatted article.
 
 One simple solution would be to create a link in the title of the  
 shown page. For example for show code the title is Wiki code of page  
 name and for history it's History of page name. We would just  
 need a link on page name.
 
 -Vincent
 

http://jira.xwiki.org/jira/browse/XWIKI-1905
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Prevent space creation

2007-11-29 Thread William Lesguillier
Is there a way to prevent non admin users from creating new spaces?

Thanks,
William
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Prevent space creation

2007-11-29 Thread Sergiu Dumitriu
William Lesguillier wrote:
 Is there a way to prevent non admin users from creating new spaces?

Yes.

- In the global rights, deny write access to AllUsers and XWikiGuest, 
allow write access to Admins
- In each space rights, allow write access to AllUsers

Sergiu
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Getting rendered content of a page with a specific template

2007-11-29 Thread BOUSQUET Jeremie
Hello,

 

I have a page showing a timeline, to display it I need to do the
following because this page redefines head and body :

http://mywiki/xwiki/bin/view/WikiDev/TimeLine?xpage=plain

It's a simile timeline, and I got the sample from here
http://www.jeremi.info/index.php/post/2006/11/28/Simile-Timeline ,
from Jeremi's site (thank you if you read it to make me discover the
simile timeline ! ;) ).

 

 I would like to insert this rendered page in another wiki page. I wrote
this:

$xwiki.getDocument('WikiDev.TimeLine').getRenderedContent()

 

Of course it's not correct, because I would like plain template to be
applied to retrieve the rendered content. How can I proceed ?

 

Another way would be for this very page to be able to redefine head
and body properly, but I don't know how to make it (and to make it
correctly, and for this only page).

 

Thanks ,

 

Jeremie

 

 

 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] CAPTCHA for comments and registration

2007-11-29 Thread marlon hendred
Hello All,
Im trying to captcha validate my register page on my xwiki because i've had
a problem with spam bots. I am using the albatross skin on xwiki v1.1.1.5166.
I've asked this question before, and was told by someone to look at
captcha.vm, edit.vm etc... in the dodo skins. The only thing I found related
to captcha was this:

#if ($captchaPlugin)
  $captchaPlugin.displayCaptcha(edit,wiki_captcha)
#end

I added that to the registerinline.vm file and got nothing! In
WEB-INF/xwiki.cfg, the captcha plugin is set to 1.

I would really appreciated it if a developer would surface and tell me how
this works, what im doing wrong, or point me to some WORKING examples.
Thanks.

-Marlon

On Nov 7, 2007 10:12 AM, marlon hendred [EMAIL PROTECTED] wrote:

 Hi,
 So what documentation or resources did you read to get this working for
 you?

 On Nov 7, 2007 1:18 AM, Guillaume Lerouge [EMAIL PROTECTED]  wrote:
  Hi,
 
  I'm sorry but my competencies do not go so far as to explain why this
 does
  not work... It worked for me :(
 
   Guillaume
 
 
 
  On 07/11/2007, marlon hendred  [EMAIL PROTECTED] wrote:
  
  
  
   Yes I have scowerd xwiki.org in search of some documentation on a lot
   of things but have come up empty handed every time. Although the code
   you gave does display the captcha with an input box, it seems that it
   accepts anything. How do i verify the user has input the correct
   value?
  
   On Nov 6, 2007 11:39 PM, Guillaume Lerouge [EMAIL PROTECTED]
 wrote:
CaptchaName is indeed simply an arbitrary identifier you assign to
 your
captcha, like an ID tag. That's useful when you are using the
 captcha
  twice
on the same page or on your wiki. I think you can get jcaptcha to
  display a
please tell me how much do 3+8 instead of an image, not sure how
 to
achieve this though.
   
As for a documentation, I guess you already checked XWiki.org + the
  mailing
list archives?
   
Guillaume
   
   
   
 On 07/11/2007, marlon hendred  [EMAIL PROTECTED] wrote:
 Thanks for the response. So I got the captcha to show up but I
 still
  have
some questions.

 what is CaptchaName? Just an arbitrary string? and what args
 does
displayCaptcha() take? What other methods does jcaptcha have? Is
 there
  some
sort of documentation somewhere that I could look at on this? Thanks





 On 11/6/07, Guillaume Lerouge  [EMAIL PROTECTED] wrote:
  You can use this (with the plugin enabled):
 
 
  #if ($xwiki.jcaptcha.verifyCaptcha(CaptchaName))
 
 
  The code for the action that needs to be captcha protected goes
 here
(like for sending a form for instance)
 
 
  form ...
 
 
  ##$xwiki.jcaptcha.displayCaptcha(CaptchaName, ) br /
  #if ($context.user== XWiki.XWikiGuest) img style=border:
 solid
  1px
#00 src=$doc.getURL(jcaptcha) br / Please type the
 captcha
below:* br / input size=40 type=text name=jcaptcha_response
 /
  br
/ #end
  input type=hidden name=demande value=1 / input
  type=submit
value=Send /form #end
 
 
  Hope this helps
 
 
  Guillaume
 
 
 
  On 06/11/2007, Paul Armstrong  [EMAIL PROTECTED] wrote:
  
   On Mon, Nov 05, 2007 at 03:52:16PM -0800, marlon hendred
 wrote:
Hi, can someone help me with setting up CAPTCHA with the
  albatross
skin for
registration and comments? Is there some example code I
 could
  look
at? Or if
someone has this working could they give some guidence? I
 have
  the
captcha
plugin enabled but I'm kinda stuck on what to do next.
 Thanks in
advance.
  
   Look in the dodo skin files.
   Particularly:
   captcha.vm
   comments.vm
   edit.vm
   wysiwyg.vm
  
   Paul
  
   --
   End dual-measurement, let's finish going metric!
   http://gometric.us/
   http://www.metric.org/
  
   ___
   users mailing list
   users@xwiki.org
   http://lists.xwiki.org/mailman/listinfo/users
  
 
 
 
  --
  http://wikibc.blogspot.com/
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


   
   
   
--
http://wikibc.blogspot.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
   
   
   ___
  
   users mailing list
   users@xwiki.org
   http://lists.xwiki.org/mailman/listinfo/users
  
 
 
 
  --
  http://wikibc.blogspot.com/
  ___
  users mailing 

Re: [xwiki-users] Getting rendered content of a page with a specifictemplate

2007-11-29 Thread Your XEN ICT Team - Ricardo Rodriguez

BOUSQUET Jeremie wrote:


Hello,

 


I can answer myself, sorry for bothering you ... ;)

In fact I merely had to use a iframe and it works perfectly (and 
very nicely).


 


Regards,

Jeremie



Hi Jeremi,

This TimeLine stuff is simply great. I have been lucky that you have had 
this problem and decided to bring it in here! Thanks.


Please, accept my apologies if this question is too basic but, where 
must I use the iframe tag? I am trying to use Jeremi's example. By 
using ?xpage=plain it works without a glitch, but I am not able to use 
the iframe to include it in a another xwiki page.


Thanks for your help,

Ricardo

--
Ricardo Rodríguez
Your XEN ICT Team

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Question about migration

2007-11-29 Thread Kalyan C. Dasika
Hello all,

We've been using an earlier version of xwiki (0.8.503) for a very long
time.

Do you have a migration plan from that version to the latest? Otherwise
I would appreciate if you can suggest the best way to do go about doing
it.

Thanks,

Kalyan C Dasika

Software Engineer,

Goldblatt Systems LLC

5151, E Broadway Blvd., STE 950

Tucson AZ 85711

(520) 382 5988 (Work)

(520) 991 4262 (Mobile)

 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Question about migration

2007-11-29 Thread Vincent Massol
Hi Kalyan,

On Nov 29, 2007, at 11:24 PM, Kalyan C. Dasika wrote:

 Hello all,

 We've been using an earlier version of xwiki (0.8.503) for a very long
 time.

 Do you have a migration plan from that version to the latest?  
 Otherwise
 I would appreciate if you can suggest the best way to do go about  
 doing
 it.

To be honest I have no idea since I've never seen a 0.8 version nor  
was I aware anyone was using such an old version. You must be on the  
first users of XWiki so congrats to you! :)

Here's what we can try:

1) You backup your DB
2) You try to follow the instructions for upgrading from 0.9 to 1.1.2  
as explained on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradinganXWikiv09Installation

WDYT?

Alternatively you could contact XPertNet's support (http://xwiki.com)  
if you don't feel like doing all of this yourself.

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users