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)
-   -   End-User Options - Send Update Pm/Mail (https://vborg.vbsupport.ru/showthread.php?t=155284)

Developer 08-14-2007 10:00 PM

Send Update Pm/Mail
 
Send Update Pm/Mail.
Version 1.0.0
Description::.

This is ported version from my hack to vb3.5.4
this hack give thread starter option to mail/pm users who have posted in his thread like in vb.org when i mail users who clicked install for update
Hack Features::.
[-]1-easy yo install
[-]2-on/off
[-]3-minimum posts before could use the hack
[-]4-send pms
[-]5-send mails
[-]6-Forum Perrmisions{allow sending updates or not}
[-]7-allow to who can moderate this forum to send update
[-]7-Send mails uses vB queue system{Thnx Paul M}
[-]
8-Special users - they can send updates overcoming posts number (new)

Installation::.
1-Import The product.
2-Edit Template Showthread find:
Code:

<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
                </if>

add below it:
Code:

<if condition="$show['send_update']"><a href="misc.php?$session[sessionurl]do=update&t=$threadinfo[threadid]">$vbphrase[sendup_send_update]</a></if>
History::.
1.0.0 On 15. Aug 2007 Initial Version.
Hack Languages::.
  • English
Details::.
2 plugins, 23 phrases, 1 template, 4 options, 1 queries[adding field in forum for forum permission]

RvG2 08-15-2007 10:10 AM

hmmm it looks good. something like a global pm also?

TTG 08-15-2007 10:13 AM

Installed product, made template edit, activated product .. where is the option to send PM / email on thread update ?
Clicked install.

EDIT .. found it. :up: Not too easily spotted on my skin.

Endurer 08-15-2007 09:10 PM

Thanks ~ Installed. I'd love to give this option to VIP members at my forum.

Hornstar 08-15-2007 09:43 PM

this is going to be perfect in one of my forums. thanks!

Kihon Kata 08-16-2007 04:39 AM

Will this work PER FORUM? or is it global?

Developer 08-16-2007 06:21 AM

Quote:

Originally Posted by Kihon Kata (Post 1318654)
Will this work PER FORUM? or is it global?

yes it will work as forum permissions ... as i mentioned in feature no.6

fixer 08-24-2007 06:41 PM

installed

what about usergroup permissions? can you add this feature?

lolo? 09-18-2007 07:20 AM

great doest it work with user use the thanks button ??

xman_79 12-11-2007 03:55 PM

Quote:

Originally Posted by Developer (Post 1318712)
yes it will work as forum permissions ... as i mentioned in feature no.6

Yes but you forgoten to put the condition in plugin <1>

Code:


if ($vbulletin->options['devel_sendup_onoff'] == '1' AND $foruminfo['allowupdate'] == '1')
        {
                if ($vbulletin->userinfo['userid'] == $threadinfo['postuserid'] OR can_moderate())
            {
                $show['send_update'] = true;
            }
        }



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