Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Access Forum Based On Value in User Profile Field Details »»
Access Forum Based On Value in User Profile Field
Version: 0.3.1, by fci fci is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.4 Rating:
Released: 01-06-2007 Last Update: 01-09-2007 Installs: 39
Uses Plugins
 
No support by the author.

Description:

Users who have a field with a specific value set in their profile will have access to the forums that have been specified in the vBulletin options.

Example:

Explanation of the screenshot in English...
If a user has their Location (field2) set to Canada then they can post to forum id 73. If users do not have INTP for their Type (field5) then they will have read only access to it.
If a user has their Location (field2) set to USA AND have a minimum of 50 posts then they can post to forum id 74. If users do not have INTP for their Location (field2) then they will have read only access to it.

changelog:

0.1 - initial release
0.2 - display the real titles of the field options in vbulletin options select menus, have up to 2 field restrictions, updated screenshot.
0.3 - added the constraint that you could optionally require a minimum number of posts first, tiny code/plugin cleanups
0.3.1 - bug fix, my mistake

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-09-2007, 11:24 PM
DeMagH DeMagH is offline
 
Join Date: Oct 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks will give it a try later tomorrow and will report here later for sure.

thanks for your help and support, really appreciated.
Reply With Quote
  #13  
Old 01-10-2007, 03:17 AM
Kalina's Avatar
Kalina Kalina is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if I misunderstood, but what I wanted was my members had to choose "yes" to see a specific forum. I still want them to see all the other forums, however, it caused my members to all see no forums at all, til they answered yes, did I do something wrong?

I only entered one ID, the ID of the forum you need to check off "yes" to see it.
Reply With Quote
  #14  
Old 01-10-2007, 12:26 PM
fci fci is offline
 
Join Date: Nov 2004
Location: Twin Cities, MN
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Kalina,

I had a bug in my code, I am sorry for the mess up, please try the latest version and let me know how it goes. Thanks.
Reply With Quote
  #15  
Old 01-15-2007, 11:49 PM
DeMagH DeMagH is offline
 
Join Date: Oct 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i gave it a shot, but the problem is it doesn't override the usergroup permission, which is cool, but the main problem is, i based all my forum sections on usergroup permission, will give it a try to mess things up whenever my apache server is ready for any further testing before changing anything major in my forums construction.

Will report here later, again
Reply With Quote
  #16  
Old 01-16-2007, 12:11 PM
fci fci is offline
 
Join Date: Nov 2004
Location: Twin Cities, MN
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DeMagH View Post
i gave it a shot, but the problem is it doesn't override the usergroup permission, which is cool, but the main problem is, i based all my forum sections on usergroup permission, will give it a try to mess things up whenever my apache server is ready for any further testing before changing anything major in my forums construction.

Will report here later, again
I'll need to regenerate it so it has the 15 options you'd need because there's a bug in the attachment I posted for you early..
Reply With Quote
  #17  
Old 01-16-2007, 12:27 PM
DeMagH DeMagH is offline
 
Join Date: Oct 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, please do as soon as possible as i was planning on testing it later today.
Reply With Quote
  #18  
Old 01-16-2007, 12:34 PM
fci fci is offline
 
Join Date: Nov 2004
Location: Twin Cities, MN
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DeMagH View Post
ok, please do as soon as possible as i was planning on testing it later today.
you'll have to wait for my lunch break.. about 3.5 hours
Reply With Quote
  #19  
Old 01-16-2007, 04:06 PM
fci fci is offline
 
Join Date: Nov 2004
Location: Twin Cities, MN
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you try this one?
Reply With Quote
  #20  
Old 01-16-2007, 07:18 PM
DeMagH DeMagH is offline
 
Join Date: Oct 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok will give it a shot, probably tomorrow though, too late now.

Thanks for the awesome support
Reply With Quote
  #21  
Old 02-06-2007, 03:54 PM
DeMagH DeMagH is offline
 
Join Date: Oct 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey FCI, i've tried it and looks it is working perfectly, problem is i am receiving requests from new registrants to add some countries i didn't even know they exist. The requesters claim if their country is added, they'll tell their friends about the forums and stuff which would be great for building up traffic a bit more. My point is, what i need shouldn't be having a limit of 15, may be it'd reach someday to a full country list.
I am seriously considering switching the forums to work on this hack, but i have to ask a couple of questions though before taking this step:
- now if i ran my forums on the 15 fields version, will there be any sort of trouble updating it to the 25 field version "may be later on", like resetting every field choice to its forums AGAIN?!
- is there a clue about new releases of this patch adding fields with simple mods instead of you reconstructing the patch every time a field is added?!

finally, i am very sorry for my late feedback, getting married soon and some preparations should be taken care of.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05989 seconds
  • Memory Usage 2,300KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete