Skip to content

Move the IP lookup controller to controller/ and rename the install language file - #9

Merged
bonelifer merged 1 commit into
masterfrom
code-layout
Oct 28, 2026
Merged

bonelifer merged 1 commit into
masterfrom
code-layout

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

Brings the file layout in line with the other phpbbmodders extensions:

  • Controller: core/freegeoip.php moves to controller/freegeoip.php. Its namespace, service ID (phpbbmodders.posteripinviewtopic.controller.freegeoip) and route name (phpbbmodders_posteripinviewtopic_controller_freegeoip) change to match. The route's URL, /freegeoip/{post_id}, stays the same.
  • Install language file: language/en/posteripinviewtopic_install.php becomes install_posteripinviewtopic.php, and the add_lang() call in ext.php is updated.

Claude ran smoke_test.py on a seed-forum test board (clean, including a disable → delete data → enable round trip), then the screenshot run, which clicks a post's IP address and shows the lookup popup served by the moved controller.


Investigated and written by Claude on behalf of William Jacoby (bonelifer).

…anguage file

core/freegeoip.php becomes controller/freegeoip.php, with its namespace, service and route names to match, and posteripinviewtopic_install.php becomes install_posteripinviewtopic.php, as in the other phpbbmodders extensions. The route's URL is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bonelifer
bonelifer merged commit 934b967 into master Oct 28, 2026
8 checks passed
@bonelifer
bonelifer deleted the code-layout branch October 28, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant