// 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 } }

100% custom Sonic sprite!

Started by BladeSwipe, Nov 6, 2009 04:12 AM

Previous topic - Next topic

1 Guest

shalter x

Quote from: BladeSwipe.corp on Nov 11, 2009 07:20 AM
sorry to say this...   but only the head is custom...
so its just an edit...

I agree with blade .

I Don't think that shadow26 drawed the body . reason to say that shadow26 only draw a new spikes and new ears.

so ... i don't think that is shadow26's 100% custom sprite .

I 'm sorry shadow26 but u need to practise for making sprites .
Signature


Sig made by me :D .

Shadow26

I'm telling you,i did!I swear!

shalter x

Quote from: Shadow26 on Nov 12, 2009 04:43 AM
I'm telling you,i did!I swear!

Man, u are sad because what i said ? >_>
Signature


Sig made by me :D .

Shadow26

if you don't believe me,then fine... >:(

Sonic360

hmmm, the Sonic heroes hubs I make are 100% custom but the characters in them are copyright of sega

ChaosShadow101

Cool Sprite. XP I wish I could make sprites,but I can only do edits. X{
Signature

tailsrocks888

Signature
Tails Rocks

ChaosShadow101

Quote from: tailsrocks888 on Apr 12, 2010 04:28 PM
cool

Plz check the date of when last post was posted cuz you bumped topic. : P also plz don't post one word posts. xP
Signature