The DescentBB upgrade

For questions, special requests, or any complaints concerning the Descent BB.

Moderators: Richard Cranium, KoolBear, Krom, Lothar

User avatar
KoolBear
DBB Co-Founder
DBB Co-Founder
Posts: 10132
Joined: Thu Nov 05, 1998 12:01 pm
Location: Houston, TX USA
Contact:

Re: The DescentBB upgrade

Post by KoolBear » Wed Feb 16, 2011 3:00 pm

I hate losing it. the whole category off the index. Let's think about it a bit more.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 15182
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re: The DescentBB upgrade

Post by Krom » Wed Feb 16, 2011 3:09 pm

It will still show up on the index just like the archive forum does (only higher up). The archive forum is just a nested category inside the support category.
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9486
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Re: The DescentBB upgrade

Post by CDN_Merlin » Wed Feb 16, 2011 6:39 pm

KoolBear wrote:Ok, DBB_Orbital has been reset to original settings, would you like it a little larger?
It's fine now. Thanks
Beta tested:
Game Stock Car 2012, Diablo 3, Descent 3 1.5 Patch, C&C Generals, Independance War 2, Starfleet Command 2, Settlers IV,Tzar, Allegiance, Starfleet Command, MAX 2, Defiance
ASUS Z170-P, Core I7-6700K, Coolermaster Hyper 212 EVO CPU Cooler, Gigabyte GF GTX970 OC 4GB GDDR5,Crucial 16GB 2133MHz DDR4, Samsung 850 EVO 250GB 2.5" SATA3 SSD, WD Black 1 TB, ASUS DVD Burner, ASUS 27" Monitor, Fractal Design R5 Mid-Tower Case, Thermaltake ToughPower Gold 750 Watt, Win 10 64Bit
User avatar
Avder
DBB Material Defender
DBB Material Defender
Posts: 4924
Joined: Sat Oct 09, 1999 2:01 am
Location: Moorhead, MN

Re: The DescentBB upgrade

Post by Avder » Wed Feb 16, 2011 11:03 pm

Would it be possible to have text size in the options?
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9486
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Re: The DescentBB upgrade

Post by CDN_Merlin » Thu Feb 17, 2011 10:40 am

I just noticed the date I joined the DBB. Dec 31, 1969? HAHAHAHAHAH I wasn't even born yet. That would mean I was surfing the DBB while still in the womb. :D
Beta tested:
Game Stock Car 2012, Diablo 3, Descent 3 1.5 Patch, C&C Generals, Independance War 2, Starfleet Command 2, Settlers IV,Tzar, Allegiance, Starfleet Command, MAX 2, Defiance
ASUS Z170-P, Core I7-6700K, Coolermaster Hyper 212 EVO CPU Cooler, Gigabyte GF GTX970 OC 4GB GDDR5,Crucial 16GB 2133MHz DDR4, Samsung 850 EVO 250GB 2.5" SATA3 SSD, WD Black 1 TB, ASUS DVD Burner, ASUS 27" Monitor, Fractal Design R5 Mid-Tower Case, Thermaltake ToughPower Gold 750 Watt, Win 10 64Bit
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 15182
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re: The DescentBB upgrade

Post by Krom » Thu Feb 17, 2011 11:04 am

CDN_Merlin wrote:I just noticed the date I joined the DBB. Dec 31, 1969? HAHAHAHAHAH I wasn't even born yet. That would mean I was surfing the DBB while still in the womb. :D
That is a glitch that has been around since the DBB moved to phpbb. For some reason 187 user accounts got a "registration date" of "-1" which the board software spits out as "Wed Dec 31, 1969 5:59 pm".

It is something that is going to go away soon, I'm working on fixing search by swapping the database engine and that date is one of the things that is going to get killed. All of them are going to be replaced by: Fri Feb 27, 2004 11:56 am (the date the DBB was upgraded from UBB to phpBB).
User avatar
KoolBear
DBB Co-Founder
DBB Co-Founder
Posts: 10132
Joined: Thu Nov 05, 1998 12:01 pm
Location: Houston, TX USA
Contact:

Re: The DescentBB upgrade

Post by KoolBear » Thu Feb 17, 2011 12:00 pm

We will grandfather those 187 accounts to the day the DescentBB domain name was registered.
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9486
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Re: The DescentBB upgrade

Post by CDN_Merlin » Thu Feb 17, 2011 12:10 pm

I joined about 2 months after the site went live. I had GipsonCoil on Kali begging me to join so I did.
Beta tested:
Game Stock Car 2012, Diablo 3, Descent 3 1.5 Patch, C&C Generals, Independance War 2, Starfleet Command 2, Settlers IV,Tzar, Allegiance, Starfleet Command, MAX 2, Defiance
ASUS Z170-P, Core I7-6700K, Coolermaster Hyper 212 EVO CPU Cooler, Gigabyte GF GTX970 OC 4GB GDDR5,Crucial 16GB 2133MHz DDR4, Samsung 850 EVO 250GB 2.5" SATA3 SSD, WD Black 1 TB, ASUS DVD Burner, ASUS 27" Monitor, Fractal Design R5 Mid-Tower Case, Thermaltake ToughPower Gold 750 Watt, Win 10 64Bit
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 15182
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re: The DescentBB upgrade

Post by Krom » Thu Feb 17, 2011 12:13 pm

KoolBear wrote:We will grandfather those 187 accounts to the day the DescentBB domain name was registered.
Find me the unix timestamp for it then. The timestamp to get "Fri Feb 27, 2004 11:56 am" is: 1077904563
(hint: http://www.unixtimestamp.com/index.php)

It works by counting the number of seconds that have elapsed since Midnight on January 1, 1970.

Of course that brings us to another problem that will eventually have to be overcome: http://en.wikipedia.org/wiki/Year_2038_problem
User avatar
KoolBear
DBB Co-Founder
DBB Co-Founder
Posts: 10132
Joined: Thu Nov 05, 1998 12:01 pm
Location: Houston, TX USA
Contact:

Re: The DescentBB upgrade

Post by KoolBear » Thu Feb 17, 2011 3:44 pm

Krom wrote:
KoolBear wrote:We will grandfather those 187 accounts to the day the DescentBB domain name was registered.
Find me the unix timestamp for it then. The timestamp to get "Fri Feb 27, 2004 11:56 am" is: 1077904563
(hint: http://www.unixtimestamp.com/index.php)

It works by counting the number of seconds that have elapsed since Midnight on January 1, 1970.

Of course that brings us to another problem that will eventually have to be overcome: http://en.wikipedia.org/wiki/Year_2038_problem
TIME STAMP: 910288860

DATE: 11 / 05 / 1998 @ 12:01:00 EST I really had it setup first in August of 98 right after the Ubderfest but this is a verifiable date so lets just grandfather the 187 to this date please.

Whew I am glad we have a day or two to fix the other one :)
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 15182
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re: The DescentBB upgrade

Post by Krom » Thu Feb 17, 2011 4:03 pm

KoolBear wrote:TIME STAMP: 910288860
Got it, will be an easy fix.
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4193
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Re: The DescentBB upgrade

Post by BUBBALOU » Thu Mar 08, 2012 1:29 pm

I do not know if this has been mentioned, could we change the URL function for off ebb links in posts to open in a new page instead of the same page. This has been changed since the last upgrade.

Simple option change embedded in the forums

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 15182
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re: The DescentBB upgrade

Post by Krom » Thu Mar 08, 2012 2:30 pm

For whatever reason the phpBB devs forced this open in the same window behavior on to all phpBBs as of version 3.x in order to reach XHTML 1.0 strict validation for the entire board (don't ask me why they went for XHTML) and fixing it requires board modifications that would have to be redone every time the software was updated. However there is a way to fix it client-side if you use chrome or firefox with greasemonkey, simply create the following as a user script and it will correct all external links to open a new tab/window:

Code: Select all

// ==UserScript==
// @name           DescentBB.net target attribute
// @namespace      descentbb.net
// @description    Fix the target of hyperlinks so they open in a new tab/window
// @include        http://descentbb.net/viewtopic.php*
// @include        http://www.descentbb.net/viewtopic.php*
// ==/UserScript==
var a = document.getElementsByTagName('a');
for (i = 0; i < a.length; i++) if(a[i].className=='postlink') a[i].setAttribute('target','_blank');
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4193
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Re: The DescentBB upgrade

Post by BUBBALOU » Sat Jul 28, 2012 2:02 pm

Actually its a simple and highly effective change to enable this feature board wide!!!

Without causing a disruption to the database calls since you are not altering any ./includes/function* templates

**(external links open in a new tab - dbb internal links get truncated and open in same window)


Use:

modify the overall_header.html files in each style (or) scripts_header.html depending on how this board style(s) are implemented
dont forget to save a copy ( overall_header_bak.html or scripts_header_bak.html )

- this code works with (1.4.4 and above)
- most phpbb themes have (1.6.2)
- you should already have some version listed (current is 1.7.2)

Code: Select all

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js">

then just add this code to the <head> in the script section of the page below the lib

Code: Select all

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js">
<!--EXT LINK MOD-->
</script> <script type="text/javascript">                                         
   $(document).ready(function() {
      $('a[href^="http://"]').filter(function() {return this.hostname && this.hostname !== location.hostname;}).attr('target', '_blank');
   });                     
</script>
and refresh the templates through the ACP

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 15182
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re: The DescentBB upgrade

Post by Krom » Sat Jul 28, 2012 6:23 pm

I'd very much prefer NOT to call google/jquery from every single page.
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4193
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Re: The DescentBB upgrade

Post by BUBBALOU » Sat Jul 28, 2012 8:28 pm

Easy enough to put the .js in the dbb's asset/js folder which would be a waste of bandwidth. Reality is jquery only has to be pulled once to client no matter how many domains / websites / pages they goto using the same version. With google CDN they grab it from a local data center if they actually need it.

Some of the dbb's themes for phpbb3 have this script source already included in their overall_header.html so in a way your rebuttal is a mute point, unless you stripped them out of every header template :)

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6387
Joined: Sun Sep 05, 1999 2:01 am
Location: ☃☃☃

Re: The DescentBB upgrade

Post by Jeff250 » Sat Jul 28, 2012 10:29 pm

If you want to open a link in the same window, left click on it.
If you want to open a link in a new tab, middle click on it. (If you want to open it in a new window, Firefox can be configured to have middle click do that instead.)

Why should the dbb force all external links to open in new windows for everyone regardless of how they click on it?
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6415
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Re: The DescentBB upgrade

Post by fliptw » Sun Jul 29, 2012 9:10 pm

a fix for this doesn't need jquery.
Post Reply