themaLeecher
http://leecher.themasoftware.com/forum/

Inject ads to post (replacements).
http://leecher.themasoftware.com/forum/viewtopic.php?f=3&t=6281
Page 1 of 1

Author:  peepntom [ October 18th, 2016, 3:10 pm ]
Post subject:  Inject ads to post (replacements).

would be nice if you can inject ads before sending them to themaposter. text, iframe, html would be nice :)

Author:  Freddy [ October 18th, 2016, 7:09 pm ]
Post subject:  Re: Injet ads to post

You could do that with replacements.

You should have post in BBCode format though since forums don't support HTML.

Author:  peepntom [ October 18th, 2016, 7:23 pm ]
Post subject:  Re: Inject ads to post (replacements).

it's for wordpress. how can i do replacement if i just want to inject a ad? right now i send them over to themeposter since themaleecher has a popup every edit i do.

Author:  Freddy [ October 18th, 2016, 8:15 pm ]
Post subject:  Re: Inject ads to post (replacements).

You can disable successful updates notices in "Settings" (at the top) and there won't be any pop-up.

It depends what you mean by "ad". How should the message text look "before" and "after"?

Author:  peepntom [ October 18th, 2016, 8:35 pm ]
Post subject:  Re: Inject ads to post (replacements).

how about add it to header or footer of each message?

Author:  Freddy [ October 19th, 2016, 7:27 am ]
Post subject:  Re: Inject ads to post (replacements).

You can. With regex replacements.

Search for:
Code:
^


Replace with:
Code:
Your text\n\n


Enable regex search.

This will add "Your text" in the first line.

Search for:
Code:
$


Replace with:
Code:
\n\nYour text


Enable regex search.

This will add "Your text" in the last line.

You can enable to "Apply to all new leeched messages." if you want this for all new leeched messages from all websites.
Or add for specific websites later in "WEBSITES" -> "Replacements".

Author:  peepntom [ October 19th, 2016, 2:45 pm ]
Post subject:  Re: Inject ads to post (replacements).

yeah but where do i place the ad code?? :?

Author:  Freddy [ October 19th, 2016, 6:16 pm ]
Post subject:  Re: Inject ads to post (replacements).

Change "Your text" to what you need. That's just an example.

Author:  peepntom [ October 19th, 2016, 6:38 pm ]
Post subject:  Re: Inject ads to post (replacements).

$

\n\nMy Ad Here


nothing in the message

Author:  Freddy [ October 19th, 2016, 7:14 pm ]
Post subject:  Re: Inject ads to post (replacements).

Maybe you forgot to enable "Apply to all new leeched messages"? Or forgot to even enable "Regex search".

It's also applied when leeching new messages.

You can apply replacements to already leeched messages as well (there is a button above the messages).

Author:  peepntom [ October 19th, 2016, 8:02 pm ]
Post subject:  Re: Inject ads to post (replacements).

hahaha that little regex button! :geek: thanx again for putting up with my nagging

Author:  Baker2 [ January 22nd, 2023, 7:06 pm ]
Post subject:  Re: Inject ads to post (replacements).

How to after?
I try the
Code:
^
this before, i need where post end.

thanks

Author:  Freddy [ January 22nd, 2023, 7:41 pm ]
Post subject:  Re: Inject ads to post (replacements).

This is for the end:

Code:
$

Author:  peepntom [ March 24th, 2023, 8:24 am ]
Post subject:  Re: Inject ads to post (replacements).

if i remove the injected text how do i add another? the title remains first line but i will not be using themaposter. by the way will be sending you my code themaposter won't activate on my new comp

Author:  Freddy [ March 24th, 2023, 11:01 am ]
Post subject:  Re: Inject ads to post (replacements).

PM me more details with examples.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/