Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
Look at the following little blurb:

[] // BEGIN HIVEMAIL INTEGRATION
if (($Emails) && (!$bypass)) {
if (($Privates) && (!$bypass)) { $privateslink .= "  ";}
$privateslink .= "<a href="{$config['hivemail_url']}/index.php" target="_top"><img src= "{$config['images']}/newem.gif" border="0" title="{$ubbt_lang['WEL_PRIV2']} $Emails {$ubbt_lang['WEL_PRIV4']}" /></a>";
}
// END HIVEMAIL INTEGRATION
[/]

This is from the UBBThreads/Hivemail Integration, in the ubbt.inc.php file. Anyhow, the way the integration works, you get a pm-style image alert when you have new email that's not read. For Threads 6.3.x, if you tooltipped the image, it would say "You have X unread emails" where X is the number of unread mail in the inbox. I think the part that does that is the part I've just quoted above. This also worked in Spanish as well.

Now, in 6.4.x, It just says "You have X " and doesn't say "unread emails". Looking at the preceeding code snippet, I think it's this, {$ubbt_lang['WEL_PRIV4']}, that is causing the problem. Maybe this language string was removed in 6.4 and that's why I don't see the whole sentence, "You have X new emails". I've double-checked and that language string wasn't added as part of the modification, so it must have been native to threads. I'm thinking it's not there anymore.

So basicly what I need to know is in which language file would I need to add that string? I can add the string myself, I just don't know where it goes. Thanks!

Sponsored Links
Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
I found WEL_PRIV2 in generic.php and figured that's where WEL_PRIV4 needed to go. All fixed


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)