Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12350
Latest: psychology-clinic-in-yazd
New This Month: 2
New This Week: 2
New Today: 1
Stats
Total Posts: 40048
Total Topics: 7051
Most Online Today: 17
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 19
Total: 19

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vkot

Pages: [1] 2 3 ... 9
1
Bugs / Undefined index
« on: September 03, 2015, 04:30:13 am »
I have the following error messages in my SMF log. I quote the relevant line in Sources/classifieds2.php
My SMF Classifieds version is 3.0.2

Undefined index: qtyinstock
Code: [Select]
  $qtyinstock = (int) $_REQUEST['qtyinstock'];
Undefined index: cat
Code: [Select]
$cat = (int) $_REQUEST['cat'];
Undefined index: t
Code: [Select]
$termsid = (int) $_REQUEST['t'];
Undefined index: catid
Code: [Select]
$catid = (int) $_REQUEST['catid'];
Are these corrected in version 4? Or am I missing something? (for example, maybe the database was not updated properly when I updated to 3.0.2)

2
Support / Re: suggestion picture upload
« on: August 12, 2015, 01:47:37 am »
I agree with this. Everything (title, description, images, etc) should be all in one form, it should be an easy 1 step process.

3
Support / Not show closed/expired listings (code hack)
« on: March 05, 2014, 03:19:39 am »
I realize that there is no use for the viewers to see the listings that are closed/expired, so I decided to change the SQL queries to exclude these. Here is what I have done, and it's working (tested in version 3.0.2 and SMF 2.0.x). If you try it and see that I have missed something, please say so.

In classifieds2.template.php change:
for page count:
Code: [Select]
WHERE removed = 0 AND ID_CAT = $cat AND approved = 1");to:
Code: [Select]
WHERE removed = 0 AND ID_CAT = $cat AND approved = 1 AND UNIX_TIMESTAMP() < expiredate");
for view listings:
Code: [Select]
WHERE  i.removed = 0 AND i.ID_CAT = $cat AND i.approved = 1to:
Code: [Select]
WHERE  i.removed = 0 AND i.ID_CAT = $cat AND i.approved = 1 AND UNIX_TIMESTAMP() < i.expiredate
for search results:
Code: [Select]
WHERE  i.approved = 1 " . $class_where ." AND  (" . $context['class_search_query'] . ")to:
Code: [Select]
WHERE  i.approved = 1 " . $class_where ." AND  (" . $context['class_search_query'] . ") AND UNIX_TIMESTAMP() < i.expiredate

4
Support / Re: Lightbox Issue
« on: January 18, 2014, 03:10:30 pm »
OK, I have found that:

1) lightbox does not work for the main image because in classifieds2.template.php you must remove the target="_blank"
Code: [Select]
// Show the main image
echo '
<tr class="windowbg2">
<td align="center">';
if (empty($row['remotefilename']))
echo '<a href="' . $modSettings['class_url'] . $row['filename']  . '" target="_blank" rel="lightbox[listing]"><img src="' . $modSettings['class_url'] . $row['thumbfilename']  . '" alt="" /></a>';
else
echo '<a href="' . $row['remotefilename']  . '" target="_blank" rel="lightbox[listing]"><img src="' . $row['remotefilename']  . '" alt="" /></a>';

2) lightbox does not work for remote images

5
Support / Re: Lightbox Issue
« on: January 18, 2014, 12:27:25 pm »
I have the same problem, it's a long time, I don't remember when it appeared. I don't see jquery in my pages source code, should I? I see lightbox.js. I don't know what to do from there. Can you have a look?
(link sent by PM)

6
Support / Re: Items show in "most recent posts"
« on: December 20, 2013, 03:16:46 pm »
OK, this thread is 5+ years old, but since I found it using Search, I'll write here...

I thought this mod would allow for new listings to be shown when members select "show unread posts".  Is this not possible?

I was thinking about this too, that it would be nice to see the new/unread listings along with the new/unread posts, this very convenient and would bring more visits to the Classifieds section of any forum.
It would be even better to show new/unread listings AND comments (as it works for threads and posts)

