The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Add user to Global Ignore list from user options menu
Hello all,
I'm not sure if "user options menu" is the correct term, so feel free to correct me. The menu I am talking about is the one you see when you click on a users name in a thread, It typically has options such as "View Public Profile", "Send a Private Message to <user name>", etc... Anyway, what I'd like to be able to do is have an "Add to Global Ignore List" option under there which would grab the userid and add it to the existing Tachy Goes to Coventry listing, thus tachying that user. Could someone possibly provide a code snippet or two that would aid me to do this. I know a little about PHP and SQL, and have coded a few mods for vB previously for a forum I maintain. Thanks in advance. |
#2
|
||||
|
||||
You will need to do a query to add it to the table setting (varname=globalignore) and also to table datastore (title=options). I'd suggest looking up what is done when you change the value in the admincp to see what you will need to do.
|
#3
|
|||
|
|||
Thank you very much Lynne, I'll go have a sniff around. I've seen a mod that will auto add users based on how many of them are on others ignore lists, so I could modify that to do this.
|
#4
|
|||
|
|||
hello
have you perhaps tried and made this work? i am very interested.....!!!!!! thank you very much in advance! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|