Twitter SMFHacks Facebook SMFHacks SMFHacks.com
Home Forum Index Hacks Products Login Register Search
  Show Posts
Pages: [1]
1  SMF Classifieds / Support / Re: How to find Board Numbers in classfieds ? on: August 19, 2012, 06:11:22 am
How it would work you would edit the category.
There would be a setting for header url/picture.

I am also interested in this feature. It would be a great addition to SMF Store too. Smiley
2  SMF Classifieds / Support / Re: Can't upload images with uppercase file extensions on: July 24, 2012, 01:54:29 pm
I think I figured out the problem, the error message is a 'false positive' that occurs when the PHP.INI upload file size is set too low (in my case, 2MB) and the image file size being uploaded exceeds that. If I upload an image that is too large, I think the upload cuts off @ 2MB and the file looks corrupt when examined afterwards, so it reports back that the file type is invalid instead of reporting the file size was too large. In other words, it looks like the image handler can't tell if the file was too large and was cut off during the upload due to exceeding the max upload settings in the PHP.INI file.

Is there a way to test the file size before attempting the upload? Maybe report to the user that the file size is too large before attempting the upload instead of allowing the file to be cut off and corrupted after a partial upload?
3  SMF Classifieds / Support / Re: Can't upload images with uppercase file extensions on: July 20, 2012, 10:20:47 am
Yes and yes.
4  SMF Classifieds / Support / Can't upload images with uppercase file extensions on: July 19, 2012, 07:05:24 pm
I just noticed that if you select an image with a extension in uppercase, (ie; IMAGE000.JPG) the image fails to upload and you get the error message that the image file type is not supported.
It looks like after you browse to the image and select it, the case of the file extension changes to lowercase (IMAGE000.JPG changes to IMAGE000.jpg).

Is there a way to edit the accepted file types to include upper and lowercase? Where is the code located that parses the file extension and does it purposely modify the case for a reason?

This is happening on a test server running IIS v6.0 (Server 2003 OS), SMF v2.0.2, MySQL v5.5.25a, PHP v5.3.14

Thanks!
5  SMF Classifieds / Support / Re: Item thumbnail first? on: June 14, 2012, 09:48:29 am
Url: '.../smf/index.php?action=classifieds;cat=1'

You end up here once you click on a category from the Classifieds home page.

I have the 'Use simple main layout with recent listings as the focus' mode turned OFF.

I attached a photo of how it looks now for a reference.

The default is:

Listing Title               Thumbnail Image    Posted By    Current Price    Bids   Listing Date   Ending Date   Time Left   Comments   Views
-----------------------------------------------------------------------------------------------------------------------------------------------------------

I'd like to change it to:

Thumbnail Image   Listing Title                Posted By     Listing Date  Ending Date   Comments   Views    Bids   Current Price   Time Left
-----------------------------------------------------------------------------------------------------------------------------------------------------------
6  SMF Classifieds / Support / Re: Item thumbnail first? on: June 14, 2012, 02:27:40 am
I made the change, but the order is still the same.  Huh

The default is:

Listing Title               Thumbnail Image    Posted By    Current Price    Bids   Listing Date   Time Left   Comments   Views
---------------------------------------------------------------------------------------------------------------------------------------------

I'd like to change it to:

Thumbnail Image   Listing Title                Posted By     Listing Date  Comments   Views    Bids   Current Price   Time Left
---------------------------------------------------------------------------------------------------------------------------------------------

In other words, I'd like it to resemble a little more like how eBay listings look.  Wink

Also, will the layout changes carry over if the 'Use simple main layout with recent listings as the focus' is checked? I'd like both listing modes to look the same.

Thanks!
7  SMF Classifieds / Support / Re: Change BIN and Bid to buttons? on: June 13, 2012, 10:29:03 pm
That was just what I was looking for!  Grin

Thanks again!
8  SMF Store / Support / Re: Center category pictures on: June 13, 2012, 06:39:37 pm
Works perfect!   Cool

Thanks!
9  SMF Classifieds / Support / Re: Change BIN and Bid to buttons? on: June 13, 2012, 06:36:12 pm
Code:
What would I need to change to change the words 'Buy It Now' and 'Bid' to buttons or icons - instead of displaying the words, display a .png or .gif icon?
That would require a couple edits to the template.php You would need to provide the graphics for those buttons

Which lines would I have to change if I am using the graphics bid.gif and buynow.gif?

Code:
I would also like to change the font size (maybe the color too) of the bid price, shipping price and buy in now price - is this possible?
An easy way to do that would be look for the text in
themes/default/languages/Classifieds.english.php

Then just find the text entry for example
$txt['class_example'] = 'my text here'';
And change it to
$txt['class_example'] = '<font color="#FF0000">my text here</font>'';

That would change it to red in the above example and you can use any html tags in the language strings file.

After you make a change to the language strings in SMF 2.0 you have to go to file maintenance clear cache


That was easy enough.  Cool

Thanks for the help!
10  SMF Classifieds / Support / Item thumbnail first? on: June 13, 2012, 06:31:26 pm
In the listing of available items, the item thumbnail in the second column with the item description listed first. What do I have to change to make the thumbnail the first column, like the listings on eBay?

I'm using SMF 2.0.2.

Thanks!
11  SMF Store / Support / Re: Center category pictures on: June 13, 2012, 06:12:10 pm
The edit is themes/default/store.template.php

If you provide the file we can make the change. I am not sure what SMF version you are using 2.0 or 1.1.x so there is two different files.

It's a fresh install of SMF 2.0.2.

Thanks!
12  SMF Classifieds / Support / Change BIN and Bid to buttons? on: June 13, 2012, 06:07:15 pm
What would I need to change to change the words 'Buy It Now' and 'Bid' to buttons or icons - instead of displaying the words, display a .png or .gif icon?

I would also like to change the font size (maybe the color too) of the bid price, shipping price and buy in now price - is this possible?
13  SMF Store / Support / Social networking share icons? on: June 13, 2012, 05:50:15 pm
Is there a way to add the same social sharing icons to the bottom of the page when viewing a product in the store to mimic the sharing icons used in the Classifieds mod?
14  SMF Store / Support / Re: Center category pictures on: June 13, 2012, 05:44:49 pm
It's a new install on a test server with the default (unmodified) templates.
15  SMF Store / Support / Center category pictures on: June 13, 2012, 05:20:06 pm
When I list the categories in the store, the category images start on the far left of the listing table - how can I center the category images instead of favoring the left side? Which file would I need to edit and what would need to be changed?
Pages: [1]
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 3.262 seconds with 20 queries.