News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Simple Listings

Started by Bugo, September 16, 2012, 12:56:04 PM

Previous topic - Next topic

Bugo

Link to the mod

It's the simplest implementation of a bulletin board for your forum.

How to use this mod
  • Just select any category or specify any board on your forum where users will be posting their ads.
  • Every board within this category will be an advertising section.
  • Every topic within boards in this category will be an advertising message.
  • Every first image (that attached in topic) will be as a thumbnail on the advertising table.


4Kstore

Nice mod and great idea..
Thanks bugo!

¡¡NEW MOD: Sparkles User Names!!!

FrizzleFried

I installed on my test forum...

I enabled...

I set for General Forum to test.

General forum still looks like... general forum?  What am i doing wrong?

Thanks!

LostTarget

RE: General forum still looks like... general forum?

Same here!

Bugo

Did you try go to ?action=bbs

LostTarget

And, where in the admin panel you would  "?action=bbs"

I must be missing something....

FrizzleFried

Quote from: Bugo on September 19, 2012, 01:08:45 PM
Did you try go to ?action=bbs

OK... I see how this works... I was under the assumption it changed the way the forum looked if you go to the specific forum board... I did not realize that there was a new menu selection on the main menu that shows the forum in questions post in a different format.   I guess i assume it changed the way the forum category itself looks...


Bugo

Quote from: FrizzleFried on September 19, 2012, 06:08:37 PMI guess i assume it changed the way the forum category itself looks...
People use themes for this :)

FrizzleFried

Quote from: Bugo on September 19, 2012, 08:29:24 PM
Quote from: FrizzleFried on September 19, 2012, 06:08:37 PMI guess i assume it changed the way the forum category itself looks...
People use themes for this :)

There is a theme that changes just one or two boards but leave the rest as normal?

;)

Sorry for the confusion.


Bugo

It's possible. Just go to Admin -> Forum -> Boards - select a board ("Modify") and select board theme for it :)

atticuk

Quote from: FrizzleFried on September 19, 2012, 06:08:37 PM
Quote from: Bugo on September 19, 2012, 01:08:45 PM
Did you try go to ?action=bbs

OK... I see how this works...

Hi FrizleFried Would you explain how you managed to get this mod working please. I've installed it successfully but it's only showing on the top page menu under Announcements, when I click on it there's just an ordinary posting box.

I've even downloads 'Custom Action Mod' in order to make sure that I'm enabling ?action=bbc. I then see the place ads box but it wont let me post an ad.

thanks

PaulKet

How do I go about changing the word "Announcements" in the menu to something like "Classifieds"?

Bugo

Open SCL.english.php (/Themes/default/languages dir) and change.

PaulKet

Quote from: Bugo on October 01, 2012, 11:26:55 AM
Open SCL.english.php (/Themes/default/languages dir) and change.

Thank you, that was much easier than I expected.


Realinfo

Instead of Category, I want it to work for just one Board........... is it possible....... As in category I have many borads which are not for Advertisement and I don't want to make one category just for it............ 2.0.2 Default theme.............

Dave J

Hi and thanks for this mod.

Can you tell me if it's possible to set it so that members can see the attachements from the 'Bulletin Board' page please?

I can see them as admin but neither the moderators or members can see them.

I would like everyone to see them.

I have checked permissions etc but can find nothing

Thanks & regards

Dave
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Bugo

Try new version - 0.5.1

Dave J

Quote from: Bugo on October 14, 2012, 01:24:14 PM
Try new version - 0.5.1

Brilliant Bugo thank you very much, it works a treat ;)
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

TrickyRicky

Fantastic mod thanks

Sulfur

Quote from: Realinfo on October 02, 2012, 08:33:01 AM
Instead of Category, I want it to work for just one Board........... is it possible....... As in category I have many borads which are not for Advertisement and I don't want to make one category just for it............ 2.0.2 Default theme.............

this, is this possible? also is it possible to show in category, like, Itens for sell, finding itens, trade itens, etc...

Motorhed

Thumbnails resize doesn't work, images is at full size on the special view.

mrnuke

Bringing back an old thread to life.

Any idea how to set this up to display latest classifieds ads per latest post, instead of the date of the thread start?

Www.ctguntalk.com CT's hottest Firearms, Politics and News Social Site.

smitch6

hi sorry to drag this thread up
but why doesn't my forum classified area look like the picture for this mod pls?
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

Shades.

Having problems with the thumbnails. I login as a regular member and the thumbnails on the listing screen do not show but when I log in as admin the thumbnails show. I have the attachment permissions set on for members to upload and view...is there another permission somewhere I'm missing? Im uploading pics below:

1rst pic logged in as regular member...
2nd pic logged in as admin.
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Bugo

Thanks for response. I have updated the mod.

Shades.

That works great for members! Any way to allow guest to see the thumbnail? I have permissions set for guest to see attachments and they can see the thumbnail inside the post but not on the classifieds listing page. Thanks a lot for the help and the mod!
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Bugo

It should work for guests too, check permissions.

Shades.

Thanks you helped me figure it out. I had that checked for guest to view attachments but I had added a new profile for that board called "approval" and I forgot to change the permissions for guest for that new profile. Thanks again!  8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

jafonseca

Hi , good morning. Thanks for the mod. It's posible to move the column of 'Thumbnails' between the colum 'forum' and the column 'topic'? The listing will looks like this

date | last post | forum(section) | Thumbnail | Title (topic) | Autor (user) | Replies  | views

Thanks

Bugo



minormike

Can't seem to make this work - my topics in the chosen forum are exactly the same as they were before  :(

Kindred

Nice...

Combine this with a few mods and features and you have a full system

Points:
1- This seems to work with SMF 2.1 RC3
https://test2.turtleshellprod.com/index.php?action=listings

2- I kinda wish you could specific just a single board rather than a whole category....   I know that I can move the single board into a single category -- but it looks less clean on the index.

3- in combination with the Custom Form mod to create a clean, default look to the display

4- In combination with a forced theme for each of the listings boards -- this would allow you to define a different look/feel for posts in those board.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Bugo

v1.1

* Added a possibility to specify any board ID (instead of category) for your ads
* Changed arrangement of some columns

Shades.

Quote from: Bugo on October 19, 2020, 04:03:22 PM
v1.1

* Added a possibility to specify any board ID (instead of category) for your ads
* Changed arrangement of some columns
Great job!
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Kindred

hmmm.... just installed the new version. (1.1)

The "select board ID" is greyed out and won't let me select...

and then, of course, when going to the listings index,

/Sources/Class-SimpleListings.php (Line 439)  and /Sources/Class-SimpleListings.php (Line 536)
8: Undefined index: simple_listings_board
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Bugo

Updated to v1.2, fixed found issues.

Shades.

How can I move the thumbnails back over to the left side before the "Date" section?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Bugo

Do you want such a order "Thumbnail / Date / Last reply / Board / Subject / Author / Replies / Views"?

Shades.

Quote from: Bugo on March 23, 2021, 12:29:47 AM
Do you want such a order "Thumbnail / Date / Last reply / Board / Subject / Author / Replies / Views"?
Yes please!?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

Quote from: Kindred on October 16, 2020, 04:39:45 PM
Nice...

Combine this with a few mods and features and you have a full system

Points:
1- This seems to work with SMF 2.1 RC3
https://test2.turtleshellprod.com/index.php?action=listings
Yes it works for me too in 2.1RC3 but getting these errors in logs:
QuoteError
Type of error: General
Error message:
8: Trying to access array offset on value of type null
File: /home/xxxx/public_html/xxxx/xxxx/Themes/default/SimpleListings.template.php
Line: 101
URL of page causing the error: https://xxxx.com/xxxx/index.php?action=admin;area=modsettings;sa=listings
Backtrace information
#0: smf_error_handler()
Called from /home/xxxx/public_html/xxxx/xxxx/Themes/default/SimpleListings.template.php on line 101
#1: template_callback_select_sl_board()
Called from /home/xxxx/public_html/xxxx/xxxx/Themes/default/Admin.template.php on line 832
#2: template_show_settings()
Called from /home/xxxx/public_html/xxxx/xxxx/Sources/Load.php on line 2673
#3: loadSubTemplate()
Called from /home/xxxx/public_html/xxxx/xxxx/Sources/Subs.php on line 3530
#4: obExit()
Called from /home/xxxx/public_html/xxxx/xxxx/index.php on line 176

Any plans on updating this to 2.1RC3 in the future Bugo? 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Bugo


Shades.

I see there's an update to this mod! :)

Not sure what all was changed but I like the layout thanks! 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

I've been using this on my main 2.0.18 forum as an event listing and I was wondering if/how I can change the date from the posting date to the actual event date? Or if someone's using it for classifieds, to change the posting date to the actual sale date or whatever, or just a simple way to change the posting date?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Kindred

In short, no

Longer, really, no

Post date is used by and for alot of things in smf code. Don't mess with it
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Shades.

I'm running this on 2.1RC4 and seems to be no problems other than the author box needs to be resized. It has those left & right arrow buttons. Where can I find the code to edit that? (See attachment)

ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Bugo

1. Press F12
2. Select an element on the page to inspect it.
3. Change/add an element rule in simple_listings.css

Shades.

Quote from: Bugo on September 05, 2021, 09:38:42 PM1. Press F12
2. Select an element on the page to inspect it.
3. Change/add an element rule in simple_listings.css
I've been trying to figure this out but I'm not getting anywhere! :o
I searched for the elements but couldn't find any that match! Could you or someone help? I just want to resize the Author column to get rid of those arrows. Thanks :)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

Quote from: Bugo on September 05, 2021, 09:38:42 PM1. Press F12
2. Select an element on the page to inspect it.
3. Change/add an element rule in simple_listings.css
I found it, it was in the index.css! 8)
Which means I probably screwed something else up Lol! ;D
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

Quote from: Shades. on March 23, 2021, 10:45:45 AMAny plans on updating this to 2.1RC3 in the future Bugo?
How about an update for 2.1.1 when you have time? O:)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Bugo

v1.3
  • Migrate to SMF 2.1
  • Fixed found issues
  • Replaced icons with emoji
  • Updated templates

Shades.

Awesome! Installed and working better than ever! ;)

Thanks @Bugo! 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

woolly bugger

I'm getting errors when clicking on the classified button...

8: Undefined index: simple_listings_category

Subs.php (Line 3470)

3470: if ($smileys !== false && $tag === null && isset($itemcodes[$message[$pos + 1]]) && $message[$pos + 2] == ']' && !isset($disabled['list']) && !isset($disabled['li']))

Shades.

Quote from: Shades. on August 08, 2021, 05:09:18 PMI've been using this on my main 2.0.18 forum as an event listing and I was wondering if/how I can change the date from the posting date to the actual event date? Or if someone's using it for classifieds, to change the posting date to the actual sale date or whatever, or just a simple way to change the posting date?

SMF 2.1.2
Simple Listings 1.3.1

Would it be possible just to remove the date or some how to not display it on the listings page? Or remove that column in the template please? O:)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Mareid

Any chance this will be updated to 2.13?

Shades.

It works fine on 2.1.3! ;)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Bugo

Normally, if a mod is compatible with SMF version 2.1.x, it will also be compatible with version 2.1.y, if y > x. In difficult cases, you can always try to install a mod in emulation mode with the version of SMF with which it is declared to work.

Marina3

Fatal error: Cannot redeclare template_callback_displayed_columns() (previously declared in /Themes/default/SimTopics.template.php:108) in /Themes/default/SimpleListings.template.php on line 132.

Kindred

You have installed the mod twice. 
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: