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)

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:57 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.02139 seconds
  • Memory Usage 1,736KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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