Very great 😉
Setup OGProxy for use in NodeBB
-
@DownPW yes, try the CSS provided in the article.
-
Already Done.
It seems i’m not be able to change text color after test. Idem with important -
@DownPW that may be your local CSS. I don’t think any of my code would prevent that
-
???
Example:
yep better with disable all the rest of my CSS code grrrrr
it’s not going to be easy to find but it shows that there may be conflicts with the master CSS used
-
@DownPW I don’t think that’s in the list of classes I provided?
-
hmm yes
h4.card-site-title { color: var(--bs-body-color); text-transform: capitalize; }
-
@DownPW no. Look at your screenshot. The initial target is
#sitetitle
. Also, there’s no enforcement of!important
in that class. -
yes you are right.
I Have find the guilty: It’s my code to have an effect on URL link :
.posts .content a { color: var(--bs-link-color); /*background-image: linear-gradient(to right, var(--bs-link-color), var(--bs-link-color) 50%, var(--bs-link-hover-color) 50%);*/ background-image: linear-gradient(to right, var(--bs-link-hover-color), var(--bs-link-hover-color) 50%, var(--bs-link-color) 50%); background-size: 200% 100%; background-position: -100%; display: inline-block; padding: 5px 0; position: relative; -webkit-background-clip: text; -webkit-text-fill-color: transparent; transition: all 0.3s ease-in-out; } .posts .content a:hover { background-position: 0; } .posts .content a:hover::before{ width: 100%; }
-
But I wonder how to keep it without it coming into conflict with OGProxy, especially for the internal links to the site which do not have an iframe
-
@DownPW just needs carefully crafted CSS.
-
@DownPW said in Setup OGProxy for use in NodeBB:
especially for the internal links to the site which do not have an iframe
it works ??!!!
Internal links are also in an Iframe.
Very strange,I thought that was not the intended operation. -
@DownPW it wasn’t to start with, but I changed my mind 🤭
-
@DownPW can you pm me a link to an internal URL ? Something I’d like to check.
-
So I no longer need my effect code if all the URL links, even internal ones, are in an Iframe so managed by OGProxy
You could have told me before I racked my brains little trickster ha haBut I thought it would cause perf issues so I guess you found a workaround for that
@phenomlab said in Setup OGProxy for use in NodeBB:
@DownPW can you pm me a link to an internal URL ? Something I’d like to check.
On my Domain ?
-
@DownPW sorry. Yes, I did find a workaround.
Yes, your Dev instance please.
-
Hi, I’ve followed all steps but unfortunately don’t get it to work. Here’s the console output:
OGProxy: Domains containing (or starting with) http://xx.xxx.xxx.xxx are in the ignore list and will not be parsed. OGProxy: Paths containing /post are in the ignore list and will not be parsed. OGProxy: Parsing DOM for any URLs that should be converted to previews.
-
@dave1904 is the server running ?
-
@phenomlab Yes
● ogproxy.service - OGProxy Server Loaded: loaded (/etc/systemd/system/ogproxy.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2023-06-13 21:32:17 UTC; 34min ago Main PID: 948850 (node) Tasks: 7 (limit: 1131) Memory: 16.0M CGroup: /system.slice/ogproxy.service └─948850 /usr/bin/node /home/ogproxy/ogproxy/server.js
-
@dave1904 can you provide your
nginx
config? -
@phenomlab I have send you a pm