PDA

View Full Version : Custom Status..


RobbieZ
07-20-2008, 01:38 PM
Ok, i have used the search but cant find anything..

Is it possible to have underneath your Name and position , a custom status message?

One that you can edit.. eg. below..



RobbieZ
Senior Member

Boo.. Edit



The wording "Boo.." is the message you can see and the "Edit" is what you press to change the message

Only the user & admin can change this message..

Admin has power to turn this setting off..

Thanks in advance..

I dont know what its called otherwise i would have searched for this..

Digital Jedi
07-20-2008, 01:45 PM
Add a custom profile field for text and name it what you want. Then follow this:

http://www.vbulletin.com/forum/showthread.php?t=23545

Hex_legend
07-20-2008, 01:59 PM
Or, there is a facebook status mod in 3.7 mods :)

RobbieZ
07-20-2008, 04:19 PM
Add a custom profile field for text and name it what you want. Then follow this:

http://www.vbulletin.com/forum/showthread.php?t=23545

Thanks Digital but the link doesnt correspond to my question, it harps on about editing a poll!!

In my version of vB 2.01 every time I try to edit poll
I received error_noquestionoption message.

--------------- Added 1216576286 at 1216576286 ---------------

Or, there is a facebook status mod in 3.7 mods :)

this is what i was looking for, thanks

But after reading the replies it looks like people are having problem with it.

I'll wait to see if 3.7.1v comes out or is upgraded..

Digital Jedi
07-21-2008, 12:37 PM
It appears I removed a "4" from the end of the thread URL when posting. I was trying to direct you here:

http://www.vbulletin.com/forum/showthread.php?t=235454

There's no need for any involved modifications for what your trying to do.

Alfa1
07-21-2008, 01:56 PM
the facebook status would be great, but it doesn't work and the author doesn't respond.

It is clear to me how to add a new profile field and how to display it in postbit, etc. But how do I make it editable with AJAX?
And how do I restrict this feature to certain usergoups? All usergroups may see the status, but only specified usergroups may display their status.

Hex_legend
07-21-2008, 03:05 PM
the facebook status would be great, but it doesn't work and the author doesn't respond.

It is clear to me how to add a new profile field and how to display it in postbit, etc. But how do I make it editable with AJAX?
And how do I restrict this feature to certain usergoups? All usergroups may see the status, but only specified usergroups may display their status.

it works for me :s

Digital Jedi
07-21-2008, 06:00 PM
the facebook status would be great, but it doesn't work and the author doesn't respond.

It is clear to me how to add a new profile field and how to display it in postbit, etc. But how do I make it editable with AJAX?
And how do I restrict this feature to certain usergoups? All usergroups may see the status, but only specified usergroups may display their status.
My first guess is you can't make it accessible via AJAX, but I'm presuming there.

I can't quite remember the precise syntax, but it involves an "if condition in array" conditional with the User Group IDs added to the array. You should be able to find that all over this forum, and in the tutorials section of vB.com just by doing a site search via Google of that exact phrase. Use quotes.

Alfa1
07-22-2008, 08:23 PM
Actually, I have been searching for that conditional for quite a while. I could really use it for all sorts of things. If you find it, then please give me a heads up.

All i can find is the conditional that blocks usergroups from viewing it, not from using it.

Digital Jedi
07-23-2008, 02:15 AM
It should be something like this:

<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) AND $post[fieldXX]">

Alfa1
07-31-2008, 08:08 PM
Thank you. That works very well for posts.

How would you restrict a function on MEMBERINFO ?
<if condition="in_array($post['usergroupid'], array(5,6,7))">
does not work on MEMBERINFO.

Dismounted
08-01-2008, 06:36 AM
You should not use in_array() for checking usergroups - it does not take into account secondary usergroups. Instead, use the is_member_of() function.

In posts:
<if condition="is_member_of($post, 5, 6, 7)">
In user profiles:
<if condition="is_member_of($prepared, 5, 6, 7)">