Support Forums

User Add Images Workflow

This is a discussion on User Add Images Workflow within the Modules / Plugins / Modifications forums, part of the Developer Forums category; When a user modifies images on their listing you will notice by default there is no link back to the ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 06-27-2008, 08:27 PM   #1
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,233
Rep Power: 53
seymourjames has a spectacular aura about
Default User Add Images Workflow

When a user modifies images on their listing you will notice by default there is no link back to the advert being edited or to the user's listings - a case of back button or go right back through userindex.php. Placing this at the bottom of the useraddimages.tpl file makes a nicer worklfow to get back. Just a thought.

<div align="center"><a href="usermodifylisting.php?view={$lid}">Return To Listing</a> · <a href="userbrowselistings.php">Browse All Your Listings</a> · <a href="userindex.php">My Account</a></div>
seymourjames is offline   Reply With Quote
Old 06-27-2008, 09:42 PM   #2
spagman
 
 
Join Date: Jun 2008
Location: Lansing , Michigan
Posts: 6
Rep Power: 0
spagman is on a distinguished road
Default

***added***
thanks seymourjames , I like the quick shortcut!

by chance did you come up with a "sold" button solution?...lol

Last edited by spagman; 06-27-2008 at 09:50 PM.
spagman is offline   Reply With Quote
Old 06-29-2008, 11:14 PM   #3
Junior Member
 
Join Date: Jun 2008
Posts: 17
Rep Power: 7
dexignz is on a distinguished road
Default Additional Link

I added a link to view the listing as other members would see it. (Profile Preview)

<a href="viewlisting.php?view={$lid}">View Listing</a>

So the whole code is:

<div align="center"><a href="viewlisting.php?view={$lid}">View Listing</a> · <a href="usermodifylisting.php?view={$lid}">Return To Listing</a> · <a href="userbrowselistings.php">Browse All Your Listings</a> · <a href="userindex.php">My Account</a></div>



Quote:
Originally Posted by seymourjames
When a user modifies images on their listing you will notice by default there is no link back to the advert being edited or to the user's listings - a case of back button or go right back through userindex.php. Placing this at the bottom of the useraddimages.tpl file makes a nicer worklfow to get back. Just a thought.

<div align="center"><a href="usermodifylisting.php?view={$lid}">Return To Listing</a> · <a href="userbrowselistings.php">Browse All Your Listings</a> · <a href="userindex.php">My Account</a></div>
dexignz is offline   Reply With Quote
Old 06-30-2008, 03:46 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,233
Rep Power: 53
seymourjames has a spectacular aura about
Default

Good idea - I find it best to use target="_blank" do it makes another window. I also put a link is user browse listings on the listing titles to view.
seymourjames is offline   Reply With Quote
Old 07-02-2008, 03:01 PM   #5
Junior Member
 
Join Date: Jun 2008
Posts: 17
Rep Power: 7
dexignz is on a distinguished road
Default Title Link on userbrowselistings.php didn't work

I tried to put the same view listing link on userbrowselistings.php and everytime I click on the link from that page I get an error that says "I am sorry, but this listing has expired". The listing is still active so did you have to put any extra php code in userbrowselistings.php to make that work?

Quote:
Originally Posted by seymourjames
Good idea - I find it best to use target="_blank" do it makes another window. I also put a link is user browse listings on the listing titles to view.
dexignz is offline   Reply With Quote
Old 07-02-2008, 06:13 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,233
Rep Power: 53
seymourjames has a spectacular aura about
Default

I put this on the useraddimages.tpl file.

<div align="center"><a href="viewlisting.php?view={$lid}" target="_blank">View Listing</a> · <a href="usermodifylisting.php?view={$lid}">Modify Listing</a> · <a href="userbrowselistings.php">Browse All Your Listings</a> · <a href="userindex.php">My Account</a></div>

I put this on the userbrowselistings.tpl file so there is a direct link to the listing on this page

<td class="{cycle values="row1,row2" advance=false}"><a href={$smarty.const.URL}/viewlisting.php?view={$entry.id} target="_blank">{$entry.title}</a></td>

Last edited by seymourjames; 07-02-2008 at 06:16 PM. Reason: misread his comment
seymourjames is offline   Reply With Quote
Old 07-04-2008, 09:53 AM   #7
Hunter Classifieds.com.au
 
 
Join Date: Mar 2008
Posts: 101
Rep Power: 10
newcastledirectory is on a distinguished road
Default thanks very much great idea!! very helpfull...........

Quote:
Originally Posted by seymourjames
When a user modifies images on their listing you will notice by default there is no link back to the advert being edited or to the user's listings - a case of back button or go right back through userindex.php. Placing this at the bottom of the useraddimages.tpl file makes a nicer worklfow to get back. Just a thought.

<div align="center"><a href="usermodifylisting.php?view={$lid}">Return To Listing</a> · <a href="userbrowselistings.php">Browse All Your Listings</a> · <a href="userindex.php">My Account</a></div>
great work thanks I have alwas wondered about that!!!!!!!!!!!!!!!!!!!
thanks again
SS
newcastledirectory is offline   Reply With Quote
Old 07-04-2008, 04:01 PM   #8
Junior Member
 
Join Date: Jun 2008
Posts: 17
Rep Power: 7
dexignz is on a distinguished road
Default

Thanks, it works perfect!

Quote:
Originally Posted by seymourjames
I put this on the useraddimages.tpl file.

<div align="center"><a href="viewlisting.php?view={$lid}" target="_blank">View Listing</a> · <a href="usermodifylisting.php?view={$lid}">Modify Listing</a> · <a href="userbrowselistings.php">Browse All Your Listings</a> · <a href="userindex.php">My Account</a></div>

I put this on the userbrowselistings.tpl file so there is a direct link to the listing on this page

<td class="{cycle values="row1,row2" advance=false}"><a href={$smarty.const.URL}/viewlisting.php?view={$entry.id} target="_blank">{$entry.title}</a></td>
dexignz is offline   Reply With Quote
Old 11-03-2008, 04:57 PM   #9
Member
 
Join Date: Sep 2008
Posts: 38
Rep Power: 6
skyblue is on a distinguished road
Default Help with title link in userbrowslistings.tpl

First of all let me say THANKS! The navigation code is just what was needed. In addition to the useraddlistings.tpl I also added it to the usermodifylistings.tpl (less the "Modify Listing" line) and it's working great!!!

I've attempted to replace the code "<td class="{cycle values="row1,row2" advance=false}">{$entry.title}</td>" in userbrowselistings.tpl with the modified code however I'm getting the same response dexignz was receiving, "I am sorry, but this listing has expired".

I'm using the Designer v4.0.9. Any help would be appreciated.

Thanks
skyblue is offline   Reply With Quote
Old 11-04-2008, 08:54 PM   #10
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,233
Rep Power: 53
seymourjames has a spectacular aura about
Default

This should work if you place it correctly in userbrowselistings.tpl . In fact I added to a person's site this evening who has 4.09.

<td class="{cycle values="row1,row2" advance=false}"><a href={$smarty.const.URL}/viewlisting.php?view={$entry.id} target="_blank">{$entry.title}</a></td>

I cannot see why it would give an expired listing unless the listing has actually expired. Try looking at the source of page when it is rendered and see what link it is making. Then copy this link into your browser. See if it makes an expired listing or not. If it does, then go into your admin control panel and see if that ad has actually expired.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds, Matching WordPress Themes & Magento Online Stores
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suspending a user racingjon Technical Support 1 02-19-2008 04:55 PM
Error on loading images manilaboy v3.1 Questions & Support 2 10-26-2006 01:45 PM
Strange Issue Cycling Through Images bgordon v3.1 Questions & Support 2 09-15-2006 09:58 AM
Direct link to user listing in contact email SkGold v3.1 Questions & Support 2 07-10-2006 03:42 PM
Images in Viewlisting not showing Bucketman v3.1 Questions & Support 9 05-05-2006 11:46 AM


All times are GMT -4. The time now is 05:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0