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 09-18-2008 06:42 PM

amazonia plz read my previous post i said :
Quote:

* go to admincp , style manager , your style , templates : ad_headerEnd , ad_navbarBelow , ad_footerEnd

add the full link to the autorefresh files:
Code:

http://www.yourforumlink/autorefresh_header.php
Code:

http://www.yourforumlink/autorefresh_navbar.php
Code:

http://www.yourforumlink/autorefresh_footer.php

not forum\autorefresh_header.php

xsscrew 09-18-2008 06:42 PM

It doesn't show advertisment to guests?
I have already set the permissions

Amazonia8 09-18-2008 08:27 PM

Quote:

Originally Posted by karim004 (Post 1625067)
amazonia plz read my previous post i said :

not forum\autorefresh_header.php

My friend, do i need to take screenshots to you? I did exactly what you said, im not dumb or something.
It must be something else, dunno what.

Note: It is working perfectly for logged in users.

ad_headerEnd
Code:

<if condition="$vboptions[advert_header_onoff]">
                <center><iframe src="http://www.amazonia8.com/forum/autorefresh_header.php" width=790 height=90 frameborder=0 scrolling=no></iframe></center></if>

ad_navbarBelow
Code:

<if condition="$vboptions[advert_navbar_archives_onoff]">
                <center><iframe src="http://www.amazonia8.com/forum/autorefresh_navbar.php" width=790 height=90 frameborder=0 scrolling=no>
</iframe></center></if>

ad_footerEnd
Code:

<if condition="$vboptions[advert_footer_onoff]">
                <center><iframe src="http://www.amazonia8.com/forum/autorefresh_footer.php" width=790 height=90 frameborder=0 scrolling=no>
</iframe></center></if>

What else ? It still saying:
Code:

Unable to add cookies, header already sent.
File: c:\Inetpub\amazonia8\web\forum\autorefresh_header.php
Line: 1

And not showing to guests/Not logged in users.

Simon Lloyd 09-19-2008 10:43 AM

Karim004, i would like to install this on my site, i'm using VB3.7.3 PL1, VBAdvanced, AWCoding donation system 3.0.3, VBSeo 3.2, VBSeo sitemap gen 2.2, Links & Downloads manager 2.2.9 and Solved threads, would your system be ok with those? when i install this can i set which usergroups see ads and which don't? i have an adsense account but no ads at the moment, is it a case of just dropping the adsense code in to your system?

Regards,
Simon

karim004 09-19-2008 12:06 PM

Quote:

Originally Posted by Amazonia8 (Post 1625137)
My friend, do i need to take screenshots to you? I did exactly what you said, im not dumb or something.
It must be something else, dunno what.

And not showing to guests/Not logged in users.

i dont need a screenshots ! the guests cant acces to your forum folder thats why they cant see the ads in ad_headerEnd, ad_navbarBelow , ad_footerEnd remember the 3 php files for this 3 templates stored in your forum folder !


printscreen = your forum index (forumhome)

Amazonia8 09-19-2008 05:00 PM

Quote:

Originally Posted by karim004 (Post 1625606)
The guests cant acces to your forum folder thats why they cant see the ads in ad_headerEnd, ad_navbarBelow , ad_footerEnd remember the 3 php files for this 3 templates stored in your forum folder!

printscreen = your forum index (forumhome)

Hello buddy, i'm afraid i still cant understand what are you talking about.
This is my step-by-step till now:

1) Uploaded into /forum folder(see atachment ftp_folder.jpg):
ads.php
autorefresh_footer.php
autorefresh_header.php
autorefresh_navbar.php
Ps.: Inside each file i found nothing to edit like URL's or something so i leave it as it is;

2) Uploaded the xml file;

3) Made all the modifications in the instruction file named "Templates edits for vb 3.7.x.txt".(revised and its everything alright);

4) Settings in vBulletin options its ok(only using Header and 2 footer banners at this moment, right colunm is a module on its own);

5) Edited the templates ad_headerEnd , ad_navbarBelow , ad_footerEnd adding the full url to the autorefresh files like you said;

6) "/forum" folder permission is set to CHMOD 777;

7) "ads.php", "autorefresh_footer.php", "autorefresh_header.php" and "autorefresh_navbar.php" all set to CHMOD 666;

It looks everything alright!!!! Thats why i'm so exausted!!
Am i missing something else?!?!!?!? :confused::confused::confused::confused::confused:

karim004 09-19-2008 05:14 PM

how about this : send me a pm with a admin acount and i will fix it for you !

Simon Lloyd 09-19-2008 06:28 PM

Quote:

Originally Posted by Simon Lloyd (Post 1625557)
Karim004, i would like to install this on my site, i'm using VB3.7.3 PL1, VBAdvanced, AWCoding donation system 3.0.3, VBSeo 3.2, VBSeo sitemap gen 2.2, Links & Downloads manager 2.2.9 and Solved threads, would your system be ok with those? when i install this can i set which usergroups see ads and which don't? i have an adsense account but no ads at the moment, is it a case of just dropping the adsense code in to your system?

Regards,
Simon

Branden you may have missed this as you are so busy, could you comment when you have time please?

karim004 09-19-2008 06:38 PM

Quote:

Originally Posted by Simon Lloyd (Post 1625816)
Branden you may have missed this as you are so busy, could you comment when you have time please?

simon i thought i sent you a pm ! check your pms

and the answer is yes for all your questions

IsMaR 09-20-2008 07:11 PM

You may also display ads by forum ID, as well as customize the full page for your site.

this feature isnt available for advertisement after first post wth?

mexicanpizza 09-22-2008 02:09 AM

Great work so far. For anyone having trouble...make sure you have Disabled AdBlockPlus...it filters ads.php? by default (don't ask me how I know this... :mad: :D )

My question is: What is the best way to show different ads (in my case navbar) in different forums?

From reading this thread and testing it is possible to put something like this...

Code:

<if condition="in_array($forumid, array(5,6,7))">
      $ad_navbarBelow
<else />
      <if condition="THIS_SCRIPT == 'index'">
              $ad_navbarBelow
      </if>
</if>

...directly in the navbar template and it works great. Only problem is that it's only showing whatever single ad I've put into the adcode section of this plugin. My goal will be to show different ads in different forums and on the forum index.

Seems like I should be able to use something like this directly into the adcode box in this plugin...

Code:

<if condition="in_array($forumid, array(5,6,7))">
    <img src="banner1.jpg">
<else />
        <if condition="THIS_SCRIPT == 'index'">
                <img src="banner2.jpg">
        </if>
</if>

...but in this case the conditionals don't work and I just get two ads displayed. Any hints?

This seems like me missing something trivial.

thanks.

ByB 09-22-2008 10:51 AM

Quote:

Originally Posted by karim004 (Post 1617397)
admincp , Styles & Templates , Style manager , your style , Ad Location Templates , template ad_rightcolumn_code and edit :
Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">

Thank you very much

The red/blue border is comming when I add a hyperlink to the picture in the right colunm!!
No border is showen im my banner add.

PHP Code:

Rediger tekst 
<if condition="$vboptions[advert_rightcolumn_onoff]">
</
td>
<
td width="160" valign="top" align="center">

<
table align="center" border="0" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]class="tborder" width="160">

<
tr>
<
td class="tcat"><span class="bigfont"><b>
                
$adtitle
            
</td>
        </
tr>
        <
tr>
            <
td class="alt1">
                
$rightcolumn_ad
            
</td>
</
tr>
</
table>
<
br /> 

Where can I change this?

All the best ByB

Chris B 09-22-2008 01:55 PM

Since making the chances it seems to have very slightly streched my forum width on the index:
http://www.gamebrit.com/forum

Any ideas why, and how would i change this?

Simon Lloyd 09-24-2008 01:50 PM

Excellent mod...installed!

Dan@TT 09-24-2008 03:04 PM

I've followed all the steps, everything works but I have an error on the page, it's shown in Internet Explorer 7 in the bottom left corner of the screen

Line: 5
Char: 4
Error: 'document.frames.MyFrame1.location' is null or not an object
Code: 0
URL: http://www.myforum.com/forums/autorefresh_header.php

Anything can be done to fix it ?

karim004 09-24-2008 03:39 PM

Quote:

Originally Posted by Dan@TT (Post 1629301)
I've followed all the steps, everything works but I have an error on the page, it's shown in Internet Explorer 7 in the bottom left corner of the screen

Line: 5
Char: 4
Error: 'document.frames.MyFrame1.location' is null or not an object
Code: 0
URL: http://www.myforum.com/forums/autorefresh_header.php

Anything can be done to fix it ?

upload autorefresh_header.php to your forum folder ! then go to admincp , style manager ad_headerEnd and enter the full link example if your forum link = http://www.Dan@TT.com/forum change :
Code:

/autorefresh_header.php
with
Code:

http://www.Dan@TT.com/forum/autorefresh_header.php

GoTTi 09-26-2008 08:32 AM

your template edit is not in my header...

in the instructions it says:

Quote:

2= before :
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
Add :
<td align="$stylevar[right]"><center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center>
when i goto find the line, its not there in my header

GoTTi 09-26-2008 08:39 AM

does the auto refresh work or no? using adbrite

BozzaJos 09-26-2008 02:10 PM

Quote:

Originally Posted by GoTTi (Post 1630751)
your template edit is not in my header...

in the instructions it says:



when i goto find the line, its not there in my header

Same here. Really need an answer to this in order to get this mod working.

Uninstalled for the time being.

protoolers 09-26-2008 03:35 PM

Advertisement System (Forumbit Threadbit & Full page)
Advertisement System (Posts, PMs & Announcements)

