Log in

View Full Version : Banner Ads System


Pages : 1 [2]

dr.science
08-06-2006, 10:57 PM
I have been searching everywhere. Can someone please help me to add a flash banner to my site? I have this mod, fully functional on CMPS and all, but now I just need to enable flash banners to be used.

Thanks!

If anyone knows, can you please let me know... at least point me in the right direction.

Thanks! I really need help with this, and would greatly appreciate it.

elliotc
08-06-2006, 11:04 PM
If anyone knows, can you please let me know... at least point me in the right direction.

Thanks! I really need help with this, and would greatly appreciate it.


I think you need the Expanded version to the flash support!

http://www.vbviet.com/index.php?act=viewProd&productId=8

dr.science
08-07-2006, 01:54 AM
I think you need the Expanded version to the flash support!

http://www.vbviet.com/index.php?act=viewProd&productId=8


Thanks for the link, I've been looking for something like that.

Now if it wasn't a $25 charge for basically just being able to use flash ads. Not much of a reason to purchase. :/

ZacUSNYR
08-10-2006, 11:51 AM
i'd glady pay for the mod if you could add multiple spots for ads and choose them in the admincp.

Puntoboy
08-19-2006, 11:34 AM
@ Puntoboy: you can use conditional in banner template. i.e. <if condition="($bbuserinfo['usergroupid'] != 6) OR ($bbuserinfo['usergroupid'] != 7)">SHOW BANNER ADS</if>

how and where do i add this?

any help with this please?

also, when searching for new posts and there are no more new posts, the banners do not display.

how can i make them display?

http://www.puntosports.co.uk/forums/search.php?do=getnew

ltaylor
08-19-2006, 06:51 PM
I have a HUGE problem. I backed up before loading this hack ...but soon as I loaded the xml file, vbulletin cpanel is nothing now but coding . I cannot get in to even delete the xml file, nor can i access my regular server cpanel. ???????

Puntoboy
08-20-2006, 03:19 PM
this is the issue i'm having with another Mod i have installed, and i'm having the exact same problem with this one.

Marky, Thank you for this addon. It has really helped me develop more options for my forums. I have noticed one small problem that I am hoping you can help me with. When you select "New Posts" from the vBulletin navbar and there are no new posts then the additional navbar does not appear. Do you know how I can adjust the code to have the second navbar show up in every instance? Thanks.
Randy

geevest.com
09-16-2006, 09:19 AM
hei...if i save banner....always show erro :
could not find phrase ........
anyone know?

TheoMessinis
09-21-2006, 08:11 AM
do we have an updated version for VB3.6.1?

or am i hoping for too much?

MustangLisa
09-21-2006, 06:12 PM
This works great for me, thanks! Just a question ... how would I set this up for a whole different set of banners to display above the FOOTER on each page?

mkdevo
09-23-2006, 09:03 PM
just installed this, and i'm looking forward to getting it going.. but i have a question..

i did the :::::UPDATE::::: from the original post, so i can place the $bannerads in places other than the navbar - or so i thought.. when i put $bannerads at the bottom of the navbar, the banner shows up, however, i'm trying to use this in combination with this mod (http://www.vbulletin.com/forum/showthread.php?t=157022), to get the banners to show up after the first post in a thread, but it's not working. i'm replacing the BANNER CODE HERE with $bannerads, but nothing shows up.

any ideas?

anyone have an answer to this?

apparently i got it working before, but i don't know how. i just updated to 3.6.1, and it's no longer working..

farooqaaa
09-24-2006, 01:54 AM
Instaliing, great one!

B.A.D.
09-25-2006, 09:15 PM
FYI

Your email is down both info and sales@vbviet.com
Your PM Inbox is full as well.
Are you OK??????????????????

Please email aplumber@ix.netcom.com

jklimczak
10-05-2006, 12:40 PM
I Need to add code from a ad server so i went to go buy this hack and 40$ now

Jack Crazy
10-06-2006, 06:49 AM
In the Admin CP i have just a single black bar like link. I have no options to update the banners. nothing in admin cp

AndrusW
10-06-2006, 09:58 PM
do we have an updated version for VB3.6.1?

or am i hoping for too much?

Same question here.

dklassen
10-13-2006, 04:24 AM
Any updates?

dklassen
10-13-2006, 02:31 PM
I purchased his banner software and he is no where to be found. He has my money but I don't have his software.

Jack Crazy
10-14-2006, 04:16 AM
dang that sucks. i still have nothing in my admin CP

dklassen
10-14-2006, 04:18 AM
I put in a dispute to PayPal and still he doesn't answer. The moderator should take his posts down so no one else gets stuck.

Jack Crazy
11-17-2006, 03:55 PM
I tried reinstalling, still NOTHING in ADMINCP. I read every post and page regarding this hack but admincp banner manager remains empty...

burntire
11-17-2006, 04:34 PM
I tried reinstalling, still NOTHING in ADMINCP. I read every post and page regarding this hack but admincp banner manager remains empty...


Works for me are you using 3.6.3?

Jack Crazy
11-17-2006, 06:28 PM
No, I am currently running vBulletin version 3.5.1

yup, still three black bars where the banner manager is... damnit

burntire
11-17-2006, 07:00 PM
No, I am currently running vBulletin version 3.5.1


yup, still three black bars where the banner manager is... damnit


Upgrade that old software.

Jack Crazy
11-18-2006, 07:14 PM
Is their something wrong in my banneradmin.php file?
<?php

/*================================================= =====================*\
|| ################################################## ################## ||
|| # Banner System Lite v.1.0 # ||
|| # Author: Thinh Nguyen (tnguy3n) # ||
|| # Support site: http://www.vbviet.com # ||
|| # Copyright ? 2005 vBviet Network. All Rights Reserved. # ||
|| # This file may not be redistributed in whole or significant part # ||
|| ################################################## ################## ||
\*================================================ ======================*/

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('GET_EDIT_TEMPLATES', true);
define('THIS_SCRIPT', 'banneradmin');

require_once('./global.php');

// #################### Start main script ####################

if (empty($_REQUEST['do']))
{
$_REQUEST['do'] = 'settings';
}

if($_REQUEST['do'] == 'settings'){

header("Location: options.php?do=options&dogroup=bannersys");
}

// Banner Manager
if($_REQUEST['do'] == "manage")
{
print_cp_header("Banner System Manager");
print_table_start();
print_table_header("Banner Manager", 4);
print_form_header('banneradmin','addbanner');
$banners = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "bannersys_banners ORDER BY bannerid ASC");
print_cells_row(array('Banner', 'Dimension', 'Status','Options'), 1, 1, 1, 1, 'tcat');
while($banner = $db->fetch_array($banners))
{
$bannerid = $banner['bannerid'];

if($banner['status'] == '0')
{
$status = '<font color="red">Inactive</font>';
$linkopt = "<a href=\"banneradmin.php?do=activate&bannerid=$bannerid\">Activate</a>";
}
elseif($banner['status'] == '1')
{
$status = '<font color="green">Active</font>';
$linkopt = "<a href=\"banneradmin.php?do=deactivate&bannerid=$bannerid\">Deactivate</a>";
}
elseif($banner['status'] == '2')
{
$status = '<font color="yellow">Unapproved</font>';
$linkopt = "<a href=\"banneradmin.php?do=approve&bannerid=$bannerid\">Approve</a>";
}

$cell = array();
$cell[] = "<div align='center'>$banner[bannername]<br />$banner[bannerdesc] <br /><a href=\"$banner[bannerurl]\" title=\"$banner[bannername]\" target=\"_blank\"><img src=\"$banner[imgurl]\" alt=\"$banner[bannername]\" borde=\"0\"></a></div>";
$cell[] = $banner['bwidth'] . ' x ' . $banner['bheight'];
$cell[] = $status;
$cell[] = "<div align='center'><a href=\"banneradmin.php?do=modify&bannerid=$bannerid\">Modify</a> | <a href=\"banneradmin.php?do=delete&bannerid=$bannerid\" onClick=\"return confirm('Delete it?')\">Delete</a><br />$linkopt</div>";
print_cells_row($cell);
}
print_submit_row('Add New Banner', 0, 4);
print_table_footer();
print_cp_footer();
exit;
}
if($_REQUEST['do']=="addbanner"){
print_cp_header("Add New Banner");
print_table_start();
print_table_header("Add Banner");
print_form_header('banneradmin','insertbanner');
print_input_row("Banner Name:<dfn>Your banner name.</dfn>", 'bannername');
print_input_row("Description:<dfn>Short description for the banner.</dfn>", 'bannerdesc');
print_input_row("Banner Link:<dfn>Home link of the banner. Must start with http://www..</dfn>", 'bannerurl');
print_input_row("Image Location:<dfn>Location of banner image. Must start with http://www.</dfn>", 'imgurl');
print_input_row("Banner Width:<dfn></dfn>", 'bwidth');
print_input_row("Banner Height:<dfn></dfn>", 'bheight');
print_yes_no_row("Active?:<dfn>Is it active?</dfn>", 'status');
print_submit_row('Add Banner', 0);
print_table_footer();
print_cp_footer();
exit;
}

if($_POST['do'] == 'insertbanner')
{
$vbulletin->input->clean_array_gpc('p', array('bannername' => TYPE_STR, 'bannerdesc' => TYPE_STR, 'bannerurl' => TYPE_STR, 'imgurl' => TYPE_STR, 'bwidth' => TYPE_INT, 'bheight' => TYPE_INT, 'status' => TYPE_INT));

$db->query_write("
INSERT INTO " . TABLE_PREFIX . "bannersys_banners(bannername, bannerdesc, bannerurl, imgurl, bwidth, bheight, status)
VALUES('" . addslashes(htmlspecialchars_uni($vbulletin->GPC[bannername])) . "',
'" . addslashes(htmlspecialchars_uni($vbulletin->GPC[bannerdesc])) . "',
'" . addslashes(htmlspecialchars_uni($vbulletin->GPC[bannerurl])) . "',
'" . addslashes(htmlspecialchars_uni($vbulletin->GPC[imgurl])) . "',
'" . intval($vbulletin->GPC[bwidth]) . "',
'" . intval($vbulletin->GPC[bheight]) . "',
'" . intval($vbulletin->GPC[status]) . "')
");
define('CP_REDIRECT', "banneradmin.php?do=manage");
print_stop_message('banner_added_successfully');
exit;
}

if($_REQUEST['do']=="modify")
{
$vbulletin->input->clean_array_gpc('r', array('bannerid' => TYPE_INT));

$banner= $db->query_first("SELECT * FROM " . TABLE_PREFIX . "bannersys_banners WHERE bannerid = '" . $vbulletin->GPC['bannerid'] . "'");
print_cp_header("Modify Banner");
print_table_start();
print_table_header("Modify Banner: $banner[bannername]");
print_form_header('banneradmin','update');
construct_hidden_code('bannerid', $banner['bannerid']);
print_input_row("Banner Name:<dfn>Your banner name.</dfn>", 'bannername', $banner['bannername']);
print_input_row("Description:<dfn>Short description for the banner.</dfn>", 'bannerdesc', $banner['bannerdesc']);
print_input_row("Banner Link:<dfn>Home link of the banner. Must start with http://www..</dfn>", 'bannerurl', $banner['bannerurl']);
print_input_row("Image Location:<dfn>Location of banner image. Must start with http://www.</dfn>", 'imgurl', $banner['imgurl']);
print_input_row("Banner Width:<dfn></dfn>", 'bwidth', $banner['bwidth']);
print_input_row("Banner Height:<dfn></dfn>", 'bheight', $banner['bheight']);
print_yes_no_row("Active?:<dfn>Is it active?</dfn>", 'status', $banner['status']);
print_submit_row($vbphrase['update']);
print_table_footer();
print_cp_footer();
exit;
}

if($_POST['do'] == 'update')
{
$vbulletin->input->clean_array_gpc('p', array(
'bannerid' => TYPE_INT,
'bannername' => TYPE_STR,
'bannerdesc' => TYPE_STR,
'bannerurl' => TYPE_STR,
'imgurl' => TYPE_STR,
'bwidth' => TYPE_INT,
'bheight' => TYPE_INT,
'status' => TYPE_INT
));

$db->query_write("UPDATE " . TABLE_PREFIX . "bannersys_banners
SET bannername = '" . addslashes(htmlspecialchars_uni($vbulletin->GPC[bannername])) . "',
bannerdesc = '" . addslashes(htmlspecialchars_uni($vbulletin->GPC[bannerdesc])) . "',
bannerurl = '" . addslashes(htmlspecialchars_uni($vbulletin->GPC[bannerurl])) . "',
imgurl = '" . addslashes(htmlspecialchars_uni($vbulletin->GPC[imgurl])) . "',
bwidth = '" . intval($vbulletin->GPC[bwidth]) . "',
bheight = '" . intval($vbulletin->GPC[bheight]) . "',
status = '" . intval($vbulletin->GPC[status]) . "'
WHERE bannerid = '" . intval($vbulletin->GPC[bannerid]) . "'
");
define('CP_REDIRECT', "banneradmin.php?do=manage");
print_stop_message('updated_banner_successfully');
exit;
}

if ($_REQUEST['do'] == 'delete')
{
$vbulletin->input->clean_array_gpc('r', array('bannerid' => TYPE_INT));
$db->query_write("
DELETE FROM " . TABLE_PREFIX . "bannersys_banners
WHERE bannerid = '" . intval($vbulletin->GPC[bannerid]) . "'
");
define('CP_REDIRECT', "banneradmin.php?do=manage");
print_stop_message('deleted_banner_successfully');
exit;
}

if ($_REQUEST['do'] == 'activate')
{
$vbulletin->input->clean_array_gpc('r', array('bannerid' => TYPE_INT));
$db->query_write("
UPDATE " . TABLE_PREFIX . "bannersys_banners SET status = '1'
WHERE bannerid = '" . intval($vbulletin->GPC[bannerid]) . "'
");
define('CP_REDIRECT', "banneradmin.php?do=manage");
print_stop_message('activated_banner_successfully' );
exit;
}

if ($_REQUEST['do'] == 'deactivate')
{
$vbulletin->input->clean_array_gpc('r', array('bannerid' => TYPE_INT));
$db->query_write("
UPDATE " . TABLE_PREFIX . "bannersys_banners SET status = '0'
WHERE bannerid = '" . intval($vbulletin->GPC[bannerid]) . "'
");
define('CP_REDIRECT', "banneradmin.php?do=manage");
print_stop_message('deactivated_banner_successfull y');
exit;
}


// banner stats
if($_REQUEST['do'] == 'stats')
{
print_cp_header("Banner Stats Manager");
print_table_start();
print_table_header("Banner Stats", 4);
print_cells_row(array('Banners', 'Total Hits', 'Status','Option'), 1, 1, 1, 1, 'tcat');

$getstats = $db->query_read("SELECT banners.bannerid, banners.bannername, banners.bannerurl, banners.status, stats.*, COUNT(stats.bannerid) AS totalhits
FROM " . TABLE_PREFIX . "bannersys_stats AS stats
LEFT JOIN " . TABLE_PREFIX . "bannersys_banners AS banners ON (banners.bannerid = stats.bannerid)
GROUP BY stats.bannerid
ORDER BY totalhits DESC
");
while($stats = $db->fetch_array($getstats))
{
if($stats['status'] == '0')
{
$status = '<font color="red">Inactive</font>';
}
elseif($stats['status'] == '1')
{
$status = '<font color="green">Active</font>';
}
elseif($stats['status'] == '2')
{
$status = '<font color="yellow">Unapproved</font>';
}

// print results
$cell = array();
$cell[] = "<a href=\"$stats[bannerurl]\" target=\"_blank\">" . $stats['bannername'] . '</a>';
$cell[] = $stats['totalhits'];
$cell[] = $status;
$cell[] = "<div align='center'><a href=\"banneradmin.php?do=viewstats&bannerid=$stats[bannerid]\">View Detail</a></div>";
print_cells_row($cell);
}
print_table_footer();
print_cp_footer();
}


// view banner stats
if($_REQUEST['do'] == 'viewstats')
{
$bannerid = $vbulletin->input->clean_gpc('r', 'bannerid', TYPE_INT);

print_cp_header("Banner Stats Manager");
print_table_start();
print_table_header("Detail Stats", 3);
print_cells_row(array('User', 'Visit Date', 'User IP'), 1, 1, 1, 'tcat');

$getstats = $db->query_read("SELECT stats.*, banner.bannerid, user.userid, user.username
FROM " . TABLE_PREFIX . "bannersys_stats AS stats
LEFT JOIN " . TABLE_PREFIX . "bannersys_banners AS banner ON (banner.bannerid = stats.bannerid)
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = stats.visitorid)
WHERE stats.bannerid = '$bannerid'
ORDER BY stats.visitdate DESC
");
while($stats = $db->fetch_array($getstats))
{
$stats['visitdate'] = vbdate($vbulletin->options['dateformat'], $stats['visitdate']);

if($stats['userid'])
{
$user = "<a href=\"../member.php?u=$stats[userid]\">" . $stats['username'] . '</a>';
}
else
{
$user = 'Guest';
}

// print results
$cell = array();
$cell[] = $user;
$cell[] = $stats['visitdate'];
$cell[] = $stats['visitorip'];
print_cells_row($cell);
}
print_table_footer();
print_cp_footer();
}


?>

Jack Crazy
11-18-2006, 07:21 PM
and this is what I see in ACP:
https://vborg.vbsupport.ru/external/2006/11/13.jpg

MotMann
11-26-2006, 10:04 AM
How i can put in complet affilicodes?

MotMann
01-01-2007, 10:00 PM
No answer here? :(

Puntoboy
03-16-2007, 08:09 PM
working fine for me

vb 3.6 rc2
vba 2.2

www.oapsquad.com/forums/

if your using custom themes have you done this
This, however, may not be working with some custom skins if navbar template's codebit are changed. To fix that problem, open Banner System plugin (at global_start hook), replace the whole content with:

// Banner Ads System by tnguy3n
if($vbulletin->options['bannersys_mode'])
{
$getads = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "

bannersys_banners WHERE status = '1' ORDER BY RAND() LIMIT 1");
$ads = $vbulletin->db->fetch_array($getads);

// print banner ads
eval('$bannerads = "' . fetch_template('bannerads') . '";');

$vbulletin->db->free_result($getads);
unset($getads);
}

I have done this but the ads do not show...:down:

RichieBoy67
06-12-2007, 07:32 PM
This has always worked for me..

Where is the download??? I understand you are selling a version now but to remove the older version and leave the whole thread is just not right....

I don't have a spare $20 right now and would like to download the one that was here... Does anyone have it?? Please??

mustangcanada
06-13-2007, 08:00 PM
I paid for it and the site said my payment never went through... but it did in payal.

what's the deal.

RichieBoy67
06-15-2007, 12:21 AM
I just want the free version...

I appreciate the work etc but it just seems unfair that this thread is being used as a bait and switch type of thing to make people buy the premium version...

I hate coming here because I need an older mod or something, spending time searching, finally finding the mod just to findout it is now gone but I can pay for another version... Kind of unfair..

PM sent with no reply.....

Whats the deal mods?

RichieBoy67
06-30-2007, 01:44 PM
This is safe practice here now?

Basically have a bait and switch post with no required files??? You allow a free mod to be posted but the only way you can get it is if you go to another site and pay???

I was tempted to pay but after numerous e-mails and PM's with not one returned I have decided against it...

Would anyone here be nice enough to let me have the files for this? I know someone has to have the zip downloaded...

I do appreciate the work that goes into mods like this. I just find it questionable to have a post like this promoting something that is not here and something I have never had a problem with... If the mod isn't here what is the reason for the thread? It is obvious the author isn't providing support anymore....

lukewarm
07-27-2007, 08:45 PM
i agree man im a student running a free website community that comes out of my pocket ill take the zip if someone has it as well

xevier69
08-02-2007, 12:15 PM
Hi There,

I hope I will find someone hwo can give me a hand solving my mystery as I cannot contact the developer, even their site www.vbviet.com is down this morning.
Anyway, I purchased the system, installed it and run it for about a week or so and suddenly when clicked on any of the sequence banners no matter what I'm being taken to a IP host page - so in other words the linked URL's are not working anymore. I checked the settings for each banner - the locations and url's all start with http://www. etc as described. I finally uninstalled the product and re-installed and no luck. I also have VBADVANCED installed on my web and wondered if this thing somehow, someway changed the settings - question is WHERE? I checked all my global settings and they appear to be fine. PLEASE HELP - I'm going nuts with it and hate to dump $25.00 and look for something else.

Thanks:mad:

jaskel
11-23-2007, 10:44 AM
so did u guys purchase this proggy??? where is the best place to download it?