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)
-   -   New Posting Features - Custom Message Button (https://vborg.vbsupport.ru/showthread.php?t=132723)

sebbe 11-27-2006 10:00 PM

Custom Message Button
 
Custom Message Button 1.0

Description
Adds a button to showthread which automatically post a predefined message when you press it. See screenshots.
I demonstrated with vb.orgs message for unlicensed users.

Features
Version 1.0
  • Turn On / Off
  • Specify forums where the button will appear
  • Specify usergroups able to use the button
  • Change name(value) of the button
  • Customize the message
  • Include signature or not
  • Close post after the message is posted or not

Installation
Admin CP > Plugins & Products > Manage Products > [Add/Import Product] > Import product-sebbe-2.xml.
The settings are inside vBulletin Options > Custom Message Button

Misc
Tested on vB
3.6.2
3.5 (Thanks Ziki)


Please click install if you're using this hack!

sebbe 11-28-2006 06:15 PM

/me reserves first post

Ziki 11-28-2006 06:23 PM

Works fine for 3.5.Excellent.Installed

bashy 11-28-2006 06:26 PM

I take it as its how its placed, if another post is made after the post that you want to leave the message for then it could look like the message is for the latest post, is this correct?

Does this make any sense lol?

Ntfu2 11-28-2006 06:27 PM

Awesome, right now i'm using replacement variables, but i was wondering if there is a way to have more then one message set?

Thanks

DannyMilner 11-28-2006 06:34 PM

Great mod idea ;)

sebbe 11-28-2006 06:34 PM

Quote:

Originally Posted by bashy (Post 1127452)
I take it as its how its placed, if another post is made after the post that you want to leave the message for then it could look like the message is for the latest post, is this correct?

Does this make any sense lol?

Not sure what you mean really. The [username] will always point at the user who posted the thread.

Quote:

Originally Posted by Ntfu2 (Post 1127453)
Awesome, right now i'm using replacement variables, but i was wondering if there is a way to have more then one message set?

Thanks

Maybe in future versions there will be a dropdown box where you can choose between different messages. Depends on the demand.

Lionel 11-28-2006 06:34 PM

you might want to look into that also. Has more options and works (for me) on 3.60

projectego 11-28-2006 07:19 PM

[high]* projectego clicks install ;)[/high]

Allan 11-28-2006 07:27 PM

h?h?, great idea ;)

A question, it's possible to add other message button (for other answer for example) ?


All times are GMT. The time now is 07:52 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.02409 seconds
  • Memory Usage 1,729KB
  • 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_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