Dissensus 4EVA+

nomos

Administrator
My god that's a good deal. If they offered double the bandwidth I'd jump on it myself.
 

sufi

lala
Thanks kind benefactor

you're most generous dear WOEBOT

(hopefully issues getting fixed? - let us know if i you need help at allxxx)
 

bassnation

the abyss
WOEBOT said:
• more importantly it might amuse Dissensoids to know that I've coughed up a one time fee which will (theoretically) mean the board runs forever!

this is fantastic matt. is there any way we could help you with this, via some donations maybe?
 

Woebot

Well-known member
bassnation said:
this is fantastic matt. is there any way we could help you with this, via some donations maybe?

no no worries. thanks though marky.

peter gunn said:

ah ha! that's probably a beneficial outcome of there being a problem with the front page not accepting cookies (fixed now), everyone has probably been switched over to the (vastely superior) nik(s)kin by default. that's been available for some time now (see little bar at the bottom left of every page...)
 

jenks

thread death
yeah - i accidentally discovered the new skin just before christmas and my eyes are much relieved

and thank you woebot - people are complaining that the liverpool footie team didn't get any o.b.e.s - i am wondering where yours got to for services to the likes of us
 

version

Well-known member
Did the forum go down for anyone else last night? I wasn't even getting an error page, just a blank one that never reached the site.
 

sufi

lala
Fix the old youtubes


from Andy B https://www.xf2addons.com/ $35 gets you his whole bundle, maybe other useful goodies there

but it won't stop the linkrot
we need to get the title of the videos listed in text in posts.
i asked chatgpt:

To scrape metadata from YouTube using PHP, you can use the YouTube Data API provided by Google. Here's a basic script to retrieve metadata (title, description, and thumbnail) for a YouTube video:


php


Code:
<?php


    // Replace with your own API key

    $api_key = 'YOUR_API_KEY';


    // Replace with the video ID you want to retrieve metadata for

    $video_id = 'VIDEO_ID';


    // Build the API URL

    $url = 'https://www.googleapis.com/youtube/v3/videos?id=' . $video_id . '&key=' . $api_key . '&part=snippet';


    // Make a GET request to the API and parse the response

    $response = file_get_contents($url);

    $json = json_decode($response, true);


    // Extract the metadata

    $title = $json['items'][0]['snippet']['title'];

    $description = $json['items'][0]['snippet']['description'];

    $thumbnail = $json['items'][0]['snippet']['thumbnails']['medium']['url'];


    // Output the metadata

    echo 'Title: ' . $title . '<br>';

    echo 'Description: ' . $description . '<br>';

    echo 'Thumbnail: <img src="' . $thumbnail . '">';


    ?>


Note that you need to obtain an API key from the Google Cloud Console and enable the YouTube Data API for your project. Also, this script only retrieves metadata for one video at a time. If you want to scrape metadata for multiple videos, you need to use the API's search or playlist endpoints and loop through the results.

so we'd just need to somehow convert that to a plugin for this type of forum and bob's your uncle, maybe i'll ask ANdy B

Andy seems a nice guy!
he helped out with something i was stuck on a couple of years ago iirc

sorry to derail

he reckons that it would not be worth coding the yt titles into the forum database - so the title would stay after the video was deleted :(
 

sufi

lala
Code:
$
$  php cmd.php xf-rebuild:resavepostsall
Error. Please disable Setup -> Options -> Logging options -> Enable edit log display after
$  php cmd.php xf-rebuild:resavepostsall
Error. Please disable Setup -> Options -> Logging options -> Enable edit history tracking and prune after
$  php cmd.php xf-rebuild:resavepostsall
Rebuilding... Resave posts all (501)
Rebuilding... Resave posts all (1504)
Rebuilding... Resave posts all (2504)
Rebuilding... Resave posts all (3505)
Rebuilding... Resave posts all (4505)
Rebuilding... Resave posts all (5506)
Rebuilding... Resave posts all (6506)
Rebuilding... Resave posts all (7508)
Rebuilding... Resave posts all (8508)
Rebuilding... Resave posts all (9510)
Rebuilding... Resave posts all (10519)
Rebuilding... Resave posts all (11522)
Rebuilding... Resave posts all (12522)
Rebuilding... Resave posts all (13522)
Rebuilding... Resave posts all (14523)
Rebuilding... Resave posts all (15523)
Rebuilding... Resave posts all (16524)
Rebuilding... Resave posts all (17525)
Rebuilding... Resave posts all (18526)
Rebuilding... Resave posts all (19526)
Rebuilding... Resave posts all (20526)
Rebuilding... Resave posts all (21527)
Rebuilding... Resave posts all (22531)
Rebuilding... Resave posts all (23531)
Rebuilding... Resave posts all (24532)
Rebuilding... Resave posts all (25532)
Rebuilding... Resave posts all (26533)
Rebuilding... Resave posts all (27533)
Rebuilding... Resave posts all (28542)
Rebuilding... Resave posts all (29543)
Rebuilding... Resave posts all (30544)
Rebuilding... Resave posts all (31544)
Rebuilding... Resave posts all (32570)
Rebuilding... Resave posts all (33570)
Rebuilding... Resave posts all (34572)
Rebuilding... Resave posts all (35576)
Rebuilding... Resave posts all (36582)
Rebuilding... Resave posts all (37584)
Rebuilding... Resave posts all (38588)
Rebuilding... Resave posts all (39590)
Rebuilding... Resave posts all (40594)
Rebuilding... Resave posts all (41595)
Rebuilding... Resave posts all (42597)
Rebuilding... Resave posts all (43598)
Rebuilding... Resave posts all (44600)
Rebu
 
Top