Quote:
Originally posted by rawnet
It would be truly fantastic if a system like this existed which also adds the site's signature to any messages posted through it.
So it's advertising the site on each posting, even if the user doesn't have the site in their signature.
Can this be incorporated into the next release, or what files should we change to achieve this?
Thanks for such a useful hack - adds immeasurably to the forums,
Cheers,
Ross
|
Ross,
This is very easy to do (We already do it)
Just edit your gateway.php and look for:
Quote:
$signature .= "$newthread[username]'s Profile: $settings[profileurl]$newthread[userid]\n";
$signature .= "View this thread on SBW: $settings[threadurl]$newthread[threadid]\n";
|
And add any lines just above those you want appended to every outgoing message.
For example here is ours:
Quote:
$signature .="Posted via Sportbike World - The internets largest community dedicated to sportbikes.\n";
$signature .="http://www.sportbikeworld.com\n";
$signature .= "$newthread[username]'s Profile: $settings[profileurl]$newthread[userid]\n";
$signature .= "View this thread on SBW: $settings[threadurl]$newthread[threadid]\n";
|