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)
-   -   Board Optimization - Welcome headers - Improve community registration rates (https://vborg.vbsupport.ru/showthread.php?t=119572)

Hornstar 06-22-2007 10:52 PM

The version I have installed is already 4.2.1 is this the latest version, or didnt you update the product number?

Ted S 06-22-2007 11:19 PM

The version numbers are accurate; if you're running 4.2.1 as stated in your Plugin Manager, you're good to go.

Hornstar 06-23-2007 05:43 AM

Quote:

Originally Posted by Ted S (Post 1274274)
The version numbers are accurate; if you're running 4.2.1 as stated in your Plugin Manager, you're good to go.

So was there an update then?
because I have not updated anything in a long while.

Ted S 06-23-2007 04:26 PM

Hum, in that case you may want to upgrade again. Sounds like something got out of sync.

Cyn 06-23-2007 09:03 PM

Fab mod! Thanks so much for it!!

We have several different styles with varying background colors. We are placing an adsense ad within the Welcome Header. I did this by editing the phrase for the welcome header and including the adsense code. This works fine; however, we need to place the appropriate colors for each style to allow the adsense ad to blend well.

I thought I could do it by editing the welcome_header template for each style but it does not place the adsense ad within the header box. It places it to the side as a separate box. What am I doing wrong?

Ted S 06-23-2007 11:01 PM

It sounds like you are editing the HTML incorrectly. Each message is a separate tale so you can either add code to each table in the template or setup the code in another if you want to show the code in another way.

kollam003 06-24-2007 03:31 AM

Thanks Installed

Cyn 06-24-2007 12:17 PM

Quote:

Originally Posted by Ted S (Post 1274943)
It sounds like you are editing the HTML incorrectly. Each message is a separate tale so you can either add code to each table in the template or setup the code in another if you want to show the code in another way.

I only want the Adsense to display to Guests. I placed it within this table in the welcome_headers template for the style I wanted it to display in:
Quote:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1">
<phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]" 3="$vboptions[bbtitle]" 4="sendmessage.php$session[sessionurl]">$vbphrase[welcome_guest]</phrase>

</td>
</tr></table>
And the code I am using is the same as that for displaying adsense in posts in this mod:

https://vborg.vbsupport.ru/showthread.php?t=140664

So, how would I place that to make it display as I wish - to the right of the welcome header message, but within the template so that I can apply different color codes for the different styles?

Or, do I need to use conditionals for each style directly in the phrase for the welcome header?

Ted S 06-25-2007 12:40 AM

To make the adsense code only appear to guests, you would only want to modify the welcome header message that guests see (the guest message). As far as how to format the layout, I don't offer HTML assistance but there are several areas including the code forum here at vBulletin.org where you can ask that type of question.

Cyn 06-25-2007 08:12 AM

Okay, I'll ask for input on the format for the layout elsewhere. I do understand that I need to edit the message that guests see. But that does not answer my specific question about the different adsense colors for each style or I am not able to distinguish what you mean by "modify the welcome header message." Do I edit the template for each style? Or, do I edit the welcome message in the translation box within the phrase manager? If the latter, how do I acheive the different colors for each style? Do I use conditionals to place different adsense code for the different styles' colors?


All times are GMT. The time now is 02:29 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.02313 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
  • (3)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
  • (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