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)

Amavisca 02-10-2005 04:33 AM

I now can accept member to the team roster however I have another problem which is when I post on the team private forum, after posting it takes me to a page said that I dont have permision.

However click back to the team private forum, I can see my post there. It is very werid....

Do you know how can I fix that??

evenmonkeys 02-11-2005 03:35 AM

I've only edited the files themselves. I've done it twice and got the same error each time.

Code:

Database error in vBulletin 3.0.6:
 
Invalid SQL:
        SELECT teams.*, teams.name AS username,
 
        COUNT(user.userid) AS totalmembers,
        sum(user.posts) AS posts,
        sum(user.reputation) AS reputation
                FROM teams AS teams
        LEFT JOIN user ON(teams.teamid = user.teamid)
        WHERE teams.teamid =0
        GROUP BY teams.teamid
 
 
mysql error: Table 'admxinny_forums.teams' doesn't exist
 
mysql error number: 1146
 
Date: Thursday 10th of February 2005 11:35:09 PM
Script: http://forums.xinnyburt.com/
Referer:
Username: yarub
IP Address: xx.xxx.xxx.xxx


TunerNetwork 02-11-2005 04:33 AM

i get the same thing, i need help with this hack, i need it for my site: http://www.tunernetwork.com

gonna use it to organize my car clubs across the country

Marco van Herwaarden 02-11-2005 07:39 AM

Are you guys by any chance using a table prefix for your database?

evenmonkeys 02-11-2005 08:25 AM

I figured it out. Tuner, do this... Upload the files that came with the zip. Then edit all your files, but don't upload them just yet. Instead, close your forums and edit your templates first. After that, run the install script from your admincp. Once you've got it installed on your forums, upload the files. I did it that way and it works perfectly.

miz 02-11-2005 10:11 AM

Quote:

Originally Posted by MarcoH64
Are you guys by any chance using a table prefix for your database?

this hack is fully using ".TABLE_PREFIX."
in all query's so there shouldnt be any problems with that issue
i have tested this version of the hack on my live comunity and its works more then perfect

first run the install script
then edit files
then edit templates


not that hard.

Amavisca 02-14-2005 01:32 AM

How do I cancel the permission fuction? I would like everybody to be able to access teams forums exept the ones with passwords

TunerNetwork 02-14-2005 01:39 AM

ok, i guess my error is that i did all the edits first, then i went to run the install, this the problem? if so, how do i fix? go back and reinstall all the edited files with the originals? then run upload, and reinstall the edited ones? masdlfkjasljd;fksfd

H2k 02-15-2005 07:13 AM

in this code .. i find 2 time so should i change both of them ?

root/threadrate.php
====================
FIND :[2 time the same code]

PHP Code:

$url "showthread.php?$session[sessionurl]t=$threadid&page=$pagenumber&pp=$perpage";
            eval(
print_standard_redirect('redirect_threadrate_update')); 

REPLACE WITH :

PHP Code:

if ($foruminfo['teamid'] == $bbteaminfo['teamid'])
            {
                
$url "teamprivtearea.php?$session[sessionurl]teamid=$bbteaminfo[teamid]&do=showthread&t=$threadid&page=$pagenumber&pp=$perpage";
            } else {
            
$url "showthread.php?$session[sessionurl]t=$threadid&page=$pagenumber&pp=$perpage";
            }
            eval(
print_standard_redirect('redirect_threadrate_update')); 

FIND :[2 time the same code]

PHP Code:

$url "showthread.php?$session[sessionurl]t=$threadid&page=$pagenumber&pp=$perpage";
        eval(
print_standard_redirect('redirect_threadrate_add')); 

REPLACE WITH :
PHP Code:

if ($foruminfo['teamid'] == $bbteaminfo['teamid'])
        {
        
$url "teamprivtearea.php?$session[sessionurl]teamid=$bbteaminfo[teamid]&do=showthread&t=$threadid&page=$pagenumber&pp=$perpage";
        } else {
        
$url "showthread.php?$session[sessionurl]t=$threadid&page=$pagenumber&pp=$perpage";
        }
        eval(
print_standard_redirect('redirect_threadrate_add')); 


H2k 02-15-2005 08:11 AM

also when i try to install i get this erro
Error. teams.xml located in directory 'admincp' was not found. Please make sure it is uploaded then press the submit button below


All times are GMT. The time now is 09:33 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.01312 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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