phpBB-TweakS
 
Advanced Search
   
 
Home Downloads FAQ Register FAQ Memberlist Usergroups Ranks
 
 

Please help us to develop!

 
It appears you are using a browser that is not based on Internet Explorer, this means you are not viewing the web as good as you should be. Other browsers might try to immitate Internet Explorer, but none can parse the web as it should like Internet Explorer can. So view the web as it was meant to be with Avant Browser!
         

phpBB-TweakS Forum Index New Requests Groups Permissions switch?
Display posts from previous:   
Half Thread Topic  Fully Thread Topic  Download Topic
      All times are GMT - 5 Hours  
Post new topic  Reply to topic

Sat Jan 21, 2006 10:36 pm
Author Message
grayscale2005
Amature TweakeR
Amature TweakeR


Joined: 19 Jan 2005
Posts: 26
Words Posted: 1,982
Average Post: 76.23


Post subject: Groups Permissions switch? Reply with quote

hi i have a request / question is there a way that a switch can be made to separate groups or group infomation so if i want to have one page display the infomation depending on what group a user is in i would use a switch like.


<!-- BEGIN switch_group1_view -->
group text here
<!-- END switch_group1_view -->


<!-- BEGIN switch_group2_view -->
group text here
<!-- END switch_group2_view -->


<!-- BEGIN switch_group3_view -->
group text here
<!-- END switch_group3_view -->

is this possible? is there a better way to make something like this possible on a phpbb page?
Post #1
      Back To Top  

Sun Jan 22, 2006 10:11 am
Author Message
Spinebuster
Support Team
Support Team


Joined: 21 Jan 2005
Posts: 413
Words Posted: 25,498
Average Post: 61.74


Post subject: Reply with quote

This would be fairly simple. Do you want all the groups to see the same content or do you want them to see something different? The only would be is if you had alot of groups to add checks for because it would add alot of sql queries that could lag your pages.
Post #2
      Back To Top  

Sun Jan 22, 2006 2:04 pm
Author Message
grayscale2005
Amature TweakeR
Amature TweakeR


Joined: 19 Jan 2005
Posts: 26
Words Posted: 1,982
Average Post: 76.23


Post subject: Reply with quote

hey thanx for the reply i think you`re right too many queries may become a problem so i`ll abandon this request for now thanx.
Post #3
      Back To Top  

Sun Jan 22, 2006 2:21 pm
Author Message
Spinebuster
Support Team
Support Team


Joined: 21 Jan 2005
Posts: 413
Words Posted: 25,498
Average Post: 61.74


Post subject: Reply with quote

Well, it depends on how many groups you have. If you have only about 5 or so groups then it probably wont be too bad, but if you have say 20 or more groups that you want to add checks for then you could run into some performance problems.
Post #4
      Back To Top  

 
         

Post new topic  Reply to topic

phpBB-TweakS Forum Index New Requests Groups Permissions switch?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


      Back To Top  

Page 1 of 1
Jump to:  
 
Protected by phpBB Security © phpBB-TweakS
phpBB Security Has Blocked 3,237 Exploit Attempts.

· Archive · Sitemap: Index · Sitemap: Forums · Sitemap: Topics · Sitemap: Posts ·

:: [ Load Time: 2.8 Seconds ] :: [ 29 Queries ] :: [ 4,508 Page(s) Viewed Today ] ::
:: [ Todays Queries: 135,543 ] :: [ Highest Load: 1,396,429 Queries On May. 08, 2007 ] ::
:: [ SQL Load: 61% Time: 1.7 ] :: [ PHP Load: 39% Time: 1.1 ] :: [ Debug: On ] :: [ GZIP: Enabled ] ::
:: The server last rebooted 81 days, 8 hours, 49 minutes, 9 seconds ago. ::

The phpBB[Network]!
       
Powered by phpBB 2.0.* © 2001, 2002 phpBB Group
Avalanche style by What Is Real © 2004