Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
PM security certificate (edited mod) Details »
PM security certificate (edited mod)
Mod Version: 1.10, by Nickbe (Member) Nickbe is offline
Developer Last Online: Jul 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (4 votes - 5.00 average) Installs: 25
Released: 11 Oct 2007 Last Update: 13 Oct 2007 Downloads: 122
Not Supported Template Edits  

You will find the original mod here: http://www.vbulletin.org/forum/showthread.php?t=136678

I loved the idea but I did not like the look and I had a few more issues with it. I thought the mod was useless unless it also had a warning for unverified PM's.

I edited the mod to include a warning for unverified PM's and I made it fit in better with the PM box. I also changed the pictures.

Installation:

In either POSTBIT and/or POSTBIT_LEGACY, paste the following code at the top. If you do not know the difference edit both.

(NOTE: Make sure your moderators have their primary usergroup set to moderator not secondary otherwise both the verified and unverified warning will show up")

<if condition="THIS_SCRIPT=='private' && is_member_of($post, INSERT YOUR MOD USEGROUP ID's)">
<table table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="44" height="39" 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>
</if>
<if condition="THIS_SCRIPT=='private' && is_member_of($post, INSERT UNVERIFIED USERGROUP ID'S">
<table table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/unverified.gif" width="44" height="39" alt="Verified!" /></td>
<td class="alt2"><strong><font size="2" color="#0f4390">U N V E R I F I E D</font></strong><br /><font size="1">This message is from someone other than a staff Member. If it contains spam please report it to the forum <a href="INSERT YOUR FORUM URL/private.php?do=newpm&u=1">admin</a>.</font></font></td>
</tr>
</table>
</if>
</if>

To edit the usergroups on the 'verified' in the first line of code find:

<if condition="THIS_SCRIPT=='private' && is_member_of($post, INSERT YOUR MOD USEGROUP ID's)">
And replace with appropriate usegroup ID's.

(Your usergroup ID numbers can be found in your usergroup section in the admincp. You will see each usergroup has an ID number assigned to it)

Here you will want to place the administrator user group ID and all moderator groups ID's. By default it is 5,6,7 and should look like this:

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

If you need to add more separate with a ,


To add usergroups to the unsafe list find this line of code (about 14 lines down):

&& is_member_of($post, INSERT UNVERIFIED USERGROUP ID'S">
and add in the desired user group numbers. By default it should only be group "2" (registered members)

It should look something like this:

<if condition="THIS_SCRIPT=='private' && is_member_of($post, 2)">

NEW Pics are in the .ZIP file below add them to images/misc

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screen1.jpg
Views:	690
Size:	20.8 KB
ID:	70882  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
PM Security Certificate magnus vBulletin 3.6 Template Modifications 69 25 Jan 2016 12:14

Comments
  #2  
Old 11 Oct 2007, 14:53
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
I guess people with the mod "Read PM" installed shouldn't have this lol
Reply With Quote
  #3  
Old 11 Oct 2007, 15:07
Nickbe Nickbe is offline
 
Join Date: Jul 2007
No idea what you are talking about, I have been coding for 2 months I am a newbie but I made this, it works fine and I like it so i thought I would share.
Reply With Quote
  #4  
Old 11 Oct 2007, 22:13
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Real name: Jacquii Cooke
It's a nice share too - may install when I get over my hangover :P
Thanx,

Jacquii.
Reply With Quote
  #5  
Old 12 Oct 2007, 00:09
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
hmm - not sure if I like implying that my members can't be trusted, but thanks for sharing.
Reply With Quote
  #6  
Old 12 Oct 2007, 01:44
Nickbe Nickbe is offline
 
Join Date: Jul 2007
Thats why it says unverified 'if' feel free to change the text and picture.

All I know is that I got 7 PM's about two different people in the first day. They tried spamming a product and I caught them.
Reply With Quote
  #7  
Old 12 Oct 2007, 06:28
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Real name: Jacquii Cooke
hmmm - I thought there was a little something amiss - Your code doesn't allow for Member groups other than "Members" for the hack to work - Say you have groups like Elite or Senior Member or Contributors..... Your edited code would NOT work....

It should be:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)">
<table table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<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>
</if>
<if condition="THIS_SCRIPT=='private' && is_member_of($post, INCLUDE EACH OF YOUR OTHER USERGROUP IDs">
<table table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/unverified.gif" width="27" height="32" alt="Verified!" /></td>
<td class="alt2"><strong><font size="2" color="#fa2424">U N V E R I F I E D</font></strong><br /><font size="1">If this message contains spam please report to a forum staff member.</font></td>
</tr>
</table>
</if>


Actually I even customized it a little and made graphics for my site - I'll share too - But I really like the "spam prevention" aspect of the rewrite = Thanx for sharing

Jacquii.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.





Last edited by PoetJA-1975; 13 Oct 2007 at 05:30. Reason: had to correct the correction code :D
Reply With Quote
  #8  
Old 12 Oct 2007, 06:43
Nickbe Nickbe is offline
 
Join Date: Jul 2007
Just here to learn, thanks for the rewrite that helps a lot with something else I am working on.
Reply With Quote
  #9  
Old 12 Oct 2007, 06:49
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Real name: Jacquii Cooke
No prob - Thanx for the sharing!
So do you have your own Forum?

Jacquii.
Reply With Quote
  #10  
Old 12 Oct 2007, 09:51
Nickbe Nickbe is offline
 
Join Date: Jul 2007
Yeh www.forex4noobs.com/forums/
Reply With Quote
  #11  
Old 12 Oct 2007, 10:21
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Real name: Jacquii Cooke
Nice looking site! Don't know much about forex though - but quite loving the style!
Anyway - I correct my correction post LOL - I'd forgotten the <if> statement would need to be in for both edits...

Great little template mod - I appreciate the sharing

Jacquii.
Reply With Quote
  #12  
Old 12 Oct 2007, 17:14
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
thanks for the share and upgraded mines.Though i tested both and saw that PoetJA-1975 codes is cleaner but used your images its better for my forum skin.


thanks to both of you

-pb
__________________
Android Custom Creations
Reply With Quote
  #13  
Old 12 Oct 2007, 18:22
Nickbe Nickbe is offline
 
Join Date: Jul 2007
puertoblack2003: Yeh it is a lot cleaner I replaced mine too. (kept my images though)

PoetJA-1975: Thanks I will replace the code from your post in the original posted code. Is the code you have posted on there now the correct code? Did you edit it because I notice one of the <if> tags is not closed </if>

That is my first ever attempt at a website, I am constantly updating things to make it more efficient but for a first site I think it's pretty good.

I am also working on www.forex4noobs.com/education/ (educations section)
Reply With Quote
  #14  
Old 13 Oct 2007, 04:08
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Not bad. thanks for sharing. I feel this would be very useful on one of my sites, thanks.
Reply With Quote
  #15  
Old 13 Oct 2007, 05:29
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Real name: Jacquii Cooke
Originally Posted by Nickbe View Post
Did you edit it because I notice one of the <if> tags is not closed </if>
The only "change" really is that if you have other usergroups then you need to add the usergroup ids into the code as shown below... I also closed the </if> tag....

<if condition="THIS_SCRIPT=='private' && is_member_of($post, INCLUDE EACH OF YOUR OTHER USERGROUP IDs)">
BTW - I love my images :P

Thanx again for the sharing

Jacquii.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 15:41.

Layout Options | Width: Wide Color: