The DescentBB upgrade

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

Moderators: Krom, Lothar, Richard Cranium, KoolBear

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 »

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: 16138
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 »

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: 9781
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Re: The DescentBB upgrade

Post by CDN_Merlin »

KoolBear wrote:Ok, DBB_Orbital has been reset to original settings, would you like it a little larger?
It's fine now. Thanks
Corsair Vengeance 64GB 2x32 6000 DDR5, Asus PRIME B760-PLUS S1700 ATX, Corsair RM1000x 1000 Watt PS 80 Plus Gold,WD Black SN770 2TB NVMe M.2 SSD, WD Blue SN580 1TB M.2 NVMe SSD, Noctua NH-D15S Universal CPU Cooler, Intel Core i7-14700K 5.6GHz, Corsair 5000D AIRFLOW Tempered Glass Mid-Tower ATX, Asus GF RTX 4070 Ti Super ProArt OC 16GB Video, WD Black 6TB 7200RPM 256MB 3.5" SATA3, Windows 11
User avatar
Avder
DBB Material Defender
DBB Material Defender
Posts: 4926
Joined: Sat Oct 09, 1999 2:01 am
Location: Moorhead, MN

Re: The DescentBB upgrade

Post by Avder »

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

Re: The DescentBB upgrade

Post by CDN_Merlin »

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
Corsair Vengeance 64GB 2x32 6000 DDR5, Asus PRIME B760-PLUS S1700 ATX, Corsair RM1000x 1000 Watt PS 80 Plus Gold,WD Black SN770 2TB NVMe M.2 SSD, WD Blue SN580 1TB M.2 NVMe SSD, Noctua NH-D15S Universal CPU Cooler, Intel Core i7-14700K 5.6GHz, Corsair 5000D AIRFLOW Tempered Glass Mid-Tower ATX, Asus GF RTX 4070 Ti Super ProArt OC 16GB Video, WD Black 6TB 7200RPM 256MB 3.5" SATA3, Windows 11
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
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 »

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 »

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

Re: The DescentBB upgrade

Post by CDN_Merlin »

I joined about 2 months after the site went live. I had GipsonCoil on Kali begging me to join so I did.
Corsair Vengeance 64GB 2x32 6000 DDR5, Asus PRIME B760-PLUS S1700 ATX, Corsair RM1000x 1000 Watt PS 80 Plus Gold,WD Black SN770 2TB NVMe M.2 SSD, WD Blue SN580 1TB M.2 NVMe SSD, Noctua NH-D15S Universal CPU Cooler, Intel Core i7-14700K 5.6GHz, Corsair 5000D AIRFLOW Tempered Glass Mid-Tower ATX, Asus GF RTX 4070 Ti Super ProArt OC 16GB Video, WD Black 6TB 7200RPM 256MB 3.5" SATA3, Windows 11
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
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 »

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 »

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: 16138
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 »

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

Re: The DescentBB upgrade

Post by BUBBALOU »

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: 16138
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 »

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: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Re: The DescentBB upgrade

Post by BUBBALOU »

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: 16138
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 »

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

Re: The DescentBB upgrade

Post by BUBBALOU »

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: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Re: The DescentBB upgrade

Post by Jeff250 »

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: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Re: The DescentBB upgrade

Post by fliptw »

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