News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Cumulus

Started by Bugo, February 11, 2011, 10:04:58 AM

Previous topic - Next topic

r2d2-trader

well, it's great to link to the Tagging Mod for the Tag Cloud, but is it possible to come to the Tag List after clicking on a Tag (see picture). It seems to link to a single post.

thx Rob

"Aller Anfang ist leicht, und die letzten Stufen werden am schwersten und seltensten erstiegen."
Johann Wolfgang von Goethe

Bugo

Open Subs-Cumulus.php, find
<a href="' . $scripturl . '?topic=' . $topic['id_topic'] . '.0" style="' . $size . '">
and replace with
<a href="' . $scripturl . '?action=tags;tagid=' . $topic['ID_TAG'] . '" style="' . $size . '">

r2d2-trader

i love ur speed - i'm really impressed! Thank you very much.

cu Rob
"Aller Anfang ist leicht, und die letzten Stufen werden am schwersten und seltensten erstiegen."
Johann Wolfgang von Goethe

Bugo

It's my pleasure.

If you'll find any errors in Error Log, try add "if (!empty($topic['ID_TAG']) && !empty($topic['tag']))". Example:

foreach ($context['tags_topics'] as $i => $topic) {
if (!empty($topic['ID_TAG']) && !empty($topic['tag']))
$urls[] = '<a href="' . $scripturl . '?action=tags;tagid=' . $topic['ID_TAG'] . '" style="' . $size . '">' . $topic['tag'] . '</a>';
}

Lady Night Owl

Whatever you did fixed it Bugo, thank you! It looks great.

I just have one suggestion (for a future update)...

Instead of (or as well as) having to enter the ID's of the boards we do want, there should be an option to enter the ID's of the boards that we don't want (unless I'm not understanding the description). Because if it's enabled, it takes from all the boards automatically. There are only a couple boards I'd like to exclude from tagging as opposed to about...20+ that I don't want to exclude.
Running SMF 2.0.1

Bugo

Thanks for nice idea. Done.

Lady Night Owl

You're welcome and thanks for the speedy service! Well done. :)
Running SMF 2.0.1

hhy89

Quote from: Bugo on October 05, 2011, 12:57:06 PM
Mm, try replace it
$tags = iconv("ISO-8859-9","UTF-8",$tags);
with
$tags = iconv($context['character_set'], "UTF-8", $tags);
Does it work?
yeah it works
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

yafet

Hey, i need some help here...

1. How do i change the "Cumulus Congestus" title into "Popular Topics" ?



2. How do i move this section to the top? not positioned at the bottom like this.


THANKS!  ;D

Bugo

1. Replace it in Cumulus.{your_language}.php (/Themes/default/languages dir)
2. Please, explain where is it at the top. Any screenshot.

yafet

Hi Bugo,

That was super quick respond! thanks for that, really appreciate it  :laugh:
Anyway, i have fixed issue no 1.

No 2 is, i want to move the 'Popular Topics' to the top of the forum, it will be first category people will see when they are first logging in.

At the moment (by default i think), it shows on the bottom of all categories.


Can you please help?

Bugo

Open Subs-Cumulus.php, find
$search = '<div id="upshrinkHeaderIC"' . (empty($options['collapse_header_ic']) ? '' : ' style="display: none;"') . '>';
and replace with:
//$search = '<div id="upshrinkHeaderIC"' . (empty($options['collapse_header_ic']) ? '' : ' style="display: none;"') . '>';
$search = '<div id="boardindex_table">';

yafet

i am sorry, where can i find Subs-cumulus.php again? tried using "search" function in cPanel, i couldnt find it.

Also, i tried default - languages directory, not there....
:'(

Bugo


yafet

Works like a charm  ;D

thank youu sooo muuchhhh    :D

You're the fastest support on this community ever!!!  thanks again for your help...

Lady Night Owl

Is there any way to adjust the width of the area where the tags do their thing in the file? I'm guesstimating that it's about 150-250 pixels wide now, but I'd like to change it to about 400-500px if possible.  :) Thanks in advance!
Running SMF 2.0.1

Bugo

The width is always 100%. Try to increase the height.

studiowi33

Hi all--

I'm getting some crazy errors in my error log:

http://********.tk/index.php?action=dlattach;topic=1389.0;attach=1522;image
8: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input string
File: /home/theostk1/public_html/Sources/Subs-Cumulus.php


http://********.tk/index.php?action=dlattach;topic=1389.0;attach=1522;image
8: Undefined index: character_set
File: /home/theostk1/public_html/Sources/Subs-Cumulus.php
Line 129


I have NO idea how the first line (topic=1389) even interacts with Subs-Cumulus.php. Any ideas on how to correct them?

Thanks as usual for any insight.

-s.w
SMF 2.0.2

Bugo

Open Subs-Cumulus.php, remove these 2 lines:

if ($context['character_set'] != 'UTF-8' && function_exists('iconv'))
$tags = iconv($context['character_set'], "UTF-8", $tags);

and paste this one:

$tags = iconv('ISO-8859-1', 'UTF-8//TRANSLIT//IGNORE', $tags);

studiowi33

Quote from: Bugo on October 11, 2011, 05:59:27 PM
Open Subs-Cumulus.php, remove these 2 lines:
...blah, blah, blah...

Thanks Bugo. That seems to have fixed it.
SMF 2.0.2

Advertisement: