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
Jun 30, 2010
4:02 pm
Member
Forum Posts: 93
Member Since:
Jan 19, 2010
Offline

The url does not seem to work anymore. Could you post the right one?

Best regards Bo
Jun 30, 2010
4:21 pm

SP Master
Forum Posts: 22216
Member Since:
Nov 9, 2008
Online
Jul 15, 2010
4:51 pm
Member
Forum Posts: 6
Member Since:
Jul 15, 2010
Offline
function sf_hook_post_post_by_position($forumid, $topicid, $position)
{
return '';
}

function sf_hook_post_post_by_position($forumid, $topicid, $position) { return ''; }

 

Where to write number 2 – if I want to block advertisements to be displayed second post? There simply are not very good at php Cry

Jul 16, 2010
5:22 am

SP Master
Forum Posts: 22216
Member Since:
Nov 9, 2008
Online

I do not really understand what you mean by 'write number 2'. The post sequence number is stored in the $position variable that is passed into the function. This allows you to test – for example

if($position == 3)

Yellow Swordfish
Jul 16, 2010
10:58 am
Member
Forum Posts: 6
Member Since:
Jul 15, 2010
Offline

scheme needs a
post
post
advertisement
post
post

 

if($position == 3) – in what file it is necessary to make, in what line, in any form.Yell

Jul 17, 2010
4:35 am

SP Master
Forum Posts: 22216
Member Since:
Nov 9, 2008
Online

Do you write php code?

Yellow Swordfish
Jul 17, 2010
3:57 pm
Member
Forum Posts: 6
Member Since:
Jul 15, 2010
Offline
Jul 18, 2010
5:41 am

SP Master
Forum Posts: 22216
Member Since:
Nov 9, 2008
Online

Might be worth searching here on 'adsense'. I know we and users have posted code from time to time. But you will need to at least understand the basics of php and how it works.

Yellow Swordfish
Jul 18, 2010
1:12 pm
Member
Forum Posts: 6
Member Since:
Jul 15, 2010
Offline

Fundamentals and how the code works, I understand, the codes left here I was going through, I realized that it is easier to revise the code forum than ask a simple question here and wait for a response a week. In phpBB3 I have this code inserted in 10 seconds without problems.

Jul 18, 2010
1:37 pm

SP Master
Forum Posts: 22216
Member Since:
Nov 9, 2008
Online

My my. Prickly. 3 days NOT a week.

Maybe the phpBB3 support forum has more than one person answering all the questions.

Maybe I want some life other than sitting here trying to help the odd person like yourself who appeared to be unwilling to help themselves. I can do without this thanks.

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Yellow Swordfish, steve.engelking, prasanna
75 Guest(s)

Currently Browsing this Page:
2 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: 7361

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10890

Posts: 79531

Moderators: Brandon C (162)

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