News:

Version 3.5 has been released. Visit https://custom.simplemachines.org/mods/index.php?mod=255 to get the most up to date version.

Main Menu
Coinbase

Changing default username for ads in posts

Started by Mr. M, October 21, 2006, 02:32:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mr. M

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

jerm

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:
<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

bigguy

Damn, I was trying to guess where that line might be, got it wrong, lol. Oh well, can't be right about everything.

Mr. M


DoA

Yup, was gonna say, why not just hard-code it in.

Got it sorted now?