vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - Automatic Profile Commenter (https://vborg.vbsupport.ru/showthread.php?t=232842)

Michael Biddle 01-11-2010 10:00 PM

Automatic Profile Commenter
 
1 Attachment(s)
Automatic Profile Commenter
By: Michael Biddle
vBulletin Professionals

What this does?

This will add a new profile comment to every newly registered member.

What is new?

Just in, now you can define as many messages as you want. Just separate each one with a semicolon (;)

How to Install/Configure?
  1. Import the product through vbulletin product manager.
  2. Settings->Options->Automatic Profile Commenter and configure.
  3. That is it!
Hack options?
  1. Master Enable/Disable
  2. UserID to send comment from
  3. Message that you want in the welcome profile message (BBCode Allowed).
    1. You can now use the following
      • {username} - username of the newly registered user
      • {userid} - userid of the newly registered user
      • {sitename} - name of your forums
      • {siteurl} - URL to your forums.

Changes?
  • 1.0
    • Initial Release
  • 1.1
    • Added cycling messages
    • Added {userid} variable

Michael Biddle 01-12-2010 12:13 AM

Reserved.

Zaiaku 01-12-2010 12:16 AM

First Installed!
But didn't you post the 3.7 still worked on vb4, any changes?

Michael Biddle 01-12-2010 12:23 AM

Yes, but I made another one here as it get buried there.

Hornstar 01-12-2010 02:35 AM

Any chance to allow us to make a list of possibly posted comments and it just randomly chooses one from the list?

Michael Biddle 01-12-2010 03:51 AM

Quote:

Originally Posted by hornstar1337 (Post 1953224)
Any chance to allow us to make a list of possibly posted comments and it just randomly chooses one from the list?

In the plugin try replacing with:

PHP Code:

// Snip snip. Released new version. 

Please let me know how this worked out for you.

Hornstar 01-12-2010 04:11 AM

Any chance to make it an editable field from within the admincp? I am testing the above now, will let you know how it goes in a sec. Thanks.

Michael Biddle 01-12-2010 04:18 AM

I am looking to it right now. I was going to just have it in the same box and every new line gives it another option. Problem being It will not work if you want a comment that has an enter in it.

I do not think what I posted above will work now that I am testing. Seems that array_rand picks the key rather than the value.

Will update you in a bit.

Hornstar 01-12-2010 04:22 AM

Yeah it didn't work, it just posted the number 3.

Yeah I was thinking something like that too, how about after every ; it will be another entry. (or something along those lines)

Michael Biddle 01-12-2010 04:27 AM

Great news. It works. Will be releasing 1.1 once I fix some of the phrases.


All times are GMT. The time now is 02:20 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.01224 seconds
  • Memory Usage 1,734KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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