vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Forum Tournaments & Ladders (https://vborg.vbsupport.ru/showthread.php?t=189375)

gamerscms 09-22-2008 08:29 PM

Quote:

Originally Posted by djlotus (Post 1627978)
Not sure how difficult it would be, but giving the team creator, the ability to invite users based on either user ID or user name, would be great.

I second that would be great to control and organise your team invites.

WNxWakko 09-22-2008 08:32 PM

Quote:

Originally Posted by bananalive (Post 1627961)
remove this line from product file
Code:

$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup ADD tournamentpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");

OK removed the other line, now I get this,

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE tmnt_tmnts ADD threadid INT(10) UNSIGNED DEFAULT '0' NOT NULL ;;

MySQL Error : Duplicate column name 'threadid'
Error Number : 1060
Date : Monday, September 22nd 2008 @ 04:31:44 PM
Script : http://warriornation.net/Forum/admin...=productimport
Referrer : http://warriornation.net/Forum/admin...?do=productadd
IP Address : xxx
Username : WNxWakko
Classname : vB_Database

WNxWakko 09-22-2008 08:38 PM

Ok I think I got the hang of this. It was one after another after another removing them until it finally installed.

Ok sweet. Fetch ID works. I can join tournaments, I can add members. I can create teams.

1. How do you delete teams?
2. One bug in teams, when you edit a team that has the ' in the name, it auto adds a / before it in the text box. It will keep adding more // and /// everytime you edit.
3. All my past tourny stats still show in hall of fame even though I uninstalled the mod. Now that is back, there is lingering data. Anyway to delete or clear any of that?

KHALIK 09-22-2008 09:28 PM

How do you delete teams? as someone has created a inappropriate team name.

Can you restrict it to 1 create a team per userid only, rather than having multiple teams created by 1 member/userid.

The most important are these 2 things, especially able to delete teams.

p.s. Disabled create function until, moderators/admins/leaders can able to delete teams.

WNxWakko 09-22-2008 10:25 PM

I think we should have the option to restrict to 1 team. In my case, it would be realistic to have someone running multiple teams.

I found another issue. When I click on the Join Team link of someone elses team, the page refreshes, the join link disappears and it doesnt join me to that team.

valendono 09-23-2008 06:45 AM

Quote:

Originally Posted by bananalive (Post 1627846)
Any other usergroups you belong to

try adding spaces so $days = cal_days_in_month(CAL_GREGORIAN, $month, $year);

I'll be adding option to 'switch' players in next version

I will make that default in next version

I try it. I see on 2.3.7 already space on it. And I upgrade it. still got error messages invalid date.

What I do next is I put print out ..
Code:

        echo $day;
        echo '<br />';
        echo $month;
        echo '<br />';
        echo $year;
        $hour = $vbulletin->input->clean_gpc('p', 'time', TYPE_INT);
        $days = cal_days_in_month(CAL_GREGORIAN, $month, $year);


And I got 0 result..

Quote:

0
0
0

Warning: cal_days_in_month() [function.cal-days-in-month]: invalid date. in [path]/tournament.php on line 546
and if I remove this
Code:

        if ($day > $days OR $day == 0) {
                $errormessage = "Error: Invalid Date";
        eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
        }

I can create tournament but the date come to 30-11-99 (default ?)

Last I can make tournament normally is 13-09-08. I dont know which version it is.

Any chance to fix it ?

Antek 09-23-2008 07:30 AM

Next ideas:
- integration with vBExperience (medals in postbit)
- switch off/on details in postbit

OcR Envy 09-23-2008 09:35 AM

Teams?! Yay! Clicks install!

Some Bugs:

Quote:

Could not find phrase ''.
Missing phrase is displayed on all redirect messages?

No way remove the thread option from the details display?

images/buttons/report.gif is not a default image location on a 3.7 install

When selecting "Team" from the options it still only gives 1v1 and LMS as the types. Obviously this options are not correct for team play.

Also my styling is way off when adding/editing a tournament. This could possibly be my custom skin but I'm not sure. All I got for now guess I still need to wait for a few more updates to go live :(

bananalive 09-23-2008 11:17 AM

Quote:

Originally Posted by KHALIK (Post 1628028)
How do you delete teams? as someone has created a inappropriate team name.
Can you restrict it to 1 create a team per userid only, rather than having multiple teams created by 1 member/userid.
The most important are these 2 things, especially able to delete teams.
p.s. Disabled create function until, moderators/admins/leaders can able to delete teams.

I'm going to be adding more permissions for editing/ deleting teams. Including team limit per usergroup.
Quote:

Originally Posted by WNxWakko (Post 1628058)
I found another issue. When I click on the Join Team link of someone elses team, the page refreshes, the join link disappears and it doesnt join me to that team.

You will not display on that the team list until you have been accepted by leader of the team.
Quote:

Originally Posted by valendono (Post 1628326)
I try it. I see on 2.3.7 already space on it. And I upgrade it. still got error messages invalid date.

What I do next is I put print out ..
Code:

    echo $day;
    echo '<br />';
    echo $month;
    echo '<br />';
    echo $year;
    $hour = $vbulletin->input->clean_gpc('p', 'time', TYPE_INT);
    $days = cal_days_in_month(CAL_GREGORIAN, $month, $year);

And I got 0 result..

and if I remove this
Code:

    if ($day > $days OR $day == 0) {
        $errormessage = "Error: Invalid Date";
        eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
    }

I can create tournament but the date come to 30-11-99 (default ?)

Last I can make tournament normally is 13-09-08. I dont know which version it is.

Any chance to fix it ?

Your create new tournament form is not 'posting' the data properly, hence the variables are just 0. Have you reverted the template tmnt_new?
Quote:

Originally Posted by OcR Envy (Post 1628437)
Missing phrase is displayed on all redirect messages?

I havent added any redirect messages so it should just redirect without delay.
Quote:

No way remove the thread option from the details display?
I'll look into removing it as option in admincp.
Quote:

images/buttons/report.gif is not a default image location on a 3.7 install
I think it is, it is used for reporting posts. (I have not added any custom images to my board) https://vborg.vbsupport.ru/external/2008/09/1.gif
Quote:

When selecting "Team" from the options it still only gives 1v1 and LMS as the types. Obviously this options are not correct for team play.
For team 1v1 you will need to selected type: '1v1' and 'teams', etc.

Quote:

Also my styling is way off when adding/editing a tournament. This could possibly be my custom skin but I'm not sure. All I got for now guess I still need to wait for a few more updates to go live :(
I believe I might have used <th> tags accidentally. I'll fix it in next version.

OcR Envy 09-23-2008 11:30 AM

Quote:

I havent added any redirect messages so it should just redirect without delay.
I have redirect messages turned on in vbulletin options, I think this may be causing it.

I stand corrected on the report icon, somehow it's missing from mine.


All times are GMT. The time now is 07:33 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.01908 seconds
  • Memory Usage 1,765KB
  • 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
  • (5)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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