Previous Thread
Next Thread
Print Thread
Rate Thread
#316350 11/23/2007 2:03 PM
Joined: Oct 2007
Posts: 11
Newbie
Newbie
Offline
Joined: Oct 2007
Posts: 11
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'?

Sponsored Links
luckie #316351 11/23/2007 7:53 PM
Joined: Jan 2000
Posts: 5,834
Likes: 20
UBBDev Owner
Time Lord
UBBDev Owner
Time Lord
Joined: Jan 2000
Posts: 5,834
Likes: 20
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.


UBBDev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.threads: My UBB Themes, My UBB Scripts
luckie #316352 11/24/2007 3:50 AM
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
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.

blaaskaak #316353 11/24/2007 3:53 AM
Joined: Oct 2007
Posts: 11
Newbie
Newbie
Offline
Joined: Oct 2007
Posts: 11
Great! Thanks a lot.. again grin


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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,153
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 646
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 22
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
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-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)