UBB.Dev
Posted By: luckie WoL adjustment - 11/23/2007 9:03 PM
One of my categories is a games-only one.
In the WoL, can I have it displayed like 'Playing a game' instead of 'reading a post'?
Posted By: Gizmo Re: WoL adjustment - 11/24/2007 2:53 AM
Originally Posted by luckie
Originally Posted by Gizmo
I'll include this in the next release's readme, but in the meantime, if you want to have users show up in the WoL as 'In the "Chat Room"' then do the following:

In /languages/english/online.php (you should do this for every language you have if you have more than just english)
Find:
Code
$ubbt_lang['previewsig'] = "Previewing their signature.";

Add After:
Code
$ubbt_lang['chat'] = "In the \"Chat Room\"";

One of my categories is a games-only one.
In the WoL, can I have it displayed like 'Playing a game' instead of 'reading a post'?


This is more of a modification request as I believe it'd be modifying what the system is looking for when that forum is requested.

I'm going to split your request off into its own thread.
Posted By: blaaskaak Re: WoL adjustment - 11/24/2007 10:50 AM
Okay, let's rock laugh

/scripts/online.inc.php
Find:
Code
		$legend = $ubbt_lang['THREAD'];
if ($Board) {

Inbetween those 2 lines, add the following code:

Code
		if ($Board==44) {
if ($post_id) {
$Extra = "<span class=\"small\"><br />      <a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=show{$mode}&Number=$post_id#Post$post_id\">$post_subject</a></span>";
$What = "Playing a game";
} else {
$Extra = "";
$What = "Looking for a game to play";
}
} else
{

Search for

Code
		if ($CustomTitle) {

Add before

Code
		}

In that first section you should replace the number 44 with the actual forum of your games. But I happen to know that 44 is your games forum wink. I also happen to know the hack as above already has been added to your board.

It's posted here for those who are looking also for this feature.
Posted By: luckie Re: WoL adjustment - 11/24/2007 10:53 AM
Great! Thanks a lot.. again grin
© UBB.Developers