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)

bananalive 09-24-2008 04:06 PM

The next version is coming out very soon, just adding side menu to it.


--------------------------------------------------------------


Quote:

Originally Posted by john102774 (Post 1629327)
One more questions. The score rounds it self to a nearest whole number. How can I prevent this from happening if a user has a time score of 10:02.834?

Open tournament.php find:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_UINT);
Replace with:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_INT);
If that still doesnt work:

Open tournament.php find:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_INT);
Replace with:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_STR);

john102774 09-24-2008 04:21 PM

Quote:

Originally Posted by bananalive (Post 1629355)
The next version is coming out very soon, just adding side menu to it.


--------------------------------------------------------------



Open tournament.php find:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_UINT);
Replace with:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_INT);
If that still doesnt work:

Open tournament.php find:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_INT);
Replace with:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_STR);

I tried both edits you mentioned. Still does not seem to work. :o

This might be a challenge... hmmm..

bananalive 09-24-2008 04:26 PM

Quote:

Originally Posted by john102774 (Post 1629371)
I tried both edits you mentioned. Still does not seem to work. :o

This might be a challenge... hmmm..

Did you try inputting new score with file edits? (It wont alter the score already inputted only what is allowed to be stored in database)

john102774 09-24-2008 04:29 PM

Quote:

Originally Posted by bananalive (Post 1629378)
Did you try inputting new score with file edits?

Yes sir. :)

AK47 Nemesis 09-24-2008 04:59 PM

1 Attachment(s)
I found something, although this is something from outside the addon.

Basicly i have this news slider on the frontpage of my site (1st screen). This takes images from specified forums (In this case: News and Announcements). However, when i go to Tournaments, 1 of the slides shows up above the tournaments (2nd screen). Does this addon pulls stuff from other templates which might affect this?

bananalive 09-24-2008 05:13 PM

1 Attachment(s)
Quote:

Originally Posted by john102774 (Post 1629380)
Yes sir. :)

Sorry i forgot to change the database. Import attached product and it should work (fingers crossed)
Quote:

Originally Posted by AK47 Nemesis (Post 1629390)
I found something, although this is something from outside the addon.

Basicly i have this news slider on the frontpage of my site (1st screen). This takes images from specified forums (In this case: News and Announcements). However, when i go to Tournaments, 1 of the slides shows up above the tournaments (2nd screen). Does this addon pulls stuff from other templates which might affect this?

Someone had problem like this before and they resolved it by reverting their Forum Tournament templates.

AK47 Nemesis 09-24-2008 05:16 PM

Quote:

Originally Posted by bananalive (Post 1629399)
Someone had problem like this before and they resolved it by reverting their Forum Tournament templates.

I can't revert them as i haven't modified them. But i don't understand why it would appear there in the first place. I'll just go and try some stuff, hoping i can get it to make it disappear.

EDIT: What does $html do?

bananalive 09-24-2008 05:24 PM

Quote:

Originally Posted by AK47 Nemesis (Post 1629403)
I can't revert them as i haven't modified them. But i don't understand why it would appear there in the first place. I'll just go and try some stuff, hoping i can get it to make it disappear.

EDIT: What does $html do?

Oh ok, it shouldn't appear. What is the product hack which is causing the issues (I'll have a look for conflicts as well)

$html is the variable containing all the page data before it gets parsed

john102774 09-24-2008 05:28 PM

wooohoooo!!!!!!!!!!!

It works!!!

Bananalive for Presidente!!!

Thank you. :D

john102774 09-24-2008 05:37 PM

How can I change the Tournament Results titling "Score" to something else like "Lap Time"?


All times are GMT. The time now is 02:59 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.02547 seconds
  • Memory Usage 1,750KB
  • 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
  • (8)bbcode_code_printable
  • (8)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