View Full Version : Usergroup Messages
harmor19
08 Oct 2006, 05:40
Description
Have you ever wanted to show a usergroup or usergroups a message but don't feel like editing the template to do so?
With this add-on you'll be able to write a message to one, a few, or all usergroups.
To add, edit, or delete a message go to ACP --> Usergroups --> Usergroup Messages Manager
If you have installed this add-on on your board please click Install to the bottom right of this post
You are not permitted to redistribute this add-on on any site.
If you feel this add-on deserves Mod of the Month please click to nominate it (http://www.vbulletin.org/forum/vborg_miscactions.php?do=nominatehotm&t=128544)
harmor19
08 Oct 2006, 05:41
*Reserved* (But I doubt I'll need to edit this post)
harmor19
08 Oct 2006, 06:02
Don't upload this yet, I found a bug.
Edit: It should be good now.
Thankies! This is quite useful. :)
harmor19
08 Oct 2006, 06:23
Thankies! This is quite useful. :)
Thanks Snake. So far I think you like all my hacks, if I'm not mistaken.
redlabour
08 Oct 2006, 07:27
Good work ! ;)
ChavMagnet
08 Oct 2006, 15:10
Great mod
WHy aint this default in vb, amazing, yay
harmor19
09 Oct 2006, 00:13
Thanks everyone.
I don't know why it's not default in vBulletin.
Aaron RV
09 Oct 2006, 04:22
mmm 3.6.2 no work! :cross-eyed:
eNforce
09 Oct 2006, 04:30
Confirmed not working with 3.6.2
It does not install the product, gives a DB error.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
harmor19
09 Oct 2006, 04:34
I added "0" as the default for "enabled". Tell me if it works.
eNforce
09 Oct 2006, 04:42
It works great now, thanks /installs
Also, would it be possible to have a drop down menu to select which usergroups will be able to see the message... instead of entering the usergroup ID?
Aaron RV
09 Oct 2006, 08:15
work now, thank's.
Hornstar
09 Oct 2006, 10:36
It works great now, thanks /installs
Also, would it be possible to have a drop down menu to select which usergroups will be able to see the message... instead of entering the usergroup ID?
great idea.
this looks really good. Thanks.
Nathan2006
10 Oct 2006, 00:53
Thanks harmor19
Install
Sounds a neat tool - but does it send emails? pms? or display posts somewhere? If the last option where?
Tx
harmor19
09 Nov 2006, 17:25
I'm sorry but it doesn't. I'm focused working on new features for my vHosting hack.
kizzmet
15 Nov 2006, 17:14
This is great! Thanks!
I'm sorry but it doesn't. I'm focused working on new features for my vHosting hack.
What I meant is how do the usergroup members SEE the messages?
harmor19
17 Nov 2006, 01:51
They will see the message if you edited the "FORUMHOME" template and added the variable in the "Install_Instructions.txt".
kizzmet
17 Nov 2006, 14:28
Is there a way to get it to display on every page?
Also it does not allow simply typed characters such as " or >...
Shan said: What I meant is how do the usergroup members SEE the messages?
They will see the message if you edited the "FORUMHOME" template and added the variable in the "Install_Instructions.txt".
OK that's how I make it possible for tem to see it.
How do they see it? - a popup? a notice at the top of the page? ... what?
harmor19
20 Nov 2006, 08:26
Shan said: What I meant is how do the usergroup members SEE the messages?
OK that's how I make it possible for tem to see it.
How do they see it? - a popup? a notice at the top of the page? ... what?
It's just a notice under the navbar.
Three things:
Characters such as ">", and quote marks don't work. It converts them to Unicode :(
It doesn't accept line breaks because of the first problem. :(
How do I get it to show up on the homepage of vBadvanced?
Hi Andrew
Great hack, thanks a lot ! it works on 3.6.5.
I have parse bbcode to use html, bbcode, and smilies on the message and i have insert the title of message above the message ;)
Andyucs
27 Mar 2007, 18:44
Hi Andrew
Great hack, thanks a lot ! it works on 3.6.5.
I have parse bbcode to use html, bbcode, and smilies on the message and i have insert the title of message above the message ;)
and how did you do that for us n00bs lol
and how did you do that for us n00bs lol
To use HTML, bbcode and smilies in the message
In usergroup_messages.php (admincp), find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace by :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find (x 2)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace by (x 2)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
To insert a title above the message, find in the template usergroupemessages :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And replace by :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Andyucs
31 Mar 2007, 19:06
First Thanks Sofia
i modifyed mine a bit to also centre the message as well and made it bold also
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
you missed a
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
from the begining of your modification
Yes, sorry :p the html, bbcode and smilies are good ?
Andyucs
31 Mar 2007, 19:26
Yes, sorry :p the html, bbcode and smilies are good ?
yea looking good thanks
seem to have a prob with html code but bb codes work fine
take a look just above shout box
http://www.ucsclan.co.uk/forum/index.php
yea looking good thanks
seem to have a prob with html code but bb codes work fine
take a look just above shout box
http://www.ucsclan.co.uk/forum/index.php
Ok so good :) Nice forum ;)
For html, you must put "true" everywhere :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The first "false" corresponds to the html (activation -> true) ;)
sweet work is there anyway i can make this message only show once per users session?
|Jordan|
09 Apr 2007, 19:58
Is there any way to make the messages display to users who's usergroup is not primary, but rather secondary?
harmor19
09 Apr 2007, 20:29
Is there any way to make the messages display to users who's usergroup is not primary, but rather secondary?
Not with this version. I'm planning on upgrading this hack soon to do what you're asking.
|Jordan|
09 Apr 2007, 22:52
Not with this version. I'm planning on upgrading this hack soon to do what you're asking.
Sweet :up:
EDIT: Wow that was fast, i wasnt expecting an update 2 hours later. I thought it would be several days/weeks later. GJ!
harmor19
10 Apr 2007, 02:10
I have fixed the problem with HTML tags from converting into ASCII characters.
Messages are shown to users in primary and secondary usergroups.
Thanks a lot. Will try it out later on. Cheers!
harmor19
10 Apr 2007, 02:30
Sweet :up:
EDIT: Wow that was fast, i wasnt expecting an update 2 hours later. I thought it would be several days/weeks later. GJ!
I was in the mood to code.
BTW I used Sofia's HTML code.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
home9000
10 Apr 2007, 05:07
Is it possible to to let the message display in specific forum ?
harmor19
10 Apr 2007, 05:21
Is it possible to to let the message display in specific forum ?
Nope.
Adem GENĒ
25 Jun 2007, 09:18
Here to show possible??? how??
for groups
Users Awaiting Email Confirmation
Unregistered / Not Logged In
(COPPA) Users Awaiting Moderation
Here to message
Adem GENĒ
02 Jul 2007, 09:56
Error messages $usergroupmessagetext add or display ?
http://www.vbulletin.org/forum/attachment.php?attachmentid=66086&d=1182763053
I'm still using this Add-on in 3.7.3
"usergroupmessages" is not cached.
Are there any chances for updates?
Kihon Kata
26 Oct 2008, 15:29
Why would anyone use this hack if 3.7.3 has "notices"?
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.