Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 08-18-2009, 08:04 AM
NThomas NThomas is offline
 
Join Date: Jun 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.



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



I just need to get it looking like this instead:



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
Reply With Quote
  #2  
Old 08-18-2009, 08:54 AM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 08-18-2009, 03:23 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 08-18-2009, 06:07 PM
NThomas NThomas is offline
 
Join Date: Jun 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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 View Post
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.
Reply With Quote
  #5  
Old 08-18-2009, 10:22 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10: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.02563 seconds
  • Memory Usage 2,210KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete