Seller Store
From Documentation
The seller store is a section that allows sellers to have their own
store similiar to Ebay stores where that page only shows their ads.
They can insert either a store logo OR a store name. A store description
can also be included.
Click here to download the seller store module.
This module has a few steps to install it and below are the instructions.
Step 1
Upload the folder member_rating to your modules folder on your website.
Step 2
Visit the administration -> Manage Modules section and click the regenerate button so it becomes seen.
Step 3
To turn a module on you will click the "Initialize" link which will install any needed database tables or make any alterations if needed. Next you would click "Activate" which will make the module active.
Step 4
After the module is active if it is has an administration area a link will appear labelled "admin".
Notes
If at some point you decide you would like to deactivate the module you can click the link "Deactivate" which will keep all the settings but not make it available to your site users.
To delete a module you would click "Delete" which will drop any tables or change back any alterations made by the module. This will not delete the files from your server and you can click regenerate to have the module seen again.
Manual Template Changes
To install this mod add the following link in your layout.tpl.php file
<a href="modules.php?mod=seller_store">My Store</a>
If you wish to only allow certain groups to have access you can do this:
{if $smarty.session.level==6 || $smarty.session.level==1}
<a href="modules.php?mod=seller_store">My Store</a>
{/if}
The levels work as follows:
- Administrators
- Registered Users
- Users Awaiting Email Confirmation
- Banned Users
- Guests
anything over 5 is ones you have added.
Next open your showlisting or showlisting2 template file and add this at the top if it is not already there:
{* user store display *}
{if $storeImage<>""}
<div align="center">
<img src="photos/{$storeImage|escape:"url"}" alt="{$storeTitle}" />
</div>
<br />
{else}
<h3>{$storeTitle}</h3>
{/if}
<table width="80%" align="center">
<tr>
<td>{$storeDescription}</td>
</tr>
</table>
{* end user store display *}
Help & Support
If you need help or support with this module please make a post in this forum thread: http://www.68classifieds.com/forums/showthread.php?t=718