News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Similar Topics

Started by Bugo, November 04, 2012, 02:07:37 PM

Previous topic - Next topic

Bugo

Fixed. Install version 0.9.2

wylekk

Есть еще один глюк - тема у меня на форуме WinSpy++, из-за этих плюсов ошибка...

Ошибка базы данных: syntax error, unexpected '+'
https://site.ru/index.php?topic=912.0
/home/admin/web/site.ru/public_html/Sources/Class-SimTopics.php (Строка 280)

Plus

Quote from: Bugo on January 16, 2020, 05:49:54 AM
Fixed. Install version 0.9.2

when i try to install it was say internal error

Bugo

What is your database name, version?

shadav

on the posting template, how can I move the similar topics block from the top to below the subject line

so between where you are putting the subject in at and where you would write the post in the editor box?

:laugh: it kind of makes my motion sickness kick in bouncing the entire screen around while trying to type in the bouncing subject box  :laugh:

Bugo

/Themes/default/scripts/simtopics.js, find
$("#post_header").after
replace with
$("#bbcBox_message").before
and then clean cache.

shadav

unfortunately that didn't work....probably because of the tabbed smilies mod

shadav

ok got it now....

changed it to
$("#smileyBox_message_addMoreSmileys").before

thank you

Sudhakar Arjunan

Nice mod Bugo, After install nothing in modification settings and cannot load on create topic page.
I use 2.1 beta 1. Kindly assist.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

marcosbr


Install the first one.
And beta 1 is too old, try updating your version.



Nothing in life is absolute. We are always learning... Did you know that?
https://amigosdaeletronica.com.br

SilverKnight

Not having anything populate for a 2.0* install

adp

SMF should have this by default option ;)

MohammedFK

How I can translate this word: Similar Topics
And hide everything except the article title only.

Bugo

1) "Similar Topics" == "مواضيع ذات صلة"
2) Edit /Themes/default/SimTopics.template.php and /Themes/default/scripts/simtopics.js

MohammedFK

Quote from: Bugo on May 16, 2021, 12:32:55 PM
1) "Similar Topics" == "مواضيع ذات صلة"
2) Edit /Themes/default/SimTopics.template.php and /Themes/default/scripts/simtopics.js

I canr find word (Similar Topics) in SimTopics.template.php OR simtopics.js

shadav

this might help, 1) was to answer your first question and 2) was to answer your second question

Quote from: MohammedFK on May 16, 2021, 11:53:51 AM
How I can translate this word: Similar Topics
Quote from: Bugo on May 16, 2021, 12:32:55 PM1) "Similar Topics" == "مواضيع ذات صلة"
/Themes/default/languages/SimTopics
which ever language file you are using, or create a new one called .arabic.php
and copy everything from the .english.php into it and translate the english to arabic
and then if you use utf8 (which you should be) create an .arabic-utf8.php as well

Quote from: MohammedFK on May 16, 2021, 11:53:51 AMAnd hide everything except the article title only.
Quote from: Bugo on May 16, 2021, 12:32:55 PM2) Edit /Themes/default/SimTopics.template.php and /Themes/default/scripts/simtopics.js
you'll need to edit the 2 files to do what it is that you are wanting

MohammedFK

Quoteyou'll need to edit the 2 files to do what it is that you are wanting

For the language; Done.

As for what is hidden, "some" are done through the settings.

But I cannot remove the user/member

MohammedFK

+ I think related topics are visible to members only; Visitors do not.

Dzonny

Quote from: MohammedFK on May 21, 2021, 01:41:58 PM
But I cannot remove the user/member
I assume you mean about the column, which is located in template file as well:
<td class="lastpost ', $alternate_class, '" width="22%">
<a href="', $topic['last_post']['href'], '">
<img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt['last_post'], '" title="', $txt['last_post'], '" />
</a>
', $topic['last_post']['time'], '<br />
', $txt['by'], ' ', $topic['last_post']['member_link'], '
</td>

MohammedFK

Quote from: Dzonny on May 26, 2021, 09:00:00 AM
I assume you mean about the column, which is located in template file as well:

Excuse me sir, but what can I amend?

Advertisement: