Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 08-04-2013, 05:20 PM
coolbreeze86 coolbreeze86 is offline
 
Join Date: Jan 2013
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
Well, that sucks and it's happening more and more. Hope you find what you need.
Hope i got i think, but don't know where to add it... can you help me..
Reply With Quote
  #12  
Old 08-04-2013, 05:25 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by coolbreeze86 View Post
Hope i got i think, but don't know where to add it... can you help me..
You want to go in and create a plugin, AdminCP>Plugins and Products>Add New Plugin and it's self explanatory from there.

If you get hung up private message me, I can install this plugin for you.
Reply With Quote
  #13  
Old 08-04-2013, 06:04 PM
coolbreeze86 coolbreeze86 is offline
 
Join Date: Jan 2013
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
You want to go in and create a plugin, AdminCP>Plugins and Products>Add New Plugin and it's self explanatory from there.

If you get hung up private message me, I can install this plugin for you.
Thank you!!

Installed, Worked like what i said, but need small change.. its not allowing users even to see the inbox or send items.

Is there is any possibilities, that they can just see, inbox or send items but they should not be able to open the message.
Reply With Quote
  #14  
Old 08-04-2013, 06:44 PM
mokujin's Avatar
mokujin mokujin is offline
 
Join Date: Oct 2005
Location: Czech
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change the hook location to private_showpm_start
Reply With Quote
  #15  
Old 08-04-2013, 06:59 PM
coolbreeze86 coolbreeze86 is offline
 
Join Date: Jan 2013
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mokujin View Post
Change the hook location to private_showpm_start
changed the hook location, working good while clicking on inbox, but not showing error when i try to send new pm.

it is sending new private message, not showing any error message.
Reply With Quote
  #16  
Old 08-04-2013, 07:25 PM
mokujin's Avatar
mokujin mokujin is offline
 
Join Date: Oct 2005
Location: Czech
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add the same PHP code above but with hook location private_newpm_start
Reply With Quote
  #17  
Old 08-04-2013, 07:54 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by coolbreeze86 View Post
Thank you!!

Installed, Worked like what i said, but need small change.. its not allowing users even to see the inbox or send items.

Is there is any possibilities, that they can just see, inbox or send items but they should not be able to open the message.
You're making it too complicated now. If you don't want them to have PM capability for X number of days, why do they need to see any of the tools for it?

Apply the KISS principle: Keep It Simple Stupid! :-)
Reply With Quote
Благодарность от:
Simon Lloyd
  #18  
Old 08-09-2013, 06:25 PM
coolbreeze86 coolbreeze86 is offline
 
Join Date: Jan 2013
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mokujin View Post
Add the same PHP code above but with hook location private_newpm_start
works fine friend.. thanks a lot..

--------------- Added [DATE]1376076421[/DATE] at [TIME]1376076421[/TIME] ---------------

Quote:
Originally Posted by Max Taxable View Post
You're making it too complicated now. If you don't want them to have PM capability for X number of days, why do they need to see any of the tools for it?

Apply the KISS principle: Keep It Simple Stupid! :-)
Some users are refrain from posting, so to make them post and use pm effectively i thought this would help.. moreover i had seen the same model like what i told is working with other sites.

anyway got it now from mokujin.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06200 seconds
  • Memory Usage 2,237KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete