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)

croft 03-27-2005 09:12 AM

Quote:

Originally Posted by miz
supuse to be around line 245

man i cant find this code ANYWHERE at all in newreply. ?????

Code:

                        if (($tview = fetch_bbarray_cookie('thread_lastview', $threadinfo['threadid'])) != $threadinfo['lastpost'])
                        {
                                $url = "showthread.php?$session[sessionurl]p=$newpost[postid]&posted=1#post$newpost[postid]";
                        }
                        else
                        {
                                $url = "showthread.php?$session[sessionurl]p=$newpost[postid]#post$newpost[postid]";
                        }


Sleepyk 03-27-2005 04:55 PM

humn this could be good, i run a hip-hop battle forum, and people got their own crews there, this might work nicely

Zachariah 03-29-2005 11:23 PM

vbteams 2.0.2 / VB3.07

I know I can mess up on copy and paste @ 3am :D, but I rechecked the install a few times.

I do not get:

Code:

$teamlink .= "<tr class='alt1' align='center'> <td> <a href='showteams.php?do=teamprofile&teamid=$teamid'> $teamname</a> </td>
 <td class='alt1' align='center' width='50%'><a href='usercp.php?teamdo=accept&teamid=$teamid'>[Accept]</a>&nbsp;<a href='usercp.php?teamdo=deny&teamid=$teamid'>[Deny]</a></td>
 </tr>";

To show up in the UserCP at all on a user I invite to a team.
Did I miss something? Where in the userCP is the accept / deny ?

Is there a USERCP_SHELL template edit i missed ? (i did not see one in the "template_changes.txt"

REQ: The team admin needs the option to add a user to the team w/o invite. (2 choices for the admin: invite userID / add userID) Once added a PM sent to the new team mate telling them links, needed info.

Zachariah 03-30-2005 02:25 AM

Navbar:
Forums > Teams > Test Profile > Test Privte Area > Test Privte Forum
- stuff

I am in the thread "stuff".
Code:

teamprivtearea.php?do=showthread&teamid=3&t=3
In the navbar "Test Privte Forum" links to "forumdisplay.php?f=4" ; it should link to "teamprivtearea.php?do=forumdisplay&teamid=3"


REQ:
**$root/Search.php: for the private team forum to users with team access only. (currently: anyone can search and find thread titles but not view the content)

** add search dropdown to do "quick searches" in the team forum.
teamprivtearea.php?do=forumdisplay&teamid=x

Xtrato 04-02-2005 10:25 PM

Quote:

Originally Posted by Scerina
HELP ME!!!...

After the file modifications and as I attempted to enter my forum's main index page to edit the templates, I came upon this error message:

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 vb3teams AS teams
LEFT JOIN vb3user ON(teams.teamid = user.teamid)
WHERE teams.teamid =1
GROUP BY teams.teamid


mysql error: Unknown table 'user' in field list

mysql error number: 1109

Date: Friday 11th of March 2005 12:37:55 AM


Can someone please help me here???


L'o guys, im having the same error i have a prefix such as dbvb_vbusers

I dont know if thats a huge problem. but I would like some help here.

croft 04-04-2005 06:01 AM

Quote:

Originally Posted by croft
man i cant find this code ANYWHERE at all in newreply. ?????

Code:

                        if (($tview = fetch_bbarray_cookie('thread_lastview', $threadinfo['threadid'])) != $threadinfo['lastpost'])
                        {
                                $url = "showthread.php?$session[sessionurl]p=$newpost[postid]&amp;posted=1#post$newpost[postid]";
                        }
                        else
                        {
                                $url = "showthread.php?$session[sessionurl]p=$newpost[postid]#post$newpost[postid]";
                        }


Hey guys if anyone been succesefull with newreply.php can you please explain how you did it ?? Cause that code is NOWHERE on that file.

miz 04-08-2005 09:58 AM

Quote:

Originally Posted by Xtrato
L'o guys, im having the same error i have a prefix such as dbvb_vbusers

I dont know if thats a huge problem. but I would like some help here.


Code:

          LEFT JOIN user  ON(teams.teamid = user.teamid)
change to :

Code:

          LEFT JOIN user AS user    ON(teams.teamid = user.teamid)

KAC 04-17-2005 04:57 PM

Major problems installing this mod.. Does this work on 3.0.7 ? and if it does ..

When I upload sessions.php it brings down the whole forum, database error.
When I upload usercp.php, when I click usercp it give database error.
When I upload forumdisplay.php I am unable to get inside forums.
When I upload profile.php, inside usercp when I click profile I get database error.
When I upload showthread.php, I get database error when posting.

I did the template edits first then uploaded php files, then tried to run install and got database error . removed sessions.php edit and tried to run install . It worked till the end and I got a database error on the install .

Can someone help ?

http://www.kickasscustoms.com/vb/index.php

The hack is half way installed as of now .. I would love to have this working properly if possible since it will be great for my site.

Marco van Herwaarden 04-17-2005 06:52 PM

What editor are you using?

I just checked the install instructions for the sessions.php. No way this can bring your board down if instructions followed accurate.

PS Are you still on 3.0.0 like your profile is showing?

KAC 04-17-2005 11:54 PM

I am at 3.0.7 And when I upload sessions.php I am unable to get to the site .. Even while inside the admincp it comes up database error ... ill check my editing again on session but as far as the other stuff , I have no idea what could be wrong ..

this s the error I get when I upload the edited sessions.php

Fatal error: Call to undefined function: fetch_teaminfo() in /home/virtual/site33/fst/var/www/html/vb/includes/sessions.php on line 316


All times are GMT. The time now is 10: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.01306 seconds
  • Memory Usage 1,754KB
  • 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
  • (6)bbcode_code_printable
  • (4)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