Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   Guest Group [permission] (http://www.bvlist.com/showthread.php?t=1015)

mhmd_1983 16th September 2008 15:49

Guest Group [permission]
 
Hi,
I'm searching for Guests group , i need to let guests have access to forums,and brows torrents and irc .. extra ..

this also will be helpfull with seo .. is there anything i can do ?

wMan 16th September 2008 15:59

mind readers not... whats your source etc etc

Krypto 16th September 2008 23:10

Just a guess clocktower as he posted in the Template Shares forum I would presume that is the source he's using?

Can you not just alter the guest usergroup and allow them access to what you want? Have not tried this myself so am not sure if it would work or not?

mhmd_1983 17th September 2008 10:26

Well, sorry for the messing information. i'm using TS 5.1 by mrdecoder

Krypto, isn't guest group has an id in code !! , i think it should be special group because the users will be connecting from many ips at the same time , and no ratio

i found that line in whatsgoingon.php plugin
Code:

$_dt = TIMENOW - TS_TIMEOUT;
$_qsquery = @sql_query("SELECT COUNT(*) as totalguests FROM ts_sessions WHERE lastactivity > $_dt");
$_guests = ts_nf(@mysql_result($_qsquery, 0, 'totalguests'));
$_wgo_query = sql_query('SELECT u.id, u.username, u.enabled, u.invisible, u.warned, u.leechwarn, u.donor, g.namestyle FROM users u LEFT JOIN usergroups g ON (u.usergroup=g.gid) WHERE UNIX_TIMESTAMP(u.last_access) > '.$_dt);
$_most_ever = mysql_num_rows($_wgo_query)+$_guests;

if i understand it right he just calculate the guests on fly and no usergroup for it :o

found it
tracker setting > MAIN Settings > Registered Members Only? (no)

Ok what about this group in forums !! , i still need to know how to define Guests group permission


All times are GMT +2. The time now is 01:11.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.