Home | Webstore
Latest News: OOTP 26 Available - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Out of the Park Baseball 19 > OOTP 19 - General Discussions

OOTP 19 - General Discussions Everything about the 2018 version of Out of the Park Baseball - officially licensed by MLB.com and the MLBPA.

Reply
 
Thread Tools
Old 03-19-2018, 09:17 AM   #1
Rosco Peabody
All Star Starter
 
Rosco Peabody's Avatar
 
Join Date: Jun 2013
Location: South of Boston, Massachusetts
Posts: 1,092
Random Coding Question

For someone that knows a bit about the coding...

I've noticed in the history editor that a player or team is often referenced with this long string that looks like

<a href="../teams/team_23.html">Boston Red Sox</a>

but sometimes it simply looks like this:

<Boston Red Sox:team#23>

Is there any difference to the way this is coded if both still become hyperlinks (if that's the correct term) that will both bring you to the right place?
Rosco Peabody is offline   Reply With Quote
Old 03-19-2018, 09:24 AM   #2
Matt Arnold
OOTP Developer
 
Matt Arnold's Avatar
 
Join Date: Jun 2009
Location: Here and there
Posts: 15,908
The <a href> are for external hyperlinks, so that an html browser can navigate them correctly.

The other version are internal links that our system can use to browse within the game.

Basically, it will be one or the other depending if you're viewing things in a browser or in-game.
Matt Arnold is offline   Reply With Quote
Old 03-19-2018, 10:40 AM   #3
Rosco Peabody
All Star Starter
 
Rosco Peabody's Avatar
 
Join Date: Jun 2013
Location: South of Boston, Massachusetts
Posts: 1,092
Okay thanks, makes sense! Although I feel like in a player's history, it always uses the <a href> one even though it only leads you to an internal screen.

Either way, doesn't matter to me. Whenever I'm creating links in my game, I use the shorter one and I just wanted to make sure I wasn't missing something I should have.
Rosco Peabody is offline   Reply With Quote
Old 03-19-2018, 10:46 AM   #4
Matt Arnold
OOTP Developer
 
Matt Arnold's Avatar
 
Join Date: Jun 2009
Location: Here and there
Posts: 15,908
Quote:
Originally Posted by Rosco Peabody View Post
Okay thanks, makes sense! Although I feel like in a player's history, it always uses the <a href> one even though it only leads you to an internal screen.

Either way, doesn't matter to me. Whenever I'm creating links in my game, I use the shorter one and I just wanted to make sure I wasn't missing something I should have.
Use whichever one works We do have some internal stuff where we'll convert between them if we notice the wrong ones. The 2nd type you mentioned is mostly used for the in-game mail messages, so basically anything outside of that I believe can use the other version.
Matt Arnold is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:59 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments