This is a discussion on Seller store MOD enhancement within the Feature Requests forums, part of the Help & Support category; Actually, when you run the " seller store " module, visitors have to go to " view all ads by ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Actually, when you run the "seller store" module, visitors have to go to "view all ads by seller" to discover that the ad is run by a "seller" and see the seller logo/header.
Otherwise, when viewing a listing, nothing distinguishes the announcement of a "seller" of another ad. It is a pitty that the "seller" ads are not identified when simply viewed by visitors ! As the module was introduced as "similar to Ebay stores" I thought it was. On eBay, when you view a seller Ad, the seller header is shown ! Is there a way to introduce the seller header in his own ads ? Something like "if {owner} is a {seller} then print {sellerstoreheader} in the viewlisting.tpl" or something like that ? |
|
#2
|
||||
|
||||
|
Seconded.
__________________
v4.09 Developer MKClassifieds "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
#3
|
||||
|
||||
|
I'm not totally sure I have the latest copy of the seller store module, however you could do something like this to get the values into the viewlisting page.
Open the module's mod_user.php and add this in: PHP Code:
I haven't tested this, and I am referring to the v4 version of 68C. |
|
#4
|
||||
|
||||
|
John,
Just added your new function below "function seller_store_search_end()" in mod_user.php and the following script portion in my viewlisting2.tpl PHP Code:
__________________
v4.08 Developer |
|
#5
|
||||
|
||||
|
Sorry, you need to change $_GET to $_REQUEST. Here it is corrected:
PHP Code:
|
|
#6
|
|||
|
|||
|
Hello,
In viewlisting it works? Can you also help me to get it work in showlistings ? Jan Roel |
|
#7
|
||||
|
||||
|
If you can get it in showlistings thats would be great.
__________________
Nick Bowers 68c v4.09 Developer |
|
#8
|
||||
|
||||
|
here is another mod so that in addition to working as intended the seller store will appear on the same page as an ad.
Add thhe following smarty to the viewlisting.tpl template Code:
{* 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 *}
Code:
function seller_store_view_listing()
{
global $db, $class_tpl;
$myVar = $class_tpl->get_template_vars('owner');
if (isset($myVar) && $myVar<>"")
{
$owner=(int)$myVar;
$storeSQL = "SELECT sID,sUserID,sTitle,sDescription,sImage FROM ".PREFIX."store WHERE sUserID = '".$owner."'";
$storeResult=$db->query($storeSQL);
$rows=$storeResult->size();
if($rows>0)
{
$rs = $storeResult->fetch();
$class_tpl->assign('storeID', $rs['sID']);
$class_tpl->assign('storeTitle', $rs['sTitle']);
$class_tpl->assign('storeDescription', $rs['sDescription']);
$class_tpl->assign('storeImage', $rs['sImage']);
}
}
}
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#9
|
||||
|
||||
|
is this possible like that?
in viewlisting.php Ads will displayed from the user under ads.. sorry for my bad English. So I want to show my ideo on a photo. I did it wit paint is this possible ? Thank YOU....
__________________
� 2007 68 Classifieds - A division of 68 Designs, LLC - v4.0.3 Developer ![]() Another 68C site ; ikinci el kamyonlar |
|
#10
|
||||
|
||||
|
that is a good idea.
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Module - Seller Store | Eric Barnes | v4 Modules / Modifications | 48 | 11-18-2008 07:04 AM |
| Wanted: Seller Store Enhancements | systemaddict | v4 Modules / Modifications | 0 | 06-02-2008 03:29 AM |
| Seller Store | goose | v4 Questions & Support | 3 | 08-16-2007 12:08 AM |
| Is there any fix to this Seller Store for V4 RC3 ? | Syafi | v4 Questions & Support | 0 | 06-14-2007 01:03 PM |
| More Seller Store related questions. | ginggs | v3.1 Questions & Support | 6 | 04-13-2007 06:46 AM |