Forums Index > Mewsoft > Minor Updates and bug fixes > Classifiedawy 11.22 Update. Prepay mode improvment
mewsoft First Post Posted on: 01-06-12 09:00 PM
Classifiedawy 11.22 Update. Prepay mode improvment

Hello,

This update to improve the prepay mode. In the new update, on the preview ad page, the account balance and new balance after the new item fees subtracted are displayed. Also if the prepay mode is on and user should prepay any required amount, a message will be displayed besides the new balance to help user go to the money manager.

How to update

Updates these cgi files

Configuration.pm
PostAd.pm
PreviewAd.pm
SQLlib.pm

The Language file PreviewAd.pm as these new variables, yu either update it or insert these variables from the language manager, they appear at the end of the file:


Code: HTML
current_balance~==~Current balance:<br />new_balance~==~New balance:<br />prepay_required_balance~==~You must prepay the required new balance before inserting your ad. Please go to your &lt;a href=&quot;&lt;!--CLASS::Money_Manager--&gt;&quot; target=&quot;_blank&quot;&gt;Money Manager&lt;/a&gt; to add at least the new balance.

The template PreviewAd.html has some new code you can copy it or update this template:


Code: HTML
    &lt;tr&gt;&lt;td nowrap&gt;[[current_balance]]&lt;/td&gt;&lt;td width=&quot;100%&quot;&gt;&amp;nbsp;&lt;!--Balance--&gt;&lt;/td&gt;&lt;/tr&gt;<br />    &lt;tr&gt;&lt;td nowrap valign=&quot;top&quot;&gt;[[new_balance]]&lt;/td&gt;&lt;td width=&quot;100%&quot; valign=&quot;top&quot;&gt;&amp;nbsp;&lt;!--NewBalance--&gt; &lt;!--PrepayMsg--&gt;&lt;/td&gt;&lt;/tr&gt;


Mewsoft Support
www.mewsoft.com