Search results

Posts

[ UKDistribution ] We Are Back & Only On Archetyp!

by /u/UKDistribution · 2024-05-06 17:13:00 in /d/Archetyp

0 votes · 1 comments

[ UKDistribution ] We Are Back & Only On Archetyp!

by /u/UKDistribution · 2024-05-06 17:15:00 in /d/DNMAds

0 votes · 0 comments

Darknet Markets News 04/29/2024

by /u/samwhiskey · 2024-04-29 16:04:00 in /d/DarkNetMarkets

0 votes · 17 comments


Posts by User


Comments by User

Dread Programming Challenge: POST COMMENTS/WIKI PAGES
- /u/UKDistribution P 12th September, 2023 - 18:01 Here you go boss, this should now do as you desire!

/post/$1', $input);
$output = preg_replace('~\/post\/([0-9a-fA-F]{20})~', '/post/$1', $output);
$output = preg_replace('~\/d\/([^\/]+)/wiki\?id=([0-9a-fA-F]{8})~', '/d/$1/wiki?id=$2', $output);

echo $output;

?>

by /u/Paris · 12th September, 2023 14:36 in /d/programming

0 votes · 20 comments

Dread Programming Challenge: POST COMMENTS/WIKI PAGES
- /u/UKDistribution P 12th September, 2023 - 15:27 The problem is that the regex is counting the # as a delimiter you need to adjust your regex accordingly,

For example.

/post/$1', $input);
$output = preg_replace('~\/post\/([0-9a-fA-F]{20})~', '/post/$1', $output);
$output = preg_replace('~\/d\/Dread\/wiki\?id=([0-9a-fA-F]{8})~', '/d/Dread/wiki?id=$1', $output);

echo $output;

?>


And it will output correctly the full hyperlink of it.

This is an example post which has a valid post /post/81e45e7a46cecae5b549, an invalid post /post/thisisnotarealpost, a post with comment /post/81e45e7a46cecae5b549/#c-532179bdc2f3a30da5, and a few invalid post comments /post/81e45e7a46cecae5b549/#c-notrealcommenthere /post//#c-notrealcommenthere.

Also, here's an example wikipage /d/Dread/wiki?id=0f0519ab and a few invalid ones: /d/Dread/wiki?id=notreal /d//wiki?id=0f0519ab /d/Dread/wiki.

by /u/Paris · 12th September, 2023 14:36 in /d/programming

0 votes · 20 comments

Difference between Premier Member and moderators?
- /u/UKDistribution P 26th December, 2023 - 19:00 Premium membership is basically there to support dread, Almost like a subscription base however you are not forced to continue.

Premium members get certain perks like

Dread's Premium Account Membership entitles you to a variety of exclusive account features and allows you to stand out from the crowd. With an initial membership purchase starting you off at the Bronze membership level, consecutive renewals of your membership every month will automatically upgrade you through different membership tiers.

Premium badge next to your username
Access to /d/lounge
Disable Ads
No captchas for Posts and Comments
Priority reporting
Early access to new Dread products
Trophy for your profile
Bragging rights


Mods are totally different with the ability to remove peoples posts, comments, ban people and so on.

by /u/Deadlinepassed · 26th December, 2023 18:31 in /d/DarknetMarketsNoobs

0 votes · 7 comments