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)

bananalive 05-16-2011 09:42 PM

Quote:

Originally Posted by TinCow1 (Post 2195077)
Hey, thanks for making this mod, it is superb and I am in love with it. I have started using it to run tournaments for PC games. One problem I have encountered is that players need to be able to find their opponents on Steam. We have already integrated Steam information into each user profile with the IM Steam mod, and the result is that the postbit now displays a small Steam icon (https://vborg.vbsupport.ru/external/2011/05/12.gif), and clicking on that icon gives various options for contacting the user over Steam. What I would like to do is add that icon-link immediately following each player's name in the bracket after a tournament has started, essentially just like the avatar icon but at the end of the name instead of the beginning. The idea would be that the players would be able look at the bracket and simply click on the steam icon next to their opponent's name to find them on Steam.

I will find the proper code for adding the steam icon-link myself, but I'm not sure where I should be adding that code into the tournaments.php file to make it display the way I want it to. I would be grateful if you could show me where exactly I need to insert this to achieve that kind of result.

Many thanks for your help and for making such a high-quality mod.

[edit]LOL, I just notice that IM Steam is your mod as well. As such, if you could help me figure out the code that needs to be inserted to add the Steam icon-link as well, I will worship you forever in whatever manner a coding god like you believes is best.

v4.4.3+

Added option:
vBulletin Options -> Tournament and Ladders Options -> Tournaments User HTML
HTML Code:

{usertext} {steamid}

bananalive 05-16-2011 09:45 PM

Quote:

Originally Posted by jrap (Post 2195566)
ty bananalive that fixed the page error i was getting. however i still can't remove a team or teams from the double elimination bracket. there isn't a option for it. the restart feature works just can't remove a team from the bracket. is it possible to have more powers in regards to this. like a admin or forum mod being able to assign anyones team to a tourney bracket? just in case i have 2 double elmination tourney's going on at the same time. then i can move the teams around and put them in the tourney i want to prevent stacking in the tourney.

There should be a button to 'Reorganise Brackets' so you can change which slots each team is in.

Hack for removing a team... v4.4.3+ you can use url:
HTML Code:

http://www.yourforum.com/forums/tournaments.php?do=killplayer&tid=57&userid=5
Change 57 to tournament id
Change 5 to userid or teamid

bananalive 05-16-2011 09:47 PM

Quote:

Originally Posted by mikem164 (Post 2195977)
When I do this, I get this error.


Code:

Fatal error: Call to undefined function imagecreate() in /home/wwwevi1/public_html/elite/upload/ladders.php on line 181

Your server will need GD installed on it.
Quote:

Otherwise, seems to be a great addon to my forum!! Keep up the good work!

ooh, one thing, I am in a ladder match, and only option is to Submit Score... it's me and other player, still not sure where scores come from. Scores are 0-0 so who's got the next move and where do the points come from and how do you score. THANKS!
You play the game elsewhere and then report the result into this modification.

So you could play FIFA against your friend and keep track of your scores using this modification on your forum.

TinCow1 05-17-2011 11:55 AM

Quote:

Originally Posted by bananalive (Post 2196502)
v4.4.3+

Added option:
vBulletin Options -> Tournament and Ladders Options -> Tournaments User HTML
HTML Code:

{usertext} {steamid}

Many thanks, but I have upgraded and added that exact text to the new field and nothing has changed. To test, I even generated a new bracket and nothing other than the normal avatar and username is being displayed. I also double-checked the upgrade by doing it a second time, with no changes. In addition, I tested the function by substituting {field} for {steamid}, as per the admincp option example, but nothing happened with that either. Finally, I tried removing all text from that field (including {usertext}), but again nothing changed. This is an ongoing tournament bracket where you can see the 4.4.3 version number at the bottom, but no steam information is being displayed.

Gamelobby 05-17-2011 09:22 PM

#2 & #3 are fixed. :)

But still have the issue with #1
Quote:

Originally Posted by Gamelobby (Post 2190838)
#1 Player Image shows up as text only.?

https://vborg.vbsupport.ru/external/2011/05/31.jpg

Any idea whats causing this.?

Is it another mod that wont allow an image to show up OR is there a way to turn it off/disable it, so it doesn't show anything there.?
The info it shows in the "Player Image" is hardly worth it anyway. I mean it is mostly just a recap of other stuff already listed. So this is just a luxury that isn't worth having if it wont show easily. :)

Thanks

EasyEazy 05-18-2011 08:42 AM

Would it be possible to do multiple challenges when you challenge a member?

bananalive 05-18-2011 03:23 PM

1 Attachment(s)
Quote:

Originally Posted by TinCow1 (Post 2196746)
Many thanks, but I have upgraded and added that exact text to the new field and nothing has changed. To test, I even generated a new bracket and nothing other than the normal avatar and username is being displayed. I also double-checked the upgrade by doing it a second time, with no changes. In addition, I tested the function by substituting {field} for {steamid}, as per the admincp option example, but nothing happened with that either. Finally, I tried removing all text from that field (including {usertext}), but again nothing changed. This is an ongoing tournament bracket where you can see the 4.4.3 version number at the bottom, but no steam information is being displayed.

If you leave it blank then it'll default to {usertext}, but try this.
  1. Import attached Product File into AdminCP
  2. Edit vBulletin Options -> Tournaments and Ladders Options -> Tournaments User HTML:
    Code:

    {usertext} {steamicon}

bananalive 05-18-2011 03:33 PM

Quote:

Originally Posted by Gamelobby (Post 2196905)
#2 & #3 are fixed. :)

But still have the issue with #1

https://vborg.vbsupport.ru/attachmen...6&d=1304290889

Any idea whats causing this.?

Is it another mod that wont allow an image to show up OR is there a way to turn it off/disable it, so it doesn't show anything there.?
The info it shows in the "Player Image" is hardly worth it anyway. I mean it is mostly just a recap of other stuff already listed. So this is just a luxury that isn't worth having if it wont show easily. :)

Thanks

That's a link to the image, so that it can be placed elsewhere, e.g. in someone's signature.

The image shouldn't be displaying on the ladders page.

bananalive 05-18-2011 06:51 PM

1 Attachment(s)
Quote:

Originally Posted by EasyEazy (Post 2197082)
Would it be possible to do multiple challenges when you challenge a member?

Yes, in next version (attached)

vBulletin Options -> Tournaments and Ladders Options -> Max Ladder Challenges

TinCow1 05-18-2011 07:54 PM

Quote:

Originally Posted by bananalive (Post 2197219)
If you leave it blank then it'll default to {usertext}, but try this.
  1. Import attached Product File into AdminCP
  2. Edit vBulletin Options -> Tournaments and Ladders Options -> Tournaments User HTML:
    Code:

    {usertext} {steamicon}

That worked perfectly, thanks! I very much like this feature, as it makes matching up opponents very easy on the bracket, plus the size of the icon works well within the existing bracket fields. You can see how nice it looks on the existing tournament. I know a lot of my users will be very happy to have this feature.

I shall now commence worshiping you as promised. Many thanks for this superb mod.


All times are GMT. The time now is 11:01 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.02127 seconds
  • Memory Usage 1,767KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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