Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Want some advice to setup a new feature in my Forum.
Author Message
DIMSKK
Junior Member


Posts: 23
Joined: Oct 2008
Reputation: 0
Post: #1
Want some advice to setup a new feature in my Forum.
Hello,

I have a forum powered by MyBB and I want to start an adsense revenue sharing program for my members. I have searched a lot about this type of MOD but failed. I think there is no such mode for mybb.
So, I am thinking to make one by myself for my forum. I don't know PHP, but I know html partially. But still I think that I can setup this for my forum through someone support who know PHP. Actually, I do not necessarially need an automated MOD like other. I also want to do it manually.

First of all, I need the following features for my MOD.

1) Ads of the members who post a new thread will show after the first post in the topic. (Probablly 100% of views because I think splitting into fractions may be difficult)
2) Ads of the last poster in the specific thread will show after the last post in the topic. (This one I think also should be 100%)
3) I am talking about only Google Adsense.

Now, I have the following things to do this in my mind.

1) When someone post a new thread, all the data of the specific member is taken from his profile. I am talking about signature, post count etc. When I opened the templates, I have seen many codes representing all these things. For example "Signature" is represented by "{$post['signature']}" and other things are also like this.
So, what I am thinking is that first of all we make a custom profile field (signature is also a profile field) and then we will add it in the template where we want to show ads. Let us say it is "{$post['first_member_ad_ID']}" and insert it in the space between first post in the topic and second post in the topic. Here we should also specify that only ads of first poster in the topic should be shown. On the board index, It is shown in front of forums the last poster in that forum and also his name. So, i think it is also possible to insert the ad code of first poster in the place we want. I mean that we can insert "first_member_ad_ID" after the first post in the topic in the same way as poster's "username" is shown on the board index page.
Now, i want to say some thing about how can we insert it after the first post. For this, I think mybbcenteral have also created mod named something like "Ad management" which can show ads after the first post. So, we can replace the adsense ID in the code which we put in "Ad management" MOD with the code "{$post['first_member_ad_ID']}" , which should represent first poster's ad ID.

2) for ad after the last post in the topic, I think the procedure should be the same. Only we have to use the ad ID of last poster in the topic and the rest is the same. I am currently running adsense ads after the first post and last post in the topic in my forum. I have manually added the ad code after the last post in the topic.


So, I only need help with PHP. Can someone make the php codes representing the Ad IDs of first poster in the topic and the last poster in the topic. Please help me. I am really in need of this MOD. I think someone will help me after the above explanation.

Thanks
Khan
01-11-2009 06:09 PM
Alexandru21
Super Moderator


Posts: 137
Joined: Jun 2008
Reputation: 0
Post: #2
RE: Want some advice to setup a new feature in my Forum.
You can use: MyAds, Profile Ads, Post Ads or Cool Ads.

01-11-2009 07:12 PM
DIMSKK
Junior Member


Posts: 23
Joined: Oct 2008
Reputation: 0
Post: #3
RE: Want some advice to setup a new feature in my Forum.
(01-11-2009 07:12 PM)Alexandru21 Wrote:  You can use: MyAds, Profile Ads, Post Ads or Cool Ads.

Do they have a revenue sharing feature??? I don't think so. They can only show predefined ads and not poster's own ads.
01-11-2009 11:24 PM


atomicj
Junior Member


Posts: 22
Joined: Jan 2009
Reputation: 0
Post: #4
RE: Want some advice to setup a new feature in my Forum.
There is a revenue sharing mod, not sure of the features, but it exists... though I'm not going to disclose whom is giving it away (conflict of interest)... Although, this person has not yet updated the plugin to work with the new version of myBB, and there is no word when the new version will be released.

Just be patient... One will emerge in the coming weeks. Be sure to check out myBB's main forum for a wide range of releases from all the publishers & developer's... That will be your best bet... but like I said, be patient. These guys are working on other things and don't necessarily want to focus on every plugin shown to them (these things take time to put together)...

Just curious... as there may be other ways for you to share revenue with your team. How many people do you plan sharing revenue with?...
(This post was last modified: 01-12-2009 06:29 PM by atomicj.)
01-12-2009 07:00 AM
DIMSKK
Junior Member


Posts: 23
Joined: Oct 2008
Reputation: 0
Post: #5
RE: Want some advice to setup a new feature in my Forum.
I know about one mod but it is not compatible with MYBB 1.4 (it is compatible with 1.2).
Moreover, it's developer is not working on it.
That is why i want to create one manually. I just want help with php.
I want to share revenue with all members of my forum which make posts. Like the one that digitalpoint forums are offering.
01-12-2009 05:11 PM
 


Forum Jump: