vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   below navbar.. (https://vborg.vbsupport.ru/showthread.php?t=271150)

SPEEDKILLZ 09-30-2011 01:10 AM

below navbar..
 
I am looking for something to put below my navbar to make site look a little more spread out. mod or a hack or something. if you have seen anything like this plz link me thanks

setishock 09-30-2011 07:46 AM

A link to your forum would be most helpful.

Digital Jedi 09-30-2011 08:00 AM

I'm not sure why you mean by "spread out". Vertically? Horizontally? Menu items? What, in particular, are you looking to put under your navbar?

SPEEDKILLZ 09-30-2011 05:17 PM

Quote:

Originally Posted by setishock (Post 2251549)
A link to your forum would be most helpful.

Link to forum? that is my forum.

I really dont know. i am looking for a mod or add on that places something there. I have saw a lot of site have news, links, adsense, just looking for something i can put to spread out the navbar and shout box thanks

Digital Jedi 09-30-2011 10:32 PM

Quote:

Originally Posted by SPEEDKILLZ (Post 2251688)
Link to forum? that is my forum.

I really dont know. i am looking for a mod or add on that places something there. I have saw a lot of site have news, links, adsense, just looking for something i can put to spread out the navbar and shout box thanks

He means can WE see a link to your forum so we know what to suggest. However, that probably isn't necessary. The different things you saw are all accomplished with different tools. Chatboxes are mods by themselves, and we have several here. Ads are sometimes modifications, but mostly just people using vB default ad templates. The rest is done by modifications depending on what you want done. There's a scrolling ticker, for example, that displays thread titles.

SPEEDKILLZ 10-01-2011 04:52 PM

I would probably just use adsense but i need to know how to put them on in the center? every time i put the on it puts one on the far left and the next one right next to it leaving the right side open and i dont want 4 large rectangles? how can i just insert 2 in the center thanks

Digital Jedi 10-01-2011 05:49 PM

You can put the code in a <div> container, and set the style to align center.
Code:

<div style="text-align:center">AD CODE<div>

SPEEDKILLZ 10-01-2011 07:00 PM

Quote:

Originally Posted by Digital Jedi (Post 2252043)
You can put the code in a <div> container, and set the style to align center.
Code:

<div style="text-align:center">AD CODE<div>

Thanks that worked perfect except it also made the text in my shoutbox and the whats going on also centered?? any way to make just the ads centered?

K!nG 10-01-2011 09:55 PM

This is wat i use just to center my ads. Hope it helps.

Code:

<p align="center"> ads code  </p>

SPEEDKILLZ 10-01-2011 10:13 PM

Quote:

Originally Posted by K!nG (Post 2252116)
This is wat i use just to center my ads. Hope it helps.

Code:

<p align="center"> ads code  </p>

that worked great thank you and thank you jedi for your help

--------------- Added [DATE]1317511983[/DATE] at [TIME]1317511983[/TIME] ---------------

is there a way to put a small space in between them as well so they are not right against each other?

Digital Jedi 10-02-2011 12:12 AM

I recommend using the <div> over the <p>, since that's meant for text only. Also if you use the style element, you'll be able to do more with it.

We would probably need to see your ad code to know why there's no spacing between them.

SPEEDKILLZ 10-02-2011 12:44 AM

ok so do you need me to post the entire code? also when i use the div code for some reason it made all text centered on my forum

Digital Jedi 10-02-2011 12:59 AM

As long as you post them in the [CODE][/CODE] tags, that will be fine.

--------------- Added [DATE]1317521611[/DATE] at [TIME]1317521611[/TIME] ---------------
Quote:

Originally Posted by SPEEDKILLZ (Post 2252062)
Thanks that worked perfect except it also made the text in my shoutbox and the whats going on also centered?? any way to make just the ads centered?


It would only have done that, if there's an open tag somewhere in your forum. So, you've probably got another problem you might want to address.

SPEEDKILLZ 10-02-2011 04:15 AM

Here is the code now

Code:

<p align="center"> <script type="text/javascript"><!--
google_ad_client = "pub-9181553695854459";
/* 336x280, created 9/29/11 */
google_ad_slot = "3468033999";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<script type="text/javascript"><!--
google_ad_client = "pub-9181553695854459";
/* 336x280, created 9/29/11 */
google_ad_slot = "6450148943";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>

what you mean open tag? how i find that? thanks

markbolyard 10-02-2011 04:24 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2252215)
Here is the code now

Code:

<p align="center"> <script type="text/javascript"><!--
google_ad_client = "pub-9181553695854459";
/* 336x280, created 9/29/11 */
google_ad_slot = "3468033999";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<script type="text/javascript"><!--
google_ad_client = "pub-9181553695854459";
/* 336x280, created 9/29/11 */
google_ad_slot = "6450148943";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>

what you mean open tag? how i find that? thanks

If you want to ad a space between your ads, just add

Code:

&nbsp;
between your two ads.

When he says closed tag, he means you have a <div> without a closing tag </div>, or a <p> tag without the closing </p>

--------------- Added [DATE]1317533215[/DATE] at [TIME]1317533215[/TIME] ---------------

BTW, based on the code you posted, that code looks fine, but change the

Code:

<p align="center">
to

Code:

<div style="text-align:center;">
and the closing </p> tag to </div>

SPEEDKILLZ 10-02-2011 05:06 AM

thank you i see i forgot the / in the code jedi gave me.. Thank you all so much it's fixed? but a question just for learning experience. What is the diff if the two codes are they for different things?

Digital Jedi 10-02-2011 07:25 AM

You mean <p> and <div>? The <p> defines a paragraph, which is why it's just for text. While <div> defines a section or block element on your page. <div> is what you would use when placing blocks of code on your pages.


All times are GMT. The time now is 05:23 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.03297 seconds
  • Memory Usage 1,758KB
  • 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
  • (9)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete