vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Simple Ad Management (https://vborg.vbsupport.ru/showthread.php?t=165901)

TRBoxman 02-02-2008 03:25 AM

I agree with Skip on the rotator.

Why go through the trouble of making ad templates and not giving an interface to configure them or a way for the ad content to rotate? Without the configurator or rotator it's a partial hack.

UltraFanatics 02-11-2008 04:34 PM

This only works for me in "Ad After 1st Post"

Does anyone know why? Also does anyone know where the built in function is apparently?

lordtopcat 02-16-2008 12:04 AM

Everyone who says this mod is pointless/not needed has something seriously wrong with their heads. Yes vBulletin includes this ad feature, but you have to go into the templates to add your adcode. This allows you to simply edit your ad code in the vBulletin opitions. For basic users, this is perfectly fine, as some people might not know how to edit templates. I would like to see all the people who are saying that this mod is useless make a mod like this of their own. MaestroX is spending his time making a quality and useful mod for the community and all he gets is abuse? I don't see why he should bother.

Everyone who is saying it should have x feature and y feature, screw your head on. The title says SIMPLE Ad management and is not meant to be as complex as Red Tyger's was. Simple ad management does not mean ads that rotate every x clicks and does this and does that. What would be the point of simple then? I'm sure RT will update his ad mod, but until then get used to the fact that this mod just supports SIMPLE tasks.

MaestroX, thank you for this mod, I for one appreciate it :)

*Clicks install and nominates for MoTM.

logicuk 02-16-2008 12:10 AM

Well said lordtopcat i agree :)

towerhill 02-16-2008 10:04 AM

Marked as Installed. Thanks for the mod.

RaceJunkie 02-19-2008 05:57 PM

Great mod, Tagged for future. I would love to see the ability to control ads more like vB Ad Management If you ever do get the time to add more functionality to it I am sure it would be a great advantage over what vB already has installed. It don't look like Red Tyger is supporting his mod any longer so I think you would get lots of support for a better way to manage ads in vB

Jase2 02-19-2008 06:11 PM

Again, this is already in vB 3.7 as default.

Regards Jason :)

nyunyu 02-19-2008 06:46 PM

Hey Jase,

I think you should read the whole thread rather than posting TWICE condemning the author.
This mod is simply act as a enhancer to the existing option in vb3.7

people..people..when its not available, you keep asking, when its available, you keep complaining..

lordtopcat 02-19-2008 07:59 PM

Jase, look at the number of installs: Installs: 78.

It is obviously a very useful mod if it has that many installs, wouldn't you say?

superthang 02-19-2008 09:16 PM

is very useful people. the default in 3.7 you have to edit template bit which can be a pain if you like to keep changing your skin.

This out take out any guess and good for novice because it all there and just pate the code in.

dwdmguy 02-19-2008 11:42 PM

Thank you for doing this. Working and Installed. (3.7 b4) One question please, my add, above footer, is not centering correctly. Advice please?
Thank you.

Jim O 03-01-2008 02:25 PM

Quote:

Originally Posted by dwdmguy (Post 1446987)
Thank you for doing this. Working and Installed. (3.7 b4) One question please, my add, above footer, is not centering correctly. Advice please?
Thank you.

Have you tried enclosing the ad script in <div align="center"> script text here </div> tags? That should do it.

Jim O 03-01-2008 02:30 PM

Quote:

Originally Posted by glorify (Post 1413927)
Usergroups are simple, I use this and it should work with the hack no problem:

Code:

<if condition="in_array($bbuserinfo[usergroupid], array(4,7,2,5,1,3,26,8,24,25,23))>
<---!Ad Code--->
</if>

Just replace the red with the usergroups you want to see the ads.

Don't mean to be too technical but you're missing a closing quote and so the code does not work.

It should be:

Code:

<if condition="in_array($bbuserinfo[usergroupid], array(4,7,2,5,1,3,26,8,24,25,23))">
<---!Ad Code--->
</if>


vgjhav 03-02-2008 03:37 PM

Alright. Installed it and it works.

One Problem.

How do i center or align my ads to integrate better?

On my site: VideoGathering.com They are all to the left. I have not changed anything in the google code and it is their basic code.

Thanks for the help.

MaestroX 03-02-2008 05:38 PM

Quote:

On my site: VideoGathering.com They are all to the left. I have not changed anything in the google code and it is their basic code.
I've you wrap your adsense code in div tags like so, this will solve your issue:

Code:

<div align="center">
adsens code here
</div>

Hope this helps :)

v12kid 03-08-2008 02:43 AM

installed*

thanks

*edit- non of the ads are showing up? anything im missing?

Skipsoutdoors 03-12-2008 04:14 AM

Quote:

Originally Posted by lordtopcat (Post 1444148)
Everyone who says this mod is pointless/not needed has something seriously wrong with their heads. Yes vBulletin includes this ad feature, but you have to go into the templates to add your adcode. This allows you to simply edit your ad code in the vBulletin opitions. For basic users, this is perfectly fine, as some people might not know how to edit templates. I would like to see all the people who are saying that this mod is useless make a mod like this of their own. MaestroX is spending his time making a quality and useful mod for the community and all he gets is abuse? I don't see why he should bother.

Everyone who is saying it should have x feature and y feature, screw your head on. The title says SIMPLE Ad management and is not meant to be as complex as Red Tyger's was. Simple ad management does not mean ads that rotate every x clicks and does this and does that. What would be the point of simple then? I'm sure RT will update his ad mod, but until then get used to the fact that this mod just supports SIMPLE tasks.

MaestroX, thank you for this mod, I for one appreciate it :)

*Clicks install and nominates for MoTM.

I wasn't fussing at him, just a constructive suggestion. From time to time I have people who want to buy an add in excess of the pittance adnosense pays and I have some on the site that I have sold as 1/12 rotation. Since I can't currently rotate with the vB system and Red Tyger's original mod won't work with 3.7 and the new one is quite frankly full of BS, it was just something I threw out to solve a problem of my own.

Skip

Mythor 03-12-2008 03:24 PM

Cheers for making this, MaestroX. I'm quite capable of editing the templates manually but frankly, I don't wanna! :)
This is an elegant solution to a problem that just shouldn't exist, so kudos to you.

Zaiaku 03-14-2008 04:23 PM

Ok I just noticed something with by beta 6 install. I'm using this mod to place the ads in but when I went to look at the original ad templates I notice that the changes I made through the mod don't show in the original ad templates but do show in this mod, is this normal?

Also I uninstalled this on my 2nd forum and it totally removed all the default Ad Location Templates. Is there any way to fix this? If I made a template with the same name then the templates become uncached.

energetic 03-16-2008 01:30 PM

After I have upgraded from v7beta3 to v7beta5, the ads disappeared ?

wingrider 03-16-2008 05:04 PM

Same thing happened to me going to Beta 6. Does a new version number need to be added?

wingrider 03-16-2008 05:20 PM

I removed the product then reinstalled and reconfigured. Now it works fine. Is there some way to prevent it from going away when vBulletin is upgraded? Thanks.

KURTZ 03-17-2008 10:36 AM

installed! works like a charm ... :D

Beta 6 here :)

codershark 03-17-2008 12:17 PM

I have installed it on 3.6.8 and 3.7 Beta 6 and I get only a empty settings page!

Dont work at both !

KURTZ 03-17-2008 12:31 PM

Quote:

Originally Posted by codershark (Post 1466967)
I have installed it on 3.6.8 and 3.7 Beta 6 and I get only a empty settings page!

Dont work at both !

dude try to wait some minutes ...

Zaiaku 03-17-2008 01:21 PM

Not sure what makes you think this would work with v3.6.8...
It does wok with v3.7 b6 I can confirm that as well as many others.

KURTZ 03-19-2008 09:34 PM

after the upgrade to RC1 i needed to reinstall this hack ... it's normal? (cause the google ads are gone)

cygy2k 03-19-2008 10:12 PM

Quote:

Originally Posted by KURTZ (Post 1469137)
after the upgrade to RC1 i needed to reinstall this hack ... it's normal? (cause the google ads are gone)

Uninstalling and reinstalling worked for me after the RC1 upgrade.

linkknight 03-22-2008 01:46 AM

hey, Um, If i dont want to put ads in those text box, and instead write something, can I do that ?
Like, in one of the boxes i wrote "To Advertise here, Pm Knight", and that box was in front of "Ad code to be displayed below your navbar." but after saving nothing came below the navbar :S

linkknight 03-22-2008 09:05 PM

Does this also work with 3.6.8 ? :S

snunhuck 04-02-2008 11:12 PM

the ads are not showing up on any of my threads.

Jase2 04-02-2008 11:16 PM

Sorry, but what is the actual point in this mod? I really cannot see the point, the ad locations in vB are easy to use. A mod for mods sake IMO.

Mythor 04-03-2008 02:31 PM

Quote:

Originally Posted by Jase2 (Post 1481473)
Sorry, but what is the actual point in this mod? I really cannot see the point, the ad locations in vB are easy to use. A mod for mods sake IMO.

It's been explained a number of times why this modification is needed and appreciated, including in direct response to you posting much the same thing multiple times in this thread.
Trolling for trolling's sake, IMO. We get it, you don't think it's necessary, fine, don't install it.
Your contributions to this thread are even more pointless than you claim this mod to be.

Quote:

Originally Posted by linkknight
Does this also work with 3.6.8 ?

It's 3.7 only as the ad location stuff was only added in then.

Marco van Herwaarden 04-03-2008 04:12 PM

I do have 2 questions about this modifiction:

- Why are you distributing default templates in this modification? By doing this, you are overwriting the default vBulletin templates in the MASTER_STYLE, making it impossible to revert to the original templates, even after uninstalling this modification. Doing this is an absolute "Don't" in my view. On the other hand, this modification will probably stop working if any of the default templates used by this modification is ever updated in the default vBulletin package.
- Why are you processing only at the 'global_start' hook location? I strongly suggest to use more specific hook locations to avoid code being run on pages where they don't have any function. This is bad for performance.

toucan42 04-07-2008 03:38 PM

I haven't installed this (and based on the post above will likely wait it out) but i wanted to weigh in on those posts trashing the idea as useless. I was thinking of writing something exactly just like this in order to not have to delve into the ad location templates whenever I wanted to manage new ad code. I think this is a useful concept. I would argue this is not a mod for mod sake, but rather a method for making ad location template edits centralized and easier to manage. Kudos to the developer for the idea. When/if the comments Marco brought up are taken care of I will install.

Forum Lover 04-14-2008 10:07 AM

Now I got confused. Even if this is in 3.7 by default, where can I find those options? How can I use those?

ahem.. ahem.. newbie is here.

Marco van Herwaarden 04-16-2008 12:24 PM

No comment/response to my questions?

KURTZ 04-16-2008 03:18 PM

i've uninstalled this hack and now i've some uncached templates:
  1. Uncached templates: ad_footer_end (1)
  2. Uncached templates: ad_footer_start (1)
  3. Uncached templates: ad_forumhome_afterforums (1)
  4. Uncached templates: ad_header_end (1)
  5. Uncached templates: ad_header_logo (1)
  6. Uncached templates: ad_navbar_below (1)

how i can 'solve' this trouble?

KURTZ 04-22-2008 06:46 AM

news?

siriuxs 04-23-2008 08:34 PM

I have upgrade my forum to 3.7 RC 4 and now the banner is not visualized... why???


All times are GMT. The time now is 11:38 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.01380 seconds
  • Memory Usage 1,821KB
  • 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
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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