for those that are not using the TM hack.
there are two more template edits that wasn't in the original read me files and this is needed to have the ajax feature to work without the redirect message for the install and uninstall feature ,and also the paypal feature too to enter the amount.
================================================== ======================
showthread template:
find: <head>
Underneath add:
<!-- Hack System -->
<script type="text/javascript">
<!--
var bottomdiv_installed = '$vbphrase[modsystem_mark_installed]';
var bottomdiv_uninstalled = '$vbphrase[modsystem_mark_uninstalled]';
var bottomdiv_to_receive = '$vbphrase[modsystem_mod_to_reveive]';
var nombottomDiv_nominate_a = '$vbphrase[modsystem_nom_nominate_a]';
var nombottomDiv_nominate_b = '$vbphrase[modsystem_nom_nominate_b]';
var nombottomDiv_unnominate_a = '$vbphrase[modsystem_nom_unnominate_a]';
var nombottomDiv_unnominate_b = '$vbphrase[modsystem_nom_unnominate_b]';
var nomsideDiv_nominate = '$vbphrase[modsystem_nominate_motm]';
var nomsideDiv_nominate_clear = '$vbphrase[modsystem_nominate_motm_clear]';
var threadInstalled_installed = '$vbphrase[modsystem_thread_installed]';
var threadInstalled_uninstalled = '$vbphrase[modsystem_thread_uninstalled]';
script = "showthread";
userid = "$developer";
forumid = "$thread[forumid]";
threadid = "$thread[threadid]";
authorid = "$developer";
// -->
</script>
<script type="text/javascript" src="clientscript/modsystem_miscactions.js?v=$vboptions[simpleversion]"></script>
<!-- /Hack System -->
Find: <!-- / popup menu contents -->
add above:
<!-- donate menu -->
<div class="vbmenu_popup" id="moddonate_menu" style="display:none">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="$paypal_email" />
<input type="hidden" name="page_style" value="$paypal_style" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="shipping" value="0.00" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="return" value="$vboptions[bburl]/showthread.php?t=$thread[threadid]" />
<input type="hidden" name="cancel_return" value="$vboptions[bburl]/showthread.php?t=$thread[threadid]" />
<input type="hidden" name="tax" value="0" />
<input type="hidden" name="item_name" value="$paypal_title" />
<input type="hidden" name="on0" value="From" />
<input type="hidden" name="os0" value="$developer ($threadid) / Postid: $paypal_postid / $vboptions[bburl]/" />
<input type="hidden" name="on1" value="Message" />
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[modsystem_donate_via_paypal]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">$vbphrase[modsystem_amount]:
<input id="amount" size="10" maxlength="16" name="amount" value="$paypal_amount" type="text" title="$vbphrase[modsystem_amount]" style="width:40px" class="button" /><select name="currency_code" title="$vbphrase[modsystem_usercp_donate_currency]">
<option value="USD"$pp_sel[0]>$vbphrase[modsystem_usercp_donate_currency_USD]</option>
<option value="AUD"$pp_sel[1]>$vbphrase[modsystem_usercp_donate_currency_AUD]</option>
<option value="CAD"$pp_sel[2]>$vbphrase[modsystem_usercp_donate_currency_CAD]</option>
<option value="EUR"$pp_sel[3]>$vbphrase[modsystem_usercp_donate_currency_EUR]</option>
<option value="GBP"$pp_sel[4]>$vbphrase[modsystem_usercp_donate_currency_GBP]</option>
<option value="JPY"$pp_sel[5]>$vbphrase[modsystem_usercp_donate_currency_JPY]</option></select></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="left">$vbphrase[modsystem_short_message]:<br /><textarea class="button" name="os1" maxlength="200" rows="2" cols="15" style="width: 98%; overflow: auto" title="$vbphrase[modsystem_short_message]"></textarea>
<div align="center"><input class="button" name="submit" value="$vbphrase[modsystem_donate_now]" type="submit" /></div></td>
</tr>
</table>
</form>
</div>
<!-- / donate menu -->
hope this helps the screen shot works fine on my board and the cache issue i resolved my own way, good luck!!!!!!!!
|