Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 03-02-2002, 09:34 PM
JohnBradshaw's Avatar
JohnBradshaw JohnBradshaw is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Paid For Integration Of Forums

Hi

I have to setup 4 forums, one already exists, three would need to be created.

What needs to happen is:

You register on the individual forum, this then submits this login info to the main forum too.

or

You register on the main forum and it then submits this to the individual forum that you are a cadet/staff of, eg when you register you are presented with a box saying do you want to be a member of forum 1/2/3?

However users of forum 1 should not be able to access forum 2 or 3 and vice versa.

I guess the easiest way to do this would be to have the individual forums use the main forum for the user database?

The user details from the existing forum would need to be moved over to the central one.

Any one want to make an offer ?

Cheers,
Reply With Quote
  #2  
Old 03-23-2002, 04:49 AM
galt galt is offline
 
Join Date: Mar 2002
Location: USA
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am pretty new to vBB, but why not just use the user groups features to place a user in one of three groups, and then control access to forums that way ? I.e. put all four forums togther, but under different parents, and control access by group at the parent level ? This is a better user interface as well, and requires no code changes.
Reply With Quote
  #3  
Old 03-23-2002, 04:52 AM
galt galt is offline
 
Join Date: Mar 2002
Location: USA
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on rethinking this, it would require one additional form and update to allow users to change or select which group they are in, and then post that to the appropriate table without exposingthe entire admin interface. But one NEW form and update is much better than changing existing code when upgrade time comes along.
Reply With Quote
  #4  
Old 03-23-2002, 09:43 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

using the usergroup idea, you would have 8 usergroups.

1 - 4 would let you access those specific forums.
5-8 would let you enter a combination of 4 & 1, 4 & 2, 4 & 3, or all.

Then set your access masks accordingly
Reply With Quote
  #5  
Old 03-23-2002, 09:58 PM
galt galt is offline
 
Join Date: Mar 2002
Location: USA
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Reeve oF Shrina!

Beautiful site. But my 45 year old nearsighted eyes can't read fonts that small on my 17 inch monitor. I could not read more than 4 words a minute on your "about Us" page. Even with my brand new variable focus bifocals.

Please don't make my change my monitor settings just to visit your site. :rambo:

Bob
Reply With Quote
  #6  
Old 03-23-2002, 10:07 PM
galt galt is offline
 
Join Date: Mar 2002
Location: USA
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, I took a better look at vB Groups. I think he only needs three groups. Two, Three, and Four. Everyone get access to one group plus the main one. Group Access is controlled at the Forum level, and multiple groups are allowed to have identical or different priveleges.
Reply With Quote
  #7  
Old 03-24-2002, 09:29 AM
JohnBradshaw's Avatar
JohnBradshaw JohnBradshaw is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Figured it out, what happens is that people register and every night a cron script checks if they have a code if not and the account is over 30days old it bans them and emails them the link to purchase a code.

Cheers,
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:34 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.03650 seconds
  • Memory Usage 2,206KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete