2015-08-30, 07:18 AM
I wanted to make a "link" to automatically connect to my gmod server once clicked. The link to my website is here, defiantgaming.co and I will post the area of the code. As well as it is on a tab on the right side saying Defiant Gaming PurgeRP: with the link so you know which one. As well as the ts if you could. Thank you.
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body id="forums">
{$header}
{$dvz_shoutbox}
<div class="side" style="float: right; width: 23%">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><strong>Servers</strong></div>
</td>
</tr>
<tr>
<td class="trow1">
Teamspeak: dfgts3.ts3.nfoservers.com
</td>
</tr>
<tr>
<td class="trow2">
Defiant Gaming PurgeRP: 74.91.118.195:27015
</td>
</tr>
</table>
<br />
<script type="text/javascript">
jQuery(function(){
jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
});
</script>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><strong>Latest activity</strong></div>
</td>
</tr>
<tr>
<td class="trow1">
<div class="latestthreads float_left"></div>
</td>
</tr>
</table>
<br />
</div>
<div class="forum" style="float: left; width: 76%;">{$forums}</div>
{$boardstats}
<br class="clear" />
{$footer}
</body>
</html>
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body id="forums">
{$header}
{$dvz_shoutbox}
<div class="side" style="float: right; width: 23%">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><strong>Servers</strong></div>
</td>
</tr>
<tr>
<td class="trow1">
Teamspeak: dfgts3.ts3.nfoservers.com
</td>
</tr>
<tr>
<td class="trow2">
Defiant Gaming PurgeRP: 74.91.118.195:27015
</td>
</tr>
</table>
<br />
<script type="text/javascript">
jQuery(function(){
jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
});
</script>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><strong>Latest activity</strong></div>
</td>
</tr>
<tr>
<td class="trow1">
<div class="latestthreads float_left"></div>
</td>
</tr>
</table>
<br />
</div>
<div class="forum" style="float: left; width: 76%;">{$forums}</div>
{$boardstats}
<br class="clear" />
{$footer}
</body>
</html>