vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Welcome Thread Created on Members first post (https://vborg.vbsupport.ru/showthread.php?t=110308)

sinaluna 03-19-2006 09:14 PM

Quote:

Question: if we don't want any "add on text" to the new user's first post, should we just delete the text in the "welcome_addon" template? It would be nice, I think, if this was another option that could be turned off in AdminCP.
You can leave the template, but just make it blank. I think Id rather not add another option for it when the blank addon does the same thing logically.

Quote:

Also, we should be editing the text in the templates of all of our styles? Why not make these as phrases instead?
You can just edit them in the default style if you want. The really dont work as phrases, considering all the things that you might want to put in a template. You can add graphics, links, and reference just about any variable in a template. Phrases are VERY limited. You have to define exactly what variables you can that are available before hand and they are hard coded in the plugin then. You would lose any flexibility.

You could create your own welcome phrases and include them in your welcome template if you were worried about language issues, but this is too limiting for this product.

sinaluna 03-19-2006 09:17 PM

BTW, if you are testing templates you can change the line in the plugin:

PHP Code:

if (($vbulletin->userinfo['userid'] > 0) AND ($vbulletin->userinfo['posts'] == 0)) { 

to something like:
PHP Code:

if (($vbulletin->userinfo['userid'] > 0) AND ($vbulletin->userinfo['posts'] < 9999)) { 

This will temporarily make any post for a user under 9999 posts create a welcome post. This would not work well on an open, public forum. But in a test forum, or if you have closed the forum for maintanance, this lets you easily test the templates.

Tralala 04-17-2006 10:58 PM

This seems to be working okay, for the most part... but I am noticing one issue... it makes new posts in the pre-existing thread, yes... but it doesn't bump that thread and change it's date. So the new posts get lost in the shuffle. Ideally I'd like for these "welcome posts" to act just like any other, effectively being marked as new and bumping the thread.

Tralala 04-17-2006 11:03 PM

And one suggestion while I'm at it, it would be nice if we could incorporate the name of the new member's referrer, if they have one, into the Welcome post.

Something like "Thanks to Tralala, we have a new member aboard. Pamela's first post is here. Let's give our new member a hearty welcome!"

Might also be nice to include their avatar. :)

Would either of these be possible?

sinaluna 05-15-2006 07:58 PM

Ill take a look this week and see how to get the referer info to the template.

glowinggal 05-18-2006 01:34 PM

great! I look forward to update of this before install! :)

LBSources 05-18-2006 07:48 PM

Tralala great suggestions and same update/bump to the thread the intro posted in would be great ,...

eitherway .. staff member of ours stressed for this and im glad we installed it..

great!

Lenny :)

wideopen 05-19-2006 06:58 PM

Thanks this works great...

JohnnyClark 05-21-2006 07:03 PM

this doesnt work for me....nothing is created

sinaluna 05-22-2006 08:17 AM

Sorry for the delay but had something come up and it ate up last week entirely. I will get to it this week (I hope)


All times are GMT. The time now is 03:23 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.01077 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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