A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS Related Topics
Monetize - Adsense Help
Dec 14, 2009
5:20 pm
Member
Forum Posts: 68
Member Since:
Feb 24, 2009
Offline

And before you say anything, I already use the hooks as described at in the Wiki.

But I'm not really happy with the hook option of inserting adsense into the forum. When adsense is integrated as a hook, say at the top of an individual post it repeats it down the line for all posts under the topic and leaves blank holes when the displays exceed the number that google allows.

When I place the adsense block in the most logical place to avoid that, above the individual topic, it gets lost since the user focus is really everything below that. 

Is there a way to incorporate adsense in a way that could always maintain the third post in a string was the adsense block. Or some way to place it once in a list of posts under a topic without manually having to do that?

Dec 14, 2009
5:35 pm
Member
Forum Posts: 68
Member Since:
Feb 24, 2009
Offline

When I say third post, I mean third down from the top as the topic is viewed, no matter which page of the topic is viewed. I'm not trying to say the actual third post in a topic.

What I'm using right now for hooks is first post and last post.

Dec 14, 2009
5:44 pm

SP Master
Forum Posts: 22201
Member Since:
Nov 9, 2008
Offline

Currently no way. But it would be easy for me to add in.
So would you want this to appear in the same place within a post that the first and last hooks currently occupy?

Yellow Swordfish
Dec 14, 2009
5:54 pm
Member
Forum Posts: 68
Member Since:
Feb 24, 2009
Offline

I'd like for it to appear as the X (user defined) post down from the topic as setup for the forum to be viewed (i.e. last post top or first post top).

For example as you view a topic:

Post

Post

Monitized Block

Post

Post

If a user was to move to the next page in the responses to a topic then it would still appear in the same  place on all pages.

Dec 14, 2009
11:56 pm

SP Master
Forum Posts: 22201
Member Since:
Nov 9, 2008
Offline

yes – I understood that. What I was referring to was the location of the area in the post the hook is applied to.

Yellow Swordfish
Dec 15, 2009
1:35 am
Member
Forum Posts: 68
Member Since:
Feb 24, 2009
Offline

Ahh, yes. I'd suggest the post top hook.

Mar 14, 2010
5:36 am
Member
Forum Posts: 93
Member Since:
Jan 19, 2010
Offline

Is it possible to do this now?

Best regards Bo
Mar 14, 2010
5:41 am

SP Master
Forum Posts: 22201
Member Since:
Nov 9, 2008
Offline

Yes: the sf_hook_post_post_by_position() takes a position number as a parameter.

Yellow Swordfish
Mar 14, 2010
9:15 pm
Member
Forum Posts: 68
Member Since:
Feb 24, 2009
Offline

So where do you define the position number and how?

Mar 14, 2010
10:05 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: verser233, woody, steve.engelking
81 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2625

Members: 7360

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10888

Posts: 79519

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22201), Mr Papa (23688)