68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support > Admin Members
v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x

 
Thread Tools Display Modes
(#11)
Old
build build is offline
Member
build is on a distinguished road
 
Posts: 86
Join Date: Mar 2006
Location: Uk
Default 04-19-2006, 09:52 AM

Quote:
Originally Posted by juven14
If you know which listing it is, go to Admin panel -> browse listing -> modify images.
John I do not see any where "modify images" on that page

All I see is the listings then at the far right "modify"

Then when I click "modify" I see all the details etc BUT no "modify images"


arrrrrrrrrr it is under INFO

BUT does not show the images


Regards

John

Useing Developer
Reply With Quote
(#12)
Old
juven14 juven14 is offline
Moderator
juven14 has a spectacular aura about
 
Posts: 1,695
Join Date: Mar 2006
Location: NJ/NYC Area
Default 04-19-2006, 10:00 AM

Be sure that listing has images, if not no images will display. It should display them otherwise.


Regards,

John
mods.auscity.com
v3.1.5 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
(#13)
Old
calaf6 calaf6 is offline
Senior Member
calaf6 is on a distinguished road
 
Posts: 257
Join Date: Mar 2006
Location: UK
Default 04-19-2006, 10:01 AM

OMG my poor keyboard was nearly splattered with tea, and I am not supposed to be on the internet at work

Brilliant picture, and a great idea to substitute it for the sex one!!

Eric - go on be a devil
Reply With Quote
(#14)
Old
build build is offline
Member
build is on a distinguished road
 
Posts: 86
Join Date: Mar 2006
Location: Uk
Default 04-19-2006, 10:18 AM

Quote:
Originally Posted by juven14
Be sure that listing has images, if not no images will display. It should display them otherwise.
How DAFT can one get, yes you was right NO IMAGES in that one

The only problem now is it does not show the text for the images.

Can that be added to that page?


Regards

John

Useing Developer
Reply With Quote
(#15)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,827
Join Date: Mar 2006
Location: Belmont, NC
Default 04-19-2006, 10:20 AM

I will add this now. I added a way to edit the text on the frontend but forgot to make that same change in the administration.


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote
(#16)
Old
juven14 juven14 is offline
Moderator
juven14 has a spectacular aura about
 
Posts: 1,695
Join Date: Mar 2006
Location: NJ/NYC Area
Default 04-19-2006, 10:20 AM

I was just thinking the same thing. It would be nice to edit the titles as well as the rank. Eric, can you add this in the next release?


Edit:
!!Eric, you beat me to it!!


Regards,

John
mods.auscity.com
v3.1.5 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
(#17)
Old
build build is offline
Member
build is on a distinguished road
 
Posts: 86
Join Date: Mar 2006
Location: Uk
Default 04-19-2006, 10:30 AM

Quote:
Originally Posted by suzkaw
I will add this now. I added a way to edit the text on the frontend but forgot to make that same change in the administration.
That will be great Eric

That way if any fool trys to put something on then I can alter it.

Will this be in the next release or is just a bit of code that I can add in?


Regards

John

Useing Developer
Reply With Quote
(#18)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,827
Join Date: Mar 2006
Location: Belmont, NC
Default 04-19-2006, 10:33 AM

It will be in the next release. Which I am hoping will be the final beta release before it is finished. Fingers crossed.


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote
(#19)
Old
Chaslie Chaslie is offline
Moderator
Chaslie is on a distinguished road
 
Posts: 494
Join Date: Mar 2006
Location: Great Ocean Road - Australia
Default 04-19-2006, 02:13 PM

Quote:
Hmmmmmmm that is a LOT of work to do for the admin.
It would be ok if there was only one say BUT if you have a lot of these that just would not be a option.
Fair comment however ....

Quote:
As you know as well as I do these days there are a lot of fools about who get a kick out of doing these sort of things.
Exactly. Let's imagine YOU uploaded the 'unsatisfactory' pic then all of a sudden, saw it had dissappeared. What would a 'fool' do. Go and add it again!
Therefore, consider adding a clause in your site's terms and condition. You then hurt them in the pocket (because their listing has been deleted) rather then antagonize them buy 'replacing' or 'deleting' their pics without communicating a reason.


Chaslie
V3.1.4 dev
mods.auscity.com
AUSCITY
Reply With Quote
(#20)
Old
juven14 juven14 is offline
Moderator
juven14 has a spectacular aura about
 
Posts: 1,695
Join Date: Mar 2006
Location: NJ/NYC Area
Default 04-19-2006, 02:32 PM

Another punishment beside humiliation or deleteing just that ad, is after the first warning remove all of their content and ban them.

I was working on what you were requesting but just have ran out of time in my schedule. Have to start getting the apt ready for our new baby this week and have a few other commitments that will cut down on the time I spend in the forum for a few days.

Here is what I had at the last test. There is a problem with the second sSQL and I just didn't have time to look any further. Hopefully someone will spot my error or foolishness and finish this up.

administration/userimages.php (new file)
PHP Code:
require_once('includes/init.php');

$id=$_REQUEST['id'];

//select
$sSQL='SELECT id FROM '.PREFIX.'products WHERE owner='.$id;
$result=$db->query($sSQL);
while (
$row=$result->fetch())
{
    
//select
    
$sSQL2='SELECT * FROM '.PREFIX.'prodimages WHERE pid='.$row['id'];
    
$result2=$db->query($sSQL2);
    
$results = array();
    
$i=0;
    while (
$rs=$result2->fetch())
    {
        
$tmp = array(
            
'id' => $rs['id'],
            
'pid' =>$rs['pid'],
            
'title' => $rs['title'],
            
'image' => $rs['image'],
            );
        
$results[$i++] = $tmp;
    }    
}
$class_tpl->assign('results',$results);

$class_tpl->assign('body','userimages.tpl.php');
$class_tpl->display('layout.tpl.php');
userimages template - administration/templates/userimages.tpl.php (new file):
HTML Code:
{* User Images *} <table class="tableborder"> <tr> <th><img src="images/nav_m.gif" /> <strong>User Images</strong></th> </tr> <tr> <td></td> </tr> {foreach from=$results item=item} <tr> <td><a href="listinginfo.php?view={$item.pid}"><img src="../thumbs/small_{$item.image}" /></a><br />{$item.title}</td> </tr> {foreachelse} <tr> <td>This user has 0 images.</td> </tr> {/foreach} </table>
administration/users/userinfo.tpl.php:
HTML Code:
<a href="userimages.php?id={$member}">view user's images </a>
userinfo.php
PHP Code:
$class_tpl->assign('member',$member);
I think that was it. I had it calling 1 image from each listing before I realized I was doing it wrong, I tried this one time which left me with nothing. Maybe someone will look at my code in userimages.php and fix it.


Regards,

John
mods.auscity.com
v3.1.5 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Browse Listings in Admin? garysr v3.1 Questions & Support 3 12-29-2006 08:14 PM
Admin Member's Browse Listings doug-gb v3.0 Questions & Support 2 10-03-2006 02:23 PM
Mod for checkout and admin control DVM v3.0 Modifications 0 08-22-2006 07:28 AM
Multiple Admin e1m2j Pre Sales 2 06-01-2006 04:20 PM
Admin Search Members ? free2take v3.1 Questions & Support 4 05-21-2006 02:32 PM



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com