In this tutorial I will show you how to upgrade your theme from 9.2 to work with 9.3 step by step so that you can easily upgrade your theme, please note that in this tutorial I we will still keep to use Default theme as the step to follow, we will also add some notes if necessary for additional details in case you use the different themes so that you can understand the concept and the changed functions are for.
- comments.tpl (Change and add editor style)
Find
<li>[com-edit]Edit[/com-edit]</li>
Add after
<li>[complaint]Report Abuse[/complaint]</li>
The theme design will be different, but the point to modify this file is to add complaint module button to report inappropriate comments to the site administrator, you can use your own languages, image or icon that suite to your theme design but you must keep the tags [complaint] and [/complaint] for the link to click for report
Find
<li>{favorites}</li>
Add after
<li>[complaint]<img src="{THEME}/images/complaint.png" title="Report Error" alt="Report Error" />[/complaint]</li>
The theme design will be different, but the point to modify this file is to add complaint module button to report inappropriate comments to the site administrator, you can use your own languages, image or icon (DLE also provide icon for the function, please download it below) that suite to your theme design but you must keep the tags [complaint] and [/complaint] for the link to click for report
Start: Skip this step if you are not using "Default" theme
Find
<a class="addcombtn" href="javascript:ShowOrHide('addcform')">
Replace with
<a class="addcombtn" href="#" onclick="$('#addcform') .toggle();return false;">
End: Skip this step if you are not using "Default" theme
Find
<li>[del]Delete[/del]</li>
Add before
<li>[complaint]Report Abuse[/complaint]</li>
<li>[ignore]Add Sender to my black list[/ignore]</li>
The theme design will be different, but the point to modify this file is to add complaint module button to report abusive users and spammers to the site administrator, you can use your own languages, image or icon that suite to your theme design but you must keep the tags
- [complaint] and [/complaint] for the link to click for report.
- [ignore] and [/ignore] for the link adding the sender to the ignore list or black list.
Find
<tr>
<td class="label">Location:</td>
<td><input type="text" name="land" value="{land}" class="f_input" /></td>
</tr>
Add after
<tr>
<td class="label">My Black list:</td>
<td>{ignore-list}</td>
</tr>
The theme design will be different, but the point to modify this file is to add ignore list in user profile also known as "Black List" or "Block List", this option requires for block/black/ignore list management, each user will have their own list and they can manage the list to remove the users from the list. You can use your own languages, image or icon that suite to your theme design but you must keep the tags {ignore-list} for the list of users who have been added to the list so the members can manage them
Please download the images within the attached file and place them within folder /templates/YOUR THEME/
The following files are included in the package (You can use your own images if you like)