php forum
php mysql forum
php mysql smarty
 
Topic Options
#316350 - 11/23/07 01:03 PM WoL adjustment
luckie Offline
Newbie

Registered: 10/24/07
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'?

Top
#316351 - 11/23/07 06:53 PM Re: WoL adjustment [Re: luckie]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
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.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316352 - 11/24/07 02:50 AM Re: WoL adjustment [Re: luckie]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
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 />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=show{$mode}&amp;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.
_________________________

Top
#316353 - 11/24/07 02:53 AM Re: WoL adjustment [Re: blaaskaak]
luckie Offline
Newbie

Registered: 10/24/07
Posts: 11
Great! Thanks a lot.. again grin

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks