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)

tekguru 12-25-2007 04:25 PM

In any case I have changed the tables over to using the DIV tag instead which seems to load much quicker. You can see it in use here: www.4winmobile.com.

Thanks for that!

eJM 12-25-2007 05:58 PM

Quote:

Originally Posted by tekguru (Post 1408942)
Well yes I know the code posted was a bit iffy as a snippet, but I was trying to show that using <br /> works.

DON'T post "iffy" code, post code you are sure will work. People who know nothing about code will copy your code and use it, then come back here with more problems than they started out with.

Quote:

However you recommend using DIV instead of using seperate aligned tables?
Table code, if done properly, requires you to use at least:
Code:

<table>
  <tr>
    <td>data here</td>
  </tr>
</table>

All that code adds weight to the page and also gives search engine spiders a lot more to wade through to get to your content. Keeping it simple, while still adhering to valid code standards, lets you reduce the code to:
Code:

<div>data here</div>
However, you can't just put DIVs willy-nilly anywhere you want. You do have to be cognizant of the code surrounding the DIVs. For instance, you canNOT do this:
Code:

<table>
  <tr>
<div>data here</div>
    <td>more data here</td>
  </tr>
</table>

You CAN put DIVs within <td></td> and you can put DIVs before or after the table structure. It's always a good idea to check the validity of the code using the w3 Validator ( http://validator.w3.org/ ), but if your pages are already screwed up with poorly coded hacks, modifications and style code, you will have a lot of work ahead to fix it all. The page you linked to has 159 errors. I would be asking the individual authors of those to fix the code. If enough people did that, maybe authors would finally stop being so sloppy with their work.

Quote:

Originally Posted by tekguru (Post 1408949)
In any case I have changed the tables over to using the DIV tag instead which seems to load much quicker. You can see it in use here: www.4winmobile.com.

Thanks for that!

You're welcome. However, just replacing a single table with a DIV doesn't necessarily speed the page load time up enough to see with the nekkid eye. It all adds up though. The page you linked to took a pretty long time to load on my DSL connection. You have more issues than just table structure replaced for DIVs.

Jim

tekguru 12-25-2007 09:53 PM

All good points thanks for that.

haaba 12-25-2007 10:13 PM

Custom block code does not work if inserted in FORUMDISPLAY template file. Any help on this?

Thanks

eJM 12-25-2007 10:42 PM

Quote:

Originally Posted by tekguru (Post 1409079)
All good points thanks for that.

-------------sniiiiiiip------------

This thread is about vB Ad Management. It has well over 2,000 posts. Let's not make it even more difficult for those searching for info on vB Ad Mgmt by discussing issues that have nothing to do with it. Please find the appropriate venue for your other issues - like the vBadvanced discussion on your nav module, the people responsible for Clickapps, and whoever else modified your code. vBSkins is not responsible - they provided you with valid coded style (unless you're using an older version than they have on their site now).

Anyway, let's leave this thread for what it was intended for.

Jim

mykkal 12-26-2007 02:38 AM

I'm trying to figure out a way to get the "left and right column" ads to stay fixed and to the top of the right side. I thought that they would do this by default but when I view my site in firefox the ads fall down.

Is there any HTML code I can paste in front of the add code in the Ad Managerment Control Panel?

Shaliza 12-26-2007 12:40 PM

How does one add the code to a non-vB page that is powered by vB's permissions?

iulianh 12-26-2007 12:44 PM

Does it include statistics for every ad ?

Suzie 12-26-2007 04:29 PM

I am still having trouble with the side columns. I have tried all the different layouts you have shown here and I can't get 2 google ads to run one under the other. I have one that's an image only ad layout then a text and image version under it. It shows as it should in the admin panel but not on the forum pages. http://foodnetworkfans.com/

Skorzen 12-26-2007 06:10 PM

Um....yeah....I installed vb Ad Management today and now nothing is showing up on my index page. It's completely blank (white). Can anyone tell me what happened here and how to get things back to normal?

www.petownerforum.com

Robert Paulson 12-27-2007 12:36 AM

Quote:

Warning: main(./includes/vb_ad_management/functions_vb_ad_management.php) [function.main]: failed to open stream: No such file or directory in /admincp/vb_ad_management.php on line 12

Warning: main() [function.include]: Failed opening './includes/vb_ad_management/functions_vb_ad_management.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/vb_ad_management.php on line 12
Anyone?

jnrdavo 12-27-2007 01:47 AM

Quote:

Originally Posted by Skorzen (Post 1409581)
Um....yeah....I installed vb Ad Management today and now nothing is showing up on my index page. It's completely blank (white). Can anyone tell me what happened here and how to get things back to normal?

www.petownerforum.com


I'm still getting this, it's been a problem for quite a while.

If ANYBODY has the answer, please post up here, it would be really helpfull.

ctfortner 12-27-2007 03:32 PM

ok, dumb question. I installed this exactly as stated, and for some reason, i do not get the VB Ad Management Menu in admincp. I have refreshed, logged out, logged in, nothing. it shows installed under the manage products, and i have all the files uploaded as in the instructions. What could the problem be?

dilbert 12-27-2007 04:06 PM

Quote:

Originally Posted by ctfortner (Post 1410171)
ok, dumb question. I installed this exactly as stated, and for some reason, i do not get the VB Ad Management Menu in admincp. I have refreshed, logged out, logged in, nothing. it shows installed under the manage products, and i have all the files uploaded as in the instructions. What could the problem be?

Did you look in vB options? I don't have this version installed, but the prior version didn't install it's own section, it's in with the rest of the options.

ctfortner 12-27-2007 04:21 PM

Quote:

Originally Posted by dilbert (Post 1410188)
Did you look in vB options? I don't have this version installed, but the prior version didn't install it's own section, it's in with the rest of the options.

well it was worth a shot, but no luck there either. I dunno :confused:

I think it will be its own menu, according to the doc here

Sevo 12-27-2007 06:55 PM

How do I get my banners to show up to the far right of my header forum image. I put the code in and it is either ontop of my forum header image or under it. I would like my forum header image to the far left and the banner to the far right

thank you for the help

also, putting "&nbsp" does not insert the banner anywhere in the header... ??

jnrdavo 12-27-2007 07:18 PM

Quote:

Originally Posted by ctfortner (Post 1410171)
ok, dumb question. I installed this exactly as stated, and for some reason, i do not get the VB Ad Management Menu in admincp. I have refreshed, logged out, logged in, nothing. it shows installed under the manage products, and i have all the files uploaded as in the instructions. What could the problem be?

do you have the language installed?

NavS 12-27-2007 09:07 PM

I have it show up in the admin cp but clicking on any option leads me to a blank page...

ctfortner 12-27-2007 09:49 PM

Quote:

Originally Posted by jnrdavo (Post 1410262)
do you have the language installed?

i did, and then i deleted it to see if that helped, but didnt. i installed first xml, then installed language, then uploaded all files to server.

NavS 12-27-2007 09:51 PM

Quote:

Originally Posted by ctfortner (Post 1410358)
i did, and then i deleted it to see if that helped, but didnt. i installed first xml, then installed language, then uploaded all files to server.

upload first, then install, then language.

ctfortner 12-28-2007 12:26 PM

Quote:

Originally Posted by NavS (Post 1410361)
upload first, then install, then language.

thanks for the help guys. not sure what happened, but i deleted all files and re-uploaded, installed, and it worked.

Red Spider 12-28-2007 10:30 PM

Will this be ported to 3.7.0?

NavS 12-29-2007 05:14 AM

Quote:

Originally Posted by NavS (Post 1410338)
I have it show up in the admin cp but clicking on any option leads me to a blank page...

Anyone know what's going on??? :(

kronnos 12-29-2007 08:17 PM

Hey,

Got a pretty bad problem with this. I copied a code into Footer adcode spot and I guess it was a bad code that closed a /form without opening one and messed up the rest of the page after the spot where you enter the code. I can even delete that code because I can no longer see the save button below it, so cant save changes. Tried to find the template where that code is saved in but it does not seem to be in any of the templates. Any ideas?

Cobro 12-30-2007 12:54 PM

Importing Language, Please Wait...

Invalid File Specified

this is what i see when i try import language file i am using vbulletin 3.6.8 patch 2 ?

Sheep101 12-30-2007 02:58 PM

Quote:

Originally Posted by Cobro (Post 1411902)
Importing Language, Please Wait...

Invalid File Specified

this is what i see when i try import language file i am using vbulletin 3.6.8 patch 2 ?

Import the language file as a product.

aleysan 12-31-2007 12:42 PM

Quote:

Originally Posted by NavS (Post 1410338)
I have it show up in the admin cp but clicking on any option leads me to a blank page...

install language.xml

periphrastic 12-31-2007 05:10 PM

thanks for the mod
am i supposed to be able to find the vb ad management in my includes folder? i cannot find it in there, and i am following the exact instructions for new installation in the exact sequence prescribed

please advise, thanks

Skorzen 12-31-2007 06:36 PM

I'm trying to get the ads to show on the nav bar but for some reason, they're not. I went to this location in Admin: Style Template > Navigation/Breadcrumb Templates > Navbar

I then put in '$navbar_advertisement' at the top of the Navbar section. Did I do this correctly? No ads are showing at all. Below this is my code for the Nav section where I listed my images and url's.

Please advise on how to fix this.

Code:

$navbar_advertisement

<!-- breadcrumb -->
<div id="navbar-row">
<if condition="is_array($navbits)">
        <div class="navbar navbar-top"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a> $navbits[breadcrumb]
        &raquo; <strong>$navbits[lastelement]</strong></div>
<else />
        <div class="navbar navbar-top"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></div>
</if>
</div>
<br class="spacer8" />
<!-- / breadcrumb -->

<!-- pm notification -->
<if condition="THIS_SCRIPT != 'private' && $show['member'] && $show['pmstats'] && $vbulletin->userinfo['pmunread']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
        <tr>
                <td class="panelsurround" align="center">
                <div class="panel">
                        <div class="pm-new" style="width:$stylevar[formwidth]; text-align: center;">
                                <phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase>
                        </div>
                </div>
                </td>
        </tr>
</tbody>
</table>
<br />
</if>
<!-- / pm notification -->

$_phpinclude_output


VB Ad Management > Header and Navbar > Navbar > Navbar Adcode
Code:

<a href="http://www.mightypets.com"><img src="http://www.petownerforum.com/images/ads/leaderboard-mp.jpg" /></a>

<a href="http://www.alwaysonsalepetsupplies.com"><img src="http://www.petownerforum.com/images/ads/leaderboard-aos.jpg" /></a>


tarball 12-31-2007 08:02 PM

Does the vB Ad Management 3 still available for download please?

christi78 01-01-2008 01:10 AM

issue with adding 2 replacement variables when using revenue sharing. If the following code it fails to load correctly. Anyone have any Ideas on how to fix it ???
HTML Code:

<script type="text/javascript"><!--
google_ad_client = "#field8#";
google_ad_slot = "#field12#";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>


bbwmodelpicker 01-01-2008 03:52 AM

I just wanted to say thank you...I am new at this and it was easy enough to figure out! thanks!:cool:

BaziCenter 01-01-2008 04:40 AM

how can i show 4 banners (header-navbar-postbit-footer) in my page. it has a limit and only shows 3 banners in one page.

BTW thanks for this great mod.

kronnos 01-01-2008 10:40 AM

Quote:

Originally Posted by kronnos (Post 1411557)
Hey,

Got a pretty bad problem with this. I copied a code into Footer adcode spot and I guess it was a bad code that closed a /form without opening one and messed up the rest of the page after the spot where you enter the code. I can even delete that code because I can no longer see the save button below it, so cant save changes. Tried to find the template where that code is saved in but it does not seem to be in any of the templates. Any ideas?

Any info on this please?

NavS 01-01-2008 08:28 PM

Quote:

Originally Posted by aleysan (Post 1412610)
install language.xml

I did and it doesn't work...

NavS 01-01-2008 08:30 PM

Nevermind... Adblock was blocking it...

user_not_found 01-02-2008 06:09 PM

:confused:Hi, I face problem with this MOD when I try to install to vbportal.
In forum works fine but in vbportal don't display the adsenses any idea ?

For example look at footer of rotame dot gr dot community vpportal
and forum
rotame dot gr dot community/forums (works fine ) any idea

Akuma2000 01-02-2008 07:49 PM

When I insert a advertisement.
Below will show the link:
"Remove this advertisement"

How can I NOT display this "remove option"?

eJM 01-02-2008 07:55 PM

That question has been asked and answered about a hundred times. Please look for it.

testebr 01-03-2008 03:00 AM

blank admincp on try open vb_ad_management.php, how to fix it? vb 3.7 and 3.6.8


All times are GMT. The time now is 01:35 PM.

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.05087 seconds
  • Memory Usage 1,846KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_html_printable
  • (17)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
  • (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