vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Banner Ads System (https://vborg.vbsupport.ru/showthread.php?t=104432)

calgdsm 07-27-2006 01:09 AM

Quote:

Originally Posted by burntire
Go to your Banner Ad Template and Replace the highlighted color below with the full URL to banner.php

Example <a href="http://www.yoursite.com/forums/banner.php?

<if condition="$vboptions['bannersys_mode']">
<if condition="$bbuserinfo['userid'] == '0'">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td><a href="banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions['bannersys_popup']">target='_blank'</if>><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
<br />
<else />
<if condition="$vboptions['bannersys_ads2all'] AND $bbuserinfo['userid']">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td><a href="banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions[bannersys_popup]">target="_blank"</if>"><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
</if>
</if>
</if>

Nope that didnt work either, the link was trying to go to www.sitename.comdo=redirect&bannerid=$ads3

elliotc 07-27-2006 11:09 PM

Hi guys!

The mod is great, but can anyone said me how post 2-4 banner on the same time (side by side) on the header, with this plug-in?:ermm:

Thanks for any help!!!

calgdsm 07-28-2006 02:45 AM

Burntire,
when i put in the full path it made all the banners go to the same url, any thoughts?

burntire 07-28-2006 09:52 PM

Quote:

Originally Posted by calgdsm
Burntire,
when i put in the full path it made all the banners go to the same url, any thoughts?

Below is the code I use in the bannerads template.
Just so we are clear this fixes the problem of the banner ads not redirecting when clicked on if you are using CMPS to create your sites home page.
Code:

<if condition="$vboptions['bannersys_mode']">
<if condition="$bbuserinfo['userid'] == '0'">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
        <td><a href="http://www.YOURSITE.com/forums/banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions['bannersys_popup']">target='_blank'</if>><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
<br />
<else />
<if condition="$vboptions['bannersys_ads2all'] AND $bbuserinfo['userid']">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
        <td><a href="http://www.YOURSITE.com/forums/banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions[bannersys_popup]">target="_blank"</if>"><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
</if>
</if>
</if>


calgdsm 07-30-2006 01:37 AM

Quote:

Originally Posted by burntire
Below is the code I use in the bannerads template.
Just so we are clear this fixes the problem of the banner ads not redirecting when clicked on if you are using CMPS to create your sites home page.
Code:

<if condition="$vboptions['bannersys_mode']">
<if condition="$bbuserinfo['userid'] == '0'">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
        <td><a href="http://www.YOURSITE.com/forums/banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions['bannersys_popup']">target='_blank'</if>><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
<br />
<else />
<if condition="$vboptions['bannersys_ads2all'] AND $bbuserinfo['userid']">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
        <td><a href="http://www.YOURSITE.com/forums/banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions[bannersys_popup]">target="_blank"</if>"><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
</if>
</if>
</if>


Ok, im not having a problem with cmps anymore as soon as i added "ads" as a hook good to go.

What the problem is the links are not redirecting to the url, it works in the cp but not on the site.

PondPikey 07-30-2006 08:20 AM

Hope someone can gelp. Im using a Kartel fixed theme and am unable to get the banners to display, Im pretty sure ive set it up correctly.

Ive amended the global start hook in banner plugin manager. Im using the following to try and display the banners but with the no luck in FORUMHOME

PHP Code:

<td align="right" valign="middle" width=100%>
$bannerads</a><br


bashy 08-01-2006 08:06 PM

Hi

Can this be placed elsewhere, please see the 3 boxes below the nacbar on my site, i would like this to show in the Partners box (3rd 1)

Is this possible please?

ZacUSNYR 08-03-2006 01:11 PM

Cool idea - perhaps you can add onto it more?

$banneradnav , $banneradfooter, $banneradheader

And selectable when you add a banner in the admincp?

dr.science 08-03-2006 09:02 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, bt now I just need to enable flash banners to be used.

Thanks!

burntire 08-06-2006 10:43 PM

This hack is working fine on 3.6.0.

dr.science 08-06-2006 10:57 PM

Quote:

Originally Posted by dr.science
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

Quote:

Originally Posted by dr.science
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=...od&productId=8

dr.science 08-07-2006 01:54 AM

Quote:

Originally Posted by elliotc
I think you need the Expanded version to the flash support!

http://www.vbviet.com/index.php?act=...od&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

Quote:

Originally Posted by Puntoboy
Quote:

Originally Posted by tnguy3n
@ 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/....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.

Quote:

Originally Posted by ncangler
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

Quote:

Originally Posted by mkdevo
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, 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

Quote:

Originally Posted by TheoMessinis
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

Quote:

Originally Posted by Jack Crazy (Post 1119387)
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

Quote:

Originally Posted by Jack Crazy (Post 1119492)
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 Code:

<?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'), 1111'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'04);
    
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_successfully');
    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'), 1111'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'), 111'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

Quote:

Originally Posted by Oap JTRipper (Post 1035986)
working fine for me

vb 3.6 rc2
vba 2.2

www.oapsquad.com/forums/

if your using custom themes have you done this
PHP Code:

Thishowevermay 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??


All times are GMT. The time now is 06:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01784 seconds
  • Memory Usage 2,005KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete