vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   PM Security Certificate (https://vborg.vbsupport.ru/showthread.php?t=136678)

simalert 02-15-2007 03:10 PM

Excellent idea. I can't see a massively practical use for this, but I've installed it and love it anyway! :D

Mr Pink 02-15-2007 04:09 PM

Nice mod! It could be a great solution for phishing and stuff like that.

fusiongoddess 02-19-2007 03:00 AM

Awesome!! Thanks!

kall 02-19-2007 03:45 AM

Very nice idea. :)

(It should actually be "..trust its contents." The apostrophe in there makes it read "..trust it is contents.").

ncweb 02-19-2007 11:22 PM

Great mod magnus, thanks!

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

/installed

rowlandc 02-28-2007 12:00 PM

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

pollon 02-28-2007 12:08 PM

I would like the PM Security Certificate to appear only in PMs sent by the admins (or by selected usergroups). is that possbile?

simalert 02-28-2007 01:04 PM

Quote:

Originally Posted by pollon (Post 1192584)
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.

pollon 02-28-2007 01:17 PM

thank you very much!:)

Masiello 03-07-2007 06:19 AM

Thank you so much, installed :)


All times are GMT. The time now is 02:42 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.01255 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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