![]() |
Bitfields??
I need to work on a mod which i have already made but i need to make it ajaxed the original mod is here:
https://vborg.vbsupport.ru/showthread.php?t=116902 i would like to learn ajax as well all the code is written for the normal version i just need someone to tell me how and where to change it (or do it for me) to make it ajax supported. Currently it You click on the link and it goes through to page which has an if on it: PHP Code:
PHP Code:
I don't think it'll be to hard (he hopes). Regards, Nick. |
Like i commented before, you should really work on updating the real user permissions instead of a new one youu have added.
|
yes, but which user permission do you think i should work on?
|
Since the permission to view or not view sigs already exists, you should update that one.
|
where? whats it's column name?
|
Its not a column, its stored as a bitfield. Look its permission up in the user datamanager.
|
bump still the same question...
|
Did you look at the user datamanager like I suggested?
|
everyone i asked just didn't know ie. the administrator of vbhackers (Deaths) can you tell me where it is or point me to a tutorial....
and tell em what to put in a file to retrieve the bitfield value ie: PHP Code:
Nick |
The setting is stored in the options field in the user table. the option is stored as a bitfield. You can lookup what bitfields do what in includes/xml/bitfield_vbulletin.xml
PHP Code:
|
ok thanks mate i'll look into that now :)
do you know if that gets changed by anything or whether it's a dud function which vB forgot about? |
Not exactly sure what you are asking for.
|
I mean does Vbulletin change it if the user does something?
and what query shall i run to retrieve that value? sorry if i sound like a noob but thats what i am i am currently looking at this... https://vborg.vbsupport.ru/showthrea...itfield+values |
|
I read the first and the last already :)
would it be something like: PHP Code:
but what does x and Y equal and which plugin(s) shall i put it in and is any of that correct? The thing is i then need to make up some more code for the navbar button..... as well as the postbit... is it possible to when you click on a link it then runs a query and then refreshes the page not quite ajax but better plus you don't need to upload any files.. |
All times are GMT. The time now is 01:01 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:
|