Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VbTeams/Clubs Hack Details »»
VbTeams/Clubs Hack
Version: 2.0.2, by miz miz is offline
Developer Last Online: Sep 2005 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 12-02-2004 Last Update: 02-03-2005 Installs: 73
DB Changes
 
No support by the author.

vbTeams / Clubs Hack 2.0.2
this hack allow you to add teams to your board via smart mangemnet
from admin cp with special features like team admin, team privte forums, team privte aream, team chat, join to teams via polls
with addition of pm system.
every team got privte info and public which can be easyly manged via teamadmin control panel.
every team got privte forums and team admin get automaticly set to be team moderator.

features list is long so ill write it later.

also i didnt included the upgrade script for now as i didnt had time to test it
so only new install for you guys, sorry about that
well enjoy.


bug fixes excpected on 2.0.2 version :






  • all header problems (headers allready sent) replaced by new error and redirect messages.
  • query'scount,willbeaboutmax 7-8 querys per page, dosent metter how manyteams onboard(onold hackwe got 200 querys for 100 team).
  • all session problems has been fixed.
  • problems on member.php has been fixed.
  • teamless timeout is fixed.
  • teamadmin - upload avatars bug (save all images as gif) fixed
  • reputation showenonly if enabled in vboptiions(Admincp)
  • Fixed Navbar Array's
new additions on new version :
  • Added $bbteaminfo with pre chace for better coding issue's
  • Privte Team Forum - with privte posts,threads,polls
  • join polls report
  • enable/disable features via admincp
  • Added Protect team with Password
  • Reputation replaced with a Reputation Bar(Vb deafult)
  • teamadminisautomatic set as moderator of the forum (without setting him up asmodvia admin cp) and have powers to close/open edit,stick and etc...































want to help ?
if you know about more bugs that not mention here
pleaseinformme,soicaninclude the fix's in the next versions.alsoifyougotmoreidea'sabout howto improve the hack i will begladtoknowaboutthemand to addthem.


Yours. MiZ.



added some screen shoots from next version



Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 01-17-2005, 09:20 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo
the first one uses:
PHP Code:
$bbuserinfo[teamid
and the second one uses:
PHP Code:
$userinfo[teamid
Blind me, I am sorry! I knew it was too late to check these things out.
Reply With Quote
  #83  
Old 01-17-2005, 12:47 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

new version will be realsed soon with all of the fix's....
Reply With Quote
  #84  
Old 01-17-2005, 07:47 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eXtremeTim
This is simple to fix I just fixed it on my site.

do the following

Find in member.php
PHP Code:
$bbteam =  $DB_site->query_first("
            SELECT *
            FROM " 
TABLE_PREFIX "teams
            WHERE teamid = 
$bbuserinfo[teamid]
        "
); 
Replace with
PHP Code:
$bbteam =  $DB_site->query_first("
            SELECT *
            FROM " 
TABLE_PREFIX "teams
            WHERE teamid = 
$userinfo[teamid]
        "
); 
Miz if you want I can release all the changes I did to my files to your for your next version so that you have a load optimized version. My sites url is http://www.extremechatforums.com/forums/index.php I cleaned up the code on forumdisplay using left joins. I cleaned up the code for showthread (required changes to showthread and functions_showthread) I also cleaned up the not in team list which now runs at 11 (4 of which are from some stats tracking code im using on my site so its really 7 queries) queries on my site no matter how many users as displayed.

Could you please release those changes? I want to apply this hack to my site, but I do not have the time to optimize it.

Thank you.
Reply With Quote
  #85  
Old 01-17-2005, 09:42 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eXtremeTim
This is simple to fix I just fixed it on my site.

do the following

Find in member.php
PHP Code:
$bbteam =  $DB_site->query_first("
            SELECT *
            FROM " 
TABLE_PREFIX "teams
            WHERE teamid = 
$bbuserinfo[teamid]
        "
); 
Replace with
PHP Code:
$bbteam =  $DB_site->query_first("
            SELECT *
            FROM " 
TABLE_PREFIX "teams
            WHERE teamid = 
$userinfo[teamid]
        "
); 
Miz if you want I can release all the changes I did to my files to your for your next version so that you have a load optimized version. My sites url is http://www.extremechatforums.com/forums/index.php I cleaned up the code on forumdisplay using left joins. I cleaned up the code for showthread (required changes to showthread and functions_showthread) I also cleaned up the not in team list which now runs at 11 (4 of which are from some stats tracking code im using on my site so its really 7 queries) queries on my site no matter how many users as displayed.
Although, it is again one of those times that my mind does not function pretty well, I do not think that this fix is the proper one. bbteam is the team to which a team admin is inviting the user, not the team to which the user belongs.

A more appropriate fix would be the following in member.php:

Find:

PHP Code:
$bbteam =  $DB_site->query_first("
            SELECT *
            FROM " 
TABLE_PREFIX "teams
            WHERE teamid = 
$bbuserinfo[teamid] 
Replace that with:

PHP Code:
if ($bbuserinfo['teamadmin'])
{
$bbteam =  $DB_site->query_first("
            SELECT *
            FROM " 
TABLE_PREFIX "teams
            WHERE teamid = 
$bbuserinfo[teamid]
        "
);

With this mod, if the user of the program is a team admin, he can invite the member whose profile he is viewing, to his team.

My 2 Eurocents only.
Reply With Quote
  #86  
Old 01-18-2005, 09:28 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone tested the chat function? In my system, it works OK with Firefox Mozilla, but not with Internet Explorer (version 5). It does not refresh properly.

Also, I have found several small bugs. For example, when a user asks to be removed from a team, he is not set to teamid='1' but to no team id. This creates problems.

Features I would like to see implemented:

- a report with the status of the join requests.
- Some sort of control panel, where the admin can define if he wants a team avatar, or an admin message (the scrolling thing), or the team reputation (I haven't managed to understand how it goes up and why) etc.

I am anxiously waiting for the new version, as it is at the moment, I am not sure I want to install it on my live system.
Reply With Quote
  #87  
Old 01-18-2005, 01:26 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
Has anyone tested the chat function? In my system, it works OK with Firefox Mozilla, but not with Internet Explorer (version 5). It does not refresh properly.

Also, I have found several small bugs. For example, when a user asks to be removed from a team, he is not set to teamid='1' but to no team id. This creates problems.

Features I would like to see implemented:

- a report with the status of the join requests.
- Some sort of control panel, where the admin can define if he wants a team avatar, or an admin message (the scrolling thing), or the team reputation (I haven't managed to understand how it goes up and why) etc.

I am anxiously waiting for the new version, as it is at the moment, I am not sure I want to install it on my live system.
first thank you for reporting bugs
2nd - i as coder of the hack not recommand you to install the hack if you have installed it yet, this days im working on next version of the hack which will include new featurs (like team privte forum) and bug fix's
also i might replace the privte chat with something else with less bugs
a report is good idea i can tell you that ill add it
about the last thing - i didnt exscaly got what you wanted to say but you can edit any team options via team admin area..

yours MiZ.
Reply With Quote
  #88  
Old 01-18-2005, 02:14 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by miz
first thank you for reporting bugs
2nd - i as coder of the hack not recommand you to install the hack if you have installed it yet, this days im working on next version of the hack which will include new featurs (like team privte forum) and bug fix's
also i might replace the privte chat with something else with less bugs
a report is good idea i can tell you that ill add it
about the last thing - i didnt exscaly got what you wanted to say but you can edit any team options via team admin area..

yours MiZ.
Miz,

First of all, very nice hack, I really like it. Although my needs are for a far less sophisticated system (all I want is a "club" list of selected few from my members), this is just great.

As for the bugs, they are not many, but they exist. Let me point out one more, in your instructions, you say somewhere to add something above a certain line. That line exists in several places in that file. The user who tries to install the hack, does not know where to place it. Of course, users with coding experience will figure it out, but those without the knowledge will be hard pressed to find the answer.

You do not have to thank me for reporting bugs, it's the least I can do, to help you out, I know, I have a hack of my own here, and I know how important user's input is. Unfortunatelly, I haven't kept a log of all the small changes and edits I made, although I reported one here.

As for the chat feature, I do like it. I can't understand why it does not work with Internet Explorer, it works like a charm with Firefox Mozilla, maybe it has something to do with IE's security settings, I do not know, but I wouldn't like to see it go, it's a nice feature.

Finally, let me explain the last point of my previous post. What I would like to see, is a page, where the administrator can select which features of the hack he would like to use. For example:

Do you want to use the chat feature : Yes/No
Do you want to use a scrolling admin message : Yes/No
Do you want to use the reputation feature : Yes/No
Do you want to use a Team's avatar : Yes/No
Who can see the links to the Teams : All/Mgm+User

These options can be saved in a separate table, and according to these, the hack can show the appropriate sections. Check out the following picture, it comes from my Advanced Warning System and it is exactly that, a page where the user selects which features he would like to use.

https://vborg.vbsupport.ru/attachmen...chmentid=21859

The report would be a nice addition, especially for users who plan to use the "Invite" feature. Also, a list of the pending applications (users who have asked to join a team) would be nice too.

Well, I told you, I am anxiously waiting for the new release. At the time, I am playing with the hack in a test system. If I come up with some other bugs, I'll let you know.

Rgds
---------

John
Reply With Quote
  #89  
Old 01-18-2005, 05:14 PM
kevinnguyen kevinnguyen is offline
 
Join Date: Feb 2003
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do we need to uninstall this version in order to install the new version?
Reply With Quote
  #90  
Old 01-18-2005, 11:14 PM
kevinnguyen kevinnguyen is offline
 
Join Date: Feb 2003
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and when u gonna release the new version?
Thanks
Reply With Quote
  #91  
Old 01-19-2005, 02:00 AM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sv1cec - thank you for feed back i will surly consider your sujestions
kevinnguyen - you wont be able to remove old hack cuse i will provide and update script
and the next version will rls when i will finish to code and to test it.
Reply With Quote
Reply


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:56 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.10460 seconds
  • Memory Usage 2,345KB
  • Queries Executed 25 (?)
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
  • (8)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete