Pligg Support

I have worked on some changes to Pligg files to better accommodate the switch of languages, in this case the Arabic language. It is done in a way that will make any change/addition to the files very easy to carry on in case of an update to Pligg (assuming that Pligg developers did not have time to implement the modifications and the recommendations I submitted.)

The attached zipped files are as follows:

1- A JPEG image to show the before and after the modification.
2- Simple Messaging lang_arabic.conf to be saved in "\modules\simple_messaging"
3- An HTML file of the "\languages\lang_english.conf" (showing the modifications to the translation, as well as the new Constants added to accommodate the changes.)
4- An HTML file of the "\languages\lang_arabic.conf" (showing the modifications to the translation, as well as the new Constants added to accommodate the changes.)
5- An HTML file "Language Config - Usage in Files.html" It is a complete mapping of all the "lang_english.conf" Constants, showing in what pligg files they are used and the Line number.
6- pligg-fixes.html, the step by step process of modifications

Note that some of the steps are applicable to all languages, therefore I encourage everybody to read the "pligg-fixes.html" file.

Possible Answers

    Thanks for the solution and the steps (y)

    | Posted 485 days ago | Permalink | Hide Replies

    Here are the snapshots showing the proper RTL for text and buttons. If you have checked my second post I sent you this morning and applied it you would get the desired results. However, the fixes are not for all the site. you have to fix what you want based on the concept I provided and add the css rules in the style_arabic.css so that you keep the original css intact and no need to change back anything.

    | Posted 564 days ago | Permalink | Hide Replies

    oops! its my mistake I create style_arabic.css into

    templatesbootstrap : P

    there is many issue with RTL text look Great but button and headr is still not RTL


    | Posted 565 days ago | Permalink | Hide Replies

    Could you provide a link to your site so that I take a look and see what is not right? I will post a snapshot of my site (development) tomorrow and it looks all RTL properly.

    | Posted 565 days ago | Permalink | Hide Replies

    I'm on localhost

    I will waiting for you I think you do Great job!

    lets see

    | Posted 564 days ago | Permalink | Hide Replies

    Hello there,

    Thanks for this big Job, I do it correctly but after that white page appear !

    could you please provide the all file ?

    Thanks in advance

    | Posted 565 days ago | Permalink | Hide Replies

    White page where and what is the page? Please also provide the Pligg version you are using.

    I did not include any new or modified files except the lang_arabic.conf.

    The steps are in the attachment in "pligg-fixes.html". Unzip the attached folder and follow the steps and make sure not to override anything.

    When you open the pligg-fixes.html the first thing you will see is:


    | Posted 565 days ago | Permalink | Hide Replies

Who Upvoted this Story's Support area is where you can ask questions and get answers. Just getting started with the Support area? This section describes tips for participating.

Submitting a Question or Comment

By taking a minute to research previous posts you may receive an answer much faster than waiting for a response to a new question. Begin by searching the support section for an answer. Sometimes you may even want to extend your search to the entire domain.

If you are unable to find a relevant answer, submit a new question or comment here. Please provide a detailed description and, when necessary, debugging information such as your server environment (a link to a <?php phypinfo(); ?> .php page would be very helpful), your web browser, and any steps necessary to reproduce your issue.

Submitting an Answer

If you have an answer or useful response that you would like to add to a post, you can submit it as a comment which other users will then vote on. Answers are sorted by most popular to least, allowing the best information to climb to the top of the page.

Please read and vote for existing answers before submitting your own, as there may already be an acceptable answer provided. You can use the "Reply" link found within an answer to submit a response to it, in case you want to expand or comment on someone else's contribution.

Including Files or Code

Sometimes it is necessary for you to attach a file or include a snippet of code for others to reference in your response. In most cases, you can .zip up files and attach them to a question or answer using Pligg's file manager. At times though this may fail, and in these circumstances we recommend using a third party host. Below we are including a list of recommended websites where you can share easily share file uploads (or snippets of code) through the web.