The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 93 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: Fri Sep 16, 2011 10:40 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
This is the discussion thread for the Forum Post Assistant / FPA.
Please post any discussion and/or any issues you have about the FPA in this topic.

Note: Please remove the script from your website or otherwise change the name once the script has generated the Site Data and the message has been prepared and posted to the forum. This is so outsiders can't take a look at how your site is structured and possibly utilize any flaws that may be present.

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Last edited by PhilD on Wed Mar 06, 2013 3:52 pm, edited 2 times in total.
This thread should remain in the 2.5 Security Forum - Thanks!


Top
 Profile  
 
PostPosted: Sat Sep 17, 2011 12:36 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Mon Mar 20, 2006 1:56 am
Posts: 12414
Location: The Girly Side of Joomla in Sussex
the 1.5/6 version instructions are here viewtopic.php?f=432&t=586336
the 1.7 version is here viewtopic.php?f=621&t=582860&p=2371873#p2371873

NOTE the 1.7 version while operational is much more advanced in the back end than 1.5 and is still undergoing fine tuning.

_________________
HU2HY- Poor questions = Poor answer
Un requested Help PM's will be added to the foe list and possibly just deleted
{Community.Connect Administrator }{ Showcase & Security Moderator}


Top
 Profile  
 
PostPosted: Mon Oct 10, 2011 2:17 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 19, 2007 5:30 am
Posts: 46
Location: Kuopio, Finland
Ok, so how do I translate it? Do I copy the fpa-en.php to fpa-fi.php and translate the keys directly there or do I form some sort of ini-languagefile for it?

_________________
Tero Kankaanperä
http://terokankaanpera.fi


Top
 Profile  
 
PostPosted: Mon Oct 10, 2011 2:37 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Fri Aug 19, 2005 10:46 am
Posts: 5729
Location: Roma
Quote:
Do I copy the fpa-en.php to fpa-fi.php and translate the keys directly there

i think so at this stage

_________________
Nicola Galgano
i know that i don't know
www.alikonweb.it


Top
 Profile  
 
PostPosted: Mon Oct 10, 2011 11:30 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
If you want to wait a little while for an answer back before doing anything, I have asked RussW to explain how he has intended the language translations to be handled. I know he did design for translations.

Either Russ or I will post the answer here.

Russ will also create the proper directory for you in the repository, or I can do it if necessary.

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Tue Oct 11, 2011 5:37 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 19, 2007 5:30 am
Posts: 46
Location: Kuopio, Finland
Thanks, alikon and PhilD, I've tried translating it straight to the fpa-en.php. I ended up translating only the part that opens when you click "Show the Forum Post Assistant". We're discussing using the FPA on a Finnish Joomla forum currently under migration. Since many users don't understand what FPA tells them regardless if its in Finnish or English it's efficient to translate only that part. Also, if it was all translated that could mean FPA generated posts in Finnish to international English forums. :) Of course the documentation needs to be translated also.

_________________
Tero Kankaanperä
http://terokankaanpera.fi


Top
 Profile  
 
PostPosted: Tue Oct 11, 2011 12:42 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
@Tero Kankaanperä
If you want the docs in odt format (Open Office) for translation they are here
https://github.com/ForumPostAssistant/F ... umentation

That's easier than trying to redo a pdf and is why I put the odt document there. Especially since it is easy to export to pdf from OO Writer when done.

Questions, trouble, or you would rather I handle the GIT transactions for you, let me know by PM.

Translating FPA into other languages for use in non English forums is one of the goals of the project as the FPA is very useful for postings other than security posts.

I'm still waiting to hear back from Russ and should have more info when I do.

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Thu Oct 13, 2011 5:44 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 19, 2007 5:30 am
Posts: 46
Location: Kuopio, Finland
A few notes from the translation and testing:

1. The documentation file suggests a structure of independent language files for translation.

2. Not everything is translatable (hard coded) and as usual the Finnish language gives us a bit of trouble. Can't remember exactly where, but the general problem is that the same tag is used in two places where it works for English but where you'd need to use a different declension (/inflection/conjugation) or even a word in Finnish because of the context. Also the extremly short form of the labels takes the translation beyond my translation skills.

3. Tried my translation on a forum and noted that the BB-codes for size-attributes end tag and the quote-tag in the problem description (at least) are crossed so they don't work. Size should be closed before quote is.

_________________
Tero Kankaanperä
http://terokankaanpera.fi


Top
 Profile  
 
PostPosted: Thu Oct 13, 2011 9:20 pm 
Joomla! Master
Joomla! Master

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 17450
Location: Akershus, Norway
When will the link under forum rules be updated? The one in the J1.7 forums points to a none working version for J1.7


Top
 Profile  
 
PostPosted: Thu Oct 13, 2011 9:58 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
@Per Yngve Berg
I have requested a general mod make the change to the proper page as I don't have that power. Thanks for pointing that out.

@Tero Kankaanperä

Quote:
1. The documentation file suggests a structure of independent language files for translation.
I handled the majority of docs and the language structure is still somewhat preliminary.

I have not yet heard back from RussW about the intended language translation structure, but I have placed your notes (numbers 2 and 3) in the issues tracker for FPA. Can you give me the tag name(s) that is/are giving trouble so I can include it in the issue?

Again, thanks for attempting to work on the language translation. Maybe Finnish is a good first language to translate. :)

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Fri Oct 14, 2011 12:49 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
@Per Yngve Berg
The link under the forum rules now points to the new FPA page.

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Sun Oct 16, 2011 5:36 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
Swapped the [/quote][/size] tags around so they are [/size][/quote] order in lines
3250, 3252,3254,3255,3257. This should be the correct closing order for tags in those lines. Other lines that contained [/quote] appear to be closed correctly.

Updated version can be downloaded by following links in the FPA page
viewtopic.php?f=621&t=582860

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Sun Oct 23, 2011 5:06 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
Here are a few updates.

Language:

The intent of the project is to provide a single script that can be uploaded to a users Joomla installation or domain (will work without Joomla to give server environment info) in order to provide the simplest install possible for non technical users who may have limited experience uploading and installing files.

This was why it was decided at this time to not have a separate language file.

Most (but maybe not all) of the language strings have been defined at the top of the file for the purpose to make it easier to convert the FPA script into different languages.

The drawback of this method for the translators/maintainers is any new versions of FPA will need to have the translated strings copied over from the older version, possibly some new strings translated. So while this method makes it more of a pain for us to maintain, it makes it easier for end users to install.

The other option that was considered, is to provide separate language files. This makes it more complicated for a user to install as they would need to also upload an additional language file. This makes it much easier for the translators/maintainers, but can make it harder for inexperienced persons as they now need to upload 2 files (at least for translations).

Along these lines a recent suggestion was made to use the method similar to what Nicholas Dionysopouloses uses on Akeeba Kickstart. There is a default English language within the file in case no external language files can be found and separate language ini files (including English) for the translations. The file (kickstart.php) attempts to look at the browser and load the language file that matches the browser language if possible/available.

Other Suggestions:
A suggestion was made to investigate the possibility of using something other than quote tags in generated output as it seems quote tags break in some cases (If I understand correctly) when using other forums.

Quote:
.....for Kunena, the choice to use quote for the forum formating is producing "wrote" to some places on the rendered code on forums. There should be a better way to do this.


I don't know at this point if this would be a specific issue, bug in the Kunena forum software or if there is another way of handling this. If anyone has suggestions let's hear them.

There is now a Finnish Translation available for download
Direct download links:

https://github.com/ForumPostAssistant/FPA/tarball/fi-FI
or
https://github.com/ForumPostAssistant/FPA/zipball/fi-FI

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Sun Nov 06, 2011 4:37 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
Translations for the FPA are being handled at: https://www.transifex.net/projects/p/fpa/
Those persons interested in translating the FPA to another language should work through the FPA project on transifex.

Thanks to elkuku for setting up the project on transifex and for making this possible.

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Fri Nov 25, 2011 7:02 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 19, 2007 5:30 am
Posts: 46
Location: Kuopio, Finland
I've translated FPA again in Transifex. Where and when do I get the resulting translated FPA?

BTW: Have you noticed the Kunenas new "confidential" BB-tag?

_________________
Tero Kankaanperä
http://terokankaanpera.fi


Top
 Profile  
 
PostPosted: Fri Nov 25, 2011 10:42 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
The multilanguage version of FPA is a rewrite of some code and currently a work in progress so there is no official download from GitHub yet.

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Mon Mar 12, 2012 12:07 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Thu Nov 04, 2010 8:09 am
Posts: 466
The documentation mentions older versions but can I run the FPA on
J2.5
PHP5?
(apologies if I missed it in the docs)


Top
 Profile  
 
PostPosted: Mon Mar 12, 2012 2:26 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
Compatibility:
PHP 4.1, PHP4, 5, 6DEV
MySQL 3.2 - 5.5
MySQLi from 4.1 ( @ >=PHP 4.4.9)

It will also work fine on Joomla 2.5.xx

I'll make a change on the forum pages to reflect the J2.5

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 8:18 am 
Joomla! Explorer
Joomla! Explorer

Joined: Thu Nov 04, 2010 8:09 am
Posts: 466
Phil,

Thanks for that. Could you also give a rough idea of the maximum runtime in the documentation? I left it for about half an hour but it did not say it had completed (see attached). Not sure whether I should have left it for longer.

Regards

Geoff


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 1:20 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
That is the normal look and it has completed the scan. If it had failed you probably would have gotten something like this:
Quote:
Forum Post Assistant
Generating Post Output...
v1.2.0-Beta (playGround-en-GB)


If you wish to post the results then click on "Show the Forum Post Assistant" to open the forum assistant. Once opened, fill in any Optional Information desired and Check any desired Run Time Options asked for or desired such as "Show elevated folder permissions"
Click the "Click here to generate post" button and a textbox will appear with the generated BBCode. Place your cursor within the text box, then Ctrl-A to select all code within the text box and then do a Ctrl-C copy the selection. Then all you have to do is do a Ctrl-V to paste the copied info into a forum posting. All the info is formatted for you so you do not have to worry about any formatting codes.

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 1:28 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Mon Sep 07, 2009 3:18 am
Posts: 1869
in viewtopic.php?f=621&t=582860 download link is just for en-GB. Can we know link for other languages?
thanks.

_________________
coffee & smoke just fine

OOm Nezar


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 7:37 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 11:42 am
Posts: 9
Hi

Can anyone tell me why i am stuck on

Forum Post Assistant

Hang on in there while we run some tests...

Thanks


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 10:22 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
@OOmNezar

There is a multilanguage (thank you elkuku) version being worked on that is similar to the fpa-en.php script. I would consider the script alpha or pre-alpha at this point. It works well enough that it can be used and give results, but there are still some errors in the code as the code has been partially rewritten to accommodate selections of different languages and to work properly with the build scripts. The errors and extra code should not create any real concern.

The branch is not currently setup for download without getting a bunch of other stuff such as the build scripts. I could rearrange the github repository some to make the script and the docs available (similar to what you get when you download the fpa-en script)

The languages it currently covers (at least partially) are:
en-GB, be-BY, de-DE, es-ES, fi-FI, hu-HU, id-ID, it-IT, pl-PL, pt-BR
The desired language is selected at the top by clicking on the language title which will change the displayed output to that language. Otherwise it is very similar in operation to the fpa-en script

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 10:35 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
@revjono

This is the normal look for the top of the page:
Quote:
Forum Post Assistant
Hang on in there while we run some tests...
v1.2.0-Beta (playGround-en-GB)


If the script did not run for some reason you will probably see what I posted earlier:

PhilD wrote:
If it (the script) had failed to run you probably would have gotten something like this and no output on the page:
Quote:
Forum Post Assistant
Generating Post Output...
v1.2.0-Beta (playGround-en-GB)

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 10:41 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 11:42 am
Posts: 9
Hi @PhilD

Thanks for getting back to me.

I have had this on my screen for the last 3 hours and nothing changed.

Forum Post Assistant
Hang on in there while we run some tests...
v1.2.0-Beta (playGround-en-GB)


Top
 Profile  
 
PostPosted: Thu Mar 15, 2012 10:57 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 11:42 am
Posts: 9
Any help on this !!!


Top
 Profile  
 
PostPosted: Fri Mar 16, 2012 12:46 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Mon Mar 20, 2006 1:56 am
Posts: 12414
Location: The Girly Side of Joomla in Sussex
let me try and explain,
1. the message "Hang on in there while we run some tests..." will not change after the tests are completed. seeing the results mean the test is completed.
2. click the bit marked "Show the Forum Post Assistant" and it will expand
3. follow the instructions "Click the Generate post button to build the post content"
4. copy the output field and paste into a post
Attachment:
FireShot Screen Capture #368 - 'Forum Post Assistant _ v1_2_0 (Beta _ en-GB)' - file____C__Users_User_AppData_Local_Temp_7zO9DCD_tmp_fpa-en_php_htm.jpg


You do not have the required permissions to view the files attached to this post.

_________________
HU2HY- Poor questions = Poor answer
Un requested Help PM's will be added to the foe list and possibly just deleted
{Community.Connect Administrator }{ Showcase & Security Moderator}


Top
 Profile  
 
PostPosted: Fri Mar 16, 2012 7:49 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 11:42 am
Posts: 9
Thanks for getting back but can not see the bit marked "Show the Forum Post Assistant" and it will expand

Image

Is all I see!!


Top
 Profile  
 
PostPosted: Fri Mar 16, 2012 12:22 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 2726
Location: Wisconsin USA
Turn on the scripts diagnostic mode.
Download and Open the fpa-en.php script in a text editor and at about line 18 find this line:
Code:
//define ( '_FPA_DIAG', TRUE );     // diagnostic-mode, turns on PHP logging errors, display errors and logs error to a file.

change the line to:
Code:
define ( '_FPA_DIAG', TRUE );     // diagnostic-mode, turns on PHP logging errors, display errors and logs error to a file.

Then save the file and upload it back.
Run the script again and tell us what the results are, or post a screenshot.

_________________
PhilD -- Unrequested PM's and/or emails may not get a response.
Security Moderator


Top
 Profile  
 
PostPosted: Sat Mar 17, 2012 6:30 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 11:42 am
Posts: 9
Hi

I change the line to above still not working!!

Jono


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 93 posts ]  Go to page 1, 2, 3, 4  Next



Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group