2011-12-31, 10:39 PM
Hi,
My site is www.vampirecounts.net
Recently someone was working on a modification on my test site, which would insert a random quote generator, which would display on every page. Highlighted in red in the below pic:
[attachment=25189]
The problem was is that whilst he did 99% of it, he then disappeared and I am unsure what I need to do to copy this function over to my live site - unfortunately I am not very technical.
Hence why I have come to here for help!
Here is what I have found so far:
Inserted into header template:
Two templates inserted into Global Templates:
quotes
quotes_alt
Finally in the jscript folder for this theme I found a quotes.js, which includes a sampling of the quotes I need.
I understand I will need to copy the new templates / template changes and js file over to the live site. However I am having trouble tracing:
{$mybb->settings['quotestext']}
<td class="trow1">{$showrandomquotes}</td>
I assume they refer to other changes elsewhere, but I can't figure out where
Also, the collapse button on the right does not work, so any suggestions on how to make that work would be appreciated.
Thanks for much for any help.
My site is www.vampirecounts.net
Recently someone was working on a modification on my test site, which would insert a random quote generator, which would display on every page. Highlighted in red in the below pic:
[attachment=25189]
The problem was is that whilst he did 99% of it, he then disappeared and I am unsure what I need to do to copy this function over to my live site - unfortunately I am not very technical.
Hence why I have come to here for help!
Here is what I have found so far:
Inserted into header template:
<div class="tborder">
<div class="thead">
<strong>Quotes</strong>
<div class="expcolimage">
<img src="images/carpe-noctem/collapse.gif" id="quotes_col" class="expander" alt="[-]" title="[-]" style="cursor: pointer; ">
</div>
</div>
<p id="quotes"></p>
</div>
<br />
Two templates inserted into Global Templates:
quotes
<div style="background-color: #101010; color: #848484; border-top: 1px solid #525252; border-bottom: 1px solid #525252; border-left: 1px solid #525252; border-right: 1px solid #525252; text-align: center; margin: 10px auto; padding: 5px 20px">
<strong>{$mybb->settings['quotestext']}</strong><br />
{$showrandomquotes}
</div>
quotes_alt
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quotes']}.gif" id="quotes_img" class="expander" alt="[-]" /></div><div><strong>{$mybb->settings['quotestext']}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['quotes_e']}" id="quotes_e">
<tr>
<td class="trow1">{$showrandomquotes}</td>
</tr>
</tbody>
</table>
<br/>
Finally in the jscript folder for this theme I found a quotes.js, which includes a sampling of the quotes I need.
I understand I will need to copy the new templates / template changes and js file over to the live site. However I am having trouble tracing:
{$mybb->settings['quotestext']}
<td class="trow1">{$showrandomquotes}</td>
I assume they refer to other changes elsewhere, but I can't figure out where
Also, the collapse button on the right does not work, so any suggestions on how to make that work would be appreciated.
Thanks for much for any help.