News:

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

Main Menu

Topic Description

Started by Rudolf, January 03, 2007, 09:12:29 AM

Previous topic - Next topic

2bz2p

#80
Thank you
I will try it later I cant edit that file from here. Though I think that is the fix I need for alot of Menu items of the sort that dont show.  Almost every MOD I add it has that type of issue ie doest list in the admin menu just blank spots.

Edit: I just check that file for the $txt string and it is in there.

Edit 2: I checked the UTF8 file and added it there and it fixed it.
USVAF.COM || Flyvang.org <-- My sites with SMF

opery

Help please! I have SMF 1.1.3! Topic Description does not work!

dDOTr2

Quote from: opery on June 27, 2007, 11:01:18 AM
Help please! I have SMF 1.1.3! Topic Description does not work!

yes, tat xml_topic.js file conflicts. you may add the mod manually or need to wait for 1.1.3 update.

i m waiting for the update :D

Rudolf

#83
I have updated the package.
I kept the version number because nothing is changed.



Those of you trying to apply the 1.1.3 upgrade patch (the patch not the package) uninstall the mod before upgrading then reinstall. Download the current file from the mod page, to solve a small compatibility issue.
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

opery

Quote from: Rudolf on June 27, 2007, 01:36:49 PM
I have updated the package.
I kept the version number because nothing is changed.



Those of you trying to apply the 1.1.3 upgrade patch (the patch not the package) uninstall the mod before upgrading then reinstall. Download the current file from the mod page, to solve a small compatibility issue.
Thanks

@ngel

The problem with xml_topic.js is resolved BUT I've a problem with display.template.php.

It seems that the code in <operation>
<search position="before"><![CDATA[<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea><br />]]></search>
<add><![CDATA[
<input type="hidden" name="description" value="" readonly /><!-- //-Topic description MOD- -->]]></add>
</operation>


is not present in my "display.template.php"

digger

Quote from: @ngel on June 28, 2007, 05:52:08 PM
The problem with xml_topic.js is resolved BUT I've a problem with display.template.php.

It seems that the code in <operation>
<search position="before"><![CDATA[<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea><br />]]></search>
<add><![CDATA[
<input type="hidden" name="description" value="" readonly /><!-- //-Topic description MOD- -->]]></add>
</operation>


is not present in my "display.template.php"

Replace it with


<operation>
<search position="before"><![CDATA[<textarea cols="75" rows="7" style="width: 95%;" name="message" id="message" tabindex="1"></textarea><br />]]></search>
<add><![CDATA[
<input type="hidden" name="description" value="" readonly /><!-- //-Topic description MOD- -->]]></add>
</operation>

GhoXt

i can i install this hack into 1.1.3 ?

digger

Quote from: GhoXt on June 28, 2007, 06:17:51 PM
i can i install this hack into 1.1.3 ?

You can read this topic from Reply #83

Rudolf

There are no issues with 1.1.3 AFAIK. It installs fine, and should not cause any errors.
The upgrade is a little rough, because the two packages are conflicting over a small thing.
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

GhoXt

i tried to install and after i click "install" appeared this

Fatal error: require() [function.require]: Failed opening required '/home/madleiloex/domains/pmteam.org/public_html/umfo/Packages/temp/./DB.php' (include_path='.:/usr/local/lib/php') in /home/madleiloex/domains/pmteam.org/public_html/umfo/Sources/Packages.php on line 552

Rudolf

The package wasn't extracted correctly, which is weird.
Do you have the temp folder and file in it?
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

GhoXt

hi again i follow the path and no temp folder :| wtf ? ../Packages/all pakages here no temp folder

Rudolf

Create manually the temp folder and make sure that it is writable.
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

GhoXt

ok mate its installed i think, appeared installed.
well where should appear the confg to this hack at admin panel ? i dont see anything :S

kill3r

Quote from: Rudolf on June 27, 2007, 01:36:49 PM
I have updated the package.
I kept the version number because nothing is changed.



Those of you trying to apply the 1.1.3 upgrade patch (the patch not the package) uninstall the mod before upgrading then reinstall. Download the current file from the mod page, to solve a small compatibility issue.

Thanks, been waiting for that.

Farmacija

Quote from: Nanuciao on January 15, 2007, 05:46:20 PM
Any examples of forum using this mod?

Max
is there? screenshot would be appreciate...
www.farmaceuti.com
www.farmaceuti.com/tekstovi

JOSHSKORN

#97
I have a question on installation w/ this mod.  Basically, I have problems w/ my server and I have to install all mods manually...

When opening up the themes.xml file, there is a line of code which says:


<file name="$themedir/Post.template.php">
<operation><search position="before"><![CDATA[
"subject"

]]></search>
<add><![CDATA[
, "description"

]]></add></operation>


The problem, is that there are multiple instances of "subject" in the file Post.template.php.  Which one do I replace, or do I replace all of them?

JOSHSKORN

Ok I'm having problems with the file xml.template.php as well.  I can't seem to find the string: ', $context['message']['subject'], ']]]]>><![CDATA[</subject>, either.  Can someone help me work this out?

Rudolf

The Post.template.php you have to add only after the first occurance.
On the line that says
var textFields = ["subject", "message", "icon", "guestname", "email", "evtitle", "question", "topic"];



You have to replace ]]]]>><![CDATA[ with ]]>

so on that line you have to search for
<subject><![CDATA[', $context['message']['subject'], ']]></subject>
And add after

<description isfirst="',empty($context['message']['is_first_post']) ? '0' : '1','"><![CDATA[', $context['message']['description'], ']]></description>


There are other similar operations, where you have to use the same logic.
The reasons behind is a bit hard to explain.
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

Advertisement: