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)

Reinhart 09-13-2008 12:59 AM

Quote:

Originally Posted by bananalive (Post 1620589)
To use this mod with v3.6.x you will need to create template memberinfo_css with following css
(This is for the css needed for the comments to be displayed properly)
HTML Code:

<style type="text/css" id="memberinfo_css">
<!--
#content_container {
        width:100%;
        float:$stylevar[left];
        margin-$stylevar[right]:-256px;
}
#content {
        margin-$stylevar[right]:256px;
}
#sidebar_container {
        width:250px;
        float:$stylevar[right];
}

.list_no_decoration {
        list-style-type:none;
        margin:0px;
        padding:0px;
}

div.fixed_width_avatar {
        text-align:center;
        width:60px;
}

/**
* Memberinfo Small
*/
li.memberinfo_small {
        margin-top:6px;
}
li.memberinfo_small div.fixed_width_avatar {
        margin-$stylevar[right]:6px;
}
li.memberinfo_small div.info_bar, #friends li.memberinfo_small div.info_bar {
        border-width:1px 0px 0px 0px;
        margin-bottom:6px;
}
li.memberinfo_small div.info_bar ul {
        padding:6px;
}
li.memberinfo_small ul.friend_im_list li {
        display:inline;
        margin-$stylevar[right]:3px;
}
li.memberinfo_small ul.friend_im_list img {
        vertical-align:middle;
}

/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
        height:105px;
        width:75px;
        overflow:hidden;
        float:$stylevar[left];
        text-align:center;
        margin:1px;
}

/**
* Tabs and Blocks
*/
.content_block {
        margin-bottom:6px;
        padding:$stylevar[cellspacing]px;
}
.content_block .block_row {
        padding:$stylevar[cellpadding]px;
        margin:$stylevar[cellspacing]px 0px 0px 0px;
}
.content_block .block_title {
        padding:$stylevar[cellpadding]px;
        margin:0px 0px 0px 0px;
}
/*.content_block h4.thead, .content_block .block_title {
        padding:4px;
        margin:$stylevar[cellspacing]px 0px 0px 0px;
}*/
.content_block .block_footer {
        text-align:$stylevar[right];
        padding:4px;
        margin:$stylevar[cellspacing]px 0px 0px 0px;
}
a.collapse_gadget {
        float:$stylevar[right];
}

/**
* Popup Menus Built With List Markup
*/
ul.vbmenu_popup li {
        padding:4px;
        margin:0px 1px 1px 1px;
        white-space:nowrap;
}
ul.vbmenu_popup li.first {
        margin:1px;
}
ul.vbmenu_popup li.notext {
        font-size:1px;
}

/**
* Override Menu CSS for 'Send Message' Menu
*/
#minicontact_menu li.vbmenu_option, #minicontact_menu li.vbmenu_hilite {
        padding:0px;
        padding-$stylevar[right]:4px;
}
#minicontact_menu li.vbmenu_option img, #minicontact_menu li.vbmenu_hilite img {
        padding:4px;
}

/**
* Profile Field List Title / Value Pairs
*/
dl.profilefield_list dd {
        margin-bottom:3px;
        margin-$stylevar[left]:16px;
}

/**
* Sidebar profile field blocks
*/
#sidebar_container dl.profilefield_list {
        font-size:11px;
}

/**
* Top Panel
*/
#main_userinfo {
        margin-bottom:20px;
}
#main_userinfo #profilepic_cell {
        border-bottom-width:0px;
        padding:4px;
}
#main_userinfo .profilepic_adjacent {
        padding-$stylevar[left]:6px;
}
#main_userinfo h1 {
        font-size:18pt;
        font-weight:normal;
        margin:0px;
}
#main_userinfo h2 {
        font-size:10pt;
        font-weight:normal;
        margin:0px;
}
#reputation_rank {
        float:$stylevar[right];
}
#reputation {
        margin-bottom:6px;
        text-align:$stylevar[right];
}
#rank {
        margin-bottom:6px;
        text-align:$stylevar[right];
}
#send_message_cell {
        padding-bottom:6px;
        text-align:$stylevar[right];
}
#link_bar ul {
        padding:4px;
}
#link_bar li.thead {
        float:$stylevar[left];
        margin-$stylevar[right]:10px;
        white-space:nowrap;
        font-weight:normal;
        background:transparent;
}
#link_bar a {
        text-decoration:none;
}
#link_bar a:hover {
        text-decoration:underline;
}
#activity_info {
        border-top-width:0px;
}
#activity_info div.alt2 {
        padding:4px;
}
#link_bar #usercss_switch_link {
        float:$stylevar[right];
        margin-$stylevar[left]:3px;
        margin-$stylevar[right]:0px;
}

/**
* Visitor Messaging Tab
*/

#qc_error_div {
        text-align:$stylevar[left];
        margin-bottom:6px;
}
#qc_error_header {
        font-weight:bold;
}
#qc_error_okay {
        text-align:$stylevar[right];
}

#message_form {
        display:block;
        margin:0px;
}
#message_form textarea {
        width:98%;
        height:50px;
}
#message_form div.messagetext {
        text-align:$stylevar[left];
}
#message_form div.allowed_bbcode {
        float:$stylevar[left];
}
#message_form div.submit_button {
        text-align:$stylevar[right];
}

#visitor_messaging #inlinemodsel {
        float:$stylevar[right];
}

#visitor_messaging #view_my_conversation_link {
        float:$stylevar[right];
        text-decoration:none;
}

#visitor_message_inlinemod_form {
        margin:0px;
        display:block;
}

#message_list {
        border:none;
}
#message_list li {
        margin-bottom:6px;
}
#message_list div.fixed_width_avatar {
        margin-$stylevar[right]:6px;
        float:$stylevar[left];
}
#message_list div.visitor_message_avatar_margin {
        margin-$stylevar[left]:66px;
}
#message_list div.info_bar {
        border-width:1px 0px 0px 0px;
        margin-bottom:6px;
}
#message_list div.info_bar div.alt2 {
        padding:6px;
}
#message_list div.info_bar a.username {
        /*font-weight:bold;*/
}
#message_list .visitor_message_date {
        float:$stylevar[right];
}
#message_list .group_message_date {
        float:$stylevar[right];
}
#message_list .inlinemod_checkbox {
        float:$stylevar[right];
}
#message_list div.visitor_message_body {
        overflow:auto;
}
#message_list ul.controls {
        margin-top:6px;
        text-align:$stylevar[right];
}
#message_list ul.controls li {
        display:inline;
        margin-$stylevar[left]:6px;
}
#message_list ul.controls a:link, #message_list ul.controls a:visited {
        text-decoration:none;
}
#message_list .deletedmessage{
        float: $stylevar[left]
}

/**
* About Me Tab
*/
#aboutme li.profilefield_category {
        font-weight:bold;
        margin-top:6px;
}
#aboutme dl.profilefield_list {
        font-weight:normal;
        margin:6px 16px 0px 16px;
}
#aboutme dl.profilefield_list dd {
        margin-bottom:6px;
        margin-$stylevar[left]:0px;
}
#aboutme #signature {
        width:100%;
        overflow:auto;
}
#aboutme #simple_aboutme_link {
        text-align: $stylevar[right];
        display: block;
}

/**
* About Me Tab (Alternative)
*/
#aboutme2 dl.profilefield_list dd {
        margin-bottom:6px;
        margin-$stylevar[left]:0px;
}

/**
* Statistics Tab
*/
#stats fieldset.statistics_group {
        margin-top:6px;
}
#stats fieldset.statistics_group ul {
        padding:6px;
}
#stats fieldset.statistics_group ul li {
        margin-bottom:3px;
}

/**
* Statistics Tab (Alternative)
*/
#statistics2 ul.statistics_group li {
        margin-bottom:3px;
}

/**
* Friends Tab
*/
#friends a.edit_friends_link {
        float:$stylevar[right];
}
#friends_mini a.edit_friends_link {
        float:<if condition="$prepared['friendcount']">
$stylevar[left]<else />$stylevar[right]</if>;
        <if condition="$prepared['friendcount']">margin-$stylevar[right]<else />margin-$stylevar[left]</if>:10px;
}

/**
* Infractions Tab
*/
div#infractions.content_block {
        padding:0px;
}

/**
* Contact Info Tab
*/
#contactinfo fieldset {
        margin-bottom:6px;
}
#contactinfo div.fieldset_padding {
        padding:6px;
}
#contactinfo #messaging_list li {
        margin-bottom:3px;
        margin-$stylevar[right]:16px;
        float:$stylevar[left];
        white-space:nowrap;
}
#contactinfo #instant_messaging_list li {
        margin-top:6px;
        margin-$stylevar[right]:6px;
        position:relative;
}
#contactinfo #instant_messaging_list .im_img_link {
        vertical-align: middle;
}
#contactinfo #instant_messaging_list .im_txt_link {
        position:absolute;
        $stylevar[left]:75px;
}
#contactinfo #additional_contact_details dd {
        margin-$stylevar[left]:0px;
        margin-bottom:6px;
}

/**
* Albums Block
*/
#albums_mini_list li {
        text-align:center;
        margin-bottom:6px;
}

/**
* Mini Friends Block
*/

#friends_mini_list a.username {
        display:block;
        margin-top:3px;
}
#friends_mini div.friends_counter {
        padding-bottom:6px;
}

/**
* Groups Block
*/
span.group_count {
        float:$stylevar[right];
}
ul.group_list {
        margin:6px 0px 0px 6px;
}
ul.group_list li {
        display:inline;
        margin-$stylevar[right]:3px;
}
#public_usergroup_list a:link, #public_usergroup_list a:visited {
        text-decoration:none;
}

/**
* Traffic Block
*/
ol.last_visitors_list {
        margin:0px;
        margin-top:6px;
}
ol.last_visitors_list li {
        display:inline;
        margin-$stylevar[right]:3px;
}

$template_hook[memberinfo_css]
-->

</style>


OMG OMG.. thanks so much banana!
Thought I might have to churn this all out myself!

KHALIK 09-13-2008 02:04 PM

Has this been incorporated in the new release ?

Quote:

Originally Posted by KHALIK View Post

also will there be a feature to correct any mistakes, Example, wrong player put forward to the next round as an error.

Can I not just delete him and redo it again?

Quote:

Originally Posted by bananalive
The popup confirmation is meant to stop mistakes but I'll probably add this feature soon


bananalive 09-13-2008 02:36 PM

Quote:

Originally Posted by KHALIK (Post 1621195)
Has this been incorporated in the new release ?

No, View Version History Here

[EDIT] See post below [/EDIT]

bananalive 09-13-2008 05:08 PM

Quote:

Originally Posted by KHALIK (Post 1621195)
Quote:

Originally Posted by KHALIK

also will there be a feature to correct any mistakes, Example, wrong player put forward to the next round as an error.

Can I not just delete him and redo it again?
Quote:

Originally Posted by bananalive
The popup confirmation is meant to stop mistakes but I'll probably add this feature soon


Has this been incorporated in the new release ?

This is now in v2.2.1
https://vborg.vbsupport.ru/attachmen...c=1&thumb=0&d=

VGPelega 09-13-2008 08:02 PM

I have a small issue with the description box, displaying the opening text in the tournaments listing page.

Its a good Idea, but because there is no "Intro area" into the tournament information, I use a main headline banner-image followed by text, in the description, to make it more appealing to the members.

But thing is, the description now takes just the text from the description box, and it starts the description off by spitting out the URL where the image is meant to be, then continues on with displaying the rest of the text.

Does this make sense?

Quote:

Call of Duty 4 Last Man Standing Event:
http://i55.photobucket.com/albums/xxx/xxx/xxx.jpg The Call of Duty 4 Last Man Stand...
Suggestion: Perhaps an option to either disable it, or add a custom field in for a short description of text to add underneath the tournament name?

This would avoid the URL of the image being spit out onto the tournaments listing page? :confused:

Chris11987 09-13-2008 08:27 PM

^ I haven't installed the new version yet, but I had that same problem originally, and I think in this case you would just have to set the limit of the caption to 0, so it doesn't show on the listings page.

bananalive 09-13-2008 08:40 PM

Quote:

Originally Posted by VGPelega (Post 1621446)
I have a small issue with the description box, displaying the opening text in the tournaments listing page.

Its a good Idea, but because there is no "Intro area" into the tournament information, I use a main headline banner-image followed by text, in the description, to make it more appealing to the members.

But thing is, the description now takes just the text from the description box, and it starts the description off by spitting out the URL where the image is meant to be, then continues on with displaying the rest of the text.

Does this make sense?

Suggestion: Perhaps an option to either disable it, or add a custom field in for a short description of text to add underneath the tournament name?

This would avoid the URL of the image being spit out onto the tournaments listing page? :confused:

As Chris says just go into vbulletin options -> Tournament (at bottom of list) -> Description length => 0

harlita 09-13-2008 08:40 PM

UserID fetch inputs HTML header information into the USERID feild which, of course doesn't work.

I'm using 3.7.3 and just did a new install of this hack.

Would you like a screenshot to see what it's doing or are you already familiar with what I'm describing?

WNxWakko 09-13-2008 08:49 PM

Quote:

Originally Posted by harlita (Post 1621465)
UserID fetch inputs HTML header information into the USERID feild which, of course doesn't work.

I'm using 3.7.3 and just did a new install of this hack.

Would you like a screenshot to see what it's doing or are you already familiar with what I'm describing?

I am having the same issue. Everything else in this mod works very well.

When I try and add a member, I have two boxes, one for ID one for username. When I enter a name and click fetch, I get this,

Quote:

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>Web Server at warriornation.net</ADDRESS></BODY></HTML><!-- - Unfortunately, Microsoft has added a clever new - "feature" to Internet Explorer. If the text of - an error's message is "too small", specifically - less than 512 bytes, Internet Explorer returns - its own error message. You can turn that off, - but it's pretty tricky to find switch called - "smart error messages". That means, of course, - that short error messages are censored by default. - IIS always returns error messages that are long - enough to make Internet Explorer happy. The - workaround is pretty simple: pad the error - message with a big comment like this to push it - over the five hundred and twelve bytes minimum. - Of course, that's exactly what you're reading - right now. -->
I learned that the only way to bypass and add a member is if I enter both their username and go hunting down their userID.

How do I resolve this issue?

butler312 09-14-2008 04:00 AM

I haven't installed the newest version yet, but I have some issues/suggestions:

1) Tournament creator doesn't see an actual bracket. He/She just sees it in a list form. They are in the correct order so you can still figure out the bracket by going down the line and pairing them up, but this is extremely annoying if it is a large tournament. Also, if the tournament creator is also in the tournament, they don't have an option to submit their score the same way everyone else does. Of course they could just use their power to make themselves advance, but thats not what I want.

2) It doesn't handle byes correctly. For example, in a 12 person tournament, there should be 4 matches in round 1 in order to get the field down to an even 8 (with the rest of the people getting byes). Instead, it will will out a 16 person bracket from the top down, leaving a very awkward bracket, which results in very unfair byes in multiple rounds.

3) Tournaments start automatically when they fill up. There should be an option for it to start automatically, or for it to require the creator to start it manually. There are some tournaments I want to start on a certain date, or to start maybe the day after it fills up, or some other time other than as soon as it fills.

I think I had more suggestions, but they are escaping me. I will post if I think of some I believe to be useful.

bananalive 09-14-2008 10:36 AM

Quote:

Originally Posted by harlita (Post 1621465)
UserID fetch inputs HTML header information into the USERID feild which, of course doesn't work.

I'm using 3.7.3 and just did a new install of this hack.

Would you like a screenshot to see what it's doing or are you already familiar with what I'm describing?

[s]Screenshot would be helpful please. I've tested it on my forum and it works fine with me (In IE7 and Firefox). Whats the user's name? Has it worked at all?[/s] Did you upload tmnt_getuser.php -> \ ? <- If you haven't uploaded this file then you get the error you described.
Quote:

Originally Posted by WNxWakko (Post 1621470)
I am having the same issue. Everything else in this mod works very well.

When I try and add a member, I have two boxes, one for ID one for username. When I enter a name and click fetch, I get this,

I learned that the only way to bypass and add a member is if I enter both their username and go hunting down their userID.

How do I resolve this issue?

[s]As i said above I dont get this problem. Whats the user's name? Has it worked at all? [/s]Did you upload tmnt_getuser.php -> \ ? <- If you haven't uploaded this file then you get the error you described.
Quote:

Originally Posted by butler312 (Post 1621695)
I haven't installed the newest version yet, but I have some issues/suggestions:

1) Tournament creator doesn't see an actual bracket. He/She just sees it in a list form. They are in the correct order so you can still figure out the bracket by going down the line and pairing them up, but this is extremely annoying if it is a large tournament.

The layout for tournament moderators has been fixed in latest version. (Screenshot)

WNxWakko 09-14-2008 01:03 PM

Quote:

Originally Posted by bananalive (Post 1621856)
[s]
[s]As i said above I dont get this problem. Whats the user's name? Has it worked at all? [/s]Did you upload tmnt_getuser.php -> \ ? <- If you haven't uploaded this file then you get the error you described.


Yes that file was uploaded to my forum root directory. I reuploaded it again just to make sure it wasnt corrupted. Still having the same issue.

bananalive 09-14-2008 02:28 PM

1 Attachment(s)
Quote:

Originally Posted by WNxWakko (Post 1621916)
Yes that file was uploaded to my forum root directory. I reuploaded it again just to make sure it wasnt corrupted. Still having the same issue.

Try replacing attached file with your current tournament.php

WNxWakko 09-14-2008 02:41 PM

Uploaded file. still not working.

harlita 09-14-2008 02:57 PM

For the sake of page loading and space I'll just link the screenshots rather than img tagging them.

BananaLive - here you'll see the correct files are uploaded to the correct locations:
tmnt_getuser.php
tmnt_selectuser.php
clientscript.js


And here you'll see what happens when I try to enter the Username:
Adding Username - as you can see, it resolves the name having successfully found the member in the username field itself..
Note: I've tried it both ways, by ignoring the offered username in the dropdown, and by selecting the username in the drop down.

But once I click "Fetch UserID" you'll see it automatically populates the UserID field with the HTML output that Wakko and I are both seeing.

This happens in both IE 7 and FF 3 on two different computers (etc etc etc).

Any ideas on what is going wrong?

I'm running 3.7.3 Patch Level 1 VBulletin and the problem seems to be only with the UserID Fetch, as it works perfectly fine if I manually input both the UserID and the Username.


Edit - just saw your post with the file attachment, I will try that really quick as well. Thanks so much for supporting your mod, by the way. It's one of the things that makes this community freaking awesome!


:)

WNxWakko 09-14-2008 05:02 PM

I found something interesting.

I decided to put tmnt_getuser.php into my webroot which is one directory up from my forum root directory and I got a different error in your id box shown below.

Quote:

<br /><b>Warning</b>: require_once(global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>/warriornation.net/httpdocs/tmnt_getuser.php</b> on line <b>2</b><br /><br /><b>Fatal error</b>: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'global.php' (include_path='.:.:') in <b>/warriornation.net/httpdocs/tmnt_getuser.php</b> on line <b>2</b><br />
This leads me to believe that your script is looking at my webroot instead of forum root. If I take the file back out of my webroot, the error returns to the original message I pasted in an above thread.

Stifmeister2 09-14-2008 07:21 PM

Quote:

Originally Posted by bananalive (Post 1620589)
To use this mod with v3.6.x you will need to create template memberinfo_css with following css
(This is for the css needed for the comments to be displayed properly)
HTML Code:

<style type="text/css" id="memberinfo_css">
<!--
#content_container {
        width:100%;
        float:$stylevar[left];
        margin-$stylevar[right]:-256px;
}
#content {
        margin-$stylevar[right]:256px;
}
#sidebar_container {
        width:250px;
        float:$stylevar[right];
}

.list_no_decoration {
        list-style-type:none;
        margin:0px;
        padding:0px;
}

div.fixed_width_avatar {
        text-align:center;
        width:60px;
}

/**
* Memberinfo Small
*/
li.memberinfo_small {
        margin-top:6px;
}
li.memberinfo_small div.fixed_width_avatar {
        margin-$stylevar[right]:6px;
}
li.memberinfo_small div.info_bar, #friends li.memberinfo_small div.info_bar {
        border-width:1px 0px 0px 0px;
        margin-bottom:6px;
}
li.memberinfo_small div.info_bar ul {
        padding:6px;
}
li.memberinfo_small ul.friend_im_list li {
        display:inline;
        margin-$stylevar[right]:3px;
}
li.memberinfo_small ul.friend_im_list img {
        vertical-align:middle;
}

/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
        height:105px;
        width:75px;
        overflow:hidden;
        float:$stylevar[left];
        text-align:center;
        margin:1px;
}

/**
* Tabs and Blocks
*/
.content_block {
        margin-bottom:6px;
        padding:$stylevar[cellspacing]px;
}
.content_block .block_row {
        padding:$stylevar[cellpadding]px;
        margin:$stylevar[cellspacing]px 0px 0px 0px;
}
.content_block .block_title {
        padding:$stylevar[cellpadding]px;
        margin:0px 0px 0px 0px;
}
/*.content_block h4.thead, .content_block .block_title {
        padding:4px;
        margin:$stylevar[cellspacing]px 0px 0px 0px;
}*/
.content_block .block_footer {
        text-align:$stylevar[right];
        padding:4px;
        margin:$stylevar[cellspacing]px 0px 0px 0px;
}
a.collapse_gadget {
        float:$stylevar[right];
}

/**
* Popup Menus Built With List Markup
*/
ul.vbmenu_popup li {
        padding:4px;
        margin:0px 1px 1px 1px;
        white-space:nowrap;
}
ul.vbmenu_popup li.first {
        margin:1px;
}
ul.vbmenu_popup li.notext {
        font-size:1px;
}

/**
* Override Menu CSS for 'Send Message' Menu
*/
#minicontact_menu li.vbmenu_option, #minicontact_menu li.vbmenu_hilite {
        padding:0px;
        padding-$stylevar[right]:4px;
}
#minicontact_menu li.vbmenu_option img, #minicontact_menu li.vbmenu_hilite img {
        padding:4px;
}

/**
* Profile Field List Title / Value Pairs
*/
dl.profilefield_list dd {
        margin-bottom:3px;
        margin-$stylevar[left]:16px;
}

/**
* Sidebar profile field blocks
*/
#sidebar_container dl.profilefield_list {
        font-size:11px;
}

/**
* Top Panel
*/
#main_userinfo {
        margin-bottom:20px;
}
#main_userinfo #profilepic_cell {
        border-bottom-width:0px;
        padding:4px;
}
#main_userinfo .profilepic_adjacent {
        padding-$stylevar[left]:6px;
}
#main_userinfo h1 {
        font-size:18pt;
        font-weight:normal;
        margin:0px;
}
#main_userinfo h2 {
        font-size:10pt;
        font-weight:normal;
        margin:0px;
}
#reputation_rank {
        float:$stylevar[right];
}
#reputation {
        margin-bottom:6px;
        text-align:$stylevar[right];
}
#rank {
        margin-bottom:6px;
        text-align:$stylevar[right];
}
#send_message_cell {
        padding-bottom:6px;
        text-align:$stylevar[right];
}
#link_bar ul {
        padding:4px;
}
#link_bar li.thead {
        float:$stylevar[left];
        margin-$stylevar[right]:10px;
        white-space:nowrap;
        font-weight:normal;
        background:transparent;
}
#link_bar a {
        text-decoration:none;
}
#link_bar a:hover {
        text-decoration:underline;
}
#activity_info {
        border-top-width:0px;
}
#activity_info div.alt2 {
        padding:4px;
}
#link_bar #usercss_switch_link {
        float:$stylevar[right];
        margin-$stylevar[left]:3px;
        margin-$stylevar[right]:0px;
}

/**
* Visitor Messaging Tab
*/

#qc_error_div {
        text-align:$stylevar[left];
        margin-bottom:6px;
}
#qc_error_header {
        font-weight:bold;
}
#qc_error_okay {
        text-align:$stylevar[right];
}

#message_form {
        display:block;
        margin:0px;
}
#message_form textarea {
        width:98%;
        height:50px;
}
#message_form div.messagetext {
        text-align:$stylevar[left];
}
#message_form div.allowed_bbcode {
        float:$stylevar[left];
}
#message_form div.submit_button {
        text-align:$stylevar[right];
}

#visitor_messaging #inlinemodsel {
        float:$stylevar[right];
}

#visitor_messaging #view_my_conversation_link {
        float:$stylevar[right];
        text-decoration:none;
}

#visitor_message_inlinemod_form {
        margin:0px;
        display:block;
}

#message_list {
        border:none;
}
#message_list li {
        margin-bottom:6px;
}
#message_list div.fixed_width_avatar {
        margin-$stylevar[right]:6px;
        float:$stylevar[left];
}
#message_list div.visitor_message_avatar_margin {
        margin-$stylevar[left]:66px;
}
#message_list div.info_bar {
        border-width:1px 0px 0px 0px;
        margin-bottom:6px;
}
#message_list div.info_bar div.alt2 {
        padding:6px;
}
#message_list div.info_bar a.username {
        /*font-weight:bold;*/
}
#message_list .visitor_message_date {
        float:$stylevar[right];
}
#message_list .group_message_date {
        float:$stylevar[right];
}
#message_list .inlinemod_checkbox {
        float:$stylevar[right];
}
#message_list div.visitor_message_body {
        overflow:auto;
}
#message_list ul.controls {
        margin-top:6px;
        text-align:$stylevar[right];
}
#message_list ul.controls li {
        display:inline;
        margin-$stylevar[left]:6px;
}
#message_list ul.controls a:link, #message_list ul.controls a:visited {
        text-decoration:none;
}
#message_list .deletedmessage{
        float: $stylevar[left]
}

/**
* About Me Tab
*/
#aboutme li.profilefield_category {
        font-weight:bold;
        margin-top:6px;
}
#aboutme dl.profilefield_list {
        font-weight:normal;
        margin:6px 16px 0px 16px;
}
#aboutme dl.profilefield_list dd {
        margin-bottom:6px;
        margin-$stylevar[left]:0px;
}
#aboutme #signature {
        width:100%;
        overflow:auto;
}
#aboutme #simple_aboutme_link {
        text-align: $stylevar[right];
        display: block;
}

/**
* About Me Tab (Alternative)
*/
#aboutme2 dl.profilefield_list dd {
        margin-bottom:6px;
        margin-$stylevar[left]:0px;
}

/**
* Statistics Tab
*/
#stats fieldset.statistics_group {
        margin-top:6px;
}
#stats fieldset.statistics_group ul {
        padding:6px;
}
#stats fieldset.statistics_group ul li {
        margin-bottom:3px;
}

/**
* Statistics Tab (Alternative)
*/
#statistics2 ul.statistics_group li {
        margin-bottom:3px;
}

/**
* Friends Tab
*/
#friends a.edit_friends_link {
        float:$stylevar[right];
}
#friends_mini a.edit_friends_link {
        float:<if condition="$prepared['friendcount']">
$stylevar[left]<else />$stylevar[right]</if>;
        <if condition="$prepared['friendcount']">margin-$stylevar[right]<else />margin-$stylevar[left]</if>:10px;
}

/**
* Infractions Tab
*/
div#infractions.content_block {
        padding:0px;
}

/**
* Contact Info Tab
*/
#contactinfo fieldset {
        margin-bottom:6px;
}
#contactinfo div.fieldset_padding {
        padding:6px;
}
#contactinfo #messaging_list li {
        margin-bottom:3px;
        margin-$stylevar[right]:16px;
        float:$stylevar[left];
        white-space:nowrap;
}
#contactinfo #instant_messaging_list li {
        margin-top:6px;
        margin-$stylevar[right]:6px;
        position:relative;
}
#contactinfo #instant_messaging_list .im_img_link {
        vertical-align: middle;
}
#contactinfo #instant_messaging_list .im_txt_link {
        position:absolute;
        $stylevar[left]:75px;
}
#contactinfo #additional_contact_details dd {
        margin-$stylevar[left]:0px;
        margin-bottom:6px;
}

/**
* Albums Block
*/
#albums_mini_list li {
        text-align:center;
        margin-bottom:6px;
}

/**
* Mini Friends Block
*/

#friends_mini_list a.username {
        display:block;
        margin-top:3px;
}
#friends_mini div.friends_counter {
        padding-bottom:6px;
}

/**
* Groups Block
*/
span.group_count {
        float:$stylevar[right];
}
ul.group_list {
        margin:6px 0px 0px 6px;
}
ul.group_list li {
        display:inline;
        margin-$stylevar[right]:3px;
}
#public_usergroup_list a:link, #public_usergroup_list a:visited {
        text-decoration:none;
}

/**
* Traffic Block
*/
ol.last_visitors_list {
        margin:0px;
        margin-top:6px;
}
ol.last_visitors_list li {
        display:inline;
        margin-$stylevar[right]:3px;
}

$template_hook[memberinfo_css]
-->

</style>


Thx! ;) And thanks for adding live demo, this is just what I'm looking for. :) I'll install this as soon as I get this one last thing right...


Do you mean I'll have to create a new template with that code, or just add all that to my style settings -> custom css ?

And could someone with a bit of skills add this code to the *.xml file? :o If it's not too much of work... I have many styles and it would take some time to add this to every style. :( The *.xml would put it to every style automatically... :o

bananalive 09-14-2008 07:28 PM

1 Attachment(s)
Quote:

Originally Posted by Stifmeister2 (Post 1622161)
Thx! ;) And thanks for adding live demo, this is just what I'm looking for. :) I'll install this as soon as I get this one last thing right...


Do you mean I'll have to create a new template with that code, or just add all that to my style settings -> custom css ?

And could someone with a bit of skills add this code to the *.xml file? :o If it's not too much of work... I have many styles and it would take some time to add this to every style. :( The *.xml would put it to every style automatically... :o

Attached product file which will add the template to each style for you.

Stifmeister2 09-14-2008 08:47 PM

Quote:

Originally Posted by bananalive (Post 1622166)
Attached product file which will add the template to each style for you.

Thanks BIG TIME dude! ;)


*clicks install*

Stifmeister2 09-14-2008 08:55 PM

----edit----

Damn, I got and error when I tried to install:



Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                                INSERT INTO vbb_setting
                                        (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
                                VALUES
                                        (
                                        'tmnt_active',
                                        'tournament',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        14,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        ),
        (
                                        'tmnt_active',
                                        'tournament',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        19,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        ),
        (
                                        'tmnt_createthread',
                                        'tournament',
                                        '',
                                        '',
                                        'free',
                                        '',
                                        20,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        ),
        (
                                        'tmnt_cpp',
                                        'tournament',
                                        '5',
                                        '5',
                                        'number',
                                        '',
                                        24,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        ),
        (
                                        'tmnt_desclength',
                                        'tournament',
                                        '97',
                                        '97',
                                        'number',
                                        '',
                                        28,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        );

MySQL Error  : Duplicate entry 'tmnt_active' for key 1
Error Number : 1062
Date        : Sunday, September 14th 2008 @ 11:48:15 PM
Script      : http://www.myforum.com/forums/admincp/plugin.php?do=productimport
Referrer    : http://www.myforum.com/forums/admincp/plugin.php?do=productadd
IP Address  :
Username    : Stifmeister
Classname    : vB_Database


I hope this didn't screw anything in my forum?? :eek: Any damage to my 'vbb_setting' ???

KHALIK 09-14-2008 11:08 PM

Is there any work in progress for the following areas, i knew it is mentioned under features.

Team based tournaments.
2v2
5v5
Double Elimination (used by major LAN/Online tournaments)
Supporting 64+ players/teams

I plan to host a team based 2v2 large online tournament sponsored with major prizes around November time.

Strafe 09-15-2008 04:05 AM

I would like to see 3v3 added as well as the Double Elimination feature. Please let keep up the good work!

edit: Actually a team vs team function is the solution ;)

Kaelon 09-15-2008 05:22 PM

Thanks for the upgrade! I have modified my tmnt_display, tmnt_edit, tmnt_list, tmnt_new, and tmnt_shell templates. Do any of these need to be reverted?

Stifmeister2 09-15-2008 09:48 PM

Quote:

Originally Posted by Stifmeister2 (Post 1622220)
----edit----

Damn, I got and error when I tried to install:



Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                                INSERT INTO vbb_setting
                                        (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
                                VALUES
                                        (
                                        'tmnt_active',
                                        'tournament',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        14,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        ),
        (
                                        'tmnt_active',
                                        'tournament',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        19,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        ),
        (
                                        'tmnt_createthread',
                                        'tournament',
                                        '',
                                        '',
                                        'free',
                                        '',
                                        20,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        ),
        (
                                        'tmnt_cpp',
                                        'tournament',
                                        '5',
                                        '5',
                                        'number',
                                        '',
                                        24,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        ),
        (
                                        'tmnt_desclength',
                                        'tournament',
                                        '97',
                                        '97',
                                        'number',
                                        '',
                                        28,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'tournament2008'
        );

MySQL Error  : Duplicate entry 'tmnt_active' for key 1
Error Number : 1062
Date        : Sunday, September 14th 2008 @ 11:48:15 PM
Script      : http://www.myforum.com/forums/admincp/plugin.php?do=productimport
Referrer    : http://www.myforum.com/forums/admincp/plugin.php?do=productadd
IP Address  :
Username    : Stifmeister
Classname    : vB_Database


I hope this didn't screw anything in my forum?? :eek: Any damage to my 'vbb_setting' ???

Is there some easy way to fix this? It wouldn't install the mod because of this error. :(


I need this mod soon since my tournament is getting full.

stickskills 09-15-2008 09:53 PM

Excellent work as always banana, glad to see this bad boy continually be updated. I know it's been overmentioned, and I hate to be pushing the issue haha, but can we expect team support in the future?

WNxWakko 09-16-2008 12:20 AM

Quote:

Originally Posted by WNxWakko (Post 1622078)
I found something interesting.

I decided to put tmnt_getuser.php into my webroot which is one directory up from my forum root directory and I got a different error in your id box shown below.

This leads me to believe that your script is looking at my webroot instead of forum root. If I take the file back out of my webroot, the error returns to the original message I pasted in an above thread.

So have you figured out what is causing this to happen yet?

mozik 09-16-2008 12:48 AM

I was wondering if you could add 2v2 and 4v4 to the selection of tourneys were whoever signs up has to send invites to the other members of the team? or just add them, But if they can just add them then you will have to make something were a person can only be on one team per tournament.

It would be cool for the 2v2 and 4v4 that when you sign up you put in a team name and then a text feild for the other members of the team. But it can only be edited by a admin.

mozik 09-16-2008 01:58 AM

Can you remove people from the tournaments?

gorentals 09-16-2008 02:14 AM

Yes you can remove people from the tournaments.

KHALIK 09-16-2008 05:16 AM

Quote:

Originally Posted by mozik (Post 1623078)
Can you remove people from the tournaments?

Quote:

Originally Posted by gorentals (Post 1623094)
Yes you can remove people from the tournaments.


Once the game goes "live" you cannot remove them from the tournament, but can remove them before it starts.


******
I hope there will be a feature that will allow admins/mods to replace the userid of the player with another userid, after the game has gone live.

XShava 09-16-2008 05:42 AM

Great mod, thank you bananalive!!

I have lots of proposal, but first can you do Tournament Stats in Postbit ON/OFF swits in AdminCP next version.

Strafe 09-16-2008 10:50 AM

I managed to comment out the postbit info, but I noticed today it also adds the stats in to member profile page! Would like to see a switch for that as well :D

But focus on the important things like team vs team and double elimination first :)

Great mod btw, if you can finish team vs team feature I'm sure you'll see some nice donations coming ;)

bananalive 09-16-2008 01:55 PM

Quote:

Originally Posted by KHALIK (Post 1622271)
Is there any work in progress for the following areas, i knew it is mentioned under features.

Team based tournaments.
2v2
5v5
Double Elimination (used by major LAN/Online tournaments)
Supporting 64+ players/teams


I plan to host a team based 2v2 large online tournament sponsored with major prizes around November time.

I'm working on adding teams atm.
Quote:

Originally Posted by Kaelon (Post 1622742)
Thanks for the upgrade! I have modified my tmnt_display, tmnt_edit, tmnt_list, tmnt_new, and tmnt_shell templates. Do any of these need to be reverted?

Depends on which version you using atm.
tmnt_new, tmnt_edit have been change to allow for timestamps
tmnt_display was changed to allow vbphrases to be displayed
tmnt_list was changed to different design and to add descriptions
Quote:

Originally Posted by Stifmeister2 (Post 1622912)
Is there some easy way to fix this? It wouldn't install the mod because of this error. :(
I need this mod soon since my tournament is getting full.

Are you installing product-tournaments2008.xml or tournament2008 compatibility v3.6.x.xml?
Quote:

Originally Posted by WNxWakko (Post 1622998)
So have you figured out what is causing this to happen yet?

Instead of relative paths i've changed it to use forum url in vb options.

Stifmeister2 09-16-2008 02:38 PM

Quote:

Originally Posted by bananalive (Post 1623363)
Are you installing product-tournaments2008.xml or tournament2008 compatibility v3.6.x.xml?

Product. ;)


I didn't even try to install the compatibility v3.6.x.xml yet.

bananalive 09-16-2008 02:44 PM

Quote:

Originally Posted by Stifmeister2 (Post 1623386)
Product. ;)


I didn't even try to install the compatibility v3.6.x.xml yet.

Open product file find
Code:

        <setting varname="tmnt_active" displayorder="14">
            <datatype>boolean</datatype>
            <optioncode>yesno</optioncode>
            <defaultvalue>1</defaultvalue>
        </setting>
        <setting varname="tmnt_active" displayorder="14">
            <datatype>boolean</datatype>
            <optioncode>yesno</optioncode>
            <defaultvalue>1</defaultvalue>
        </setting>

replace with
Code:

        <setting varname="tmnt_active" displayorder="14">
            <datatype>boolean</datatype>
            <optioncode>yesno</optioncode>
            <defaultvalue>1</defaultvalue>
        </setting>


Stifmeister2 09-16-2008 03:42 PM

Quote:

Originally Posted by bananalive (Post 1623391)
Open product file find
Code:

        <setting varname="tmnt_active" displayorder="14">
            <datatype>boolean</datatype>
            <optioncode>yesno</optioncode>
            <defaultvalue>1</defaultvalue>
        </setting>
        <setting varname="tmnt_active" displayorder="14">
            <datatype>boolean</datatype>
            <optioncode>yesno</optioncode>
            <defaultvalue>1</defaultvalue>
        </setting>

replace with
Code:

        <setting varname="tmnt_active" displayorder="14">
            <datatype>boolean</datatype>
            <optioncode>yesno</optioncode>
            <defaultvalue>1</defaultvalue>
        </setting>


Thanks. ;)

Stifmeister2 09-16-2008 03:48 PM

Ok now it works, but I have an error when I try to import that v.3.6.x xml:

Code:

XML Error: Mismatched tag at Line 474

Stifmeister2 09-16-2008 04:01 PM

Btw what is the time thing that you can change when you're creating a new tournament? Some time limit in which people have to join the tournament??

bananalive 09-16-2008 04:06 PM

Quote:

Originally Posted by Stifmeister2 (Post 1623428)
Ok now it works, but I have an error when I try to import that v.3.6.x xml:
Code:

XML Error: Mismatched tag at Line 474

Open it with notepad or wordpad and then...
Try adding line after
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
Quote:

Originally Posted by Stifmeister2 (Post 1623438)
Btw what is the time thing that you can change when you're creating a new tournament? Some time limit in which people have to join the tournament??

Its just ornamental really, but it converts into each users timezone (always handy for international tournaments).

Stifmeister2 09-16-2008 04:09 PM

Quote:

Originally Posted by bananalive (Post 1623441)
Open it with notepad or wordpad and then...
Try adding line after
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
Its just ornamental really, but it converts into each users timezone (always handy for international tournaments).

Just one blank line?


And thx for the time explanation.


---edit---

I added blank line:

Code:

XML Error: Mismatched tag at Line 475


All times are GMT. The time now is 07:40 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.03840 seconds
  • Memory Usage 2,048KB
  • 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
  • (11)bbcode_code_printable
  • (2)bbcode_html_printable
  • (34)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
  • (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