vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Advertisement System V2.6 Aka Ad Management (https://vborg.vbsupport.ru/showthread.php?t=179083)

karim004 06-18-2008 07:55 PM

Quote:

Originally Posted by SAWASCI (Post 1552872)
i tried this but some advertise can not seem.may be because of google..

if you mean adsense !
Code:

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxx";

google_ad_slot = "xxxxxxx";
google_ad_width = 460;
google_ad_height = 68;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript"><!--
google_ad_client = "pub-xxxxxx";

google_ad_slot = "xxxxxxx";
google_ad_width = 460;
google_ad_height = 68;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


MorrisMcD 06-18-2008 08:22 PM

Awesome addon.. A bit confusing at first considering the version changes etc.. Pretty much requires you read the ENTIRE thread to know the exact way to configure. But I have what I need out of it and very much excited about whats to come of this over time. I may get more use than I originally was seeking.

I do think you should be more detailed on the readme in the install as to avoid confusion as to how the code should be entered in each box.. But I am a bit on the noob side of the spectrum. Maybe examples? Would have helped me immensely.

Now for my question.. :) I use vbadvanced cmps and the header ads do show on the front page. Is there a way to actually keep this from happening?

Again.. Great addon.. Tyvm.. Install clicked

karim004 06-18-2008 09:47 PM

06/18/2008 Version 2.2
*******************
fix :
*** permission for slideshow
*** remove the table when you disable ad in footer (below whats going on )) for usergroupID !
*** Ability to change the adtitle via admincp in footer and postbit
new features :
** use simple or auto refresh rotation (you must disable one if you want use the other )
** post as user in postbit & postbit_legacy (ability to add a avatar )

If you upgrade plz backup first all your ad codes just open notepad and save your codes

iogames 06-18-2008 09:52 PM

Go-go-go! ;)

karim004 06-18-2008 09:56 PM

sorry i forgot attach the 3 php files for auto refresh
fix

EhsanAhmad 06-18-2008 10:10 PM

Great Work Bud , Just updated !

karim004 06-18-2008 10:24 PM

Quote:

Originally Posted by MorrisMcD (Post 1552923)
Awesome addon.. A bit confusing at first considering the version changes etc.. Pretty much requires you read the ENTIRE thread to know the exact way to configure. But I have what I need out of it and very much excited about whats to come of this over time. I may get more use than I originally was seeking.

I do think you should be more detailed on the readme in the install as to avoid confusion as to how the code should be entered in each box.. But I am a bit on the noob side of the spectrum. Maybe examples? Would have helped me immensely.

Now for my question.. :) I use vbadvanced cmps and the header ads do show on the front page. Is there a way to actually keep this from happening?

Again.. Great addon.. Tyvm.. Install clicked

check 1 reply
https://vborg.vbsupport.ru/showthrea...68#post1518268

MorrisMcD 06-18-2008 11:48 PM

Quote:

Originally Posted by karim004 (Post 1553023)

Unfortunately I am having issues now... :) I upgraded to 2.2.. I did the template edits, which I checked and they weren't there. If I recall correctly 2.1 didn't have any?

Anyway, the templates are setup according to your readme. But now, when I enable the advertising system, it shifts my site banner logo to the left.. Which I currently have centered just through editing the header template..

Any ideas? Although minor, I think you improved on the admincp options.. ty

SAWASCI 06-19-2008 12:58 AM

i have to click the auto refresh box for showing advertising..or i can't see anything on header.and footer.and my advertising not centered as like 2.1...my ads showing left side on header. :(

i want 2,1 again but i deleted :(

junaid 06-19-2008 03:27 AM

I see Header Ads on centre how I put right side corner

SAWASCI 06-19-2008 03:29 AM

<right> ad code </right> try this.

Quantnet 06-19-2008 03:47 AM

thanks for the new version.
The empty box at the footer is now gone.

junaid 06-19-2008 04:20 AM

Quote:

Originally Posted by SAWASCI (Post 1553233)
<right> ad code </right> try this.

where I have put this code??

Silviu 06-19-2008 06:06 AM

Hi karim004, great hack, works like a charm, but I have a question: do any of the vBulletin conditionals work with it? So I could show different ads on different sections of the forum? Something along the lines of:

HTML Code:

<if condition="in_array($forumid, array(X,Y,Z))">
show_ad_code1
<else />
show_ad_code2
</if>


erinys 06-19-2008 07:13 AM

great work with the update! But yeah for some reason i aswell have lost the ability to show the header and footer ads. I did the edits as mentioned though so im not sure.

Have you got any idea where i can look to get it solved? wich templates etc?

thanks!

scruffy 06-19-2008 07:26 AM

Hey :)

I have started a forum, (VW) as a necessity! But I am uber untechnical, and the only person I had to assit me has gone awol :(

Whilst I understand tis must be blimmin annoying, I am trying to learn this stuff, honest to gawd I am - but struggling muchly. Hell I'm still learning how to e-mail. I was wondering, *as you do* f someone could spend a moment with me to explain in cildlike terms how to add an advertisement bit down the side of my forum? I have 2 companies that have sent me logos etc, but not an idea how to add them :( Even had offers of money from a different 2 but had to say no as I cant do it. Bit on my own here with the running of it, and could really use some assistance. Pretty please.

Em x

fodboldforumdk 06-19-2008 09:18 AM

Couldent find it anywere so i ask.

This Ad system. Can it run CPM, CPC, CPA, Time Frame and mixed?

mry 06-19-2008 09:30 AM

direct rewirte to on.. or new install for upgrade ?

giorgioarmani 06-19-2008 09:34 AM

how do i do the upgrade?

erinys 06-19-2008 01:42 PM

header and footer dont show anymore in the website, they do howevery show up in the archive,

any idea? the rest works, all template edits are done

karim004 06-19-2008 02:49 PM

Quote:

Originally Posted by erinys (Post 1553577)
header and footer dont show anymore in the website, they do howevery show up in the archive,

any idea? the rest works, all template edits are done

check admincp , vBulletin Options , Advertisement System (Header & Footer)
even if you enable Enable header or footer advertisements in the main forum you must select what type of rotation :
ads rotation or auto refresh ads
check 1 reply
https://vborg.vbsupport.ru/showt...68#post1518268

PlayfulGod 06-19-2008 02:49 PM

:erm: my shyt dont show now after the upgrade. :mad:

karim004 06-19-2008 02:50 PM

Quote:

Originally Posted by Silviu (Post 1553293)
Hi karim004, great hack, works like a charm, but I have a question: do any of the vBulletin conditionals work with it? So I could show different ads on different sections of the forum? Something along the lines of:

HTML Code:

<if condition="in_array($forumid, array(X,Y,Z))">
show_ad_code1
<else />
show_ad_code2
</if>


yes silviu , works with all vb conditions

erinys 06-19-2008 04:01 PM

Quote:

Originally Posted by karim004 (Post 1553628)
check admincp , vBulletin Options , Advertisement System (Header & Footer)
even if you enable Enable header or footer advertisements in the main forum you must select what type of rotation :
ads rotation or auto refresh ads
check 1 reply
https://vborg.vbsupport.ru/showt...68#post1518268

Thanks, that seems to work, but the ads are displayed completely on the bottom, even below the powered by vbulletin crap.

any idea how to get them a bit better placed? like just below the quickreply or alike?

thanks a lot for the help and suggestions

karim004 06-19-2008 04:14 PM

Quote:

Originally Posted by erinys (Post 1553700)
Thanks, that seems to work, but the ads are displayed completely on the bottom, even below the powered by vbulletin crap.

any idea how to get them a bit better placed? like just below the quickreply or alike?

thanks a lot for the help and suggestions

you mean footer ? well go to admincp , style manager , footer and move
Code:

$ad_location[ad_footer_end]
above
Code:

<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        $vbphrase[powered_by_vbulletin]
        <!-- Do not remove this copyright notice -->
        </div>


scruffy 06-19-2008 04:35 PM

Thanks.

RedGTiVR6 06-19-2008 04:38 PM

Glad to see this taken on!

We're looking for a solution for our current forums, and I'm a bit unsure if this is it for us. I've tried reading through, but with 16 pages, it's a bit difficult.

We need the following:

1) Google ads
1a) visible by user group (in other words, if not logged in, then will see the ads)
2) Rotating Banner ads
2a) shown to everyone, but possible to disable per user group as well
3) Sponsored forums - the ability to specify which banner will headline in which forum. Will not rotate

I understand that #3 might require a different mod all together...but I want to check.

Can anyone verify if this will work as we need it to?

Thanks!

karim004 06-19-2008 04:43 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1553742)
Glad to see this taken on!

We're looking for a solution for our current forums, and I'm a bit unsure if this is it for us. I've tried reading through, but with 16 pages, it's a bit difficult.

We need the following:

1) Google ads
1a) visible by user group (in other words, if not logged in, then will see the ads)
2) Rotating Banner ads
2a) shown to everyone, but possible to disable per user group as well
not rotate

I understand that #3 might require a different mod all together...but I want to check.

Can anyone verify if this will work as we need it to?

Thanks!

yes you have all this (( and more ))

Code:

3) Sponsored forums - the ability to specify which banner will headline in which forum.  Will
maybe i can add this in vext version

RedGTiVR6 06-19-2008 05:09 PM

sweet! all that AND a quick response!

I like it!

Will be downloading and installing as soon as we do our 7.1 PL2 update and SEO installs!

erinys 06-19-2008 05:12 PM

Quote:

Originally Posted by karim004 (Post 1553716)
you mean footer ? well go to admincp , style manager , footer and move
Code:

$ad_location[ad_footer_end]
above
Code:

<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        $vbphrase[powered_by_vbulletin]
        <!-- Do not remove this copyright notice -->
        </div>


thanks man! that worked ;)

Silviu 06-19-2008 07:11 PM

Quote:

Originally Posted by karim004 (Post 1553635)
yes silviu , works with all vb conditions

Well, the thing is that I'm trying to use the postbit_legacy ad location to show one ad code in a particular section and another for the rest of the forum (the ads are displayed as the last post in a thread).

So my code looks like this:

HTML Code:

<if condition="$forumid == 22">
<div align="left">
{first ad script}
</div>
<else />
{second ad script}
</if>

But the conditional doesn't work, and both ads are displayed everywhere :(

Later edit: I also tried <if condition="$thread['forumid'] == 22">, but it doesn't work either.

karim004 06-19-2008 07:33 PM

Quote:

Originally Posted by Silviu (Post 1553879)
Well, the thing is that I'm trying to use the postbit_legacy ad location to show one ad code in a particular section and another for the rest of the forum (the ads are displayed as the last post in a thread).

So my code looks like this:

HTML Code:

<if condition="$forumid == 22">
<div align="left">
{first ad script}
</div>
<else />
{second ad script}
</if>

But the conditional doesn't work, and both ads are displayed everywhere :(

Later edit: I also tried <if condition="$thread['forumid'] == 22">, but it doesn't work either.

you must edit ad_postbit_below if you want use the condition in postbit&postbit_legacy
just put the code in template ad_postbit_below betwen
<if condition="$thread['forumid'] == 22"> and </if>

Silviu 06-20-2008 03:58 AM

Quote:

Originally Posted by karim004 (Post 1553904)
you must edit ad_postbit_below if you want use the condition in postbit&postbit_legacy
just put the code in template ad_postbit_below betwen
<if condition="$thread['forumid'] == 22"> and </if>

So the end result would be:

HTML Code:

<td class="alt1" align="center">
<if condition="$thread['forumid'] == 22">
<div align="left">
{first ad script}
</div>
<else />
                $postbit_ad
</if>
</td>

?

Keyser S?ze 06-20-2008 05:06 AM

for postbit & postbit_legacy you have the ability to set more permissions like :

could you also make it to have it set after random post?

:Judge: 06-20-2008 08:07 AM

Thank you very much karim004 for sharing this add-on. Your hard work and generosity is most appreciated!

I do have a question on selecting an advert unique to a page much like Silviu here..

Quote:

Originally Posted by Silviu (Post 1553879)
Well, the thing is that I'm trying to use the ad location to show one ad code in a particular section and another for the rest of the forum.

It would be realy nice to use a unique advert in the navbar between vBA Index, Arcade and classifieds. Is there an easy way to use a condition for a page?

Another idea is the option to exclud forum areas like private staff areas would be nice to. Again that's just an idea not a request. :)

srkrocks 06-21-2008 11:11 AM

Installed..Thanks!

Juel 06-21-2008 12:11 PM

Hi all, i just installed this on my v3.7 and it dosent work at all..
Why are the instructions for this so poor?
All i get is a error:
theslide has no properties
[Break on this error] if (theslide[1]!="")
In forum line 384.

what is this? and no matter what i click to on, no adds appeare..

Adam21 06-22-2008 06:31 AM

Uninstalling this mod will delete several default templates you have.BE AWARE!!!

Juel 06-22-2008 01:56 PM

I just get a error in my forum.. No adds at all just an error... i have followed the howto for the 3.7 version..

JirQUEST 06-22-2008 04:46 PM

I am having issues with the header and footer ads. They don't show at all. Tried whatever has been suggested in this thread to no avail.


All times are GMT. The time now is 07:46 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.01923 seconds
  • Memory Usage 1,846KB
  • 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
  • (6)bbcode_code_printable
  • (5)bbcode_html_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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