Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #32  
Old 12-05-2004, 01:42 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll check it out.
Reply With Quote
  #33  
Old 12-05-2004, 02:34 AM
Hades-1 Hades-1 is offline
 
Join Date: May 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant upload avatars, nothing happens, just takes me to admin index

and when i delete avatar i get sql error, column 'avatar' not fund in 'feild list'
Reply With Quote
  #34  
Old 12-05-2004, 02:37 AM
Hades-1 Hades-1 is offline
 
Join Date: May 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MindTrix
Any chance of some screenies for the admin control panel side?? Not admin of the team, admin of the whole board you know

Is this done by phrases aswell???

I run a hip hop website so would change 'team' to crew. Otherwise it looks pretty neat.

Does the teams avatar replace their current one of will it be placed somewhere else, im sure my members would not like it to replace their current avatar.
nope not on phares, i run music site and made it say labels

well half of it, its hard to weed it all out.
Reply With Quote
  #35  
Old 12-05-2004, 12:46 PM
SilentK SilentK is offline
 
Join Date: Nov 2004
Location: Maryland
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a problem with team avatars not coming up. The reason is that it always looks for .gifs for some reason. I uploaded a jpg and it was a jpg on the server but in the source code the team page was looking for the same file name just with a .gif
Reply With Quote
  #36  
Old 12-05-2004, 01:19 PM
Hades-1 Hades-1 is offline
 
Join Date: May 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SilentK
I had a problem with team avatars not coming up. The reason is that it always looks for .gifs for some reason. I uploaded a jpg and it was a jpg on the server but in the source code the team page was looking for the same file name just with a .gif
exact problem, i have to login phpmyadmin to fix.
Reply With Quote
  #37  
Old 12-05-2004, 01:39 PM
Hades-1 Hades-1 is offline
 
Join Date: May 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

honestly, shoud'nt this be a beta release?

how are we suppose to delete the private chat?

does that stay there forever?

How can fix the problem with images always looking for gif?
Reply With Quote
  #38  
Old 12-05-2004, 03:45 PM
Andrew's Avatar
Andrew Andrew is offline
 
Join Date: Nov 2004
Location: Pennsylvania
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem is in this following bit of code at the bottom of teamadmin.php - I don't know much PHP or I would try to fix it. It is automattically saving the path to the images in the DB with the gif extension regardless of the filetype. The upload function in function_team is saving them properly - All that needs done is a way to add the correct extension in this code here so it referrences it correctly in the DB.
PHP Code:
if ($_POST['do'] == removeavatar) {
    
        
$teamid $_POST['teamid'];
// Delete Avatar image from server        
$teamoldava "team".$teamid."_avatar.gif";
@
unlink("images/teamavatars/$teamoldava");
         
$team_ava "team_noavatar.gif";
         
$DB_site->query("
        UPDATE " 
TABLE_PREFIX "teams
        SET  avatarurl='images/teamavatars/
$team_ava', avatar='0'
        WHERE teamid ='
$teamid'
    "
);
         
header("Location: teamadmin.php?&teamid=$teamid");

    
}

// upload avatar
If($_POST['do'] == doupload) {
    
    
$teamid $_POST['teamid'];
    
     
doupload();
    
        
$team_ava "team".$teamid."_avatar.gif";
        
        
$DB_site->query("
        UPDATE " 
TABLE_PREFIX "teams
        SET  avatarurl='images/teamavatars/
$team_ava'
        WHERE teamid ='
$teamid'
    "
);



    
header("Location: teamadmin.php?&teamid=$teamid");

Reply With Quote
  #39  
Old 12-05-2004, 04:42 PM
Hades-1 Hades-1 is offline
 
Join Date: May 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah i am not good either it should be something like

$teamoldava = "team".$teamid."_avatar.$type";
Reply With Quote
  #40  
Old 12-05-2004, 06:35 PM
Andrew's Avatar
Andrew Andrew is offline
 
Join Date: Nov 2004
Location: Pennsylvania
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hades-1
yeah i am not good either it should be something like

$teamoldava = "team".$teamid."_avatar.$type";
Yeah - But the problem I ran into is I have no clue how to code it to determine the type of the file. It's prolly something that would have to be stored in the DB and then queried for each team.
Reply With Quote
  #41  
Old 12-05-2004, 10:05 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry for late with answer i will rls v2.0.1 which will be bug fix of avatars problem, spelling and session problem
if you have few more problems please tell me...
Reply With Quote
Reply

Thread Tools

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 02:43 PM.


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.05188 seconds
  • Memory Usage 2,320KB
  • 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
  • (1)bbcode_php
  • (3)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