Browsing this Thread:   1 Anonymous Users






Re: Classifieds 2.5 Final Released Aug.4, 2010
#10
Just popping in
Just popping in


See User information
Thanks a lot John,

Now it works great. This is a very good module.

Deepak

Posted on: 2010/9/1 17:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Classifieds 2.5 Final Released Aug.4, 2010
#9
Webmaster
Webmaster


See User information
Deepak,

Go to modify.php around line 250 and find this line:

$form->addElement(new XoopsFormText('country', 30, 30, $country));

change it to this:

$form->addElement(new XoopsFormText(constant($main_lang."_COUNTRY"),'country', 30, 30, $country));

I forgot the language part of that line.

Thanks,

John

Posted on: 2010/8/30 16:29
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Classifieds 2.5 Final Released Aug.4, 2010
#8
Just popping in
Just popping in


See User information
This is great.. Thanks a lot John,

after the above two changes, the module is working fine.

Though I found 2 more small issues.

1. Country field is not populated in the modify mode.

2. The Label Country is spelled with small letter "c". This is cosmetic, but should be capital C (for consistency)

It will be good if we can fix these two.

Thanks a lot again.

Deepak

Posted on: 2010/8/29 17:07
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Classifieds 2.5 Final Released Aug.4, 2010
#7
Webmaster
Webmaster


See User information
Think I found the problem.

Go to addlisting.php around line 81 and look for this line:

$type = $myts->addSlashes($_POST["type"]);

After it add this line:

$desctext = $myts->addSlashes($_POST["desctext"]);

Then do the same thing in modify.php around line 62


I think that will fix your problem. Let me know.

John

Posted on: 2010/8/29 14:03
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Classifieds 2.5 Final Released Aug.4, 2010
#6
Just popping in
Just popping in


See User information
Thanks a lot John.

Yes, I did cleared the xoops cache.

I upgraded from version v2 to v2.5
I am using the default editor "HTML form with xCode"



I my live environment details
------------------------------------
XOOPS Version XOOPS 2.4.4
PHP Version 5.2.8
mySQL Version 5.0.91-log
Server API cgi-fcgi
OS Linux

My test machine details
------------------------------
XOOPS Version XOOPS 2.4.4
PHP Version 5.3.0
mySQL Version 5.0.67-community-nt-log
Server API apache2handler
OS WINNT


its not working either environment.

Please help me. Thanks in advance

Deepak

Posted on: 2010/8/29 12:24
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Classifieds 2.5 Final Released Aug.4, 2010
#5
Webmaster
Webmaster


See User information
What editor are you using? And what version of Xoop?

Edited - Did you clear your cache files?
What version of Classifieds did you upgrade from.

Thanks,

John

Posted on: 2010/8/28 19:31

Edited by john on 2010/8/29 7:29:03
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Classifieds 2.5 Final Released Aug.4, 2010
#4
Just popping in
Just popping in


See User information
Hi,

Thanks for the new release.

I updated this module. but encountered a bug.
when i add a new list, the description field is not populated.

on the debug mode, I see the query is not passing the field all.


--------------------------------
INSERT INTO classifieds_listing
(lid, cid, title, status, expire, type, desctext, tel,
price, typeprice, date, email, submitter, usid, town,
state, country, contactby, premium, valid) VALUES (
0, '12', 'Title-What to sell', '0', '14', 'For Sale', '',
'1231231230', '0', 'firm', '1283024729', 'email@googlemail.com',
'usid-ahcadmin', '1', 'Town-Swindon', '', 'Country-UK',
'E-mail', 'yes', 'Yes')
----------------------------
update
-----------------------------
update classifieds_listing set cid='12',
title='Title-What to sell', status='0', expire='14',
type='For Sale', desctext='',
tel='1231231230', price='0.00',
typeprice='firm', email='email@googlemail.com',
submitter='ahcadmin', town='Town-Swindon', state='',
country='', contactby='E-mail', premium='yes',
valid='Yes' where lid=3

-----------------------------------------

Any idea, how to fix this.


Thanks in advance
Deepak

Posted on: 2010/8/28 16:01
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Classifieds 2.5 Final Released Aug.4, 2010
#3
Webmaster
Webmaster


See User information
Found another error in admin/include/single/usstates,php around line 41 find this line:

('0', '0', 'Alabama', 'AL'),

Change it to this:

('1', '0', 'Alabama', 'AL'),


Already fixed in the download, I just did it.

Thanks,

John

Posted on: 2010/8/5 9:34
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Classifieds 2.5 Final Released Aug.4, 2010
#2
Webmaster
Webmaster


See User information
Found an error in replies.php

Around line 113 look for this line:

$xoopsTpl->append('items', array('id' => $lid, 'title' => $myts->htmlSpecialChars($title), 'date' => $date, 'message' => $myts->displayTarea($message), 'tele' => $myts->htmlSpecialChars($tele)));

change it to:

$xoopsTpl->append('items', array('id' => $lid, 'title' => $myts->htmlSpecialChars($title), 'date' => $date, 'message' => $myts->displayTarea($message,1,1,1,1,0), 'tele' => $myts->htmlSpecialChars($tele)));

Was showing br in reply.

Already fixed in the download, I just did it.

Thanks,

John

Posted on: 2010/8/5 6:55
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Classifieds 2.5 Final Released Aug.4, 2010
#1
Webmaster
Webmaster


See User information
I just released the new Classifieds Module.

For Xoops versions 2.3.3b and up. Some files may need to be changed, I have supplied them.

Fixed all errors that were reported here.
Now admin can receive an email if a user modifies a listing.

Read the README file
Must use update script if you are upgrading.

Available in the download section of this site.

Report any problems here.

Thanks,

John

Posted on: 2010/8/4 18:21
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
 
Main Menu
 
Who's Online
6 user(s) are online (2 user(s) are browsing Forum)

Members: 0
Guests: 6

more...
 
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: $25.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $25.00