It is currently October 23rd, 2017, 6:58 pm



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Inject ads to post (replacements).
PostPosted: October 18th, 2016, 3:10 pm 

Joined: August 10th, 2016, 2:52 am
Posts: 60
would be nice if you can inject ads before sending them to themaposter. text, iframe, html would be nice :)


Top
 Profile  
 
 Post subject: Re: Injet ads to post
PostPosted: October 18th, 2016, 7:09 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8419
Location: Earth
You could do that with replacements.

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

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Inject ads to post (replacements).
PostPosted: October 18th, 2016, 7:23 pm 

Joined: August 10th, 2016, 2:52 am
Posts: 60
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.


Top
 Profile  
 
 Post subject: Re: Inject ads to post (replacements).
PostPosted: October 18th, 2016, 8:15 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8419
Location: Earth
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"?

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Inject ads to post (replacements).
PostPosted: October 18th, 2016, 8:35 pm 

Joined: August 10th, 2016, 2:52 am
Posts: 60
how about add it to header or footer of each message?


Top
 Profile  
 
 Post subject: Re: Inject ads to post (replacements).
PostPosted: October 19th, 2016, 7:27 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8419
Location: Earth
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".

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Inject ads to post (replacements).
PostPosted: October 19th, 2016, 2:45 pm 

Joined: August 10th, 2016, 2:52 am
Posts: 60
yeah but where do i place the ad code?? :?


Top
 Profile  
 
 Post subject: Re: Inject ads to post (replacements).
PostPosted: October 19th, 2016, 6:16 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8419
Location: Earth
Change "Your text" to what you need. That's just an example.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Inject ads to post (replacements).
PostPosted: October 19th, 2016, 6:38 pm 

Joined: August 10th, 2016, 2:52 am
Posts: 60
$

\n\nMy Ad Here


nothing in the message


Top
 Profile  
 
 Post subject: Re: Inject ads to post (replacements).
PostPosted: October 19th, 2016, 7:14 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8419
Location: Earth
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).

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Inject ads to post (replacements).
PostPosted: October 19th, 2016, 8:02 pm 

Joined: August 10th, 2016, 2:52 am
Posts: 60
hahaha that little regex button! :geek: thanx again for putting up with my nagging


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC