vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need help adding HTML in "Welcome Headers" add-on (https://vborg.vbsupport.ru/showthread.php?t=221158)

NThomas 08-18-2009 08:04 AM

Need help adding HTML in "Welcome Headers" add-on
 
I'm using an add on called Welcome Headers that adds an annoying "welcome" message for users that aren't registered. I've finally figured out how to add text but I'm in over my head adding the HTML from Google Adsense beside the text like here.

http://img8.imageshack.us/img8/6228/headerak.jpg

Any advice on how the HTML should look? Right now my site looks like this.

http://img16.imageshack.us/img16/4738/headerbb.jpg

I just need to get it looking like this instead:

http://img14.imageshack.us/img14/9613/headercq.jpg

Here's the existing code:
Code:

<script type="text/javascript"><!--
google_ad_client = "pub-9253554875337282";
/* Guest AdSense */
google_ad_slot = "2623077696";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><strong>Welcome to Austin Urban Forum</strong> the online source for architecture, transportation, real estate development and news & issues in Austin and Central Texas.<br><br>You are currently viewing the site as a guest. To gain full access to the Austin Urban Forum <a href="http://forum.austinurbanforum.com/register.php"><strong>register for free</strong></a> and enjoy benefits such as:<br><br>
?        No advertisements<br>
?        Participation in polls<br>
?        E-mail with other members<br>
?        Ability to post and comment<br>
?        Share your own and view other member?s pictures<br><br>
If you have any problems with the registration process or your logging into your account, please <a href="http://forum.austinurbanforum.com/sendmessage.php">contact us</a>.

I'm betting it's just a simple HTML code so it shouldn't be too hard to find someone wanting to help me out :confused:

vB Tree 08-18-2009 08:54 AM

Try replacing it with this:

HTML Code:

<table><tr><td>
<script type="text/javascript"><!--
google_ad_client = "pub-9253554875337282";
/* Guest AdSense */
google_ad_slot = "2623077696";
google_ad_width = 300;
google_ad_height = 250;
//-->

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
</td><td>
<strong>Welcome to Austin Urban Forum</strong> the online source for architecture, transportation, real estate development and news & issues in Austin and Central Texas.<br><br>You are currently viewing the site as a guest. To gain full access to the Austin Urban Forum <a href="http://forum.austinurbanforum.com/register.php"><strong>register for free</strong></a> and enjoy benefits such as:<br><br>
?        No advertisements<br>
?        Participation in polls<br>
?        E-mail with other members<br>
?        Ability to post and comment<br>
?        Share your own and view other member?s pictures<br><br>
If you have any problems with the registration process or your logging into your account, please <a href="http://forum.austinurbanforum.com/sendmessage.php">contact us</a>.</td></tr></table>

PM me if it doesn't work and I'll have another look at it.

Lynne 08-18-2009 03:23 PM

Questions regarding modifications need to be asked in the modification thread. That is where the support for modifications is - not out here in the main forums.

NThomas 08-18-2009 06:07 PM

Quote:

Originally Posted by Lynne (Post 1869853)
Questions regarding modifications need to be asked in the modification thread. That is where the support for modifications is - not out here in the main forums.

I figured since it was an HTML question I could post it here. oops

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

Quote:

Originally Posted by vB Tree (Post 1869665)
Try replacing it with this:

HTML Code:

<table><tr><td>
<script type="text/javascript"><!--
google_ad_client = "pub-9253554875337282";
/* Guest AdSense */
google_ad_slot = "2623077696";
google_ad_width = 300;
google_ad_height = 250;
//-->

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
</td><td>
<strong>Welcome to Austin Urban Forum</strong> the online source for architecture, transportation, real estate development and news & issues in Austin and Central Texas.<br><br>You are currently viewing the site as a guest. To gain full access to the Austin Urban Forum <a href="http://forum.austinurbanforum.com/register.php"><strong>register for free</strong></a> and enjoy benefits such as:<br><br>
?        No advertisements<br>
?        Participation in polls<br>
?        E-mail with other members<br>
?        Ability to post and comment<br>
?        Share your own and view other member?s pictures<br><br>
If you have any problems with the registration process or your logging into your account, please <a href="http://forum.austinurbanforum.com/sendmessage.php">contact us</a>.</td></tr></table>

PM me if it doesn't work and I'll have another look at it.

It worked perfectly! See for yourself. I spent like 3 hours pulling my hair out trying to get this to work. Thank you very very very much! My site feels another step towards being complete. :D

vB Tree 08-18-2009 10:22 PM

That's good to hear, feel free to PM me if you need any help in the future.


All times are GMT. The time now is 02:46 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.01107 seconds
  • Memory Usage 1,740KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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