YAFLogo

cactus182
  • cactus182
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
8 years ago
I just installed YAF_DNN_1.96.1-5129 on a DNN portal v.07.01.00 (2676).

The post URL is prepended with the domain twice.

The template in the language file appears correct:

 <Resource tag="TOPICPOST_TEXT">
There's a new post in topic "{topic}" at {forumname}:

By {postedby}: 
"{bodytruncated}"

To read more, click or copy and paste the following link into your browser:

{link}
</Resource>

Sample from email:

To read more, click or copy and paste the following link into your browser:

ghttp://www.phoenixflyers.org/Resources/Forums/g/posts/m/11/New-Topic.aspx#post11 

In the web.config the domain only appears once as documented in the installation instructions:

<add key="YAF.BaseUrlMask" value="http://www.phoenixflyers.org" />

I've been combing through my site for why this may be happening, as well as searching this board for a solution and can't seem to figure it out.

Thank You.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
8 years ago
Thanks for your reported, i also noticed this but forget to fix it. This is fixed in YAF 2.0 RC 1
cactus182
  • cactus182
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
8 years ago
Thanks for the quick reply.

I have the 2.0 RC1 and expect to start testing it soon but as far as using it for production it's likely I'll wait a bit before implementing. I'm just about to take my entire DNN site live and want to allow some stabilization time before introducing more changes.

That said, it'll be hard to function with bad links in the emails. Is it possible for me to fix this myself in v 1.9.6.1 for the time being?

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
8 years ago
Originally Posted by: cactus182 

Thanks for the quick reply.

I have the 2.0 RC1 and expect to start testing it soon but as far as using it for production it's likely I'll wait a bit before implementing. I'm just about to take my entire DNN site live and want to allow some stabilization time before introducing more changes.

That said, it'll be hard to function with bad links in the emails. Is it possible for me to fix this myself in v 1.9.6.1 for the time being?

The only way is to hide it via css.

By adding this to your theme.css

.guestUser {
 display:none;
visibility:hidden
}
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
8 years ago
Originally Posted by: cactus182 

Thanks for the quick reply.

I have the 2.0 RC1 and expect to start testing it soon but as far as using it for production it's likely I'll wait a bit before implementing. I'm just about to take my entire DNN site live and want to allow some stabilization time before introducing more changes.

That said, it'll be hard to function with bad links in the emails. Is it possible for me to fix this myself in v 1.9.6.1 for the time being?

If you know how to compile the solution, you only need to download the source version and apply the fix i committed here...

https://github.com/YAFNET/YAFNET/commit/e23b9d230b94eb68b6d812733079b9ebbccb1411