Jump to content

Community

(NB41) Enhanced Advertisements


newbie LAC

Recommended Posts

So the enhancements are all position and style related? Any plans to add badly needed customer metrics? Site owners sell advertising, but paying advertisers have no feedback metrics. When I saw the title of this mod I got excited hoping for this functionality. Even a basic click count that advertisers could view would be great.

Link to comment
Share on other sites

where are the instructions?? I have purchased this but have no idea how to make it work.

the only help is a few screenshots. so if i want to put ads after categories what code do i use? i tried what was in the photo but nothing shows.

how do i add ads after certain number of posts? the div class that is shown as example how do you define after which posts? eg 1 and 3?

if i am using google ads where does this code go? for the amount of money i paid i thought i was going to get proper explanations/tutorials.

Edited by jp
Link to comment
Share on other sites

Hello,

13 hours ago, superj707 said:

So the enhancements are all position and style related?

Ad related with css selector(s).

13 hours ago, superj707 said:

Any plans to add badly needed customer metrics?

I don't know what's "customer metrics". If you want clicks counter I can add.

4 hours ago, jp said:

where are the instructions??

Inbuilt advertisiment system + css selectors + phpquery selectors

1. Define css selector. You can use firebug for this.

2. Define position

positions.jpg

3. Go to ACP - System - Advertisements - Add advert

- Fill all fields as you want

- Show the advertisement. Check CSS selector

- Custom CSS and position. CSS selector .test. Position. Select position. See above screenshot.

4 hours ago, jp said:

but have no idea how to make it work.

You can use support topic if you have any questions or problems.

4 hours ago, jp said:

so if i want to put ads after categories what code do i use?

after_cats.jpg

- Selector

.cForumList

- Position Insert advert after the chosen element(s)

Result

after_cats2.jpg

4 hours ago, jp said:

how do i add ads after certain number of posts?

Define selector

4 hours ago, jp said:

the div class that is shown as example how do you define after which posts? eg 1 and 3?

Firebug + phpquery selectors.

Each post content code looks like 

<div data-role="commentContent" itemprop="text" class="ipsType_normal ipsType_richText ipsContained" data-controller="core.front.core.lightboxedImages">
	<p>
		0000000000000000000000000000
	</p>
</div>

I used

div[data-role="commentContent"]

But ad show in each post. I need restrict that.

I used

div[data-role="commentContent"]:eq(0)

0 is 1st post

Now ad show in 1st post. But I want show ad in 3 post also.

I added separate by comma

div[data-role="commentContent"]:eq(2)

2 is 3rd post.

Total selector 

div[data-role="commentContent"]:eq(0), div[data-role="commentContent"]:eq(2)

Position. I want add ad inside post content before text.

I selected Insert advert inside the chosen element(s), at the start

4 hours ago, jp said:

if i am using google ads where does this code go?

Put your code in HTML code field -> Define css selector -> Select position.

Add ad after 1 and 3 posts

- Selector

article.cPost:eq(0), article.cPost:eq(2)

- Position 

Insert advert after the chosen element(s)

 

Link to comment
Share on other sites

thanks, i will read and retry.

one other thing, i have had to uninstall as when i installed it 'broke' the ability on my site for users to upload images to the forum. I had lots of complaints and i realised this was the only thing i had done, i uninstalled and it fixed the problem. Please look into why this would happen and let me know when it is fixed so i can try to reinstall.

Link to comment
Share on other sites

2 hours ago, jp said:

thanks, i will read and retry.

one other thing, i have had to uninstall as when i installed it 'broke' the ability on my site for users to upload images to the forum. I had lots of complaints and i realised this was the only thing i had done, i uninstalled and it fixed the problem. Please look into why this would happen and let me know when it is fixed so i can try to reinstall.

Helllo,

If you mean broken images I fixed and updated the file.

Edited by newbie LAC
Link to comment
Share on other sites

3 minutes ago, jp said:

how do i add an advert after category 3 and 5?

So like the posts, but now want to do it for categories. not sure what to put in the css selector.

Hello,

Give me a link on your forum. If it's private you can use PM.

Edit. 

.cForumList li[data-categoryid="A"], .cForumList li[data-categoryid="B"]

A and B are category ID.

Insert advert after the chosen element(s)

 

Edited by newbie LAC
Link to comment
Share on other sites

There is a problem with review ads as a Guest

If I create ads and I refresh the page several times without being logged in - as a Guest. The ads begin to appear twice. It is only as a guest. If you are logged user no problem.

Untitled-1.jpg

 

Link to comment
Share on other sites

1 minute ago, kalin said:

There is a problem with review ads as a Guest

If I create ads and I refresh the page several times without being logged in - as a Guest. The ads begin to appear twice. It is only as a guest. If you are logged user no problem.

Untitled-1.jpg

 

Hello,

Give me a link on problem page and show me ad settings.

Link to comment
Share on other sites

so this app still seems to 'break' the display of images.

uploaded and installed latest version 1.02 but still occurring.

 

see image below where the images aren't displaying. if i uninstall your app the images display fine.

Voila_Capture 2016-6-11_11-28-21_am.png

Link to comment
Share on other sites

12 hours ago, kalin said:

There is a problem with quotes. If I put a banner in post, when someone quotes this post part of html code appears in the new post. Example: https://www.kaldata.com/forums/topic/253594-sha-256/?do=findComment&comment=3374178

Hello again

You can add in your code

data-excludequote

Example

<div style="float:right; position:relative; padding: 0 0 0 5px;" data-excludequote>
    Google ads code
</div>

 

Link to comment
Share on other sites

Hi Newbie_Lac

Can you advise on finding the correct css location?

I want to have a advertisement on each Topic page just under the breadcrumbs:

This for each page (all pages)

 if you look at this page, it would be just under: 

 Our Community - Forums - Community Led Resources - IPS Marketplace Topics - (NB41) Enhanced Advertisements

Link to comment
Share on other sites

11 hours ago, Karel Beuckelaere said:

I want to have a advertisement on each Topic page just under the breadcrumbs:

This for each page (all pages)

Hello,

body[data-pageapp="forums"][data-pagemodule="forums"][data-pagecontroller="topic"] .ipsBreadcrumb_top

Insert advert after the chosen element(s)

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy