|
|
Joined: Oct 2007
Posts: 11
Newbie
|
Newbie
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'?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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: $ubbt_lang['previewsig'] = "Previewing their signature."; Add After: $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.
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
Okay, let's rock /scripts/online.inc.php Find: $legend = $ubbt_lang['THREAD']; if ($Board) {
Inbetween those 2 lines, add the following 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 Add before 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 . 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.
|
|
|
|
Joined: Oct 2007
Posts: 11
Newbie
|
Newbie
Joined: Oct 2007
Posts: 11 |
Great! Thanks a lot.. again
|
|
|
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.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|