Forums update

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
NicTheQuick
Addict
Addict
Posts: 1223
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Forums update

Post by NicTheQuick »

STARGÅTE wrote: Thu Apr 15, 2021 10:38 pm Thanks Fred,

"Prosilver Dark" looks fine, but why the hell links have these bad bluish.
I have added a use script to the forum to make it white, which is much more eye-friendly:

Code: Select all

const sheet = new CSSStyleSheet();
sheet.replaceSync('a:link, a:active, a:visited {color: #D0D0D0 !important} a:hover {color: #40A0E0 !important}');
document.adoptedStyleSheets = [sheet];
Perhaps you can also edit the css-file "styles/prosilver_dark/theme/colours/blue.css?assets_version=5" and change the color there.
How can I add this script? Can I merge it with your syntax highlighting script somehow?
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
swhite
Enthusiast
Enthusiast
Posts: 726
Joined: Thu May 21, 2009 6:56 pm

Re: Forums update

Post by swhite »

Hi

The Prosilver Dark theme is nice. Could add back the link to the Purebasic Blog?

Thanks,
Simon
Simon White
dCipher Computing
User avatar
STARGÅTE
Addict
Addict
Posts: 2067
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: Forums update

Post by STARGÅTE »

NicTheQuick wrote: Fri Apr 16, 2021 4:33 pm
STARGÅTE wrote: Thu Apr 15, 2021 10:38 pm Thanks Fred,

"Prosilver Dark" looks fine, but why the hell links have these bad bluish.
I have added a use script to the forum to make it white, which is much more eye-friendly:

Code: Select all

const sheet = new CSSStyleSheet();
sheet.replaceSync('a:link, a:active, a:visited {color: #D0D0D0 !important} a:hover {color: #40A0E0 !important}');
document.adoptedStyleSheets = [sheet];
Perhaps you can also edit the css-file "styles/prosilver_dark/theme/colours/blue.css?assets_version=5" and change the color there.
How can I add this script? Can I merge it with your syntax highlighting script somehow?
Yes, just add it at the end of the syntax highlighting script.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: Forums update

Post by Andre »

Rinzwind wrote: Fri Apr 16, 2021 4:31 am Is it possible to move “active topics” back to its own position instead of hidden under a menu while there is lots of screen space to show it. For me the most clicked link :)
I support this wish for the separate 'Active topics' link, as I'm using it very often too :D

Everything else works fine for me, everyone should be able to find a prefered theme/style ;-)
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Forums update

Post by Little John »

Cool. 8) Thank you, Fred!
User avatar
mk-soft
Always Here
Always Here
Posts: 5333
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Forums update

Post by mk-soft »

This is the programmers forum.
I think the CodeBox is too small. Please enlarge it a little.
max-height from 200px to 400px

content.css

Code: Select all

.codebox code {
	overflow: auto;
	display: block;
	height: auto;
	max-height: 400px;
	padding: 10px 8px;
	font: 0.9em Monaco, "Andale Mono","Courier New", Courier, monospace;
	line-height: 1.3em;
P.S.
I think max-height: 360px is enough

with macOS Safari can you override the style
Last edited by mk-soft on Sat Apr 17, 2021 11:21 am, edited 1 time in total.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Kiffi
Addict
Addict
Posts: 1353
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: Forums update

Post by Kiffi »

mk-soft wrote: Sat Apr 17, 2021 10:38 am This is the programmers forum.
I think the CodeBox is too small.
+1
Hygge
User avatar
HwyStar
Enthusiast
Enthusiast
Posts: 101
Joined: Mon Apr 05, 2010 7:13 pm
Location: Reno, Nevada

Re: Forums update

Post by HwyStar »

Pro Silver Dark... Thanks, Fred!
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: Forums update

Post by ChrisR »

mk-soft wrote: Sat Apr 17, 2021 10:38 am This is the programmers forum.
I think the CodeBox is too small.
+1 or with an expand button next to Select.

No news about PureBasic Logo instead of phpBB :shock:

Thanks for ProSilver Dark Edition
However the avatars do not appear correctly
ProSilver Dark vs ProSilver Special
Image
Everything
Enthusiast
Enthusiast
Posts: 224
Joined: Sat Jul 07, 2018 6:50 pm

Re: Forums update

Post by Everything »

Andre wrote: Fri Apr 16, 2021 10:43 pmI support this wish for the separate 'Active topics' link, as I'm using it very often too :D
+1
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Forums update

Post by skywalk »

Why does the URL link function not automatically enclose the selected link?
I have to add an '=' sign and close the with '][' manually.
Example link
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Re: Forums update

Post by Tenaja »

skywalk wrote: Mon Apr 19, 2021 1:58 pm Why does the URL link function not automatically enclose the selected link?
I have to add an '=' sign and close the with '][' manually.
Example link
Until he fixes that, just post url's with a direct text paste. No tags necessary. The only thing you lose is the ability to name (or hide) the real target.
User avatar
NicTheQuick
Addict
Addict
Posts: 1223
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Forums update

Post by NicTheQuick »

ChrisR wrote: Sat Apr 17, 2021 3:21 pm
mk-soft wrote: Sat Apr 17, 2021 10:38 am This is the programmers forum.
I think the CodeBox is too small.
+1 or with an expand button next to Select.

No news about PureBasic Logo instead of phpBB :shock:

Thanks for ProSilver Dark Edition
However the avatars do not appear correctly
ProSilver Dark vs ProSilver Special
Image
Well, the reason for that is, that you have a transparent color in your avatar. That's not an issue of the theme.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 280
Joined: Thu Jul 09, 2015 9:07 am

Re: Forums update

Post by pf shadoko »

it's much more convenient now
no more need to scroll through endless listings
2 remarks :
- can we replace "select all" by "copy all" ?
- could we put on the side the index of the forum (and the shortcuts) ?
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: Forums update

Post by ChrisR »

NicTheQuick wrote: Mon Apr 19, 2021 2:48 pm
ChrisR wrote: Sat Apr 17, 2021 3:21 pm Image
Well, the reason for that is, that you have a transparent color in your avatar. That's not an issue of the theme.
You are right, thanks, I changed my avatar with a white opaque background. It's better now
pf shadoko wrote: Mon Apr 19, 2021 10:41 pm could we put on the side the index of the forum (and the shortcuts) ?
The link of the post, thread is available in the small "post" icon, on the left of "by pf shadoko". However not sure that it is what you are talking about.
Post Reply