Hello and thanks for reviewing my small project.
I need someone that is available right now for the next few hours and can work with me via yahoo instant messenger.
I will pay through SL Escrow.
The Project:
Login here with user: test2 pass: test2
[login to view URL]
you can see there if active_aff = 1 right? well that's it ..if the customers active_aff field = 1 ..show affliliate information and links...else do nothing ...dont show it..this needs to be defined somewhere in a class i don't know where
I only added the field in their SQL table already and i made it always default 0 varchar not null and i changed test2 to 0 and test30 to 1 to see if it works as you go.
*note
Please, if you are not a fluent SMARTY expert that has dealt with smarty templates and classes don't bid. Guaranteed this is the hardest if statement you ever write and will take a solid hour or so do not waste my time thinking this is some simple in and out 10 min job any coder can do. EXPERT ONLY this is a very exploded script pulling assign's from thin air. I will leave you bad feedback if not, if you don't know smarty in and out don't bid.
well this new field isnt smarty assigned anywhere ...there are like 5 [login to view URL] files it could be in /modules /core funtctions /includes /classes
its not assigned so it will never show up for one...then to make it listen to a new if statement like if smatry.active_aff==1 or something then show this table...
i don't know where it needs to be assigned .... /templates/frontend/[login to view URL]
<h1 align="center">Your Account Home </h1>
<table cellpadding="15" cellspacing="0" width="100%">
{section name=op loop=$ChildShortHTMLs}
{if $ChildShortHTMLs[op].tpl ne ''}
{include file=$ChildShortHTMLs[op].tpl}
{/if}
{/section}
</table>
/templates/frontend/[login to view URL]
<tr>
<td valign="top">
<table width="400" align="center">
<tr><td align="center" valign="top">
<p><strong>Account Information:</strong></p>
<p> </p>
<p><a href="/[login to view URL]">Edit Profile</a> <a href="/[login to view URL]">Order History</a></p>
<p> </p>
<p><a href="/[login to view URL]¤t_bal=yes">Current Balance</a> <a href="/[login to view URL]">Getting Started</a></p>
<p> </p></td>
</tr></table>
<!-- -->
<p align="center">if $active_aff eq '1'
</p>
<table width="300" align="center">
<tr>
<td align="center" valign="top">
<p><strong>Affliate Information: </strong></p> <p> </p> <p>{section name=affi loop=$SubDivs} {if $SubDivs[affi].unickey eq 'affiliate_settings'} {if $CONF_AFFILIATE_EMAIL_NEW_COMMISSION or $CONF_AFFILIATE_EMAIL_NEW_PAYMENT} </p> <div> <a href="%7B"?did=`$SubDivs[affi].id`&ukey=`$SubDivs[affi].ukey`"|set_query_html}">{$SubDivs[affi].name|translate}</a></div>
{/if} {else}
<div> <a href="{"?did=`$SubDivs[affi].id`&ukey=`$SubDivs[affi].ukey`"|set_query_html}">{$SubDivs[affi].name|translate}</a></div>
{/if} {/section}</td>
</tr>
</table>
<p align="center">/if</p></td>
</tr>
maybe this file is the one it needs to be defined in