![]() |
PM security certificate (edited mod)
You will find the original mod here: https://vborg.vbsupport.ru/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") Quote:
To edit the usergroups on the 'verified' in the first line of code find: Quote:
(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: Quote:
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): Quote:
It should look something like this: Quote:
NEW Pics are in the .ZIP file below add them to images/misc |
I guess people with the mod "Read PM" installed shouldn't have this lol
|
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.
|
It's a nice share too - may install when I get over my hangover :P
Thanx, Jacquii. |
hmm - not sure if I like implying that my members can't be trusted, but thanks for sharing. ;)
|
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. |
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: Quote:
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. HTML Code:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)"> http://i220.photobucket.com/albums/d...1/verified.gif https://vborg.vbsupport.ru/external/2007/10/17.gif |
Just here to learn, thanks for the rewrite that helps a lot with something else I am working on.
|
No prob - Thanx for the sharing!
So do you have your own Forum? Jacquii. |
|
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. |
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 |
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) |
Not bad. thanks for sharing. I feel this would be very useful on one of my sites, thanks.
|
Quote:
Quote:
Thanx again for the sharing ;) Jacquii. |
Ok great so the original code was good? I jsut needed to let people know they could change the usergroup info?
I liked the fact that your image is a question mark, it is less IN YOUR FACE. I will make a new one and upload |
LOL - ok - AND yes - the original code was right, as you have to have both sections coded with <if> conditionals because it's specifically for the PM system ;) --- You just have to be sure you have all your usergroup ids listed or it wouldn't show for all....
Anyway- thanx again for the modification - It's quite nice and will cut down on spamming via the PM system :) Jacquii. |
Updated with new pics I have question mark with blue background now so it is less 'in your face'
Thanks for the update PoetJA-1975 that original <else> tag has helped me with some other things. ( I did not know it existed) |
yep - it exists :P --- And glad to help - The NEW images look AWESOME!
Jacquii. |
You have an error in the code:
Quote:
Quote:
|
I'll try this later, for the sake of it. Couldn't you use <else> or something though?
|
somebody tried to use <else> and it did not work
|
since there are generally only two kinds of groups, trusted and non trusted I added an else statement and it works fine for me, thought I'd share it :
Code:
<if condition="THIS_SCRIPT=='private'"> |
I fixed my problem - I was having both verified/unverified showing up with certain staff because they are in more than one usergroup.
Love the mod tho.. |
I requested the original hack. Nice update :)
|
great hack thanks =)
|
never mind found it thanks
|
All times are GMT. The time now is 06:21 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|