SMF Ads Support Forum

Support => Ad Support => Topic started by: Mr. M on October 21, 2006, 01:32:28 am

Title: Changing default username for ads in posts
Post by: Mr. M on October 21, 2006, 01:32:28 am
Hi there,

I must say this is a great mod!  Thank you a lot!  It's very easy to use.

My question is about the ads that show up in the posts.  Can you tell me the line and in which file I need to modify if I want to change the username that appears for the ad post.  Right now I see it is set to the forum title but I have a long forum title so I would like to change it to something simpler.

Thanks again

Matt
Title: Re: Changing default username for ads in posts
Post by: jerm on October 21, 2006, 06:17:13 pm
I only did that because of the fact that most advertisers don't like you putting the words "ads" or any variant of that next to their ads. I do understand your problem though..
Display.template.php
Look for these two lines:
Code: [Select]
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $context['forum_name'], '</b>
Replace <b>', $context['forum_name'], '</b> with whatever you want
Title: Re: Changing default username for ads in posts
Post by: bigguy on October 21, 2006, 06:57:23 pm
Damn, I was trying to guess where that line might be, got it wrong, lol. Oh well, can't be right about everything.
Title: Re: Changing default username for ads in posts
Post by: Mr. M on October 23, 2006, 11:47:32 am
Thanks!  It works and looks better now.
Title: Re: Changing default username for ads in posts
Post by: DoA on October 30, 2006, 10:18:32 am
Yup, was gonna say, why not just hard-code it in.

Got it sorted now?