PDA

View Full Version : Blasted copyright.


Titus
27 Apr 2005, 06:14
I'm working on a skin for my board, and I've got one really irksome problem. I can't find the dang copyright for vbIndex. It appears on the pages as it should, but it appears below a border I have placed around all my content. This means it is seperated by about ten pixels of space from the Jelsoft copyright. I want the vbIndex copyright inline with the Jelsoft copyright, so I have three nice, neat lines in one place, not two lines, thick border, out-of-place copyright.

I've searched the phrases, searched the templates, and scanned the index.php file, but I can't find where the copyright is generated! How do I move it?

mholtum
27 Apr 2005, 07:43
footer?

Titus
29 Apr 2005, 04:20
You mean the template VBINDEX_footer? I've already completly re-coded it. The vbIndex copyright isn't template controlled. I've attached an image that displays the problem. My footer ends with that black border, there is no vbindex copyright code in the footer template.

What I want to do is move the copyright up with the Jelsoft copyright so everything is uniform, neat and clean, tidey and tight.

Updated image, same problem. I added a footer image to hold the copyright for vB, and now I'd like to put the vbIndex copyright underneath the footer links (contact, admin, mod, etc).

Adrian Schneider
29 Apr 2005, 05:56
Try viewing source, that might give you a better idea. Or search in phrases / templates for those words. :)

Titus
30 Apr 2005, 01:21
Last lines in my vbindex_footer template:
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="right"><img style="position:relative;top:15px;left:15px;" src="http://therebelfaction.com/forums/images/portal/misc/footer.gif" alt="$vbphrase[powered_by_vbulletin]"></td>
</tr>
</table>

</td>
</tr>
</table>
When viewing the source, this is the last few lines.
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="right"><img style="position:relative;top:15px;left:15px;" src="http://therebelfaction.com/forums/images/portal/misc/footer.gif" alt="TRF is powered by vBulletin, which is &copy;2000 - 2005, Jelsoft Enterprises Ltd.<br>All text herein is &copy;2002 - 2005 by TRF and its members. Star Wars is &copy; Lucasarts Ltd."></td>
</tr>
</table>

</td>

</tr>
</table>
<div class="smallfont" style="text-align: center">vBindex Copyright &copy; MMII - MMIV Winter Systems.</div>
</body>
</html>
Last few lines of my VBINDEX template:
<!-- end main col -->
</tr>
</table>

$home[footer]
</body>
</html>
A search in the templates for 'MMIV Winter Systems' yeilds 0 results. A search in the phrase manager for 'MMIV Winter Systems' yeilds 0 results. Yesterday it yielded 1 result, but I replaced the text with a line break only in an attempt to see if that was what was being called. It wasn't, because I still have the problem.

Zachery
30 Apr 2005, 01:34
Last lines in my vbindex_footer template:
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="right"><img style="position:relative;top:15px;left:15px;" src="http://therebelfaction.com/forums/images/portal/misc/footer.gif" alt="$vbphrase[powered_by_vbulletin]"></td>
</tr>
</table>

</td>
</tr>
</table>
When viewing the source, this is the last few lines.
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="right"><img style="position:relative;top:15px;left:15px;" src="http://therebelfaction.com/forums/images/portal/misc/footer.gif" alt="TRF is powered by vBulletin, which is &copy;2000 - 2005, Jelsoft Enterprises Ltd.<br>All text herein is &copy;2002 - 2005 by TRF and its members. Star Wars is &copy; Lucasarts Ltd."></td>
</tr>
</table>

</td>

</tr>
</table>
<div class="smallfont" style="text-align: center">vBindex Copyright &copy; MMII - MMIV Winter Systems.</div>
</body>
</html>
Last few lines of my VBINDEX template:
<!-- end main col -->
</tr>
</table>

$home[footer]
</body>
</html>
A search in the templates for 'MMIV Winter Systems' yeilds 0 results. A search in the phrase manager for 'MMIV Winter Systems' yeilds 0 results. Yesterday it yielded 1 result, but I replaced the text with a line break only in an attempt to see if that was what was being called. It wasn't, because I still have the problem.
Chances are its in the file

Titus
30 Apr 2005, 04:23
That's what I'm thinking. Except I'm not good enough at hacking php to be able to tell what code could be an obfuscated bit of text generation. I've scanned over the file a couple times already, and tried removing stuff, but nothing has worked so far.

Adrian Schneider
30 Apr 2005, 05:10
Try doing a search for "$home[footer]" or "footer" in the PHP file.

Chris M
03 May 2005, 18:43
The vBindex copyright is to be found in the vbi_copyright phrase :)

Satan

Titus
05 May 2005, 04:14
Search Results
vBindex Phrases Containing 'vbi_copyright'
vbi_copyright Custom Phrase &nbsp;
I've already found that, and removed the text. No change, the copyright is still being displayed.

BluPhoenix
05 May 2005, 09:45
in vbindex.php find:
$vbphrase['copyright'] = construct_phrase($vbphrase['vbi_copyright'], $vboptions['templateversion'], $vbindex['version']);

Titus
06 May 2005, 05:14
I did a search in my vbindex file, and I couldn't find that string, nor any instance of 'vbi_copyright' or '$vboptions['templateversion']'. I may have already removed it.

Chris M
06 May 2005, 10:35
I've already found that, and removed the text. No change, the copyright is still being displayed.
The contents of the vbi_copyright phrase:

Powered by: vBulletin Version {1} &amp; vBindex Version {2}<br />
vBulletin Copyright &copy; MM - MMIV Jelsoft Enterprises Ltd.<br />
vBindex Copyright &copy; MMII - MMIV Winter Systems.
The part that you are looking to move is:
<br />vBindex Copyright &copy; MMII - MMIV Winter Systems.
If you remove the <br /> tag your vBindex copyright will be inline with the Jelsoft copyright ;)

Satan

Titus
07 May 2005, 04:28
That's the thing though, my vbi_copyright phrase consists entirly of
&nbsp;.

moments later...

I just deleted the phrase vbi_copyright from my database. However, the copyright is still being displayed at the very bottom of the page, as shown above.

Edit: Just want to say thanks for the help. I tend to come off as being short and a bit brisk. I don't intend to be, I'm just a bit ticked at this problem.

Chris M
10 May 2005, 19:42
That's the thing though, my vbi_copyright phrase consists entirly of
&nbsp;.

moments later...

I just deleted the phrase vbi_copyright from my database. However, the copyright is still being displayed at the very bottom of the page, as shown above.

Edit: Just want to say thanks for the help. I tend to come off as being short and a bit brisk. I don't intend to be, I'm just a bit ticked at this problem.
You might want to check your main vBulletin footer as well, as that may be the actual cause of the problem, not the phrase above ;)

Satan

Titus
31 May 2005, 00:16
No luck with that either. I didn't want to resort to a sloppy hack such as this, but... I fixed the problem by adding, to the very bottom of my vbindex_footer template, an open-ended div with its display property set to none. It fixes the problem, but doesn't make me feel warm and fuzzy.