Coinbase

Author Topic: Changing default username for ads in posts  (Read 3246 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr. M

  • Newbie
  • *
  • Posts: 2
    • Email
Changing default username for ads in posts
« 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

Offline jerm

  • Support
  • Elite Member
  • *
  • Posts: 726
Re: Changing default username for ads in posts
« Reply #1 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

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Changing default username for ads in posts
« Reply #2 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.

Offline Mr. M

  • Newbie
  • *
  • Posts: 2
    • Email
Re: Changing default username for ads in posts
« Reply #3 on: October 23, 2006, 11:47:32 am »
Thanks!  It works and looks better now.

Offline DoA

  • Jr. Member
  • **
  • Posts: 25
    • Acapella MP3
    • Email
Re: Changing default username for ads in posts
« Reply #4 on: October 30, 2006, 10:18:32 am »
Yup, was gonna say, why not just hard-code it in.

Got it sorted now?

SMF Ads Support Forum

Re: Changing default username for ads in posts
« Reply #4 on: October 30, 2006, 10:18:32 am »
.

 

.