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)

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 ?


All times are GMT. The time now is 10:02 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.01262 seconds
  • Memory Usage 1,742KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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