![]() |
When posting a new thread
I've added this BBCODE https://vborg.vbsupport.ru/showthread.php?t=190900
I'd like it to be automatic with each usergroup, so usergroup 6 has it when ever a member of the group posts, the bbcode is automatically in use "[blizz,] [,/blizz]". I've seen 2 forums use this automatically so what do you think I should do? --------------- Added [DATE]1369491044[/DATE] at [TIME]1369491044[/TIME] --------------- Also I have this plugin that would make this work Code:
if(is_member_of($vbulletin->userinfo,5,6,7)) |
probably in newpost_process
|
Nope didn't work =[
|
Did you bother experimenting with the others, like newpost_complete or newthread_complete?
|
I did actually, I believe the plugin itself is the issue.
|
Maybe try newpost_process hook and this line instead
HTML Code:
$post['message']= "'[blizz]'.$post[message].'[/blizz]'"; |
Dang thanks that worked, one issue though how do I make it for a specific usergroup only? like Admin
--------------- Added [DATE]1369555888[/DATE] at [TIME]1369555888[/TIME] --------------- [SOLVED] Code:
if(is_member_of($vbulletin->userinfo,6,9,10)) Thank you man really |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|