The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Need help with coding.
I'm in the process of taking on a large scale project that is hopefully going to help several fantasy wrestling hubs & hosts together. I got the idea for it after seeing iNet take over websites like Yaxay and so forth. They use a bar that links each website in their expansive network.
In fantasy wrestling there are several communities, some that have been around since prodigy some that have been around for 7-8 years, and ones like mine that have been around 2-4 years but are the most popular in the hobby. There are alot of divides between the major hubs, so in order to get rid of the gaps that exist most of the owners of these websites have agreed to partake in something similar. I started beta testing a bar but I quickly found out that it was slowing the forums down (both vBulletin & InvisionPB) as well as messing with the forums sessions. I will list the code below that is being used to call the bar, what is the PHP file, and waht the content of the include file is. If you could possibly help me figure out why it' s slowing websites down and messing with forum sessions it would be appreciated. What I mean by messing with the sessions, it rarely shows if someone is browsing anything past the Main Index (on vBulletin & InvisionPB). When I remove the call code for the bar things go back to normal so I know it's a problem with the bar. Keep in mind the bar is being called from a different domain on a completely different server. This is how it has to be because there are several websites involved that aren't on the same server, such is life. It would be so much easier if we were all on the same server but that will never happen. Code calling the neXus bar This is the easiest way for me to distribute the bar across several platforms. Not everyones website is made using PHP so I had to come up with a decent solution. COuld the javascript be causing the problem maybe? ID is a variable that represents the website the bar is being called from. IN the future statistics will be collected for each website. HTML Code:
<!-- BEGIN EWNEXUS.COM NETWORK BAR --> <script language="JavaScript1.2" type="text/javascript"> <!-- document.write ("<" + "script language='JavaScript' type='text/javascript' src='http://www.ewnexus.com/x-files/bar.php?id=ewp'><" + "/script>"); // --> </script> <!-- END EWNEXUS.COM NETWORK BAR --> Script calling the bar HTML and outputting it PHP Code:
Include file that bar.php grabs. A basic template file for the bar HTML. HTML Code:
<link rel="stylesheet" type="text/css" href="http://www.ewnexus.com/x-files/bar.css"> <table width="100%" height="32" cellpadding="0" cellspacing="0" background="http://www.ewnexus.com/x-imgs/bar/bg.gif"> <tr valign="middle"> <td><img src="http://www.ewnexus.com/x-imgs/bar/logo.gif"" width="147" height="32"></td> <td align="right"> <table cellpadding="0" cellspacing="0"> <tr> <td><img src="http://www.ewnexus.com/x-imgs/bar/divider.gif" width="5" height="32" hspace="0" vspace="0"></td> <td class="xmenu"> <form name="menu"> <select name="bar"" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO" class="xdestination"> <option selected class="xtitle">-- Hubs</option> <option value="http://www.ewplanet.com" class="xsite">eWPlanet</option> <option value="http://www.primetimecentral.com" class="xsite">Primetime Central</option> </select> <form/> </td> <td><img src="http://www.ewnexus.com/x-imgs/bar/divider.gif" width="5" height="32" hspace="0" vspace="0"></td> <td class="xmenu"> <form name="menu"> <select name="bar"" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO" class="xdestination"> <option selected class="xtitle">-- Hosts</option> <option value="http://www.ewplanet.com" class="xsite">TPNHosting.com</option> <option value="http://www.primetimecentral.com" class="xsite">eWrestle.net</option> </select> <form/> </td> </tr> </table> <td></td> </tr> <tr> <td height="1" bgcolor="#000000"><img src="" height="1"></td> </tr> </table> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|