vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Tournaments, Ladders & Leagues Manager v4.x (https://vborg.vbsupport.ru/showthread.php?t=238945)

gfaria91 09-20-2014 07:21 PM

Quote:

Originally Posted by bananalive (Post 2515783)
Try attached

Yeah! Now it is working like it should. Thank you very much.

gfaria91 09-21-2014 04:12 PM

Quote:

Originally Posted by bananalive (Post 2515783)
Try attached

I have two questions about the plugin.

Am I able to change the default tab to the description tab? And am I able to deactivate comments tab?

How can I do both of those things?

bananalive 10-04-2014 12:09 PM

Quote:

Originally Posted by gfaria91 (Post 2516051)
Am I able to change the default tab to the description tab?

This would require editing the php code

Quote:

Originally Posted by gfaria91 (Post 2516051)
And am I able to deactivate comments tab?

Disable commenting permissions.

Tibiaspy 10-07-2014 11:09 AM

1. Is there a way to disable or remove categories completly? I do not need categories at all and now it's just looks kinda weird with all this "without category" stuff everywhere.

2. All my users are from one timezone - how can I change default time zone to start a tournament. Now it's GMT +0 so first they have to think about time, then change timezone to GMT +0 and then set time. I would be easier if I could just set time zone to the one we have.

3. How can i remove all credits info from matches? Like:
Cost 0.00 credits per user
Winner receives 0.00 credits

Since I have credits disabled that's kinda weird to post this info.

Bluefin221 10-07-2014 07:18 PM

Is there a calender option for upcoming tournaments which could be placed into a forums block? Would be fantastic to add tournaments which are pending to the blocks on the forum and the option to add an image for these.

sundoze 10-14-2014 12:56 PM

Hello how to make, not login users can see tournament?

bananalive 10-29-2014 05:11 PM

Quote:

Originally Posted by sundoze (Post 2518710)
Hello how to make, not login users can see tournament?

Change usergroup permissions of 'Guests/ not logged in' usergroup.

bananalive 10-29-2014 05:23 PM

Quote:

Originally Posted by Tibiaspy (Post 2518000)
1. Is there a way to disable or remove categories completly? I do not need categories at all and now it's just looks kinda weird with all this "without category" stuff everywhere.

2. All my users are from one timezone - how can I change default time zone to start a tournament. Now it's GMT +0 so first they have to think about time, then change timezone to GMT +0 and then set time. I would be easier if I could just set time zone to the one we have.

3. How can i remove all credits info from matches? Like:
Cost 0.00 credits per user
Winner receives 0.00 credits

Since I have credits disabled that's kinda weird to post this info.

1. Yes it's option in admincp -> vbulletin settings.

2. this would require editing the template tmnt_new

3. If you have disabled credits, this should not show, what screen/page/template do you see it on?

m7sen 10-31-2014 05:02 PM

hi bananalive

can u help me here

https://vborg.vbsupport.ru/showthread.php?t=201097

Morrus 11-11-2014 04:04 PM

Long, long thread! I've installed it, and created a test team and invited a couple of people. They get an error saying "Error. Invalid Team"

I did try to search this epic thread, and found an updated team.php earlier in the thread, but that didn't fix it.

Any ideas? Thanks!

Fields 11-11-2014 04:37 PM

Hello,

when I invite users to a team, they get a broken link via pm:

Code:

http://example.com/teams.php?do=viewteam&id=10
When I delete the "amp;", the link works. Do you have a fix for that?

Morrus 11-11-2014 08:43 PM

Quote:

Originally Posted by Fields (Post 2522292)
Hello,

when I invite users to a team, they get a broken link via pm:

Code:

http://example.com/teams.php?do=viewteam&id=10
When I delete the "amp;", the link works. Do you have a fix for that?

Ah, I think you're having exactly the same problem I am. Manually replacing & with & fixes it for me. Just need the system to send the correct link in the first place!

Fields 11-12-2014 08:58 AM

Quote:

Originally Posted by Morrus (Post 2522315)
Ah, I think you're having exactly the same problem I am. Manually replacing & with & fixes it for me. Just need the system to send the correct link in the first place!

Did you fix a code in a template or a file or do you always fix the link before sending the PM?

Morrus 11-12-2014 09:06 AM

Quote:

Originally Posted by Fields (Post 2522362)
Did you fix a code in a template or a file or do you always fix the link before sending the PM?

I did neither. I just tried doing exactly what you did.

bananalive 11-17-2014 01:13 PM

Quote:

Originally Posted by Fields (Post 2522292)
Hello,

when I invite users to a team, they get a broken link via pm:

Code:

http://example.com/teams.php?do=viewteam&id=10
When I delete the "amp;", the link works. Do you have a fix for that?

I'm unable to replicate this - are you running latest version?

The only thing I can think of is to make sure template tmnt_inviteteam uses

{vb:raw message}

not

{vb:var message}

Fields 11-17-2014 03:20 PM

Yes, I am using the latest version. The template is correct (some phrases are translated):

Code:

<script type="text/javascript" src="clientscript/vbulletin_ajax_suggest.js?v={vb:raw vboptions.simpleversion}"></script>

<form name="vbform" action="teams.php?do=inviteteam&amp;teamid={vb:raw team.teamid}" method="post">
<h2 class="blockhead">Benutzer in dein Team einladen</h2>
<div class="blockbody formcontrols">
        <div class="blockrow">
                <label for"users" class="floatcontainer">Benutzer</label>
                <ul class="multifield group">
                        <li>
                                <div id="userfield" class="popupmenu nomouseover noclick nohovermenu">
                                        <textarea class="primary full textbox popupctrl" name="users" id="userfield_txt" tabindex="1" autocomplete="off" rows="2" cols="50"></textarea>
                                </div>
                        </li>
                </ul>
        </div>
        <div class="blockrow">
                <label for"message">Nachricht</label>
                <div>
                        <textarea name="message" id="message" rows="4" cols="75">{vb:raw message}</textarea>
                </div>
        </div>
        <vb:if condition="$team['invited_players']">
        <div class="blocksubhead">
                Benutzer, die bereits eingeladen wurden: <br /> <span style="font-weight: normal;">{vb:raw team.invited_players}</span>       
        </div>
        </vb:if>
</div>
<script type="text/javascript">
<!--
        usss = new vB_AJAX_NameSuggest('usss', 'userfield_txt', 'userfield');
        usss.allow_multiple = true;
//-->
</script>
<div class="blockfoot actionbuttons">
        <div class="group">
                <input type="hidden" name="do" value="inviteteam" />
                <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
                <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                <input name="teamid" type="hidden" value="{vb:raw team.teamid}" />
        <input type="submit" class="button" value="{vb:rawphrase go}" />
        <a href="{vb:raw team.url}" class="button">{vb:rawphrase cancel}</a>
        </div>
</div>
</form>


bananalive 11-17-2014 04:33 PM

Quote:

Originally Posted by Fields (Post 2523139)
Yes, I am using the latest version. The template is correct (some phrases are translated):

Code:

<script type="text/javascript"...

Edit teams.php

Find line

PHP Code:

$message "Please join my team \r\n\r\n [url]".$vbulletin->options['bburl']."/".$team['url']."[/url]"


Add before


PHP Code:

$team['url'] = str_replace("&amp;","&",$team['url']); 


Fields 11-18-2014 05:41 AM

Thanks, I'll give it a try :)

Fields 11-19-2014 03:32 PM

Okay, I checked it, the link still doesn't work because of the &amp;

There is something weird: I get a notification when I received a PN on my site. In this mail, there is a preview of the PN, and the link in there is correct.

Topollino 12-02-2014 11:23 AM

Hi, is there any way to reset a ladder?

betts02 01-01-2015 01:27 PM

Strict Standards: Only variables should be assigned by reference in /home/xlgaming/public_html/xleague.co.uk/teams.php on line 88

newly updated can you please help cheers

ozzy47 01-01-2015 03:39 PM

Quote:

Originally Posted by betts02 (Post 2529851)
Strict Standards: Only variables should be assigned by reference in /home/xlgaming/public_html/xleague.co.uk/teams.php on line 88

newly updated can you please help cheers


Open your includes/config.php file and below <?php add the following.

PHP Code:

define('SKIP_DS_ERRORS'true); 

So it looks like this:
PHP Code:

<?php
define
('SKIP_DS_ERRORS'true);  
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2

Use a editor like notepad++ to edit any files, don't use Notepad or Wordpad.

This turns off the extra error reporting in php 5.3 & 5.4 (for strict & deprecated warnings), but will allow other important errors to show.

JJBB 01-07-2015 02:30 AM

Hi there,
I got this mod installed recently but I'm having two problems which need some help here (vb4.2.2):

1, The 'Year' on create tournament date has capped to 2014. Am I doing something wrong on installing or Can I fix it somewhere?

https://vborg.vbsupport.ru/external/2015/08/5.png

2, The tournament stats on user postbit or profile are only updating the individual record. Team record doesn't count. Is this by design?

https://vborg.vbsupport.ru/external/2015/08/6.png

Thanks in advance!
JJBB

pantasd 01-17-2015 02:24 PM

I find solutions for me in Style Manager edit default template in Tournament and Ladders Templates ? edit tmnt_edit and tmnt_new

Just find <select name="year" title="year" tabindex="1"> and add new year :)

