Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


phpBB Question.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
RushXTC
Advanced Cheater
Reputation: 0

Joined: 19 Apr 2009
Posts: 77

PostPosted: Thu Jul 23, 2009 6:11 am    Post subject: phpBB Question. Reply with quote

I have a phpbb forum and I was wondering if anyone knows how DB added the ad's to the top and bottom of his forum? I wanted to do that, But eh, I'm new to this o.o

Edit : Also like this ad under the post

VV
Back to top
View user's profile Send private message
Jesper
Grandmaster Cheater Supreme
Reputation: 9

Joined: 21 Feb 2007
Posts: 1156

PostPosted: Thu Jul 23, 2009 6:18 am    Post subject: Reply with quote

Maybe some phpBB add-on. Look on the admin control panel for one.
Or just a raw file edit. There are probably guides on this all over google so you should try searching.
Back to top
View user's profile Send private message
Butters
Grandmaster Cheater Supreme
Reputation: 71

Joined: 17 Mar 2007
Posts: 1373

PostPosted: Thu Jul 23, 2009 6:59 am    Post subject: Reply with quote

First, you need to sign up to an advertising provider like AdSense or AdBrite. You'll be given some instructions on how to set up an account, in which you have to provide personal details including your name, DoB and address. They need your address so that they may send you cheques periodically upon the required quota being met (AdSense's quota is $100, AdBrite's is a variable that you can set).

(Note: You have to be 18 to use these services, if you aren't, then you are not legally allowed to use them).

Then, when you've done that and followed the instructions, you can find a guide on how to do it here. It basically entails opening up some of your files and then placing the Code in the correct places, nothing too challenging.

After that, give the ads a few hours to start generating based on your forum's content, and wallah. An advertisement banner on each of your pages.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

Joined: 09 May 2003
Posts: 25953
Location: The netherlands

PostPosted: Thu Jul 23, 2009 7:28 am    Post subject: Reply with quote

Easiest is to place the ads in the style code.
Then perhaps a few ifxxx styledefs for different kind of ads depending on the user. (e.g unregistered have a big ads and registered users have small ads or none at all)
And control those styledefs with some basic php

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
RushXTC
Advanced Cheater
Reputation: 0

Joined: 19 Apr 2009
Posts: 77

PostPosted: Thu Jul 23, 2009 9:15 am    Post subject: Reply with quote

Butters wrote:
First, you need to sign up to an advertising provider like AdSense or AdBrite. You'll be given some instructions on how to set up an account, in which you have to provide personal details including your name, DoB and address. They need your address so that they may send you cheques periodically upon the required quota being met (AdSense's quota is $100, AdBrite's is a variable that you can set).

(Note: You have to be 18 to use these services, if you aren't, then you are not legally allowed to use them).

Then, when you've done that and followed the instructions, you can find a guide on how to do it here. It basically entails opening up some of your files and then placing the Code in the correct places, nothing too challenging.

After that, give the ads a few hours to start generating based on your forum's content, and wallah. An advertisement banner on each of your pages.


I got accepted for AdSense last night, Also, I was reading that thread you linked me to earlier, I can't seem to find the files they're talking about (index_body.tpl, viewforum_body.tpl) I did see those files but named "tpl_acidtech_viewtopic_body.(H/tml).php" (AcidTech is my forums style) Tried looking for what they said to find, but it wasn't there, maybe 'cause we're in 3.0.5 now and that was for 2.0.17 o.o
Back to top
View user's profile Send private message
Butters
Grandmaster Cheater Supreme
Reputation: 71

Joined: 17 Mar 2007
Posts: 1373

PostPosted: Thu Jul 23, 2009 10:12 am    Post subject: Reply with quote

Oh, right. The files you'll want to find are located in root\styles\stylename\templates

You'll want to edit index_body.html, viewtopic_body.html and viewforum_body.html. Play around with the code to find the place where you want the ads.
Back to top
View user's profile Send private message
RushXTC
Advanced Cheater
Reputation: 0

Joined: 19 Apr 2009
Posts: 77

PostPosted: Thu Jul 23, 2009 3:32 pm    Post subject: Reply with quote

Butters wrote:
Oh, right. The files you'll want to find are located in root\styles\stylename\templates

You'll want to edit index_body., viewtopic_body. and viewforum_body.. Play around with the code to find the place where you want the ads.


hmm, They don't seem to be showing, Is there something else i'm supposed to do? ;o
Back to top
View user's profile Send private message
Butters
Grandmaster Cheater Supreme
Reputation: 71

Joined: 17 Mar 2007
Posts: 1373

PostPosted: Thu Jul 23, 2009 4:34 pm    Post subject: Reply with quote

If you're using PHPbb3.0.5, they'll be there, you just aren't looking in the right directories.
Back to top
View user's profile Send private message
RushXTC
Advanced Cheater
Reputation: 0

Joined: 19 Apr 2009
Posts: 77

PostPosted: Fri Jul 24, 2009 12:52 am    Post subject: Reply with quote

Butters wrote:
If you're using PHPbb3.0.5, they'll be there, you just aren't looking in the right directories.


Sorry, I meant the ads =X It worked once, With a different style, but the current style im using it wont show, Does this mean the style im using doesnt support it? =X
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites