Quote:
Originally Posted by Darth Gill
Where's the PHP file (award.php) and where is the SQL to update the database. Also I found a problem in the templates editing...
You have
in MEMBERINFO:
Code:
find:
--------------------------------------------------------------------
<if condition="$vboptions['profilelastpost']">
--------------------------------------------------------------------
replace with:
--------------------------------------------------------------------
<tr>
<td><a href="search.php?$session[sessionurl]do=findawards&u=$userinfo[userid]">Find all awarded posts by $userinfo[username]</a></td>
</tr>
--------------------------------------------------------------------
It should be:
Code:
find:
<td><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$userinfo[urlusername]"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
after it add:
<!-- HACK -->
<tr>
<td><a href="search.php?$session[sessionurl]do=findawards&u=$userinfo[userid]">Find all awarded posts by $userinfo[username]</a></td>
</tr>
<!-- HACK -->
|
First, thanks for that template error. It should have said "add before" instead or "replace". I fixed it in the zip download.
Second, the award.php is no longer needed. All actions are in the plugings. Yhe SQL change is also done by the installer when you import the plugings. It's a pritty cool way how the installer and uninstaller work using the plug-in sytem.