Dont work, i have edit and check the template as your istruction, but dont work.
:( can anyone help me please?

the other setting still work fine.

i have 3.7.2 version

Fynnon 09-26-2008 07:05 PM

can i show ads after post 1, 3 and 5 ?

And how to do that ?!

10x

Subah 09-27-2008 09:20 AM

<a href="https://vborg.vbsupport.ru/showpost.php?p=1603535&postcount=450" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=450</a>
why is every time karim004 ignore me ?!

Simon Lloyd 09-27-2008 01:25 PM

Quote:

Originally Posted by Subah (Post 1631511)
https://vborg.vbsupport.ru/showpost....&postcount=450
why is every time karim004 ignore me ?!

Ever thought he may be a busy person?, people who produce code or hacks on here generally have another job that they work at so can't always be at our beck and call!

punk23 09-27-2008 02:23 PM

Quote:

Originally Posted by Simon Lloyd (Post 1631603)
Ever thought he may be a busy person?, people who produce code or hacks on here generally have another job that they work at so can't always be at our beck and call!

Well said Simon. I sometimes think that people expect too much and don't give the proper respect to these very hard working coders...coding for the community for FREE, of course!

Subah 09-27-2008 09:30 PM

Quote:

Originally Posted by Simon Lloyd (Post 1631603)
Ever thought he may be a busy person?, people who produce code or hacks on here generally have another job that they work at so can't always be at our beck and call!

Quote:

Originally Posted by punk23 (Post 1631638)
Well said Simon. I sometimes think that people expect too much and don't give the proper respect to these very hard working coders...coding for the community for FREE, of course!

You can search in the thread and you will see the coder i ask him 3 time every time he answer the people before me and after me but ignore me i must every time repeat the question two times !!

Simon Lloyd 09-27-2008 09:37 PM

It's his perogative who he answers, the service you are getting is free you could always hire him at www.momsasone.com

Hamednet 09-29-2008 09:37 AM

thanks dear

very nice !

z0diac 09-29-2008 12:05 PM

Not working.

- downloaded
- extracted
- uploaded php file to forum root
- imported xml file
- added my adsense code in the "Advertisement System" parts of my vB admin config

Nothing showing up. ( forum.icedogfans.com )

Is there a 'main' on/off switch I need to check to turn the entire ad system on/off ? Also, there's a text file in the RAR file saying "upload the 4 files in the upload directory" but there's only ONE file in there: ads.php

Simon Lloyd 09-29-2008 05:12 PM

In VBulletin Options there is a main setting for the advertising system (and slide show) that has an on/off in it.

z0diac 09-30-2008 07:54 PM

Quote:

Originally Posted by Simon Lloyd (Post 1633216)
In VBulletin Options there is a main setting for the advertising system (and slide show) that has an on/off in it.

Ok, so aside from the Yes/No buttons next to each thing in the (i believe) 4 different vB settings menus, there's also a "main" on/off" selection somewhere?

If I go Admin CP -> vBulletion Options -> ???

What's the settings menu called? After I intalled this I got 4 different settings menus at the bottom for where I wanted my ads displayed, but I can't recall seeing any main on/off setting for the ads system. :confused:

z0diac 09-30-2008 07:57 PM

Also are there any manual edits I have to do that I might have missed?? (which of course I won't bother installing if it's required - dont' want to perm change my templates from what they are now - at least nothing that an 'uninstall plugin' won't undo.)

Simon Lloyd 09-30-2008 10:26 PM

I had no trouble with it, and you are right there are 4 additions the first one having the on off in it
https://vborg.vbsupport.ru/

pein87 10-01-2008 02:25 AM

Where do we make the edits i tried looking in the header but there was no such code in there.Is this for the new ones the come with the product install?If someone who`s installed this and could tell me which templates to edit I`d really appreciate it.

Simon Lloyd 10-01-2008 05:28 AM

look in Styles & Templates>Whichever style you are working with>Edit Templates>Ad Location Templates, in here you will see some new additions like ad_leftcolumn_code drop your ad code in here etc.

pein87 10-02-2008 01:40 AM

I appreciate this you answered by question.

pein87 10-02-2008 02:19 AM

There not showing up I was meaning the code in the x-file provided by the coder where do i add the edits that i talks about at? I`m putting them in the ad_forumbit_end ad template and I`m using adsense by google

Simon Lloyd 10-02-2008 04:58 AM

I'm using Adsense and entered the code provided by google in the template i mentioned in my previous post with no problems.

pein87 10-02-2008 05:12 AM

really? What version of VB do you have installed? Where do we put the x file includes? Sorry so many questions vb is better then i thought I`m a free-ware user LOL. I like this mod so the site pays for its self with the ads if I can get it to work.

Simon Lloyd 10-02-2008 07:38 AM

ver 3.7.3 PL1, if your version is lower than 3.6.x then it won't work. Did you not import the xml as product from your admincp? if you have a folder called xfiles and its in the includes folder then the whole file (xfiles) should be dropped in the includes folder, if the xfiles folder exists in the includes folder then copy the contents of your xfile to that one.

Simon Lloyd 10-02-2008 07:39 AM

ver 3.7.3 already has ad locations preset as a template.


All times are GMT. The time now is 10:50 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.02234 seconds
  • Memory Usage 1,855KB
  • 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
  • (12)bbcode_code_printable
  • (1)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