Page 4 of 4
Re: The DescentBB upgrade
Posted: Wed Feb 16, 2011 3:00 pm
by KoolBear
I hate losing it. the whole category off the index. Let's think about it a bit more.
Re: The DescentBB upgrade
Posted: Wed Feb 16, 2011 3:09 pm
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.
Re: The DescentBB upgrade
Posted: Wed Feb 16, 2011 6:39 pm
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
Re: The DescentBB upgrade
Posted: Wed Feb 16, 2011 11:03 pm
by Avder
Would it be possible to have text size in the options?
Re: The DescentBB upgrade
Posted: Thu Feb 17, 2011 10:40 am
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.
Re: The DescentBB upgrade
Posted: Thu Feb 17, 2011 11:04 am
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.
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).
Re: The DescentBB upgrade
Posted: Thu Feb 17, 2011 12:00 pm
by KoolBear
We will grandfather those 187 accounts to the day the DescentBB domain name was registered.
Re: The DescentBB upgrade
Posted: Thu Feb 17, 2011 12:10 pm
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.
Re: The DescentBB upgrade
Posted: Thu Feb 17, 2011 12:13 pm
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
Re: The DescentBB upgrade
Posted: Thu Feb 17, 2011 3:44 pm
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
Re: The DescentBB upgrade
Posted: Thu Feb 17, 2011 4:03 pm
by Krom
KoolBear wrote:TIME STAMP: 910288860
Got it, will be an easy fix.
Re: The DescentBB upgrade
Posted: Thu Mar 08, 2012 1:29 pm
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
Re: The DescentBB upgrade
Posted: Thu Mar 08, 2012 2:30 pm
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');
Re: The DescentBB upgrade
Posted: Sat Jul 28, 2012 2:02 pm
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
Re: The DescentBB upgrade
Posted: Sat Jul 28, 2012 6:23 pm
by Krom
I'd very much prefer NOT to call google/jquery from every single page.
Re: The DescentBB upgrade
Posted: Sat Jul 28, 2012 8:28 pm
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
Re: The DescentBB upgrade
Posted: Sat Jul 28, 2012 10:29 pm
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?
Re: The DescentBB upgrade
Posted: Sun Jul 29, 2012 9:10 pm
by fliptw
a fix for this doesn't need jquery.