Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Editing GroupJive System Messages

8 years 11 months ago #273222 by moozarkgrl
Replied by moozarkgrl on topic Editing GroupJive System Messages
The only information on pages 93-99 pertaining to this is:

"Community Builder labels, tooltips, descriptions, field names and more or less everything you see in frontend or administrative (backend) pages can be customized or translated.
This is accomplished with the use of language stings that are stored in CB Language plugins."

"CB English (en-GB) Language plugin that contains:
1. en-GB.xml (manifest xml file)
2. admin_language.php (backend translation strings in PHP array format)
3. language.php (frontend translation strings)
4. index.html (dummy file to prevent direct folder parsing)
5. cbplugin folder (containing frontend and backend translation files for extra CB plugin addons)"

But armed with this information, I located the GroupJive language.php file (part of lang_cbgroupjiveenglish_270 zip file)

Found the verbage "you were invited" 4 times. Lines 30 & 32.

30-....'Hello [username], you were invited to join [group] in [category]. Click [invite_link] to join this [group_override]!' =&gt; 'Hello [username], you were invited to join [group] in [category]. Click [invite_link] to join this [group_override]!', '[site_name] - [group_override] Invite' =&gt; '[site_name] - [group_override] Invite', 'Hello, you were invited to join [group] in [category]. Click [invite_link] to join this [group_override]!<br />

31-<br />

32-NOTE: This message was automatically generated from [site]. You should register with the address at which you received this invite.' =&gt; 'Hello, you were invited to join [group] in [category]. Click [invite_link] to join this [group_override]!<br />

So my question is which parts can I modify, since I don't know the PHP format? Can I use html code? Can you please assist me?

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 11 months ago #273238 by nant
Replied by nant on topic Editing GroupJive System Messages

moozarkgrl wrote: The only information on pages 93-99 pertaining to this is:

"Community Builder labels, tooltips, descriptions, field names and more or less everything you see in frontend or administrative (backend) pages can be customized or translated.
This is accomplished with the use of language stings that are stored in CB Language plugins."

"CB English (en-GB) Language plugin that contains:
1. en-GB.xml (manifest xml file)
2. admin_language.php (backend translation strings in PHP array format)
3. language.php (frontend translation strings)
4. index.html (dummy file to prevent direct folder parsing)
5. cbplugin folder (containing frontend and backend translation files for extra CB plugin addons)"

But armed with this information, I located the GroupJive language.php file (part of lang_cbgroupjiveenglish_270 zip file)

Found the verbage "you were invited" 4 times. Lines 30 & 32.

30-....'Hello [username], you were invited to join [group] in [category]. Click [invite_link] to join this [group_override]!' =&gt; 'Hello [username], you were invited to join [group] in [category]. Click [invite_link] to join this [group_override]!', '[site_name] - [group_override] Invite' =&gt; '[site_name] - [group_override] Invite', 'Hello, you were invited to join [group] in [category]. Click [invite_link] to join this [group_override]!<br />

31-<br />

32-NOTE: This message was automatically generated from [site]. You should register with the address at which you received this invite.' =&gt; 'Hello, you were invited to join [group] in [category]. Click [invite_link] to join this [group_override]!<br />

So my question is which parts can I modify, since I don't know the PHP format? Can I use html code? Can you please assist me?


If you are using GroupJive 2.7 then you need to use the CB GroupJive english language plugin that is included in the GroupJive 2.7 distribution package and edit it using your text editor to change the strings you want.

If you are using GroupJive 3.0 RC then you need to download the CB English language plugin from here:
forge.joomlapolis.com/attachments/download/3083/plug_language_english_en-GB_2.0.12.1.0.0+88309fb37.zip

and edit any of the groupjive files located in the cbplugin folder.

The specific files for groupjive in this case are:

cbgroupjive-language.php
cbgroupjive-admin_language.php
cbgroupjiveabout-language.php
cbgroupjiveevents-admin_language.php
cbgroupjiveevents-language.php
cbgroupjivefile-language.php
cbgroupjiveforums-language.php
cbgroupjivephoto-language.php
cbgroupjivevideo-language.php
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

8 years 11 months ago #273467 by moozarkgrl
Replied by moozarkgrl on topic Editing GroupJive System Messages
I understand your reply. But that was information I knew.

I thought my question was specific as to the files that should be edited to change verbage for group invitations. Unless you are saying that all 9 php files are involved, rather than just the GroupJive language.php file, lines 30-32 that I located.

I also had asked how I could modify them to use different spacing, etc. Can I use html in a PHP file? (Like I said, I'm not familiar with PHP...)

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 11 months ago #273482 by nant
Replied by nant on topic Editing GroupJive System Messages

moozarkgrl wrote: I understand your reply. But that was information I knew.

I thought my question was specific as to the files that should be edited to change verbage for group invitations. Unless you are saying that all 9 php files are involved, rather than just the GroupJive language.php file, lines 30-32 that I located.

I also had asked how I could modify them to use different spacing, etc. Can I use html in a PHP file? (Like I said, I'm not familiar with PHP...)


The invite language strings are located in the cbgroupjive-language.php

Just open your english language plugin cbgroupjive-language.php file with your text editor and find the relevant lines and change them as you wish.

Just change the right part of the line.

E.g.:

'language_key' => 'Translation goes here',

you would want to change the text Translation goes here
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum