XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author:

[New] Change name of U2U and Minor Theme edit

merchant1307
Member
***




Posts: 9
Registered: 12-19-2018
Member Is Offline


[*] posted on 2-13-2019 at 01:41 AM
[New] Change name of U2U and Minor Theme edit


Full Board URL: shamansource.com/forums
XMB Version: 1.9.11

I would like to change the name of u2u to pms im thinking I may have to edit something in the databse for that maybe.

I'm also wanting to alter the horizontal size of the posts icons//username when looking at a thread/post area.
View user's profile View All Posts By User
bfgadmin
Member
***




Posts: 34
Registered: 5-7-2020
Location: Pittsburgh, PA
Member Is Offline

Mood: Technical

[*] posted on 5-7-2020 at 08:26 PM


You don't have to edit the database, names are done in the lang file although you'd have to re-import it from the admin cp again. I believe the lang file is imported to the database in binary format, so it goes without saying you definitely should not try to modify these rows directly.

Our site's owner wanted to change the name to DM (God only knows why, I like "U2U" as its very XMB-ish) so I ended up editing various PHP files to replace the $lang_xyz variables with hard coded strings. I also remember changing multi-dimensional array values in I believe u2u.inc.php.

Still interested in this? I'll gladly share our PHP files with you.




XMB Rocks!
View user's profile Visit user's homepage View All Posts By User
bfgadmin
Member
***




Posts: 34
Registered: 5-7-2020
Location: Pittsburgh, PA
Member Is Offline

Mood: Technical

[*] posted on 5-7-2020 at 08:50 PM


Here's ONE example (of about 2 dozen)

In u2u.inc.php in function u2u_folderList()

Code:
sort($folders); $folders = array_merge(array('Inbox' => 'Incoming DMs', 'Outbox' => 'Sent DMs'), $folders, array('Drafts' => $lang['textu2udrafts'], 'Trash' => $lang['textu2utrash']));




XMB Rocks!
View user's profile Visit user's homepage View All Posts By User

  Go To Top

Powered by XMB 1.9.11 (Debug Mode)
Forum Script Software by XMB © 2001-2020 The XMB Group
[Queries: 16] [PHP: 4.4% - SQL: 95.6%]
Thanks to competitions website, Mount Roland, stores that ship international.