Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Getting Port Number with Domain Name

aeryaery Gtricks Forum in 2.2 :) ✭✭✭

Context:
I am trying to develop my Vanilla plugin and using function .$this->Data('Discussion.Url').' to get the canonical URL of the discussion.

**Problem: **
I am getting default port number 80 with that code. Example: www.domain.com:80/discussion/post-title

Platform:
Shared hosting so LAMP. Vanilla 2.1b

Solution?

Comments

Sign In or Register to comment.