// SZ 2025-11-30 — override SMF expandPages for "..." pagination function expandPages(spanEl, base_link, first_page, last_page, per_page) { try { var per = parseInt(per_page, 10) || 1; // Try to derive the real maximum page count by inspecting the pagination links. var maxPage = 1; var container = spanEl && spanEl.closest ? spanEl.closest(".pagelinks") : null; if (container) { var links = container.querySelectorAll("a.nav_page"); var maxStart = 0; links.forEach(function (a) { var href = a.getAttribute("href") || ""; // Match the last . segment, e.g. topic=15206.7650 var m = href.match(/\.([0-9]+)(?:$|[^0-9])/); if (m) { var n = parseInt(m[1], 10); if (!isNaN(n) && n > maxStart) maxStart = n; } }); if (maxStart > 0) maxPage = Math.floor(maxStart / per) + 1; } // Fallback to SMF-provided last_page if DOM inspection failed. if (!maxPage || maxPage < 1) { var last = parseInt(last_page, 10); maxPage = Math.floor(last / per) + 1; if (!maxPage || maxPage < 1) maxPage = 1; } var input = prompt("Go to page (1-" + maxPage + "):"); if (input === null) return; var page = parseInt(input, 10); if (!page || page < 1 || page > maxPage) return; var start = (page - 1) * per; if (start < 0) start = 0; var url = base_link; // base_link may be an HTML string contain an tag; try to extract href try { var tmp = document.createElement("div"); tmp.innerHTML = base_link; var a = tmp.querySelector("a"); if (a && a.getAttribute("href")) { url = a.getAttribute("href"); } } catch (err) { url = base_link; } // Replace common SMF patterns with the computed offset if (url.indexOf("%1$d") !== -1) { url = url.replace("%1$d", start); } else if (url.indexOf(";start=") !== -1) { url = url.replace(/;start=\d+/, ";start=" + start); } else if (/\.0(?!\d)/.test(url)) { url = url.replace(/\.0(?!\d)/, "." + start); } window.location.href = url; } catch (e) { // fail silently } }

Why is everyone changing their names?

Started by Fullmetal, Jun 9, 2009 12:03 PM

Previous topic - Next topic

1 Guest

Dark Tails

Quote from: Dracosaurus on Jun  9, 2009 12:26 PM
I changed my name like three times, but all of my names had "Draco" in it somewhere.

And Jimmycharacter is Thovi, who was originally lost lone key, I believe.

HOLY **** GUYS.  I TRIED TO SEND THIS MESSAGE THREE TIMES, AND EACH TIME IT TOLD ME A NEW REPLY WAS POSTED.

lmao, and this is pretty much a pointless post, because one of those times, Jet said me, and another one of those times, the question was answered.
http://gravitycatisnotamused1.ytmnd.com/

JetTheHawk

Signature
NO SIGNATURE

Elija2

Quote from: Dracosaurus on Jun  9, 2009 12:26 PM
HOLY **** GUYS.  I TRIED TO SEND THIS MESSAGE THREE TIMES, AND EACH TIME IT TOLD ME A NEW REPLY WAS POSTED.

THAT'S WHAT I SAID! GEEZ, IT WOULD BE BETTER IF THIS WERE A LIVE CHAT OR SOMETHING BECAUSE THEN I WOULDN'T HAVE THAT DUMB MESSAGE INTERRUPTING ME FROM POSTING! YOU GUYS ARE POSTING MACHINES!

Dark Tails

Quote from: Elija2 on Jun  9, 2009 12:33 PM
THAT'S WHAT I SAID! GEEZ, IT WOULD BE BETTER IF THIS WERE A LIVE CHAT OR SOMETHING BECAUSE THEN I WOULDN'T HAVE THAT DUMB MESSAGE INTERRUPTING ME FROM POSTING! YOU GUYS ARE POSTING MACHINES!
CAPS LOCK IS SO FUCKING AWESOME!!!!

JetTheHawk

Signature
NO SIGNATURE


JetTheHawk

Signature
NO SIGNATURE

Elija2


JetTheHawk

Damit Sonic2009, you stupid noob.
Signature
NO SIGNATURE

Dark Tails

Quote from: JetThehawk on Jun  9, 2009 01:03 PM
Damit Sonic2009, you stupid noob.
???

Are you talking to yourself?


He was banned lolz

JetTheHawk

Quote from: Chris Hansen on Jun  9, 2009 01:08 PM
???

Are you talking to yourself?


He was banned lolz
He's just a Guest right now
Signature
NO SIGNATURE

Dark Tails


HMS7

JetThehawk could youchange my name to HMS7
Signature
behold I AM THE KNIGHT OF KUNCKLES

Hakudamashi

Signature
OR ELSE!
Compliments to our Goddess for this piece of superspecialawesome!
DO NOTCLICK!
m'kay

Hakudamashi

Quote from: SuperSonic11 on Jun  9, 2009 02:15 PM
Got it! Thanks Wind.  ;D
glad to help

but I still gots a tummy ache >.<
Signature
OR ELSE!
Compliments to our Goddess for this piece of superspecialawesome!
DO NOTCLICK!
m'kay