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)

Ted S 08-28-2007 12:47 AM

You would have to write conditionals to specifically change how the template is displayed. Welcome Headers appears on every page in the site, the forumhome template is just one page. Moving the code into it would certainly address your first question but welcome headers wouldn't appear on other pages defeating the entire purpose.

syschat 08-28-2007 12:58 AM

Thanks for all your help! Will this work:
Put the code in the forumhome page, where I want them, on top of the forums.
Then, put the following statement where the welcome header code is now:
<if !forumhome>
show headers
</if>

pierguy 08-29-2007 02:07 AM

I can't get this hack to uninstall. I installed it several months ago and have recently upgraded VB to the most recent version.

When I come to my site as an unregistered user, I see:

Welcome to the [ARG:3 UNDEFINED] forums.

You are currently viewing our boards as a guest, which gives...


I've removed $welcomeheaders from all my templates and removed the plugin. How can I get rid of this so I can install the newest version?

Ted S 08-29-2007 03:26 AM

The hack is uninstalled. What you are seeing is the default welcome header which comes with vBulletin. You can remove it in the FORUMHOME template as explained in the instructions.

To upgrade, just install the latest version and remove the default message. Everything else will work just fine.

cclaerhout 08-30-2007 11:21 AM

Hello ! Thanks for this hack. Could you add a new functionality that will allow to turn off the welcome headers with vBulletin Blog. It would be perfect :)

For those who wants to do it manually :
open "welcome_headers" template and search :
Code:

<if condition="$vboptions[wlhon] AND THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'login'">
then replace with
Code:

<if condition="$vboptions[wlhon] AND THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'blog'">

Ted S 08-30-2007 02:32 PM

You can customize welcome headers to meet your needs in whatever way you see fit. At this time I am not supporting it with vbulletin blog until I had had a chance to test the system.

Delioncourt 08-30-2007 04:18 PM

OMG it really works !!
I'm not even finished editing the welcome_headers template and the text for all the messages and I've had 4 registrations!! In 20 minutes !
Thank you for this great release. It's so simple and yet so productive. This mod combined with some good old SEO and your forum will never be the same again :D

Zagis 08-30-2007 04:28 PM

Awesome! Thanks.

Installed

Ted S 08-30-2007 04:56 PM

Quote:

Originally Posted by Delioncourt (Post 1328950)
OMG it really works !!
I'm not even finished editing the welcome_headers template and the text for all the messages and I've had 4 registrations!! In 20 minutes !
Thank you for this great release. It's so simple and yet so productive. This mod combined with some good old SEO and your forum will never be the same again :D

Awesome. Thanks for sharing your results!

Tact7626 08-30-2007 11:30 PM

installed this mod. very nifty and nice. i have great hopes it will do what it was designed to do. :) thanks for this mod.

Merriweather 09-01-2007 01:42 PM

Does anyone know if there is a way to hide the welcome headers on certain pages of the site -- specifically vbAdvance pages? I have added vBadvance and got everything just right, only to realize the welcome headers are showing all over the outside pages of my site when the viewer isn't logged in. :(

ETA I got it. Just needed to add AND THIS_SCRIPT != 'adv_index' to the following:

<if condition="$vboptions[wlhon] AND THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'login'">

skunker 09-02-2007 04:08 PM

This is a wonderful mod. Thanks for making it available.

Marys242 09-03-2007 04:17 AM

thanks this is great...and very easy to install :D

valdet 09-04-2007 03:14 PM

I am using this for months now, and it really increases my registration rates.

Can you please add an extra option so Welcome header would show only on forum homepage and not in showthread and other pages?

Thanks.

edit: got it.

here it is:

Quote:

<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay'">
$welcomeheaders
</if>

Ted S 09-04-2007 04:44 PM

valdet -

While that code will work, putting welcome headers on the forumhome page only completely and entirely defeats the purpose of the system and is a waste of server resources. Welcome Headers was written specifically because the default vBulletin welcome message appears on only this page; going back to that logic defeats the purpose of the system. If that's your goal, don't use welcome headers, it doesn't make sense.

Dimitrio 09-04-2007 06:28 PM

Can the header be translated? I lead a multi-lingual community site and I would like it to appear in different languages.

Kirkus 09-04-2007 06:38 PM

Any idea if this is compatible with vBulletin 3.6.8?

Ted S 09-04-2007 07:34 PM

Dimitrio - Welcome Headers uses phrases for all text which can be translated without code changes.

Kirkus - Yes it is.

oNeg 09-05-2007 03:01 PM

Quote:

Originally Posted by Kirkus (Post 1332351)
Any idea if this is compatible with vBulletin 3.6.8?

It's working fine for me so far.

I have a question about editing the messages though, and forgive me but there are far to many pages to go through to see if some has mentioned this or to know what to search to find the answer.

The {3} and numbers in general wrapped {}. What is the correct discription of these and how can I find a list of them to use in my messages?

Ted S 09-05-2007 06:00 PM

The {1}, {2}, ... refer to variable urls. There's no copy for these nor are there any more than what you already see (although you could add more). These are just urls to direct to pages safely and without me having to know your url structure. They can be removed or changed if you go to vBulletin Options --> Welcome Headers System, and click on the edit message by the message you want to change.

oNeg 09-06-2007 06:41 AM

Ok thanks appreciate the response!

fariborz khan 09-07-2007 01:56 AM

HI
work with 3.6.8?

Ted S 09-07-2007 04:02 AM

Quote:

Originally Posted by fariborz khan (Post 1334009)
HI
work with 3.6.8?

Sure.

fariborz khan 09-07-2007 11:17 AM

Quote:

Originally Posted by Ted S (Post 1334036)
Sure.

thank you for your answer and your good product:);) , installed
in addition can i use it as a feed reader?is it possible?

Ted S 09-07-2007 03:22 PM

Quote:

Originally Posted by fariborz khan (Post 1334164)
in addition can i use it as a feed reader?is it possible?

Huh? Welcome Header... feeds... no relation.

fariborz khan 09-07-2007 05:56 PM

mersi
can i tabed wellcome header ?for exampel in on tab i write wellcome not and in other tab i write about rules and so on...
i want send you a private masege for my question , are you permit me do this?
thank you dear and sorry me for my english

Ted S 09-07-2007 07:47 PM

I'm not able to understand your writing but gather that you want to change the appearance of the welcome headers. You can do this by editing the template welcome_headers as you see fit. Each message has a different table.

valdet 09-08-2007 11:32 AM

Quote:

Originally Posted by Ted S (Post 1332261)
valdet -

While that code will work, putting welcome headers on the forumhome page only completely and entirely defeats the purpose of the system and is a waste of server resources. Welcome Headers was written specifically because the default vBulletin welcome message appears on only this page; going back to that logic defeats the purpose of the system. If that's your goal, don't use welcome headers, it doesn't make sense.

Dear Ted, I hope you were not offended by my suggestion. Your hack is an immense resource. I had to remove the welcome headers only from showthread template in a single forum because I have vbseo and I used vbseo relevant replacements on top of the threads, so it serves better for SEO purposes.
Nevertheless, the Welcome Headers are still in every page of all my other forums I developed.

Thanks in advance,
Regards,
Val.

ForosAbiertos 09-09-2007 07:05 AM

I want create a variable:

forum_title = {7}

When I can do this?

Thanks

Ted S 09-10-2007 07:50 AM

Quote:

Originally Posted by ForosAbiertos (Post 1335245)
I want create a variable:

forum_title = {7}

When I can do this?


Thanks

Edit the template welcome_headers and the plugin file as well.

ForosAbiertos 09-10-2007 10:21 AM

Can you tell me more info please?

where y what i have to edit in the template and plugin file?

Ted S 09-10-2007 04:09 PM

Quote:

Originally Posted by ForosAbiertos (Post 1336111)
Can you tell me more info please?

where y what i have to edit in the template and plugin file?

If you do not know how to edit html or php, you should start by reading basic primers on both languages (www.w3schools.com and www.php.net) and then move on to some vBulletin coding tutorials.

Alternatively you can not use the variable sytem and just modify the phrase to have whatever links you want. The phrase can be accessed through vbulletin options --> Welcome Headers System. Click edit on whichever messages you want to change.

rlpartida 09-19-2007 10:45 PM

Hello Ted S,

Im getting this error when I enable welcome headers:

Line: 608
Car: 3
Error: The object does not accept this property or method
Code: 0
URL: http://www.my-site.com/forums/forum-name/

I have included the $welcomeheaders in the header (at the bottom as instructed in the readme sile).

I could PM you the URL if you want to...

Ill appreciate your help.

Ted S 09-19-2007 10:47 PM

Line 608 of what file? That error doesn't come from welcome headers so I can only assume you have a conflict with some other code.

rlpartida 09-19-2007 10:54 PM

Thank you very much for your prompt response...

The thing is it dissapears as soon as I disable welcome headers...

Line 608 of what file? not sure, thats what I see when I click on the error at the bottom of IE

Should I PM you my URL?

schford 09-22-2007 06:38 PM

Could you tell me how to stop the welcome headers being displayed on the main index page (CMPS) of my site.

I am guessing I need to wrap the $welcomeheaders in some sort of code which says dont diaply if the page is index.php ?

Thanks

Stuart

Masiello 09-22-2007 06:56 PM

Quote:

Originally Posted by schford (Post 1344736)
Could you tell me how to stop the welcome headers being displayed on the main index page (CMPS) of my site.

I am guessing I need to wrap the $welcomeheaders in some sort of code which says dont diaply if the page is index.php ?

Thanks

Stuart

Good question, I need the same.

Ted S 09-22-2007 08:34 PM

You can either edit the variable as follows:

Code:

<if condition="THIS_SCRIPT != 'pagename'">$welcomeheaders</if>
Or edit the template welcome_headers which already includes a few script checks like this one.

Where pagename is the name of the page.

schford 09-23-2007 11:11 AM

Thanks - tried it but really struggling......

BuRaCh 09-23-2007 11:18 AM

thank you sir
good hack..


All times are GMT. The time now is 06:18 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.02424 seconds
  • Memory Usage 1,825KB
  • 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_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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