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)

militarytuners 03-02-2008 03:41 AM

We'll ssee how it works.

jpapadpapa 03-04-2008 09:36 AM

Quote:

Originally Posted by Ted S (Post 1454626)
jpapadpapa,

Thanks for the feedback and yes, you can find me at The Admin Zone.

As far as your question, the best solution I can think of without doing more serious coding would be to check if the user is not in your support group(s) and how long it has been since they first joined. This would address most people although someone who supported then dropped out would see the message as well.

Thanks for the reply, Ted! I would love it if this functionality could be something you add in the future. Any chance? Or is that a lot of coding?

Ted S 03-04-2008 02:33 PM

That's not something I foresee the majority of users using so no, it's not likely to be included. Welcome Headers is really intended to be a framework which you should customize to meet your own forum's needs... with 3.7 comes a notices system which will enable you to setup welcome messages without knowing any code so that may be something you want to look into.

jpapadpapa 03-04-2008 03:00 PM

Quote:

That's not something I foresee the majority of users using so no, it's not likely to be included.
Yeah, you're probably right.

Thanks, I'll look into other options. :)

Ted S 03-04-2008 05:51 PM

Well since you were so polite here's some [untested] code...

Code:

<if condition="(($bbuserinfo['joindate'] - (86400 * 30)) < TIMENOW) AND !is_member_of($bbuserinfo, X)">
Message Goes Here
</if>
<if condition="$welcomehdr = '1'"></if>

Open the existing template welcome_headers and find:

Code:

<if condition="$vboptions[wlhguest] AND $show['guest']">
Place this code above that line and change the line to:

Code:

<if condition="$vboptions[wlhguest] AND $show['guest'] AND !$welcomehdr">
Change X to the supporting member group or enter a list of groups like 1,2,3,4 to have the message not show for multiple supporting options, mods, admins, etc...

Change 30 to the number of days.

Let me know if you run into issues. Be sure to test!

mariocaz 03-05-2008 04:49 AM

Excellent and useful mod!!!

Konstantinos 03-05-2008 04:58 AM

got a problem with the COPPA msg . it displayes the never posted msg instead. how to fix this ?

GlowHost.com 03-05-2008 07:20 AM

This mod does not support BBCode?

When using [ url ]foo[ /url ] tags no link is dispayed, only raw code.

For example:
vB options > Welcome Headers > Enable Never Posted Message > "click here" ( to edit phrade)

Here is the default:
Quote:

Hello {1},<br />Our records indicate that you have never posted to our site before! Why not make your first post today by saying hello to our community in our Introductions forum. <br /><br /> Why not start with your first post today and become an active part of {2} now!
I simply wanted to link the Introduction Forum, based on the default text above, so that it was not a mystery for new users how to introduce themselves, and so they could easily begin posting.

Did I do something wrong by doing this?:

Quote:

Hello {1},<br />Our records indicate that you have never posted to our site before! Why not make your first post today by saying hello to our community in our [ url=http://whatever.com/some/post/la/la/la/foo.php ]Introductions forum. [ /url ]<br /><br /> Why not start with your first post today and become an active part of {2} now!
I have bolded the bbcode responsible. Am I using the incorrect syntax or was bbcode overlooked in this module?

Ted S 03-05-2008 02:19 PM

Quote:

Originally Posted by GlowHost.com (Post 1457337)
This mod does not support BBCode?
When using [ url ]foo[ /url ] tags no link is dispayed, only raw code.

For example:
vB options > Welcome Headers > Enable Never Posted Message > "click here" ( to edit phrade)

I have bolded the bbcode responsible. Am I using the incorrect syntax or was bbcode overlooked in this module?

Templates use HTML. This is true of all templates and is not unique to welcome headers.

If you want to style the messages, use HTML.

Ted S 03-05-2008 02:21 PM

Quote:

Originally Posted by Konstantinos (Post 1457271)
got a problem with the COPPA msg . it displayes the never posted msg instead. how to fix this ?

What is the ID of your Coppa group?


All times are GMT. The time now is 04:37 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.02502 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)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