MistViper 01-29-2015 04:18 AM

I'm interested in downloading this, and even getting premium version. Only one questions though, would having people pay to enter be considered gambling? And if so wouldn't my site potentially get shut down if that is the case? Just a simple thought that came to my head, I appreciate any answers.

bananalive 02-01-2015 03:08 PM

Quote:

Originally Posted by MistViper (Post 2535118)
I'm interested in downloading this, and even getting premium version. Only one questions though, would having people pay to enter be considered gambling? And if so wouldn't my site potentially get shut down if that is the case? Just a simple thought that came to my head, I appreciate any answers.

Prize competition aren't classified as gambling. A prize competition is a competition where success depends to a substantial degree on the exercise of skill, knowledge, or judgment.
Gambling is where there is a significant reliance on chance.

MistViper 02-03-2015 12:15 AM

That makes sense, but I've talked to a lot of people because I'm interested in doing this and Riot Games (creator of League of Legends) has said that prize competitions are gambling and they do not allow them without licenses and all players must be above a certain age. So I think it would work, but the prizes can only be given to people above 18. What are your thoughts?

bananalive 02-03-2015 08:51 PM

Quote:

Originally Posted by MistViper (Post 2535810)
That makes sense, but I've talked to a lot of people because I'm interested in doing this and Riot Games (creator of League of Legends) has said that prize competitions are gambling and they do not allow them without licenses and all players must be above a certain age. So I think it would work, but the prizes can only be given to people above 18. What are your thoughts?

I guess it will depend what jurisdiction/ country you are in.

xorlof 02-04-2015 06:12 PM

This looks promising. I'm thinking of installing it, but have a few questions (none of which are dealbreakers):

1) Any hope for Swiss tournaments?

2) Can you setup the system so people can play without having to join teams (i.e., head-to-head games)

3) The premium version list, "Race mode for leagues" and "New tournament type - group play." What are these?

Doc913 02-09-2015 01:55 PM

Hello, I looking for the point where i can delete Categories.
I made a lot of Test -Categories and now i can't finde the way how to delete this.

EasyEazy 02-09-2015 03:22 PM

Quote:

Originally Posted by Doc913 (Post 2536768)
Hello, I looking for the point where i can delete Categories.
I made a lot of Test -Categories and now i can't finde the way how to delete this.

/competitions.php?do=categories

Should be an option on that page

JJBB 02-10-2015 05:59 AM

Quote:

Originally Posted by pantasd (Post 2532951)
I find solutions for me in Style Manager edit default template in Tournament and Ladders Templates ? edit tmnt_edit and tmnt_new

Just find <select name="year" title="year" tabindex="1"> and add new year :)

Thanks pantasd! Got it working :)

MistViper 02-14-2015 12:15 AM

1 Attachment(s)
I just installed this, but I get this weird permission error where I can't view anyone profile.

MistViper 02-14-2015 01:02 AM

Nevermind I fixed this

MistViper 02-25-2015 05:21 PM

1 Attachment(s)
I get this error when someone invites another person to join their team. If the person clicks on the link in their inbox this error appears. Any suggestions?

bananalive 03-03-2015 07:58 PM

Quote:

Originally Posted by MistViper (Post 2538769)
I get this error when someone invites another person to join their team. If the person clicks on the link in their inbox this error appears. Any suggestions?

This only seems to cause an issue in Lite version, but this should hopefully fix it:

Edit teams.php

Find

PHP Code:

if ($_REQUEST['do'] == 'viewteam')
{
    require_once(
DIR '/includes/class_bbcode.php');
    if (!
$id)
    {
        
$id $vbulletin->input->clean_gpc('g''id'TYPE_UINT);
    } 

Add below

PHP Code:

    if (!$id)
    {
        
$id $vbulletin->input->clean_gpc('g''amp;id'TYPE_UINT);
    } 


squidsk 03-04-2015 02:47 PM

That's a bandaid fix and doesn't really address the underlying problem. I would guess that the it really means there's an error in the link being generated in the PM. Fix the link and you don't need to change any code.

Fields 03-14-2015 02:26 PM

When I reject a challenge, my opponent doesn't get a notification, shouldn't he get a PM?

bananalive 03-19-2015 12:05 PM

Quote:

Originally Posted by Fields (Post 2540418)
When I reject a challenge, my opponent doesn't get a notification, shouldn't he get a PM?

vBulletin Options -> Ladder/League Settings -> PM after player is challenged -> Yes

Fields 03-19-2015 01:09 PM

Quote:

Originally Posted by bananalive (Post 2540896)
vBulletin Options -> Ladder/League Settings -> PM after player is challenged -> Yes

Unfortunately, this option is already set to Yes :(


All times are GMT. The time now is 09:06 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.06919 seconds
  • Memory Usage 1,861KB
  • 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
  • (6)bbcode_php_printable
  • (19)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
  • (40)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