#Proof of Registration Campaign: Twitter Twitter profile link: https://twitter.com/BitcoinUser12Twitter profile display name: Bitcoin User twitteraudit score : 99% Telegram profile link: - Telegram profile display name: - Payment address (segwit): bc1qv350s4lj2fjvkyfc6a2tgj68f3h0auz4ce5kge
|
|
|
for oldposts: // Get $searchType from the input, where oldmsgID=>oldposts $searchType = "oldposts"; // by oldmsgID
// Get $ID from the input (should be >= 1) // $ID = "28228"; $ID = "25000030";
$dirName = (strlen($ID) <= 5 ? "0" : substr($ID, 0, -5)); // $pageName = substr($ID, -2); $pageName = (strlen($ID) < 5 ? "0xx" : substr($ID, 0, -2) . "xx"); $url = "http://loyce.club/archive/$searchType/$dirName/$pageName.html#msg$ID"; echo $url;
// http://loyce.club/archive/oldposts/0/282xx.html#msg28228 // http://loyce.club/archive/oldposts/250/250000xx.html#msg25000030
And by adding posts, topics and members we get: $urlBase = "http://loyce.club/archive";
// Get $searchType from the input, where oldmsgID=>oldposts, msgID=>posts, topicID=>topics and userID=>members $searchType = "posts"; // by msgID
// Get $ID from the input (should be >= 1) $ID = "28228";
$countDigits = ($searchType === "oldposts" ? 5 : 4); $dirName = (strlen($ID) <= $countDigits ? "0" : substr($ID, 0, -$countDigits)); $pageName = (strlen($ID) < $countDigits ? "0xx" : substr($ID, 0, -2) . "xx"); $url = ($searchType === "oldposts" ? "$urlBase/$searchType/$dirName/$pageName.html#msg$ID" : "$urlBase/$searchType/$dirName/$ID.html");
echo $url;
What is the logic of detecting low/high post numbers?
|
|
|
It would also be nice to have a tiny bit of PHP (or whatever) that allows for an input field, and converts a number into an URL. Examples // Get $searchType from the input, where msgID=>posts, topicID=>posts and userID=>members $searchType = "posts"; // by msgID
// Get $ID from the input (should be >= 1) $ID = "4567891";
// testing // $ID = "45678"; // $ID = "4567"; // $ID = "456"; // $ID = "45"; // $ID = "4";
$dirName = (strlen($ID) <= 4 ? "0" : substr($ID, 0, -4)); $url = "http://loyce.club/archive/$searchType/$dirName/$ID.html"; echo $url;
// http://loyce.club/archive/posts/456/4567891.html // http://loyce.club/archive/posts/4/45678.html // http://loyce.club/archive/posts/0/4567.html // http://loyce.club/archive/posts/0/456.html // ...
Do you mean that?
|
|
|
The contestants can post the logos here or PM me. Thanks
I sent you a PM with my submission.
|
|
|
Accepted 2500-4499 Followers: Still a bunch of 250-999 follower spots open, if they don't fill I might open up some for the higher follower counts, stay tuned!
Re-applying for any available position.
|
|
|
|