Closed (outdated)
Project:
Buddylist
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2007 at 01:59 UTC
Updated:
20 Feb 2019 at 16:29 UTC
Jump to comment: Most recent
Comments
Comment #1
vm commentedinvestigate the path.module to change the path from buddy to something else, although I don't believe you can use contact, unless you change the default contact path also.
investigate the locale.module for changing the terms using a site specific language file you create which will alter buddylist to contact list.
Comment #2
mr.andrey commentedHere are some instructions if you're not familiar with the locale module:
Add a language in admin/settings/locale/language/add -> Custom Language
Language code: en-custom
Language name in English: English - Custom
In admin/settings/locale, make "en-custom" the default and disable "en"
Now we need to create a custom buddylist language file:
Download the latest package, and look in the /po directory for .pot file
Rename the file to en.po and edit the following:
Click on Import (admin/settings/locale/language/import)
Select en.po as the "Language file" and import it into "English - Custom"
You will probably get an error about plural stuff, that's ok, you didn't fill it out in the .po file.
Cheers,
Andrey.
Comment #3
mr.andrey commentedOh, and you might want to familiarize yourself with Locale module first. If you keep importing the same file, it will keep creating new things and your locale will be cluttered with useless strings.
Comment #4
ipwa commentedHey thanks a lot guys, it sounds like this was exactly what I needed! I don't have time this week to try it out because I have to present my dissertation, but I'll give it a go next weekend. Thanks a lot!!!!
Comment #5
dldege commentedif you want to change buddy/add path to contact/add check out the function custom_rewrite_url(). You can put this function in your settings.php and globally change the paths that map to buddy list paths.
Here's an example that changes all buddylist/ paths to network/
If you want to change actual text messages and other stuff from buddy list to contact list and buddy to contact then you can provide new words for the buddylist_translation() function by setting the variable also in settings.php.
Comment #6
ipwa commentedProject and Drupal version is unsupported.