vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

RedTyger 06-07-2007 03:34 PM

Quote:

Originally Posted by hitboy (Post 1263331)
this doesnt seem to work for me either i am getting this error below which doesnt make sense because I have put the files in /include and even tried to make a new folder /includes and both dont seem to work:
Also it seems that VB is looking for the global.php it doesnt exsist though can you please tell me why this is happening?

Your default folder is called include? That can't be right, the default installation names it includes and it can't be changed as far as I know.

The files shouldn't be in /includes, they should be in /includes/vb_ad_management.

Tony_FPM 06-07-2007 05:23 PM

I still have 1 qeustion..

Is it possible to point Banner A to forum id 1 and point Banner B to forum id 12.
I having a forum with Fireworks brands and some of the companys want a banner in the forum where people speak about there brands. So i need to point out banner to there forums...

Can this be done???

Thnx
Tony

Hendrizius 06-07-2007 08:44 PM

Nevermind. Got it to work. Thanks.

Itworx4me 06-07-2007 09:01 PM

I tried putting this $cyb_flashimagebanners in the ad spot and all it shows is the word itself: $cyb_flashimagebanners. Is there a way for this to work?

Thanks,
Itworx4me

shavedaccord 06-08-2007 12:08 AM

Quote:

Originally Posted by hitboy (Post 1263331)
this doesnt seem to work for me either i am getting this error below which doesnt make sense because I have put the files in /include and even tried to make a new folder /includes and both dont seem to work:
Also it seems that VB is looking for the global.php it doesnt exsist though can you please tell me why this is happening?

Warning: Unknown(/home/klsite/domains/dexurl.com/public_html/forums/includes/vb_ad_management/cache_templates.php): failed to open stream: No such file or directory in /global.php(341) : eval()'d code on line 43

Warning: Unknown(/home/klsite/domains/dexurl.com/public_html/forums/includes/vb_ad_management/cache_templates.php): failed to open stream: No such file or directory in /global.php(341) : eval()'d code on line 43

Warning: (null)() [function.include]: Failed opening '/home/klsite/domains/dexurl.com/public_html/forums/includes/vb_ad_management/cache_templates.php' for inclusion (include_path='.:/usr/local/lib/php') in /global.php(341) : eval()'d code on line 43

I'm having to the same problems..and the files ARE in the right location and are ALL there in /includes/vb_ad_management

teamsupra 06-08-2007 05:13 AM

Quote:

Originally Posted by shavedaccord (Post 1263748)
I'm having to the same problems..and the files ARE in the right location and are ALL there in /includes/vb_ad_management



Same problem as above.. Something is wrong with the package

hitboy 06-08-2007 12:50 PM

My ads arent showing up for some reason...

junaid 06-09-2007 09:35 AM

My footer and header ads not showing in Guest... After user loging it work fine
But I want see If canot login more ..... what is the wrong of my setting....
http://www.maldiviandigital.com

junaid 06-09-2007 01:56 PM

also Usergroups what I have created also not shows could you tell me which place I have add usergroup permisions...

djbaxter 06-09-2007 02:26 PM

Quote:

Originally Posted by junaid (Post 1264802)
also Usergroups what I have created also not shows could you tell me which place I have add usergroup permisions...

Admin CP | vBulletin Options | vB Ad Management Global Settings

1. Make sure the add-on as a whole is enabled

2. Custom delimiter
This is where you choose how to separate characters in your Ad settings and Adcode. (i.e. enter , here to separate your Usergroups below with , and split your random advertisements with ,.)

You must use a character or characters that do not appear elsewhere in your adcode or they will be split in the wrong places!

3. Display advertisements to Usergroups:
Enter the IDs of the usergroups you want to display the advertisements to, separated by your delimiter. (i.e. 1|2|3 or 1,2,3

If you only want to exclude usergroups instead of including them, leave this blank to display the advertisement to everyone except those listed below.

OR..... leave the above blank and...

4. Do NOT display advertisements to Usergroups:
Enter the IDs of the usergroups who will not see the advertisements, separated by your delimiter. (i.e. 1|2|3) Leave blank to not exclude usergroups.

junaid 06-09-2007 02:52 PM

Thanks work fine

tekguru 06-09-2007 11:03 PM

Guys the Mod is working perfectly for me with one exception - Iuse the Aria Sands skin / theme and I'd love to add the additional header and footer graphics to the right hand column advertising block.

Been at it an hour so far with no success - Which template do I need to edit to add the additional theme data in?

RedTyger 06-10-2007 06:35 AM

Not sure exactly what you're after. You should be able to add $header_advertisement and $footer_advertisment to the right/leftcolumn_advertisment template and the header and footer templates will show up inside the columns.

tekguru 06-10-2007 07:57 AM

Hmm that is what I've done, but of you check out the site http://www.4winmobile.com/forums/portal.php you'll see that none of the header and footer graphics are picked up.

Maybe it is because I'm using vBadvanvced that it is causing the issue?

RedTyger 06-10-2007 11:24 AM

When using vB Advanced (or any other external provider) you should use $GLOBALS['x_advertisement'] instead of $x_advertisement.

craiovaforum 06-10-2007 11:47 AM

I have a question regarding this hack.
I will give an example to better understand the thing I need.

I have 30 posts per page in one thread on my forum and I want the last post on every page to be written by a bot (an existing user controlled by me) with some advertising that I want to setup myself. The Ad Text will be the same on all forums and it may include HTML (like AdSense).

Does this hack do the things I need and I wrote abobe?

tekguru 06-10-2007 02:37 PM

Quote:

Originally Posted by RedTyger (Post 1265443)
When using vB Advanced (or any other external provider) you should use $GLOBALS['x_advertisement'] instead of $x_advertisement.


Well I changed the '$rightcolumn_advertisement' in the footer to read '$GLOBALS[rightcolumn_advertisement] instead to see if it would fix the issue and it remained the same, still no top or tail graphics.

Any other ideas?

CMGU 06-13-2007 04:56 PM

very nice thank u

onehost 06-13-2007 11:51 PM

would this ad system show adsense?

djbaxter 06-14-2007 01:12 AM

Quote:

Originally Posted by RedTyger (Post 1262430)
I'm temporarily without a test forum and I can see nothing in the backup mod that would cause this, so sorry about the roundabout testing methods. Here's another try at fixing the copyright issue, just download the file and overwrite your existing global_start.php.

This latest version of global_start.php fixed the problem for me.

djbaxter 06-14-2007 01:16 AM

Quote:

Originally Posted by onehost (Post 1268034)
would this ad system show adsense?

Yes. Certainly.

Tourmeister 06-14-2007 02:31 AM

Works great for me. But now I have a question!

I want to have a usergroup called "Advertiser". Users use the VB subscription system to pay a fee and automatically be added to this usergroup. Then, when I add banner images to the list in the Admin control panel Ad Management options, I'd like to be able to associate the entries to the users in the Advertiser usergroup. Thus, at the end of their subscription term, their entry on the list is automatically overlooked and no longer displays.

Example:

When random image selected, check to see if associated user is member of Advertiser usergroup

-- Yes, then display image normally
-- No, then do not display image and repeat random selection

This way, I don't have to be so heavily involved in keeping track of when peoples banners should no longer display or when they should be reactivated if they renew their advertiser status.

Anyone have any ideas?

RedTyger 06-14-2007 11:48 AM

Tourmeister, vBulletin doesn't do promotions automatically based on subscriptions as far as I'm aware. There's certainly no facility for it with this modification, sorry.

Quote:

Originally Posted by djbaxter (Post 1268101)
This latest version of global_start.php fixed the problem for me.

Excellent! At last! Update forthcoming then...

Tourmeister 06-14-2007 03:23 PM

Quote:

Originally Posted by RedTyger (Post 1268333)
Tourmeister, vBulletin doesn't do promotions automatically based on subscriptions as far as I'm aware. There's certainly no facility for it with this modification, sorry.

Sure it does ;) When you create a subscription, there is an option to change the user's usergroup in the upper right corner. When people donate, I put them into a Forum Supporter usergroup (as "Additional member" and not as "Primary"). When their donation term expires, they are automatically removed from the Forum Supporter usergroup. I do the same thing for the Advertisers usergroup. So if there is some way to associate a banner entry on the list in the Ad Management control panel with the user, and then check for their usergroup status... it all becomes automated very nicely!

Yvgeniy 06-15-2007 01:25 AM

I'm still experiencing problems with the vB Ad Management credit at the bottom of the page. You released a small fix for it before to prevent the problem of it recreating itself more than once (meaning, you'd have like 3 in a row at the bottom there), however, the fix doesn't really prevent it from continuing to multiply. Basically, what I have to do is rewrite the XML file every once in a while when I notice that it starts making copies of itself again. Could you release another fix to prevent the process entirely, or have you already done that and I somehow missed it? Let me know.

djbaxter 06-15-2007 02:07 AM

Quote:

Originally Posted by Yvgeniy (Post 1268735)
I'm still experiencing problems with the vB Ad Management credit at the bottom of the page. You released a small fix for it before to prevent the problem of it recreating itself more than once (meaning, you'd have like 3 in a row at the bottom there), however, the fix doesn't really prevent it from continuing to multiply. Basically, what I have to do is rewrite the XML file every once in a while when I notice that it starts making copies of itself again. Could you release another fix to prevent the process entirely, or have you already done that and I somehow missed it? Let me know.

Which fix was that?

The first "fix" did not work. A couple of days later, the author released a second fix which did the job.

Scan backwards in this thread or use the version attached below (upload it to \includes\vb_ad_management\global_start.php).

The latest file should probably be added to the downloads post in this thread, to avoid confusion.

TrIn@dOr 06-15-2007 12:27 PM

Ok, upgraded from 3.04 to 3.13, all ok but this:

Quote:

Find   in your header template and replace it with $header_advertisement.
I don?t have that code in that template.

vB 3.6.7 PL1

djbaxter 06-15-2007 12:43 PM

Quote:

Originally Posted by TrIn@dOr (Post 1268994)
Ok, upgraded from 3.04 to 3.13, all ok but this:

I don?t have that code in that template.

vB 3.6.7 PL1

Just place the tag $header_advertisement wherever you want the ad to appear.

TrIn@dOr 06-15-2007 01:10 PM

Quote:

Originally Posted by djbaxter (Post 1268999)
Just place the tag $header_advertisement wherever you want the ad to appear.

like down $_phpinclude_output ?

djbaxter 06-15-2007 01:16 PM

Sure, if you like. Experiment. Move it around until it's where you want it to be.

dollyking 06-15-2007 08:27 PM

Thanks for the mod, is there any way to disable ads on registration page. Displaying ads on registration pages is against Adsense ToS

Thanks

RedTyger 06-18-2007 02:00 PM

Yes, in General Options there's a place to enter pages where ads will not be displayed. It has instructions with the options, I forget how to enter it exactly, but you need to use the word 'register'.

IMPAQ 06-19-2007 02:28 AM

Doesn't work well with Zoints Local. :(

smith2007 06-19-2007 10:44 AM

Hi - Please excuse me if this seems like a really obvious post - I'm completely new to VB.

This add on looks superb and will hopefully do just what I need. (Rotating between my own ads with links and Google adsense ads).

I have downloaded the Zip file and extracted (so far just to my desktop). My two questions;

Q1 The first instruction says 'upload the product using the product manager'. I am not sure what the product manager is? Am I being extremely thick here?

The rest of the instructions make complete sense to me and I can upload the folder to my includes folder on the server, no problem.

Q2 Do I also need to dowload global start.php ? I see there are not that many downloads in comparison to the zip file. Again sorry if this is just me missing the obvious.

I just want to ensure that I complete the installation properly.

Thanks in anticipation of any pointers!:)

djbaxter 06-19-2007 12:44 PM

Quote:

Originally Posted by smith2007 (Post 1271676)
I have downloaded the Zip file and extracted (so far just to my desktop). My two questions;

Q1 The first instruction says 'upload the product using the product manager'. I am not sure what the product manager is? Am I being extremely thick here?

Admin CP | Plugins & Products | Product Manager

Scroll down to [Add/Import Product] at the bottom.

Upload using the first box.

Quote:

Originally Posted by smith2007 (Post 1271676)
Q2 Do I also need to dowload global start.php ? I see there are not that many downloads in comparison to the zip file.

Yes. This is a fix. Download this version of global_start.php and save it to the same folder as the previous version BEFORE uploading the files.

smith2007 06-19-2007 04:41 PM

Thank you for your help!!

Followed your instructions and now all is installed - great.

I was going to try this out by placing an advert in the header section. Reading the VB admangement settings page in VBoptions, I see you can have a static or rotating code. If I have a couple of banner jpgs uploaded on a folder on my server, can anyone advise me what code I should use in the header settings box to call these banners and rotate them? I wanted to make the each banner clickable to a URL.

As you wouldnt know my banner/folder names would it be possible to give me an idea by using the word yourbannerfilename in the code?

So grateful for any help.

I will also spend the next few days reading the rest of the 80 or so pages of posts relating to VB admanagement.

yagane 06-20-2007 04:10 AM

Hi All:

I have some weird problem here, I'm using 3.6.7 PL1:

I install the mod, and works great, but the Sharing Area is not working, when I put the "Adcode replacement" #shared# instead of the banner I got nothing.

example:
PHP Code:

admin default = site
#shared# = domain (field6 from the first thread user)
for
www.site.com/banner.jpg
or
www.domain.com/banner.jpg

I got
:
www..com/banner.jpg 

I uninstall, reinstall, in fact I try to make it work in several ways but with out luck. :(

vB Ad Management Ad Sharing settings
Enable Ad Sharing?: Yes
Adcode replacement: #shared#
Allow HTML in shared Adcode? Yes //I try yes and no
Identify adcode's owner? No //I try yes and no
Primary Ad Sharing Admin code: site
Primary Ad Sharing Admin code (Columns): site2
Ad Sharing FieldID: field6 //I try other fields just in case
Ad Sharing FieldID (Columns): field6
Chance of using the thread starter's Ad Sharing code: 99 // try to leave it blank, 100, 50 = no luck
Chance of using the last poster's Ad Sharing code: 1

The other fields are in blank.

Hope you can help me. The mod is great. Thanks for all!!! :D

RedTyger 06-20-2007 06:32 AM

Quote:

Originally Posted by smith2007 (Post 1271857)
Thank you for your help!!

Followed your instructions and now all is installed - great.

I was going to try this out by placing an advert in the header section. Reading the VB admangement settings page in VBoptions, I see you can have a static or rotating code. If I have a couple of banner jpgs uploaded on a folder on my server, can anyone advise me what code I should use in the header settings box to call these banners and rotate them? I wanted to make the each banner clickable to a URL.

As you wouldnt know my banner/folder names would it be possible to give me an idea by using the word yourbannerfilename in the code?

So grateful for any help.

I will also spend the next few days reading the rest of the 80 or so pages of posts relating to VB admanagement.

Not much point reading all the thread, a lot of it is about old verisons anyway.

Code:

<a href="www.url1.com"><img src="bannerfolder/banner1.jpg"></a> |
<a href="www.url2.com"><img src="bannerfolder/banner2.jpg"></a> |
<a href="www.url3.com"><img src="bannerfolder/banner3.jpg"></a>



Quote:

Originally Posted by yagane (Post 1272224)
Hi All:

I have some weird problem here, I'm using 3.6.7 PL1:

I install the mod, and works great, but the Sharing Area is not working, when I put the "Adcode replacement" #shared# instead of the banner I got nothing.

example:
PHP Code:

admin default = site
#shared# = domain (field6 from the first thread user)
for
www.site.com/banner.jpg
or
www.domain.com/banner.jpg

I got
:
www..com/banner.jpg 

I uninstall, reinstall, in fact I try to make it work in several ways but with out luck. :(

vB Ad Management Ad Sharing settings
Enable Ad Sharing?: Yes
Adcode replacement: #shared#
Allow HTML in shared Adcode? Yes //I try yes and no
Identify adcode's owner? No //I try yes and no
Primary Ad Sharing Admin code: site
Primary Ad Sharing Admin code (Columns): site2
Ad Sharing FieldID: field6 //I try other fields just in case
Ad Sharing FieldID (Columns): field6
Chance of using the thread starter's Ad Sharing code: 99 // try to leave it blank, 100, 50 = no luck
Chance of using the last poster's Ad Sharing code: 1

The other fields are in blank.

Hope you can help me. The mod is great. Thanks for all!!! :D

The domain isn't filtered is it? Could you link me to an example of this happening?

blindman4556 06-20-2007 04:21 PM

umm how do i install this ?

yagane 06-20-2007 06:40 PM

Quote:

Originally Posted by RedTyger (Post 1272273)
The domain isn't filtered is it? Could you link me to an example of this happening?

Thanks for reply. :D

Sure I put the example on the Header of the site:

the example
Site link: foroanime.com

#shared# = field6

Code:
Ad Sharing Adcode replacement -->#shared#

Banner:
Ad Sharing Adcode replacement --> pub-xxxxxxxxxxxxxxxx

Thanks in advance!!


All times are GMT. The time now is 06:42 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.03474 seconds
  • Memory Usage 1,858KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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