I am not sure how "Show unread posts" works in SMF. If you give me some hints maybe I can try to make some code.

7
Bugs / Re: Delete Listings in Member's Listings Page - Not Working
« on: November 25, 2013, 02:38:51 pm »
2 years have passed since the last message in this thread, but I am writing here because in version 3.0.2 the problem remains: The member clicks Delete but the member's listings are not deleted (with no error message anywhere). All listings remain in My Listings. If the listing is active, it is "deleted"/removed from the category listing, that's the only difference.

Also, I agree with cosmicx: "it should be redirected in the Member's Listing page after listing deletion."

8
Support / Re: Facebook Not Reading links
« on: November 24, 2013, 12:50:44 pm »
I dont know if I should open a new topic for this...

I just installed SMF Classifieds 3.0.2 (I was using 2.something) and I tried the Facebook share. In Facebook, the title and the image of the share is of the first page of my forum. The link is correct though.

9
Support / Re: Facebook Not Reading links
« on: August 29, 2013, 12:54:41 am »
I thought this was resolved 1.5 years ago: http://www.smfhacks.com/index.php/topic,4995.0.html
In my forum it works as it should.

10
Bugs / Re: Many errors...
« on: April 21, 2013, 05:53:06 am »
The errors appeared from something that the users did. I am sorry, I could not reproduce it, I tried apostrophes in title, bodu text, image filename, and it works ok.
If I'll get more of there messages, I'll inform you.

11
Bugs / Re: Many errors...
« on: April 17, 2013, 12:05:17 am »
There is a problem with the apostrophes in a SQL query, it seems they are not escaped. I have a few of messages like these in my logs. All of them have an apostrophe in the query.

Quote
http://xxxxx/index.php?action=classifieds;sa=addlisting2
Σφάλμα βάσης δεδομένων: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'jimjj55's media' - s1207_photobucket_com_user_jimjj55_media_Fender%20New%20CS%20' at line 3
Αρχείο: /xxxxx/forum/httpdocs/Sources/classifieds2.php
Γραμμή: 9350

My SMF Classifieds version is 2.0.11

12
Feature Requests / Re: Feature Requests for SMF Classifieds 3.0
« on: April 10, 2013, 02:09:26 am »
How about making the member's contact details (phone number, email, etc) hidden from non-members? (Contact details should be written in a separate field, not in the message body)
This will also help the site have more members, because visitors will have to register and log-in, to see the contact details.

13
Support / Re: Board Index Template Error
« on: February 26, 2012, 01:38:34 pm »
Find
 $board['new']
Change to
 @$board['new']

I thought this would have been fixed by now, after 1 year. You forgot?

14
Feature Requests / Re: Share classifieds on facebook etc.
« on: February 20, 2012, 06:51:50 am »
After the newest changes that you made, it works now :)

You are right about "share" versus "like", keep the "share".

15
Feature Requests / Re: SMF Classifieds 2.0 Requests/Suggestions/ideas
« on: January 28, 2012, 01:22:04 pm »
I was thinking of a scheduled task embedded in the classifieds index template, each time someone accesses the 1st page the will be a code like this: ...if the day has changed, then do a new check.
Or, there could be a button in the admin panel for manual check.

If you can provide me the SQL statement for the check (which users have made transactions and not left feedback), I can easily do the rest and put it in my site.

Pages: [1] 2 3 ... 9

+- Recent Topics

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Stripe Integration by SMFHacks
February 08, 2020, 10:55:29 pm

SMF Store 4.0 Released by SMFHacks
January 26, 2020, 12:11:56 pm

Order of photos by D4611001
January 21, 2020, 12:06:36 pm

Cannot install by SMFHacks
January 18, 2020, 09:40:56 pm

Call to undefined function mysql_query() by SMFHacks
January 18, 2020, 02:06:47 pm

English British Translation file by HAL9000
January 17, 2020, 05:44:28 pm

Characters dispayed as boxes by SMFHacks
January 16, 2020, 07:21:51 am

Powered by EzPortal