Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Note in Private Message Form Details »»
Note in Private Message Form
Version: 1.00, by Ipuck Ipuck is offline
Developer Last Online: Oct 2021 Show Printable Version Email this Page

Version: 3.8.x Rating:
Released: 11-20-2008 Last Update: 11-20-2008 Installs: 24
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Very simple mod. Adds a note on top of the Private Message form.

If a registered or unregistered user tries to send a private message, it will add a note on top of the form with links to "FAQ" and "contact us".

This helps prevent users to contact the administrator or moderators for simple questions.

Installation:

+ Install product via Product Manager.

Edit:

+ Edit note, links and usergroups in the "pm_stopm" template
Styles & Templates > Style Manager > Private Message Templates > pm_stopm
Settings:

+ Select which usergroup can see the message:
PHP Code:
<if condition="is_member_of($bbuserinfo, array(1, 2, 3, 4))"

Download Now

File Type: xml stopm_prduct.xml (1.7 KB, 98 views)

Screenshots

File Type: jpg Figure1.jpg (61.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-21-2008, 02:27 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! 3.6.8 (changed minversion="3.8." and installed)

Also you can edit the template how you wish all, simply change the code but some html i.e. <br> does not work so use alternates!

Sample of my Template pm_stopm after deleting/re-doing:

Code:
		Private Message Tools:
		<p></p>
		<a href="http://www.yoursitenamehere.com/memberlist.php" target="_blank">Member List</a>
                <span>|</span>
		<a href="http://www.yoursitenamehere.com/showgroups.php" target="_blank">User Groups</a>
                <p></p>
But you can leave the <b></b> for bold if you like etc.

Simple yet nice, Thanks again!
Reply With Quote
  #3  
Old 11-21-2008, 04:38 AM
g0dfather1984 g0dfather1984 is offline
 
Join Date: May 2008
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not compatible w/ 3.8 beta 2.

If you could make it compatible, it would be greatly appreciated.

Thanks for listening.
Reply With Quote
  #4  
Old 11-21-2008, 05:24 AM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Better to post it in "vBulletin 3.8 Add-ons" forum, and no "vBulletin 3.8 Template Modifications".
Reply With Quote
  #5  
Old 11-21-2008, 03:38 PM
Ipuck's Avatar
Ipuck Ipuck is offline
 
Join Date: Jun 2006
Location: California
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by g0dfather1984 View Post
Not compatible w/ 3.8 beta 2.

If you could make it compatible, it would be greatly appreciated.

Thanks for listening.
Fixed the problem. Thanks for letting me know.

Quote:
Originally Posted by TheLastSuperman View Post
Thanks! 3.6.8 (changed minversion="3.8." and installed)
Thank you for showing the solution.
Reply With Quote
  #6  
Old 11-21-2008, 04:51 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to fix the <br> problem use <br /> instead this is xhtml transitonal not strict doc type.
Reply With Quote
  #7  
Old 11-21-2008, 09:02 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We are working on a seperate support site, I take it you are able to change the links url to whatever you want?

Edit: also can you add usergroups to use the hack?

Edit (again lol): I see that you can,I added admin usergroup to test

HTML Code:
<if condition="is_member_of($bbuserinfo, array(1, 2, 3, 4, 6))">
but its not showing on the pm section
Reply With Quote
  #8  
Old 11-22-2008, 05:18 PM
Ipuck's Avatar
Ipuck Ipuck is offline
 
Join Date: Jun 2006
Location: California
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hIBEES View Post
Edit: also can you add usergroups to use the hack?
Edit (again lol): I see that you can,I added admin usergroup to test
Yes, . I should add that to the description.

Quote:
Originally Posted by hIBEES View Post
We are working on a seperate support site, I take it you are able to change the links url to whatever you want?
Yes, you can.

Quote:
Originally Posted by hIBEES View Post

HTML Code:
<if condition="is_member_of($bbuserinfo, array(1, 2, 3, 4, 6))">
but its not showing on the pm section
Is working for me . Are you log in as administrator?
Reply With Quote
  #9  
Old 11-24-2008, 04:00 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ipuck View Post

. Are you log in as administrator?
Yes as I added that usergroup to test
Quote:
Originally Posted by Ipuck View Post
Is working for me
It does display but not when you start a new pm
only when you reply to one.....


See screenies :erm:
Attached Images
File Type: jpg newpm.JPG (30.1 KB, 0 views)
File Type: jpg replypm.JPG (48.5 KB, 0 views)
Reply With Quote
  #10  
Old 01-22-2009, 06:24 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about showing this only if the PM is being sent to a staff member?
Reply With Quote
Reply

Thread Tools

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 09:02 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.04594 seconds
  • Memory Usage 2,328KB
  • Queries Executed 24 (?)
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)bbcode_code
  • (2)bbcode_html
  • (1)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete