youngmon/atlassian-qna huggingface dataset:
Any known issues with any web browsers and latest version on confluence 3.5.x
Asked by Jaime Romaguera:

Hi,

We are looking at upgrading to Confluence 3.5x

Someone was telling me there was issues with IE or another web browser (chrome or Firefox) and the latest version of confluence.

Can someone tell me this is true?

Thanks

Jaime


Answers:
author: Martin Cooper
body: IE 9 is not officially supported - but works

Chrome and Firefox work fine

There are issues with embedded media files, from my experience IE 9 ( the unsupported verison) is the only browser that will play wmv video files, using the media macro. The supported browsers don't ( confirmed by Atlassian support). This on 3.5.7 and 4.0

I have seen other comments about flaky performance with other media files in other browsers, but thats the only area I have heard of issues.

I use all three main (windows) browsers on a daily basis and have not had any issues, other than that mentioned. (Doesn't mean there are'nt any and the broswers are updating very aggressivley so things may change)


author: Kevin Buchs
body: I disagree that Chrome works fine. It works *well-enough* that I use it exclusively, but there are some things that don't work. It isn't officially supported, but we are hoping that is added to Confluence V4.

comments: author: Martin Cooper
body: Chrome Support is officialy added at Version 4.0. I use it as my main browser for 3.5.7 and 4 and have not had any major issues. ( I find as many things don't work in other browsers so the point becomes moot, or at least swings and roundabouts, and nothing stops me working.)
Once a page is created with the "builder - Create Child" macro how can I edit the name w/o creating a new page.
Asked by JoAnna Hunt:

I am trying to combine the {Create-Child} macro with a series of templates (that use scaffolding) to build a group of pages from a single start point. The actual create action works beautifully but if you need to edit the name of the child page that was created it actually creates a NEW child with the new name, it doesn't edit the existing child page.

I found some information on an old forum (<http://forums.atlassian.com/thread.jspa?threadID=35715>) about how to allow for the PARENT page to be editied but this doesn't seem to work for the child pages.

Any assistance would be most welcome.

Thanks!


Answers:
author: cvanhasselto
body: I'm doing something similar to this. I don't quite follow what you mean, when you say you need to edit the name of the child page. I haven't tried that in what I am doing. I use the {create-child} macro, nested in another macro that takes parameters. The {create-child} macro is nested in a {run-now} macro. This "silently" creates the scaffolded page without actually visiting the page. Then, I can go in later and update the scaffolded page.

```
   {run-now}      {create-child:$paramlname, $paramfname|parent=$init|template=TAInformation}   {run-now}
```


Tags: child-page

template
Can VM files contain if/then logic, look up currently logged in users?
Asked by MICHAEL O'Neill:

Richard Yale answered a previous question about turning off the ability for a user to change his/her own password by recommending I edit the `<confluence_home>\confluence\users\changemypassword.vm` file as [described here](http://confluence.atlassian.com/display/DOC/Disabling+Password+management+from+User) to achieve my goal.

Since I'm new to velocity, I was wondering if anyone can tell me if by using vm files, it is possible to conditionally show/hide the ability to reset your password based on the currently logged in user.

```

For example, can I do something like the following: 

If LoggedInUser is     Fred  Then     Don't let him change password.  Else     Let him change password.EndIf.
```

Any idea if this type of logic is possible in the vm files. (It's all new to me...)


Answers:
author: Richard Yale
body: Of course. As you can see from the example you use # infront of the if, else, elseif and close them with #end

This is what you would put in that section it says to replace. This may or may not work correctly as it is not tested.
> #set($username = $req.userPrincipal.name)
>
> #if($username == "Fred")
>
> \<h2\>$action.getText("change.password")\</h2\>  
> \<fieldset\>  
> #assistiveLegend("accessibility.profile.password")  
> #bodytag( "Password" "label='cur.pass.name'" "name='currentPassword'" "theme='aui'")  
> #param("required" "$action.getText('required.field')")  
> #end  
> #bodytag( "Password" "label='new.pass.name'" "name='newPassword'" "theme='aui'")  
> #param("required" "$action.getText('required.field')")  
> #end  
> #bodytag( "Password" "label='new.pass.confirm.name'" "name='newPasswordConfirmation'" "theme='aui'")  
> #param("required" "$action.getText('required.field')")  
> #end  
> \</fieldset\>  
>
> #else
>
> \<h1\>Dear User,\</h1\>\<br\>  
> \<p\>\<font size="3" color="red"\>You cannot change your password, this is disabled.\<br\>  
> Please continue to use your actual password\<br\>  
> If you have any complains contact the Admin.\<br\>  
> Regards your Admin.\<br\>\</font\>\</p\>
>
> #end  

comments: author: MICHAEL O'Neill
body: I owe you a beer. Thanks!


author: Sergey Markovich
body: You might be interested in reviewing introductory Velocity user guide here: <http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html>

Conditionals are described here: <http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html#conditionals>

comments: author: MICHAEL O'Neill
body: Thanks Sergey!

I stumbled on this shortly after my foray into implementing this fix. Good resource there. It seems like a very powerful framework.

-Michael


Tags: password

template

velocity
Can I prevent an account from changing its email or password?
Asked by MICHAEL O'Neill:

Is it possible to turn off change password, email and other profile informatifunctionality for an account or accounts?


Answers:
author: Richard Yale
body: Try this <http://confluence.atlassian.com/display/DOC/Disabling+Password+management+from+User>

and this

<http://confluence.atlassian.com/display/DOC/Disabling+Profile+Edit+from+User>

comments: author: MICHAEL O'Neill
body: Thanks Richard! That looks like it's the way I'm going to want to go. FYI: I've posted [a followup question](/questions/4366/can-vm-files-contain-if-then-logic-look-up-currently-logged-in-users) based on the direction this sent me in.


author: Jeremy Largman
body: Check out [Disabling the Built-In User Management](http://confluence.atlassian.com/x/9R0C). I think that might have what you're looking for.

comments: author: MICHAEL O'Neill
body: Hi Jeremy!

Thanks, but it looks like that feature is buggy and [may be getting removed](https://jira.atlassian.com/browse/CONF-16709).


Tags: password

profile
Refering to a extern database
Asked by David Soldan:

Hey everyone,

i wanted to ask if there is a way i , to refer in a page to a data on a different database with a link?? or is there any patch or tool for this??

i know that u can link data from ur pc or network to a page! but how do i refer to a database where for example constructionplans are ???

greetings david


Answers:
author: David Soldan
body: Thanks for your answer!

But i meant something else.

For example: the company i work for got different Sql Databases. The question now is if it is possible to get Information/Files from this databases with some sort of tool/plugin, to show them on some pages so you don't have to update every attachment (manuals(for products which are paged in the wiki), processes etc.). I know now that there is a SQL- Plugin for Confluence, but i have to get into it .

Greetings David


author: Jim Birch
body: Your question is a little vague but if you are talking about displaying html information from a different webserver you could create a User Macro to do this. The macro below would display a page on the company product database using page macro like
> {showproduct:1049}

To create the macro, go to Admin \| User Macros \| create a new Macro

Name: (eg) showproduct

Title: Display product page page

No Macro Body

Output HTML

Template:
> \<iframe src="http://products.company.com.au/page.php?id=$param0" border="1" width="90%" height="400px"\>  
> \<p\>Unable to display external content - iframe tag is not supported by this browser\</p\>  
> \</iframe\>  
> \<div class="description"\>Open this external \<a href="http://products.company.com.au/page.php?id=$param0" target="_blank"\>product page\</a\>.\</div\>

You can vary this to suit your needs. Allowing any arbitrary web address could be a security risk so it is better to only allow the macro user to specify the page id not the full url.
Is there a possibilty to insert attachments on WIKI pages (e.g. pdf documents) without producing infomails to page watchers?
Asked by David Gyurasz:

If not, can you please offer a workaround to solve the problem?


Answers:
author: TomC
body: HI David,

A workaround I've used is especially helpful if you have a whole slew of attachments to add and want to avoid generating an email for each one. Just temporarily View-restrict the specific page you are attaching files to, to just yourself ((Tools\>Restrict\>Me) while you are doing the attaching.   

When done, you just have to remember to remove the restriction by following the same path and clicking the Remove restriction button next to your name.


author: JohnA
body: Hi David,

I'm sorry to say that there isn't a workaround that I am aware of for this issue, aside from disabling the sending of notifications to users, which can be useful when you need to make a large number of changes but isn't much good for stopping notifications in everyday use. There is currently an open feature request to ask that we implement a function to stop the sending of notifications for adding attachments, so at this stage I can only suggest that you watch/vote/comment on the ticket to encourage our developers to prioritise its implementation: <https://jira.atlassian.com/browse/CONF-7612>

All the best,  
John


Tags: attachment

email
Is there a dynamic table plugin for confluence?
Asked by Jens Gombert:

Hi,

i am looking for a dynamic table plugin in confluence. I need a table to get some informations about childpages on a page which gets its informations dynamically. for example author, last activity and a short text from the child page. I don't have any idea how to do this. Is there a metadata plugin or somethink like that?

Thanks for the help!


Answers:
author: Kevin Buchs
body: You want the reporting plug-in, probably in combination with the scaffolding plug-in. It can get metadata and the other items you listed.

* **Main Page Example:**

{table-plus}   
{report-table}

{content-reporter:spaces=@self\|types=+page\|scope=@self \> children}  
{text-sort:content:title}  
{content-reporter}

{report-column:title=Title}{report-info:page:title\|link=true}{report-column}   
{report-column:title=Person Last Changing}{report-info:page:modifier}{report-column}   
{report-column:title=Last Changed Date}{report-info:page:modification date}{report-column}   
{report-column:title=Little Bit Of Text}{report-info:data:Text}{report-column}  
{report-column:title=Actions}{report-link:content:url\|postfix=?\\\&redirect\\=false}View{report-link} {link-to:page edit}Edit{link-to}{report-column}

{report-table}  
{table-plus}

* On each child page, use scaffolding macro with something like this:

\*Text:\* {text-data:Text}{text-data}

<br />

If you wish to have all descendants of a page, instead of just first generation children, change from "children" in the content-reporter to "descendents". You could also use {excerpt} on the child pages instead of the scaffolding.

comments: author: Norbert Krupa
body: This was very helpful.
Why does text become BOLD when inserting an image to the HEADER and exporting to PDF
Asked by Esteban Villate:

Please I need help with this. Everything works fine unless I add an image to the header or the footer of my space. When I do this and I generate a PDF all the text is in bold. If there are no images in the header or the footer, everything works fine and the text is normal.

Any ideas ? Is this a bug or something ?

Many thanks in advance


Answers:
author: Michael S
body: It may be a bug. What version of Confluence/PDF export are you running?

It's probably worth creating a support case at <http://support.atlassian.com> - we may not be able to fix the problem but we can at least try to replicate it and verify if it's a bug or not.

Cheers,  
Michael


author: Esteban Villate
body: Thank you for your answer.

I don't know if it's a bug or not, but as soon as I insert a .PNG image, all the text looks in Bold. I tried everything and nothing worked. I finally changed the PNG's for JPG's all the problem is solved !

Why does this happen ? No idea, but my text is OK now.

Regards,

Esteban


Tags: pdf

text
Is it possible to allow anonymous contributions to Confluence without sacrificing access control?
Asked by Robin Fernandes:

I would like to enable users to make contributions to a Confluence instance without their name being associated with those contributions in the edit history etc... I have seen the doc on [anonymous access](http://confluence.atlassian.com/display/DOC/Setting+up+Anonymous+Access "anonymous access"). This seems to be a kind of "guest" access, by which users are no longer required to log in to contribute - this isn't quite what I'm after.

Is it possible to allow anonymous contributions without sacrificing access control?


Answers:
author: Nic Brough -Adaptavist-
body: No. here's a very black-and-white fact here - either you need no control (allow anonymous access, and for heaven's sake, do not allow access to Confluence outside your organisation), or you do need control. If you do need control, then you **have** to know who the users are, which means some form of login. There's no in-between I can work out.

There are work-arounds - have an account called "the user with no name" and give the password to people who need it. Or customise the code to hide the display of certain (or all) names. But there's no getting away from the fact that you need to know someone's identity if you need to control users.

comments: author: Robin Fernandes
body: Makes sense. I was thinking, for example, of a case in which you want to collect anonymous feedback on a page, or an anonymous poll, etc...? In those cases, you might want to be confident that the user is authenticated, but not want be able to easily associate them with their contributions within a specific page / space. Thanks for the workaround ideas.
Wiki visibility
Asked by Dimitrios Traskas:

Hi

we have a license for 10 users only as we are a very small team however we are part of a bigger company. We don't need to have more than 10 users for the time being but our colleagues from our other offices heard about our wiki and would like to just have a look. They dont need to create spaces, blog posts or anything just have a look around. Is it possible to create such users that are really guests?


Answers:
author: Renjith Pillai
body: Why do they want to login to Confluence? Just give anonymous read permission and everyone can see the contents.

comments: author: Dimitrios Traskas
body: The rest of the company is using a different wiki engine so they would just like to have a look at ours.

Are you talking about creating a user with read permissions only?

Cheers


author: Dimitrios Traskas
body: The rest of the company is using a different wiki engine so they would just like to have a look at ours.

Are you talking about creating a user with read permissions only?

Cheers
Installing Confluence with Xampp MySql-Database
Asked by David Soldan:

Hey everyone,

I wanted to ask, if it is possible to connect the mySql database of xampp with confluence at the setup. If yes what path or what source do i have to state?

This might be a silly question but im not in to mySql/ im starting to work on it.

greetings David


Answers:
author: Dennis Kromhout van der Meer
body: Hey David,

This is definitely possible as XAMPP is just a bundle of Apache (+PHP) MySQL and other tools. If my memory is correct, you have a root and a non-root account for XAMPP MySQL. Create a new database with the root user and be sure that the non-root user has the necesarry rights to interact with the new database. From thereon out, follow the instructions from the documentation on setting up Confluence: [Database setup for MySQL](http://confluence.atlassian.com/display/DOC/Database+Setup+For+MySQL).

Good luck!
Why is the viewpdf macro not displaying pdfs?
Asked by Sue Hallwood:

When viewing pages with viewpdf macro on them the pdf is not converting. My client says the viewpdf macro was working a week ago but has stopped. I have installed the newest version but that did not fix the problem. Can I get some help with this?


Answers:
author: Sue Hallwood
body: The PDF contains a form to fill out. I did some research and the viewpdf macro in Confluence 3.2.1. has issues with complicated PDFs that contain forms or tables. I uploaded a simple PDF and it viewed correctly. The issue is resolved in later versions of Confluence. We are in the process of ugrading our clients systems so the issue with the PDF will be resolved.


author: Jim Birch
body: Check if the PDF has changed. Try a different PDF. The viewer won't display all pdfs made by all authoring tools. If you are able to recreate or edit and resave the pdf it might fix your problem but this isn't always possible.

comments: author: Sue Hallwood
body: The PDF contains a form to fill out. I did some research and the viewpdf macro has issues with complicated PDFs containing forms or tables in Confluence 3.2.1. I uploaded a simple PDF and it viewed correctly. The issue is resolved in later versions of Confluence. We are in the process of ugrading our clients systems so the issue with the PDF will be resolved.


author: Sue Hallwood
body: The PDF contains a form to fill out. I did some research and the viewpdf macro in Confluence 3.2.1. has issues with complicated PDFs that contain forms or tables. I uploaded a simple PDF and it viewed correctly. The issue is resolved in later versions of Confluence. We are in the process of ugrading our clients systems so the issue with the PDF will be resolved.


author: Renjith Pillai
body: Are you able to get any exceptions in the logs? And is the pdf file too big (more than 10-15 MB)?
Custom column names when using the jiraissues notation?
Asked by Michael Cruz:

Is it possible to rename any column that you explicitly pull in from the jiraissues widget? I am trying to display "timeoriginalestimate" as one of my columns but I would like to display it as "Original Estimate" or some other friendly name. Is this possible?


Answers:
author: Rodrigo Girardi Adami
body: Hi!

I could find another answer that may help you: [https://answers.atlassian.com/questions/58779/how-to-modify-the-columns-in-the-jira-issues-macro](/questions/58779/how-to-modify-the-columns-in-the-jira-issues-macro)

I hope this helps!

Regards,

Rodrigo
The {style} macro doesn't seem to work
Asked by Richard Crane:

This is my test page

{style}  
ppp{  
text-align: center;  
color:#FF0000;  
font-size-adjust: 2;  
}  
{style}  

<br />

\* this doesn't work:  
{span:style=ppp} Hello world{span}   

<br />

\* this (sort of -- text-align property doesn't) works :   

<br />

<br />

{span:style=color:#FFF000; font-size-adjust:2; font-family:serif; text-align:center } Hello distinguished citizens of the world {span}

Can anyone explain why the style macro isn't working?  


Answers:
author: David at David Simpson Apps
body: Likely you need to do this instead:

```
{style}
.ppp { /* the dot/period denotes a class selector */
  text-align: center;
  color:#FF0000;
  font-size-adjust: 2;
}
{style}
```

```
{span:class=ppp} Hello world{span} 
```

comments: author: David Peterson
body: Yep, that should do it - not the 'class' parameter for {span} also, very important! :)


author: Richard Crane
body: Sorry, but I don't understand this comment -- would you clarify?


author: Phillip Ponzer [Cprime]
body: Is it possible to do this in Confluence 4.0 still? I am not able to currently.


author: David Peterson
body: That will depend on if Adaptavist has released their update for the Complex Formatting Plugin. Check with them is my suggestion.


author: Richard Crane
body: Your changes worked -- I was following an example (that I can no longer find).


Tags: font

format
space view permissions
Asked by STEAKNSHAKE STS:

Is there a way to allow users to attach files to a space, but not view them? I only want the admin to have permissions to view the attachments.


Answers:
author: Renjith Pillai
body: A very dirty workaround:

You can create a mailbox and configure that mailbox in Confluence and request all users to send all their attachments as email-attachments to that mailbox.

And give permission only for those to access the space.

And I am wondering myself, why then a Confluence space is needed? May it is better to store things in Wiki, even if it comes from mail, so that anytime it can be opened up for everyone to use.


author: STEAKNSHAKE STS
body: sensible as it may seem, some organizations have a need to allow multiple users accross multiple departments to upload data which only management should be able to view and download. is their another way to do this with confluence?

comments: author: Nic Brough -Adaptavist-
body: But the original uploader still has the original attachment, and where I've seen this implemented, they immediately stop sharing it because they can't see it any more. It's human nature. And organisations that think they have a need for this are causing themselves problems.

I'm not aware of anything that would let you do this at all. Oddly enough though, Jira does it - it's possible to rig it so that someone can create an issue (with attachment!) and never be able to see it again (and then spend a lot of time whinging at the admins/helpdesk because they can't!)


author: STEAKNSHAKE STS
body: we are not worried about the original uploader viewing their own attachment. we just don't want them viewing anybody else's.


author: Nic Brough -Adaptavist-
body: No - you can't attach things to pages you can't see.

That's quite sensible though - users get **really** annoyed when you do things like that to them - they uploaded it, why on earth can't they see what they uploaded? You'll rapidly find them refusing to upload stuff and keeping local copies and then telling you that they aren't using confluence because they can't see the results.
How to use the default Rich Text Editor in my own plugin page textarea?
Asked by diego diego:

Hi,

how I can add/apply default rich text editor, witch is used for editing confluence pages, to my own plugin page textarea?

Thanks


Answers:
author: LuizA
body: Hello Diego,

Based on your description it seems that this is a kind of limitation of the plugin itself, so I think this unfortunately natively would not be possible, maybe by some customization. So in case you want to try some customization then you can obtain more assistance with our Atlassian Experts, please see how to contact them by the following link:

<http://www.atlassian.com/resources/experts>

Hope this helps.

Kind Regards,

LJ.


Tags: app

editor

rich-text