Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ad Management System Details »
Ad Management System
Mod Version: 0.1, by Carnage (Coder) Carnage is offline
Developer Last Online: Sep 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (0 vote - 0 average) Installs: 8
Released: 19 Jun 2009 Last Update: 25 Jun 2009 Downloads: 67
Not Supported DB Changes Uses Plugins Template Edits Auto-Template Additional Files Is in Beta Stage  

This mod needs special care when installing; please read the entire of this post and the first post in this thread before attempting an installation.

Ad Management System for Vbulletin
Requirements
  • Vbulletin 3.7+
  • Vbulletin 3.6.x and Additional compatibility product.
  • MySQL 5.0.3+ (5.1.16 recommended)

Features
  • Allow users to upload ads for display on your forums
  • Manage (approve and reject) ads from the admin cp
  • Payment handled via VB subscriptions
Coming soon: (either not implemented or not functional)
  • Restrict max number of active ads at one time; any extras will be queued for display
  • External mode (share ads between different forums)
  • Default ads (show a default ad if none exist)
  • Network ads (mix ads from a 3rd party host into rotation)

Installation
1. Backup DB
2a. If you have changed the name of your admincp, rename the admincp directory appropriately.
2b. Upload files in upload directory to your forum root.
2c. (Vbulletin 3.6.x only) Install the ad compatibility product
3. Import admanager product file. IMPORT 1 PRODUCT FILE ONLY (see below)
4. Edit navbar template and add a link to advertising.php

Note: there are TWO product files. One is for use with mysql versions 5.0.3+ the other will only work if:
a) Your vbulletin database user account has the SUPER privilege
b) You are running MySQL 5.1.16+ and your account has the CREATE TRIGGER privilege

If you use the first product file (for 5.0.3) you need to run the following queries using an account with the super privilege.

There is now also a third product file, this file is only needed if you are using vbulletin 3.6.x


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Setup
This mod may be a little confusing for some; this is intended as a brief usage guide:

Once installed, a menu should be added to your admin cp (you may have to refresh first) under styles + templates, this menu contains one entry: show/edit adzones. Before you click this link, you should setup at least 1 paid subscription for use with this mod and make a note of its id (can be found by editing it, its in the title bar with the subscription title). You should use the subscriptions description to describe the ad zone it will be used for; specify max/min image dimensions and any rules you may have for ads, this description will be shown to users uploading ads to the zone.

You will be presented with a list of all ad_ template found in the database, VB3.7 has about 8, there may be more with 3.8, VB 3.6 has none, however I will be releasing a version of this mod for VB 3.6 shortly.

Click the edit link next to an ad zone you wish to allow users to buy ads in. Fill in the information; title will be the title shown to users purchasing ads so should be descriptive of the zone eg: 'Below Header'; the max active ads section dosn't work currently however will be implemented in a future release; subscription id should be the id number of the subscription you created earlier.

You will be returned to the list, now the n/a's for the adzone will have been replaced with numbers. Clicking a number will show all ads with the indicated status. Clicking the ads pending admin approval number will take you to a form where you can approve and reject ads submitted by users.

If the numbers here remain 0 even when there are ads in the categories; you havn't added the triggers correctly.

Usage
The intended usage pattern for this mod looks like this:
1. User uploads an advert to the site.
2. An admin approves the ad for display
3. The user purchases a subscription
4. The ad is displayed for the length of the subscription

This is a alpha release and may contain bugs, you should test this mod on a dev site before installing it onto a production site.

Notes on behaviours
Ads can be edited by users if and only if they have been rejected or they have not yet been approved.
Once an ad has been rejected or approved, that desision cannot be changed.
Each user may only submit 1 ad per ad zone.
This mod may conflict with any mod that adds plugins to the subscription system.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	snapshot1.jpg
Views:	268
Size:	71.5 KB
ID:	100796   Click image for larger version

Name:	snapshot2.jpg
Views:	138
Size:	33.2 KB
ID:	100797   Click image for larger version

Name:	snapshot3.png
Views:	102
Size:	17.0 KB
ID:	100798   Click image for larger version

Name:	snapshot4.png
Views:	152
Size:	27.2 KB
ID:	100799  

Click image for larger version

Name:	snapshot5.jpg
Views:	214
Size:	66.6 KB
ID:	100800  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements User Powered Moderation System Lite (Post Management System) eXtremeTim Modification Graveyard 36 26 Aug 2007 16:41

Comments
  #2  
Old 19 Jun 2009, 16:08
Carnage Carnage is offline
 
Join Date: Jan 2005
I anticipate many Q's about the mysql triggers stuff so i'm reserving this post to answer them in
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #3  
Old 19 Jun 2009, 16:09
Carnage Carnage is offline
 
Join Date: Jan 2005
This post is for feature requests
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #4  
Old 19 Jun 2009, 16:27
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Any screenshots?
Reply With Quote
  #5  
Old 19 Jun 2009, 16:32
Carnage Carnage is offline
 
Join Date: Jan 2005
Putting some together now
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #6  
Old 20 Jun 2009, 08:18
Come2Daddy Come2Daddy is offline
 
Join Date: May 2008
I'm interested, actually

I've been thinking of something like this

thank you for sharing
Reply With Quote
  #7  
Old 20 Jun 2009, 11:22
raja811 raja811 is offline
 
Join Date: Oct 2006
mose screenshot pls
Reply With Quote
  #8  
Old 20 Jun 2009, 11:49
Carnage Carnage is offline
 
Join Date: Jan 2005
raja: what else did you have in mind?

The screenshots i've posted show a wide range of the usage of the mod - remember payment is handled through the existing vbulletin subscription system
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #9  
Old 25 Jun 2009, 21:45
Carnage Carnage is offline
 
Join Date: Jan 2005
I've uploaded a product to provide compatibility with vbulletin 3.6.x
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #10  
Old 10 Aug 2011, 09:48
J517E7B2F4A5 J517E7B2F4A5 is offline
 
Join Date: May 2009
this will work nice but i've just one small problem when i trying to upload and image this is what it tell me

There was an error encountered with your upload:

Invalid File Path Specified
What i've to do for fix this small error?


Edit: fixed

Last edited by J517E7B2F4A5; 10 Aug 2011 at 11:02.
Reply With Quote
  #11  
Old 10 Aug 2011, 11:27
J517E7B2F4A5 J517E7B2F4A5 is offline
 
Join Date: May 2009
Originally Posted by J517E7B2F4A5 View Post
this will work nice but i've just one small problem when i trying to upload and image this is what it tell me



What i've to do for fix this small error?


Edit: fixed
Founded Thank you works like a charm
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:17.

Layout Options | Width: Wide Color: