vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   VbTeams/Clubs Hack (https://vborg.vbsupport.ru/showthread.php?t=72448)

cschuck3 12-13-2004 08:06 AM

I run a pocketbike racing fourm and want to have this haack installed for othere teams to have there own forums. Is can the teams admin there own fourm and non team memeber can post question and or read fourm? If so this I will install this hack...

Tradjick 12-13-2004 11:09 AM

Quote:

Originally Posted by cschuck3
I run a pocketbike racing fourm and want to have this haack installed for othere teams to have there own forums. Is can the teams admin there own fourm and non team memeber can post question and or read fourm? If so this I will install this hack...

Private Forums aren?t implemented yet. AFAIK miz may work on this at a later time. Not sure though.

Shadow Blaze 12-14-2004 03:58 PM

errrm.... i put it all in, and the images are all there, but in the admin section for a team's admin, the images for the links aren't working, they say the thing but there's an x where it's not seeming to be linking properly... where could i find the linking section to see what's wrong and fix it?

SilentK 12-16-2004 02:31 PM

I had a simlier problem I forget what exacltly I did but the path in the zip file was in correct. View the source or figure out where it's looking for them and move them to there.

my path is .forums/images/team/users.gif for example/ I think the T might of been capitalized or something to that extent and I had to make it lowercase.

tamago 12-16-2004 08:39 PM

You need to modify showteams.php.

Change:
PHP Code:

$useronoff=$DB_site->query_first("SELECT COUNT(*) AS count FROM session WHERE userid='$userid' AND lastactivity>$datecut"); 

to
PHP Code:

$useronoff=$DB_site->query_first("SELECT COUNT(*) AS count FROM ".TABLE_PREFIX."session WHERE userid='$userid' AND lastactivity>$datecut"); 

It was missing the TABLE_PREFIX.

Quote:

Originally Posted by bishop93
Seems that everything works -- except when you click on the "No-Team" (which seems kinda out of place, when I would think that it would just show nothing there rather than "No Team") I get the following error. Otherwise, this works great.

Code:

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT COUNT(*) AS count FROM session WHERE userid='1' AND lastactivity>1102881603
mysql error: Table 'xxx_xxx.session' doesn't exist

mysql error number: 1146

Date: Sunday 12th of December 2004 03:15:03 PM
Script: http://URL/showteams.php?do=teamless
Referer: http://URL/showthread.php?p=11738
Username: xxx
IP Address: xxx



geoskep 12-17-2004 12:05 AM

I installed it; but don't know how to set up a team admin . There are no instructions.

I can't use teamadmin.php; because I'm not a team admin. Where do I set up the team admin?

anubis 12-26-2004 12:56 PM

the 'showteams.php?do=teamless'
Read time very long .......
My forum users have Exceed 12,000 above,
Execute once'showteams .php? do=teamless'
Browse utensil can stop response......

miz 12-26-2004 01:31 PM

geoskep - via user edit you have team admin : yes/no
check yes and user is team admin...

anubis - in next version it will be fixed...

anubis 12-26-2004 02:40 PM

Quote:

Originally Posted by miz
geoskep - via user edit you have team admin : yes/no
check yes and user is team admin...

anubis - in next version it will be fixed...

Thank your response, but I want to quaere......

Next version when release ?

geoskep 12-26-2004 07:44 PM

Thanks for response. That was easy. Good mod. Needs a few things to be great - my wish list:
1) instructions.
2) phrases implemented to allow custom phrases - this can also eliminate some spelling mistakes.
3) allow any user to start a new team and set themselves up as the team admin.
4) enable private teams to be subscription based or free.
5) allow any member to be member of multiple teams.
6) minor bug fixes


All times are GMT. The time now is 09:18 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.01264 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete