Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM Security Certificate Details »»
PM Security Certificate
Version: 1.00, by magnus magnus is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 01-15-2007 Last Update: Never Installs: 214
 
No support by the author.

Keywords: PM, Private Message, Security, Verification

Description:
Quote:
Informs the user that the PM they are reading was in fact sent by forum staff.
Details:
Quote:
This template modification was developed by request [LINK] of RED SPIDER.

I opted not to phrase this as that would be more effort than this modification really deserves. I've included the image file used in the screenshot.

Installation:
Quote:
In either POSTBIT and/or POSTBIT_LEGACY, paste the following code at the top.
HTML Code:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)">
<br />

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="98%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="27" height="32" alt="Verified!" /></td>
	<td class="alt2"><strong><font size="2" color="#339900">V E R I F I E D</font></strong><br /><font size="1">This message was sent by an official <strong>$vboptions[bbtitle]</strong> staff member. It's contents can be trusted.</font></td>
</tr>
</table>

<br />
</if>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Pcwolfx?

Comments
  #22  
Old 02-15-2007, 03:10 PM
simalert simalert is offline
 
Join Date: Jan 2006
Location: UK
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent idea. I can't see a massively practical use for this, but I've installed it and love it anyway!
Reply With Quote
  #23  
Old 02-15-2007, 04:09 PM
Mr Pink's Avatar
Mr Pink Mr Pink is offline
 
Join Date: Oct 2006
Location: [Italy]
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod! It could be a great solution for phishing and stuff like that.
Reply With Quote
  #24  
Old 02-19-2007, 03:00 AM
fusiongoddess fusiongoddess is offline
 
Join Date: Jan 2003
Location: Ontario
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!! Thanks!
Reply With Quote
  #25  
Old 02-19-2007, 03:45 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice idea.

(It should actually be "..trust its contents." The apostrophe in there makes it read "..trust it is contents.").
Reply With Quote
  #26  
Old 02-19-2007, 11:22 PM
ncweb ncweb is offline
 
Join Date: Feb 2007
Location: US
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod magnus, thanks!

I think it also adds a special touch to the welcome PM for new members.

/installed
Reply With Quote
  #27  
Old 02-28-2007, 12:00 PM
rowlandc rowlandc is offline
 
Join Date: Jan 2007
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyway to make it so only admins can have this?

Because many of my mods chat with other users and they don't want the user to get the message so what do i have to change so only the admins get the message?

Best regards,

rowlandc123
Reply With Quote
  #28  
Old 02-28-2007, 12:08 PM
pollon pollon is offline
 
Join Date: Jan 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like the PM Security Certificate to appear only in PMs sent by the admins (or by selected usergroups). is that possbile?
Reply With Quote
  #29  
Old 02-28-2007, 01:04 PM
simalert simalert is offline
 
Join Date: Jan 2006
Location: UK
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pollon View Post
I would like the PM Security Certificate to appear only in PMs sent by the admins (or by selected usergroups). is that possbile?
Yes, very much so.

Just change the numbers in the first line according to which groups you want to have this on their sent PMs. By default it's set to '5, 6, 7' but you can change this to the groups you want (see your user group manager in admin control panel to get group numbers).

Code:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)">
<br />

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="98%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="27" height="32" alt="Verified!" /></td>
	<td class="alt2"><strong><font size="2" color="#339900">V E R I F I E D</font></strong><br /><font size="1">This message was sent by an official <strong>$vboptions[bbtitle]</strong> staff member. It's contents can be trusted.</font></td>
</tr>
</table>

<br />
</if>
In the above code, it's this bit you have to change
Quote:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)">
<br />
You could also use the above to create a similar mod for your forum to create verficiations or actions based on other user groups too, not just site staff. Or you could have one for admins and one for moderators etc.
Reply With Quote
  #30  
Old 02-28-2007, 01:17 PM
pollon pollon is offline
 
Join Date: Jan 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much!
Reply With Quote
  #31  
Old 03-07-2007, 06:19 AM
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Location: Italy
Posts: 426
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much, installed
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 10:38 AM.


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.04624 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete