• Welcome to Simple Machines Community Forum. Please login or sign up.

Topic Descriptions

Started by vbgamer45, May 19, 2011, 08:43:42 AM

Previous topic - Next topic

FireDitto

I wonder if I could bother someone for a little assistance? I've been fiddling around, but I can't quite seem to hit the nail on the head!

What I'd really like to do, is have it so that the Bookmarks mod pulls up the Topic Descriptions when a description is included, and perhaps just leave it blank when one isn't there.

I can manage to create a spot for it on the table, but I'll be squared if I can get it to actually pull forth the descriptions. I'm sure the answer is simple, but I can't seem to find it.

Any assistance would be very, very appreciated!
Second Pass Weyr
An AU Pernse RPG

SMF 2.0.6 with SP 2.3.5

maximo4usa

Hello, thank you very much for sharing your mod  ;)

I like the "additional description mod " but i was thinking to use it as "Additional tags" instead. My idea is to write tags separated by spaces in the additional description field. The problems is that your description field is not searchable in the seach function. How would i add the field in the search criteria ?

max

LirikAskO


Con

I've just installed this mod and strange enough, it did not work for the Core theme, but did work in my custom themes.
I've manually added the bits that failed during the test, but it didn't change anything, it's not showing the descriptions.

rcaddie

I love this modification and appreciate the time it took to make it. I am using it on SMF 2.0.9 on the Coalblack theme. I regret I'm not a programmer and need a bit of help from those so generous as to offer it.

1. I'm also having the same trouble with Topic Description disappearing whenever the original poster edits their post. Does anyone have a suggestion on how to make this stick?

2. In addition, this mod keeps generating the following log error:
Quote
8: Undefined index: description
File: /home/xxxxxxxxxxx/public_html/forum/Sources/Post.php
Line: 773

Line 773 of that document simply reads:

$form_description = $row['description'];


I'll gladly supply any other information required if someone volunteers to help! Thanks.

vbgamer45

Check that all the edits are made to Sources/Post.php
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

rcaddie

Thanks for the suggestion, vbgamer45. :) I've double and triple checked that.  It's all correct. Did the snippet of code I posted tell you anything that might help me?

Sigyn

I have this mod installed and enabled... I do have a problem though. The description of the topic doesn't show in the topic list - though it does show in the topic itself. I am running the newest version of SMF and it says I have the most updated version of the mod. Here are screenshots of what I mean:


This is the topic in the list of topics within a board where the description should display.


The description shown within the topic.


And of course, the version of the mod installed.


Is there a reason these descriptions are not showing on the topic list description as the mod says they should be?

Biology Forums

It's likely a problem with the theme. Did it install in your custom theme? If not, you may have to parse that section manually.

Another question, are the descriptions searchable?

Sigyn

Quote from: Shuban on December 25, 2015, 01:54:45 PM
It's likely a problem with the theme. Did it install in your custom theme? If not, you may have to parse that section manually.

Another question, are the descriptions searchable?
Yes it installed on my custom theme, that's the one you saw the images from. The descriptions show in the topic, but not the topic lists in boards. I don't know how to parse codes manually...

And I have no idea if they are searchable.

Dumke

Is it possible to add a section that is "only enable in these boards"?

also is this section SSI Friendly?

vbgamer45

Possible but currently do not have the time to do it.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dumke

Quote from: vbgamer45 on January 13, 2016, 10:52:02 AM
Possible but currently do not have the time to do it.

I'll just have to do it the otherway then :'(

And about the SSI?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Sigyn

Quote from: Sigyn on December 24, 2015, 01:10:42 PM
I have this mod installed and enabled... I do have a problem though. The description of the topic doesn't show in the topic list - though it does show in the topic itself. I am running the newest version of SMF and it says I have the most updated version of the mod. Here are screenshots of what I mean:


This is the topic in the list of topics within a board where the description should display.


The description shown within the topic.


And of course, the version of the mod installed.


Is there a reason these descriptions are not showing on the topic list description as the mod says they should be?
Can I get an answer to this please? I would really like to fix the issue.

aegersz

i tried this but got this error on my 2.0.11 system WHEN creating a New Topic:

Template Parse Error!

There was a problem loading the /Themes/default/Post.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected T_STRING
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

vbgamer45

can you try again then attach that file here that has the error.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

aegersz

sure thing ... see attached
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

vbgamer45

Conflict with tagging system .

Updated file attached
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

aegersz

October 11, 2016, 10:33:28 AM #119 Last Edit: October 11, 2016, 10:49:30 AM by aegersz
that worked, thanks - will you be updating the mod ? if so, i will wait for your next version.

if not, can i run with your new Post.template.php ?
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Advertisement: