Great hack,
I didn't want to have the large quote block at the top of every page and the Vbadvanced module you posted was a complete mess. No offence. It might be the diff between 3.5.2 and 3.5.3 but I started with a fresh 3.5.3 board yesterday and it simple destroyed the pages.
Anyway long story short, I disassemble the large block and created a sideblock module. It's not the prettiest thing and the code is messy but it works for me.
Using quote_randomquote and if anyone wants to do this here is how I broke it down:
PHP Code:
<tr colspan="2" ><td class="alt1">
<a href="$vboptions[bburl]/quotes.php?do=addquote">$vbphrase[add_a_quote]</a><br />
<a href="$vboptions[bburl]/quotes.php?do=list">$vbphrase[view_all_quotes]</a>
</td></tr>
<tr><td class="alt1">
<a style="float:$stylevar[left];" href="$vboptions[bburl]/quotes.php?do=view"eid=$randomquote[quoteid]">#$randomquote[quoteid]</a> : $randomquote[author] <p>"$randomquote[quote]"</p>
<p style="font-weight:bold;margin-left:25%;">- <if condition="$randomquote[context]"> ($randomquote[context])</if></p>
<if condition="$vbulletin->options[ratequote]==3">
$vbphrase[total_rating]: $randomquote[rating] - $vbphrase[average]: $randomquote[average]
<br />
</if>
<if condition="$vbulletin->options[ratequote]==1">
<br /> <style="float:$stylevar[left];">$vbphrase[total_rating]: $randomquote[rating] - $vbphrase[average]: $randomquote[average]</style>
<br />$vbphrase[rate_this_quote]:
<form name="rateplus" action="$vboptions[bburl]/quotes.php">
<input type="hidden" name="do" id="do" value="rate" />
<input type="hidden" name="quoteid" id="quoteid" value="$randomquote[quoteid]" />
<input type="hidden" name="vote" id="vote" value="plus" />
<input type="submit" value="+" class="vote" />
</form>
<form name="rateminus" action="$vboptions[bburl]/quotes.php">
<input type="hidden" name="do" id="do" value="rate" />
<input type="hidden" name="quoteid" id="quoteid" value="$randomquote[quoteid]" />
<input type="hidden" name="vote" id="vote" value="minus" />
<input type="submit" value="-" class="vote" /></form>
<br />
</if>
<if condition="$vbulletin->options[ratequote]==2">
<br />
$vbphrase[total_rating]: $randomquote[rating] - $vbphrase[average]: $randomquote[average]
<br />$vbphrase[rate_this_quote]:</style>
<form name="voting" id="voting" action="$vboptions[bburl]/quotes.php">
<input type="hidden" name="do" id="do" value="rate" />
<input type="hidden" name="quoteid" id="quoteid" value="$randomquote[quoteid]" />
<select name="vote" id="vote" onchange="document.voting.submit();">
<option value=""></option>
<option value="1"> 1 </option>
<option value="2"> 2 </option>
<option value="3"> 3 </option>
<option value="4"> 4 </option>
<option value="5"> 5 </option>
</select>
</form>
</td></tr>
</if>
<if condition="$vbulletin->userinfo['permissions']['adminpermissions']">
<tr><td class="alt1">
<a href="$vboptions[bburl]/quotes.php?do=delquote"eid=$randomquote[quoteid]">$vbphrase[delete_this_quote]</a>
<br />
<a href="$vboptions[bburl]/quotes.php?do=editquote"eid=$randomquote[quoteid]">$vbphrase[edit_this_quote]</a>
</td></tr>
</if>
That is the whole template minus a bunch of tds. The if statements are all intact and I switch the Phrases to suit my purpose as you will see in the attached screen shot. I moved the author to the top beside the Quote # and will use it as a title. I'll use the context as author or a link. Still have some touchups to do.
Cheers Jaks