maiki
(maiki)
8. Dezember 2019 um 20:56
2
AshtonJ hat den Code vom Dashboard für eine einfache Modifizierung als Data Explorer (ein sehr cooler Plugin, der dir wahrscheinlich gefallen wird) übernommen:
Another one I can’t take any credit for - ripped directly out of DC’s dashboard
Top 10 referrers over the last month
SELECT COUNT(*) AS count_all, incoming_domains.name
AS incoming_domains_name
FROM "incoming_links"
INNER JOIN "posts" ON "posts"."id" = "incoming_links"."post_id"
AND ("posts"."deleted_at" IS NULL)
INNER JOIN "topics" ON "topics"."id" = "posts"."topic_id"
AND ("topics"."deleted_at" IS NULL)
INNER JOIN "incoming_referers" ON "incoming_referers"."id" = "incoming_l…