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)

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


All times are GMT. The time now is 03:14 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.01910 seconds
  • Memory Usage 1,752KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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