Post by h4mmy on Dec 31, 2012 8:34:34 GMT -8
Hi,
I created my own gallery in V4 - all my own work. You can see it here: mx5driver.com/index.cgi?page=gallery
I have a V5 test board. Not only will this not work (it is just basic css/html/java), but accessing it from the menu bar (just a global header simple mod) will not work either.
Here is the simple code for the gallery: The bits in red are just repeated for each picture/profile
<div id="gallery" style="display: none;">
<table align="center" class="none" cellpadding="4" cellspacing="4">
<tr>
<td class="windowbg">
<center>
<br>
To
add your car to the Gallery <a
href="http://mx5driver.com/index.cgi?board=yourmx5&action=display&thread=523&page=1">
Click Here</a>
<br>
<br>
<br>
<b>MX5DRIVER CARS</b>
<br>
Click thumbnails to get full image <i>(opens in new window)</i>
<br>
<br>
<!DOCTYPE html>
<html>
<head>
<style>
div.img
{
margin: 5px;
border: 1px solid #cacaca;
height: 290;
width: auto;
float: left;
text-align: center;
background-image: url('http://i14./a337/i-j-c/WallpaperGallery3.jpg');
box-shadow: 5px 5px 8px #888888;
}
div.img img
{
display: inline;
margin: 3px;
border: 1px solid #ffffff;
box-shadow: 2px 2px 2px #888888;
}
div.img a:hover img {border: 3px solid #c1c1c1;}
div.desc
{
text-align: center;
font-weight: normal;
width: 120px;
margin: 2px;
}
</style>
</head>
<body>
<div class="img">
<a
target="_blank"
href="http://i1098./g373/TaffEunos/Prescott%202012/MX5160912Shireen-9254_zps7a0c0c89.jpg">
<img
src="http://i1098./g373/TaffEunos/Prescott%202012/MX5160912Shireen-9254_zps7a0c0c89.jpg"
alt="MX5DRIVER CAR" width="110" height="90"></a>
<div class="desc">
MX5DRIVER Username: Dr. Eunos<br>
MK: NA Eunos Roadster R2-Ltd 1996
Colour: Chaste White
Engine Size: 1840cc
Standard or Modified: Slightly (JRSC)
Interior Colour: Original R2-Ltd Red
Seats - Leather</div><br>
</div>
<div class="img">
<a
target="_blank"
href="http://i305./nn218/nickbutlerbucket/IMG_0822.jpg"><img
src="http://i305./nn218/nickbutlerbucket/IMG_0822.jpg"
alt="MX5DRIVER CAR" width="110" height="90"></a>
<div class="desc">
MX5DRIVER Username: The Captain<br>
MK:1
Colour:BRG
Engine Size:1.6
Standard or Modified:Modified
Interior Colour:Tan/Black
Seats - Leather</div><br>
</div>
</body>
</html>
</tr>
</table>
</div>
<script type="text/javascript">
<!--
/* basic gallery */
if((location.href.match(/\.cnet\/?(index.cgi)?\??$/)
&& !document.referrer.match(location.href.split(/\./)[0])) ||
location.href.match(/page=gallery/)) {
document.getElementsByTagName('table').item(2).style.display = "";
document.write(document.getElementById('gallery').innerHTML);
document.write('<div style="display: none;">');
} else {
document.getElementsByTagName('td').item(5).innerHTML += '<a href="?page=gallery" target="_blank"></a>';
}
//-->
So if anyone has any ideas how to make this work similar in V5 I would greatly appreciate it. If not, I will just have to scrap the forum and use and unfortunately pay for something from vbulletin or similar.
Unfortunately I have similar pages and also simple paypal page, that also will not work in V5
Here: mx5driver.com/index.cgi?page=springmeet
and
Here: mx5driver.com/index.cgi?page=portal
I created my own gallery in V4 - all my own work. You can see it here: mx5driver.com/index.cgi?page=gallery
I have a V5 test board. Not only will this not work (it is just basic css/html/java), but accessing it from the menu bar (just a global header simple mod) will not work either.
Here is the simple code for the gallery: The bits in red are just repeated for each picture/profile
<div id="gallery" style="display: none;">
<table align="center" class="none" cellpadding="4" cellspacing="4">
<tr>
<td class="windowbg">
<center>
<br>
To
add your car to the Gallery <a
href="http://mx5driver.com/index.cgi?board=yourmx5&action=display&thread=523&page=1">
Click Here</a>
<br>
<br>
<br>
<b>MX5DRIVER CARS</b>
<br>
Click thumbnails to get full image <i>(opens in new window)</i>
<br>
<br>
<!DOCTYPE html>
<html>
<head>
<style>
div.img
{
margin: 5px;
border: 1px solid #cacaca;
height: 290;
width: auto;
float: left;
text-align: center;
background-image: url('http://i14./a337/i-j-c/WallpaperGallery3.jpg');
box-shadow: 5px 5px 8px #888888;
}
div.img img
{
display: inline;
margin: 3px;
border: 1px solid #ffffff;
box-shadow: 2px 2px 2px #888888;
}
div.img a:hover img {border: 3px solid #c1c1c1;}
div.desc
{
text-align: center;
font-weight: normal;
width: 120px;
margin: 2px;
}
</style>
</head>
<body>
<div class="img">
<a
target="_blank"
href="http://i1098./g373/TaffEunos/Prescott%202012/MX5160912Shireen-9254_zps7a0c0c89.jpg">
<img
src="http://i1098./g373/TaffEunos/Prescott%202012/MX5160912Shireen-9254_zps7a0c0c89.jpg"
alt="MX5DRIVER CAR" width="110" height="90"></a>
<div class="desc">
MX5DRIVER Username: Dr. Eunos<br>
MK: NA Eunos Roadster R2-Ltd 1996
Colour: Chaste White
Engine Size: 1840cc
Standard or Modified: Slightly (JRSC)
Interior Colour: Original R2-Ltd Red
Seats - Leather</div><br>
</div>
<div class="img">
<a
target="_blank"
href="http://i305./nn218/nickbutlerbucket/IMG_0822.jpg"><img
src="http://i305./nn218/nickbutlerbucket/IMG_0822.jpg"
alt="MX5DRIVER CAR" width="110" height="90"></a>
<div class="desc">
MX5DRIVER Username: The Captain<br>
MK:1
Colour:BRG
Engine Size:1.6
Standard or Modified:Modified
Interior Colour:Tan/Black
Seats - Leather</div><br>
</div>
</body>
</html>
</tr>
</table>
</div>
<script type="text/javascript">
<!--
/* basic gallery */
if((location.href.match(/\.cnet\/?(index.cgi)?\??$/)
&& !document.referrer.match(location.href.split(/\./)[0])) ||
location.href.match(/page=gallery/)) {
document.getElementsByTagName('table').item(2).style.display = "";
document.write(document.getElementById('gallery').innerHTML);
document.write('<div style="display: none;">');
} else {
document.getElementsByTagName('td').item(5).innerHTML += '<a href="?page=gallery" target="_blank"></a>';
}
//-->
So if anyone has any ideas how to make this work similar in V5 I would greatly appreciate it. If not, I will just have to scrap the forum and use and unfortunately pay for something from vbulletin or similar.
Unfortunately I have similar pages and also simple paypal page, that also will not work in V5
Here: mx5driver.com/index.cgi?page=springmeet
and
Here: mx5driver.com/index.cgi?page=portal