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 11-13-2008 01:30 PM

Quote:

Originally Posted by ShiZoPhreN (Post 1664056)
Thanks for this Add-On

Feature-Request:

Excludes ForumIDs

next week

karim004 11-13-2008 01:34 PM

Quote:

Originally Posted by xthecanadianx (Post 1663969)
how do i make it so that the banners in the "sponsors" box rotate?
i do not want them to stack in seperate tables. i like the look of the
sponsors box, but they dont rotate. thanks!

rotation= adcodes separated by |
demo :
Code:

google adsense code
|
yahoo script
|
<a href="link1"><img src="banner1"></a>
|
<a href="link2"><img src="banner2"></a>


karel1985 11-14-2008 11:18 AM

Hi Karim,

i'm still using the admanagment, today i tried to install this one.

Now for the moment i use banners in postbit example:

http://www.pc-helpforum.be/f16/verni...-partner-5559/

the blocks 'ook interessant' shows the banners.

Now i use Openads so my clients can change their banners themselfs. Now this is the code i use in admanagment and it works. But when i add it in this system it doensn't show up, only the last banner (no openads) is shown. The delimiter here was a |

Code:

<!--/* Pc Helpforum Adverteersysteem Javascript Tag v2.4.7 */-->

<script type='text/javascript'><!--//<![CDATA[
  var m3_u = (location.protocol=='https:'?'https://www.pc-helpforum.be/ads2008/www/delivery/ajs.php':'http://www.pc-helpforum.be/ads2008/www/delivery/ajs.php');
  var m3_r = Math.floor(Math.random()*99999999999);
  if (!document.MAX_used) document.MAX_used = ',';
  document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
  document.write ("?campaignid=2&amp;what=bannerid:4&amp;source=www.i-reclame.com&amp;target=_blank&amp;withtext=1");
  document.write ('&amp;cb=' + m3_r);
  if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
  document.write ("&amp;loc=" + escape(window.location));
  if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
  if (document.context) document.write ("&context=" + escape(document.context));
  if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
  document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://www.pc-helpforum.be/ads2008/www/delivery/ck.php?n=a75b0174&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.pc-helpforum.be/ads2008/www/delivery/avw.php?campaignid=2&what=bannerid:4&source=www.i-reclame.com&n=a75b0174' border='0' alt='' /></a></noscript>
|
<a href="http://www.pc-helpforum.be/club" target="_blank"><img src="http://www.pc-helpforum.be/afbeeldingen/promo-club2.jpg" alt="pchclub" width="728" height="90" border="0" /></a>

my 2nd question, does the rotation works with this code above?

thanks,

Karel

karim004 11-14-2008 02:43 PM

Quote:

Originally Posted by karel1985 (Post 1665484)
Hi Karim,

i'm still using the admanagment, today i tried to install this one.

Now for the moment i use banners in postbit example:

http://www.pc-helpforum.be/f16/verni...-partner-5559/

the blocks 'ook interessant' shows the banners.

Now i use Openads so my clients can change their banners themselfs. Now this is the code i use in admanagment and it works. But when i add it in this system it doensn't show up, only the last banner (no openads) is shown. The delimiter here was a |

Code:

<!--/* Pc Helpforum Adverteersysteem Javascript Tag v2.4.7 */-->

<script type='text/javascript'><!--//<![CDATA[
  var m3_u = (location.protocol=='https:'?'https://www.pc-helpforum.be/ads2008/www/delivery/ajs.php':'http://www.pc-helpforum.be/ads2008/www/delivery/ajs.php');
  var m3_r = Math.floor(Math.random()*99999999999);
  if (!document.MAX_used) document.MAX_used = ',';
  document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
  document.write ("?campaignid=2&amp;what=bannerid:4&amp;source=www.i-reclame.com&amp;target=_blank&amp;withtext=1");
  document.write ('&amp;cb=' + m3_r);
  if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
  document.write ("&amp;loc=" + escape(window.location));
  if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
  if (document.context) document.write ("&context=" + escape(document.context));
  if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
  document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://www.pc-helpforum.be/ads2008/www/delivery/ck.php?n=a75b0174&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.pc-helpforum.be/ads2008/www/delivery/avw.php?campaignid=2&what=bannerid:4&source=www.i-reclame.com&n=a75b0174' border='0' alt='' /></a></noscript>
|
<a href="http://www.pc-helpforum.be/club" target="_blank"><img src="http://www.pc-helpforum.be/afbeeldingen/promo-club2.jpg" alt="pchclub" width="728" height="90" border="0" /></a>

my 2nd question, does the rotation works with this code above?

thanks,

Karel

to fix the prb remove
Code:

<!--/* Pc Helpforum Adverteersysteem Javascript Tag v2.4.7 */-->
here is you adcode { and yes the rotation works with any script ! }
Code:

<script type='text/javascript'><!--//<![CDATA[
  var m3_u = (location.protocol=='https:'?'https://www.pc-helpforum.be/ads2008/www/delivery/ajs.php':'http://www.pc-helpforum.be/ads2008/www/delivery/ajs.php');
  var m3_r = Math.floor(Math.random()*99999999999);
  if (!document.MAX_used) document.MAX_used = ',';
  document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
  document.write ("?campaignid=2&amp;what=bannerid:4&amp;source=www.i-reclame.com&amp;target=_blank&amp;withtext=1");
  document.write ('&amp;cb=' + m3_r);
  if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
  document.write ("&amp;loc=" + escape(window.location));
  if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
  if (document.context) document.write ("&context=" + escape(document.context));
  if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
  document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://www.pc-helpforum.be/ads2008/www/delivery/ck.php?n=a75b0174&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.pc-helpforum.be/ads2008/www/delivery/avw.php?campaignid=2&what=bannerid:4&source=www.i-reclame.com&n=a75b0174' border='0' alt='' /></a></noscript>
|

<a href="http://www.pc-helpforum.be/club" target="_blank"><img src="http://www.pc-helpforum.be/afbeeldingen/promo-club2.jpg" alt="pchclub" width="728" height="90" border="0" /></a>

check the attach picture for demo

karel1985 11-14-2008 02:54 PM

Great, i will uninstall that other one and install this one,
I will let you know if it works

Best regards,

Karel

xthecanadianx 11-14-2008 08:37 PM

Quote:

Originally Posted by karim004 (Post 1664864)
rotation= adcodes separated by |
demo :
Code:

google adsense code
|
yahoo script
|
<a href="link1"><img src="banner1"></a>
|
<a href="link2"><img src="banner2"></a>


Sponsors adcode
Paste the code for your sponsors here. This time, instead of separating random sets of advertisement code, your delimiter is used to create a table. Each section of advertisement code between delimiters is one table cell. You can use conditionals and phrases, but not shared adcode.

Examples:
<img src="one.jpg" /> | Two | <img src="three.jpg" /> | <img src="four.jpg" /> | Five | <img src="six.jpg" />

If your sponsors per row setting were 3, this would create a table of two rows.


I tried what you said and it still stacks? ^^^^ How do i change the above? i dont
want the ads in the "Sponsors" box to stack. i would like them to rotote. Thanks! :D

Bilderback 11-15-2008 11:38 PM

Great that someone finally ported this.
I read the first 10 pages before giving up so if someone asked this question already, I apologize.
Is there any reason that you are not utilizing the already default vbulletin ad hook locations?
It just seems a bit redundant to create your own ad variables when placing them at an already existent variable location
Code:

$ad_location[ad_header_end] === $ad_headerEnd
$ad_location[ad_header_logo] === $ad_headerLogo
$ad_location[ad_footer_start] === $ad_footerStart
$ad_location[ad_footer_end] === $ad_footerEnd
$template_hook[postbit_end] === $ad_postbit_below
$ad_location[ad_navbar_below] === $ad_leftcolumn_code
$ad_location[ad_footer_start] === $ad_rightcolumn_code

That would solve all template editing except for 3 being your forumbit and threadbit
but Im sure there may be a hook there also.
So you could simplify this Mod by using the default hook variables or by eval()
to hook each location with your own templates.
example:
PHP Code:

eval('$ad_location[ad_header_end] .= "' fetch_template('ad_headerEnd') . '";'); 

If you need help with template hooks and hook locations for plugins, you can PM me.

jhightman 11-16-2008 04:39 AM

Hi Karim,

what do I edit to change the width of the iframe? Any reason for putting this into an iframe? I am trying to get a file to show in my header but the default width of the iframe is busting my design.

Thanks!

appsfinder 11-16-2008 11:17 AM

cannot get these links to work

Forumbit Threadbit & Full page

please can you help:(

allso how can i ads to the register page

appsfinder 11-16-2008 01:40 PM

Quote:

Originally Posted by Quantnet.org (Post 1599621)
How do I get this to work with VBAdvanced?

i need this too any help?

Nadeemjp 11-17-2008 11:30 PM

good hack. i will defintiely use it:)

ronronmx 11-19-2008 04:50 AM

Quote:

Originally Posted by Bilderback (Post 1666463)
Great that someone finally ported this.
I read the first 10 pages before giving up so if someone asked this question already, I apologize.
Is there any reason that you are not utilizing the already default vbulletin ad hook locations?
It just seems a bit redundant to create your own ad variables when placing them at an already existent variable location
Code:

$ad_location[ad_header_end] === $ad_headerEnd
$ad_location[ad_header_logo] === $ad_headerLogo
$ad_location[ad_footer_start] === $ad_footerStart
$ad_location[ad_footer_end] === $ad_footerEnd
$template_hook[postbit_end] === $ad_postbit_below
$ad_location[ad_navbar_below] === $ad_leftcolumn_code
$ad_location[ad_footer_start] === $ad_rightcolumn_code

That would solve all template editing except for 3 being your forumbit and threadbit
but Im sure there may be a hook there also.
So you could simplify this Mod by using the default hook variables or by eval()
to hook each location with your own templates.
example:
PHP Code:

eval('$ad_location[ad_header_end] .= "' fetch_template('ad_headerEnd') . '";'); 

If you need help with template hooks and hook locations for plugins, you can PM me.

I was asking myself the exact same question?!? Why not use the hooks already there?

Now, for the stupid question of the day (yes you can laugh at me I guess...):

What's the "Full Page" ads and where do they show up??? :confused::p

Thx for your time,
Stephane

moleculo 11-19-2008 08:01 PM

Is there a way to make certain ads only applicable to posts within certain forum sections? I need to display ads that are relevent to specific sections. Is there a convenient way of doing this?

timberball 11-20-2008 10:44 PM

hi !
i have a problem with this thing
after i installed the mode , it just show the adds in archive ! i cant see it in my forum !
plz help !
tnx

nocturnix 11-21-2008 03:24 PM

I am having a little bit of problems with my header ad.

I have it currently configured only to display to unregistered user group IDs. It is set NOT to display to all registered user group IDs. When I do this, all of the other ads (threadbit, postbit etc.) work fine except for the header ad.

Now, when I remove the specific user ID settings (for show and do not show) the ad displays fine.

Also, when i have specific user settings it has a big space where the banner should be, but no ad. Its strange, any ideas?

My site is www.necrotalk.com so you can see it for yourself, there is a blank spot at the top below the home | user cp etc. buttons.

You can login with test/test123

karim004 11-21-2008 05:09 PM

Quote:

Originally Posted by nocturnix (Post 1670108)
I am having a little bit of problems with my header ad.

I have it currently configured only to display to unregistered user group IDs. It is set NOT to display to all registered user group IDs. When I do this, all of the other ads (threadbit, postbit etc.) work fine except for the header ad.

Now, when I remove the specific user ID settings (for show and do not show) the ad displays fine.

Also, when i have specific user settings it has a big space where the banner should be, but no ad. Its strange, any ideas?

My site is www.necrotalk.com so you can see it for yourself, there is a blank spot at the top below the home | user cp etc. buttons.

You can login with test/test123

try : display ads for usergroup : 1
and leave do not display ....... empty

nocturnix 11-21-2008 08:20 PM

Quote:

Originally Posted by karim004 (Post 1670174)
try : display ads for usergroup : 1
and leave do not display ....... empty

Thanks for the suggestion! It is still displaying a blank space when visiting as a guest. Here are the user group IDs I have for display: 3|1|4|18|1

And I set do not display to blank.

Nadeemjp 11-22-2008 10:19 AM

i have iinstalled this hack yet the advertisements are not showing.
the following is the code

Code:

<script type="text/javascript">
<!--google_ad_client = "pub-8771238741531768";
/* 728x90, 作成済み 08/11/16 */
google_ad_slot = "8445802467";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

is this the right code to be posting?

i am using it in footer of my forum

karim004 11-22-2008 11:18 AM

Quote:

Originally Posted by Nadeemjp (Post 1670562)
i have iinstalled this hack yet the advertisements are not showing.
the following is the code

Code:

<script type="text/javascript">
<!--google_ad_client = "pub-8771238741531768";
/* 728x90, 作成済み 08/11/16 */
google_ad_slot = "8445802467";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

is this the right code to be posting?

i am using it in footer of my forum

the prb is this extra text : /* 728x90, 作成済み 08/11/16 */


try this :

Code:

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

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


Nadeemjp 11-22-2008 12:27 PM

oh so this is what is causing problem?:o ok lemme try it

Nadeemjp 11-22-2008 12:30 PM

nope, it is still not displaying. i am giving the url here and am leaving it as it is. can you please check?

http://www.familybunker.com

wormman 11-22-2008 03:23 PM

I'd like to hire someone who can get this working for me. I have it installed at http://www.reptilesites.com and can't get it to work. I've tried everything including posting here for help numerous times without an answer. Does anyone know of a paid version like this? I'll gladly pay to buy a working version. Thanks!

Battle_Ring 11-22-2008 10:59 PM

Home some of these templates for this already has some of the edits done to it

Like the end of my header templates has

$ad_location[ad_header_end]

This is on a fresh install

nocturnix 11-23-2008 06:35 AM

I looked at the HTML code my site was displaying when logged out. I saw a blank iframe with no ad code in it. I then realized this might have something to do with the automatic refresh, so tried turning that off for header ads. It worked. My ads display now, hope this helps others.

Simon Lloyd 11-23-2008 09:30 AM

Quote:

Originally Posted by wormman (Post 1670656)
I'd like to hire someone who can get this working for me. I have it installed at http://www.reptilesites.com and can't get it to work. I've tried everything including posting here for help numerous times without an answer. Does anyone know of a paid version like this? I'll gladly pay to buy a working version. Thanks!

Ken, Karim004 does provide an install service amongst others but you will have to PM him and ask as he cannot advertise that here!

Sekonda 11-23-2008 09:54 AM

I can't get this to work with my BidVertiser :(

Any help please?

bluez71 11-23-2008 05:23 PM

Hey guys....i just dloaded this mod but for the love of god i cannot find the readme/install file.

Any ideas where it is?

newsoftw 11-24-2008 09:09 AM

helloo & how r.........

i successfully the Advertisement System V2.6 in VB 3.7.4 but now how to Templates edits for vb 3.7...

i don't understand...

plz any body help...

thanks in ADVNS
Ayaz Ali

Simon Lloyd 11-24-2008 03:21 PM

There is a file called Template Edits for vb 3.7.x in the zip file open with wordpad or similar for where to edit.

If you want to see it in action explore http://www.thecodecage.com

Simon Lloyd 11-24-2008 03:24 PM

Quote:

Originally Posted by bluez71 (Post 1671456)
Hey guys....i just dloaded this mod but for the love of god i cannot find the readme/install file.

Any ideas where it is?

You just upload the files using ftp to the same folder structure then go to Manage Products and upload
the product-advertisment_2.6.xml make sure you click the overwrite button.

You can explore http://www.thecodecage.com to see it in action

newsoftw 11-24-2008 06:45 PM

Quote:

Originally Posted by Simon Lloyd (Post 1672009)
There is a file called Template Edits for vb 3.7.x in the zip file open with wordpad or similar for where to edit.

If you want to see it in action explore http://www.thecodecage.com


yap i known about this file & i means how to add instruction in Template Edits for vb 3.7...
but i don't understand his editing....how to & where ???

who is explane it.....

Simon Lloyd 11-25-2008 05:25 AM

That file shows you where eg.
Quote:

Originally Posted by Template Edits
1=upload the 4 files in folder upload to your forum folder

2= import the product-advertisement
*** Header : 2 edits

1= at the end add : $ad_headerEnd

All the instructions are there, you can then adjust some of the areas to have titles, take a look at http://www.thecodecage.com at the bottom of the page you will see "The Code Cage Affiliates" instead of "The Code Cage Advertisments"

newsoftw 11-25-2008 01:24 PM

the header google ads not show in center of forum ...

plz how to set it in center of forum & also the google ads is not display to Unregistered / Not Logged In

plz help any body....

thanks in ADVNS
newsoftw

Simon Lloyd 11-25-2008 02:07 PM

Where would you like the Advert to show?. Setting which group can see them and which cannot is in each of the Ad modules in VBulletin Options.

karim004 11-25-2008 02:16 PM

Quote:

Originally Posted by newsoftw (Post 1672692)
the header google ads not show in center of forum ...

plz how to set it in center of forum & also the google ads is not display to Unregistered / Not Logged In

plz help any body....

thanks in ADVNS
newsoftw

admincp , style manager , your style , template header and center $ad_headerEnd
Code:

<center>$ad_headerEnd</center>

newsoftw 11-25-2008 02:22 PM

i does not set any group and i leave it for ervery one.

newsoftw 11-25-2008 02:26 PM

Quote:

Originally Posted by karim004 (Post 1672727)
admincp , style manager , your style , template header and center $ad_headerEnd
Code:

<center>$ad_headerEnd</center>


thxxxxxxxxx dear & it's working............

Simon Lloyd 11-25-2008 03:07 PM

You will see in the Advertising System options (VBulletin options) something like this limit who sees the ads:
Do NOT display Postbit advertisements to Usergroups:
IDs of the usergroups who will not see the Postbit advertisements, separated by |

Just add the usergroups id who you do not wish to see the ads, there is also something similar below to explicitly show the ads to certain groups.

You will see at my site http://www.thecodecage.com/forumz that you can see the ads but other members who belong to different usergroups see ads in different places to you the unregistered user.

newsoftw 11-25-2008 03:46 PM

i set uesr group but not working for unregister user...

and show some error...

1 :-
Unable to add cookies, header already sent.
File: /home/newsoftw/public_html/forums/autorefresh_navbar.php
Line: 1

2:-
Unable to add cookies, header already sent.
File: /home/newsoftw/public_html/forums/autorefresh_footer.php
Line: 1

and also check pic..

Simon Lloyd 11-25-2008 04:09 PM

Newsoftw, which templates did you edit? and with what? Try turning the Autorefresh off in the Advertisement system (if you use autorefresh for google it could get your google account disabled!).


All times are GMT. The time now is 10:54 AM.

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.02348 seconds
  • Memory Usage 1,873KB
  • 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
  • (13)bbcode_code_printable
  • (2)bbcode_php_printable
  • (15)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