It is currently March 28th, 2024, 2:35 pm



Post new topic Reply to topic  [ 15 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: 105
would be nice if you can inject ads before sending them to themaposter. text, iframe, html would be nice :)


Top
 Profile  
Reply with quote  
 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: 12629
Location: Earth
You could do that with replacements.

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

Joined: August 10th, 2016, 2:52 am
Posts: 105
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  
Reply with quote  
 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: 12629
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 | themaCreator | themaManager | themaLeecher | themaRegister


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

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


Top
 Profile  
Reply with quote  
 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: 12629
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 | themaCreator | themaManager | themaLeecher | themaRegister


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

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


Top
 Profile  
Reply with quote  
 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: 12629
Location: Earth
Change "Your text" to what you need. That's just an example.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

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

\n\nMy Ad Here


nothing in the message


Top
 Profile  
Reply with quote  
 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: 12629
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 | themaCreator | themaManager | themaLeecher | themaRegister


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

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Inject ads to post (replacements).
PostPosted: January 22nd, 2023, 7:06 pm 

Joined: January 7th, 2014, 8:52 am
Posts: 168
How to after?
I try the
Code:
^
this before, i need where post end.

thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Inject ads to post (replacements).
PostPosted: January 22nd, 2023, 7:41 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
This is for the end:

Code:
$

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Inject ads to post (replacements).
PostPosted: March 24th, 2023, 8:24 am 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Inject ads to post (replacements).
PostPosted: March 24th, 2023, 11:01 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
PM me more details with examples.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

Who is online

Users browsing this forum: No registered users and 15 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:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC