vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Tabs to move user in and out of usergroups (https://vborg.vbsupport.ru/showthread.php?t=188262)

iBaker 08-15-2008 10:10 PM

Tabs to move user in and out of usergroups
 
Hi
Just wondering whether the following concept could be done and also if it is workable in terms of database loads etc.

I have a site that caters to different types of areas in one main area - say for example boating as the main area and sub areas of dingy, speed boats, yachts etc

There are 10 generic forums that are applicable to all the areas like General Discussion, Weather etc.

All users are in the principle usergroup of Registered users. Each sub area has its own usergroup like Dingy users, Speed Boat Users etc that have their own group of extra forums

This means that a user sees the 10 generic forums assigned to the principle usergroup of registered users at the top of their page and blocks of forums applicable to the public joinable secondary usergroups that they have selected. The problem is that some people who are interested in all types of boating get a page with 150 + forums on it which is to much.

My thought was to somehow after the 10 generic forums to have images like tabs for a user to select which sub area of the forums they want to see from that point down.

The way of doing this I thought would be that when a user clicks on a tab image they are removed from all secondary usergroups and then joined to the secondary usergroup that corresponds to the tab that they have selected and the forums that are assigned to that usergroup are then shown and with the generic forums above it.

Hope this makes sense - I am not even sure if this method is the right way to achieve what I need - is there another way that is better - your advice on whether this can be done efficiently and how to do it or other options would be appreciated greatly - thanks!

bobster65 08-15-2008 10:14 PM

Quote:

Originally Posted by iBaker (Post 1599615)
Hi
Just wondering whether the following concept could be done and also if it is workable in terms of database loads etc.

I have a site that caters to different types of areas in one main area - say for example boating as the main area and sub areas of dingy, speed boats, yachts etc

There are 10 generic forums that are applicable to all the areas like General Discussion, Weather etc.

All users are in the principle usergroup of Registered users. Each sub area has its own usergroup like Dingy users, Speed Boat Users etc that have their own group of extra forums

This means that a user sees the 10 generic forums assigned to the principle usergroup of registered users at the top of their page and blocks of forums applicable to the public joinable secondary usergroups that they have selected. The problem is that some people who are interested in all types of boating get a page with 150 + forums on it which is to much.

My thought was to somehow after the 10 generic forums to have images like tabs for a user to select which sub area of the forums they want to see from that point down.

The way of doing this I thought would be that when a user clicks on a tab image they are removed from all secondary usergroups and then joined to the secondary usergroup that corresponds to the tab that they have selected and the forums that are assigned to that usergroup are then shown.

Hope this makes sense and your advice on whether this can be done efficiently and how to do it would be appreciated greatly - thanks!

You can accomplish this with either version of this. I've done just want you are wanting on multiple forum sites.. I just did one yesterday like this lol

https://vborg.vbsupport.ru/showthread.php?t=175687

iBaker 08-16-2008 12:09 AM

Bobster - thanks Mate

I think your mod is brilliant but there are two things that I found:

1. The Ajax version screwed up my vBa install with things like having a random image and quote shown when using Photoplog and QuoteIT mods

2. When users had to use search, forum jump, latest posts, threads etc they were impacted by all the other forums that they had no interest in - this really peeved my users especially when using the latest posts function

Other then these two as I said it is brilliant and I would be willing to donate $50 if these things were fixed up but I need this urgently before I get mobbed by my forum users :D

Reeve of shinra 08-16-2008 12:33 AM

Create public joinable groups and set the perms for each forum catagory accordingly.

iBaker 08-16-2008 12:57 AM

Quote:

Originally Posted by Reeve of shinra (Post 1599685)
Create public joinable groups and set the perms for each forum catagory accordingly.

Thanks and that's what I have done but when the user belongs to many different secondary usergroups (i.e. one secondary usergroup per type of boating area) then they may have 150+ different forums on the forum home page which is far to many - they have advised that this is NOT a good option.

Bobster, another point I wanted to make is that with your mod I had to have the generic forums that are generic over all types of boating areas, in a tab of its own instead of being displayed at the top of the boating area that they selected. In other words I am after a display of:

1. If a user selects Dingy
Generic Forums
Dingy Forums

2. If a user selects Speed Boats
Generic Forums
Speed Boat Forums

3. If a user selects Yachting
Generic Forums
Yachting Forums

4. If a user selects Ocean Liners
Generic Forums
Ocean Liner Forums

- Hope you get the idea :)

bobster65 08-16-2008 02:28 AM

Quote:

Originally Posted by iBaker (Post 1599692)
Bobster, another point I wanted to make is that with your mod I had to have the generic forums that are generic over all types of boating areas, in a tab of its own instead of being displayed at the top of the boating area that they selected.

- Hope you get the idea :)

I know what you want and its very easy to do... I've done in more than once for some members that wanted a few forums to display above the tabs that are always viewable and then below have the tabs that switch specific forums.. I PMd you and offered to help you out with it.

iBaker 08-16-2008 02:51 AM

Answered your PM Bobster


All times are GMT. The time now is 01:22 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
  • Page Generation 0.00956 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete