Ah...you guys are ALL going to love me!!!
Found out the issue.
The following instructions will achieve the following:
- Compatible with the latest version of vBulletin. (3.7 Gold)
- Add a link to the bottom of the module, on the right side, allowing you to go to the full page of your vBIspy.
- Includes corrected issues for Opera.
- Includes Corrected code to get rid of double boxes, by keyhunters. NOW, also corrected for Opera.
STEP ONE:
Open va_spy.js and find:
Replace it with this: (replacing what's in red with the directory of your forums)
Code:
var vburl = '/forum/';
STEP TWO:
1. Login to your vb-cp
2. Under vba cmps click "add module"
3. Select "Template"
4. Fill in module title, can be anything
5. Fill in template to include: adv_portal_vBiSpy
6. Select style you want to install.
7. Paste the following in template content, replacing what's in
RED (4 Instances) with your information:
Code:
<tr>
<td class="$bgclass">
<if condition="is_browser('opera')">
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<a href="ENTER FULL URL/vaispy.php"></a>
<tr align="center"><td class="thead" width="20"> </td><td class="thead" width="190">By</td><td class="thead">Thread/Post</td><td class="thead" width="190">Forum</td></tr>
</thead>
<tr><td colspan="4" class="alt1">
<div id="row1" style="display:none;"></div>
<div id="row2" style="display:none;"></div>
<div id="row3" style="display:none;"></div>
<div id="row4" style="display:none;"></div>
<div id="row5" style="display:none;"></div>
<div id="row6" style="display:none;"></div>
<div id="row7" style="display:none;"></div>
<div id="row8" style="display:none;"></div>
<div id="row9" style="display:none;"></div>
<div id="row10" style="display:none;"></div>
</td></tr>
<td class="thead" colspan="2" align="left"><input type="checkbox" id="subscribe" value="1" /> Click for subscribed threads only!</td><td class="thead" colspan="2" align="right"><a href="ENTER FULL URL/vaispy.php">Click here to view Full Page</a></td>
</table>
<else />
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<a href="ENTER FULL URL/vaispy.php"></a>
<tr align="center"><td class="thead" width="20"> </td><td class="thead" width="190">By</td><td class="thead">Thread/Post</td><td class="thead" width="190">Forum</td></tr>
</thead>
<tbody class="alt1">
<tr id="row1"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
<tr id="row2"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
<tr id="row3"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
<tr id="row4"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
<tr id="row5"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
<tr id="row6"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
<tr id="row7"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
<tr id="row8"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
<tr id="row9"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
<tr id="row10" class="spyfade4"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr>
</tbody>
<td class="thead" colspan="2" align="left"><input type="checkbox" id="subscribe" value="1" /> Click for subscribed threads only!</td><td class="thead" colspan="2" align="right"><a href="ENTER FULL URL/vaispy.php">Click here to view Full Page</a></td>
</table>
</if>
</td>
</tr>
STEP THREE:
Open adv_portal template and find this:
add below: (Replacing what's in red with your information)
Code:
<script language="javascript" src="ENTER FULL URL/clientscript/va_prototype.js"></script>
<script language="javascript" src="ENTER FULL URL/clientscript/va_effects.js"></script>
<script language="javascript" src="ENTER FULL URL/clientscript/va_spy.js"></script>
<script language="javascript">
spymax = 10;
highestid = 0;
</script>
Find:
Add Below:
Code:
<script language="javascript">
spyinit();
</script>
Almost every time I have an issue with something not working on a vbadvanced script I have to enter the full url. I tried it on this, and voila!!
I am using vBAdvanced 3.0.1 and vBulletin 3.7.0 Gold