Advertisement:

Author Topic: View Single Category  (Read 80496 times)

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,506
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: View Single Category
« Reply #20 on: May 03, 2007, 04:50:45 PM »
So are you saying when you download it your computer automatically decompresses it? Do you have the original still to upload? Did you try to repackage what it decompressed (it can be a zip file if you want).
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline kimba

  • Jr. Member
  • **
  • Posts: 214
    • Beyond The Realm
Re: View Single Category
« Reply #21 on: May 03, 2007, 07:36:04 PM »
The computers asks me if I want to decompress it. When I say yes, it shows me all the files within the tar file. When I say no, it just shows the tar file.

The problem with downloading the original file for me is that it doesn't actually show up in my desktop [the tar.gz file]. I'm actually not sure how to repackage a tar file into a zip file.
Kimba
==============================
Beyond the Realm - http://realm.craftylion.com

Offline kimba

  • Jr. Member
  • **
  • Posts: 214
    • Beyond The Realm
Re: View Single Category
« Reply #22 on: May 03, 2007, 07:50:35 PM »
I seem to be talking without trying. I have a tendency to do that  :-[ I've worked it out.
Kimba
==============================
Beyond the Realm - http://realm.craftylion.com

Offline hein

  • Newbie
  • *
  • Posts: 5
Re: View Single Category
« Reply #23 on: May 09, 2007, 09:50:22 PM »
hi there, great mod, thanks a lot for your work..

emm, i think i found a little  bug...
my english sucks, so i will try to explain the best i can...

when you are viewing a topic or forum....
and click on the category name on the link_tree (site > forum > "category" > forum > topic.....)
it point to "hxxp:sitename/index.php?f=1 [nonactive]".... so it goes back to the forum.. not the category...
i think it should point to "hxxp:sitename/index.php?action=forum;f=1 [nonactive]"

hope its clear.. enough at least...

thats it..

greetings..

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,506
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: View Single Category
« Reply #24 on: May 09, 2007, 10:02:43 PM »
Are you using TinyPortal?
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,506
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: View Single Category
« Reply #25 on: May 09, 2007, 10:13:09 PM »
Oh. I see where this happens.

Open Load.php and find:
Code: [Select]
// This is cheating but TinyPortal Modifies this as well.
                // Build up the linktree
$context['linktree'] = array_merge(
$context['linktree'],
array(array(
'url' => $scripturl . '?' . (!empty($context['TPortal']) ? 'action=forum;' : '') . 'f=' . $board_info['cat']['id'],
                                'name' => $board_info['cat']['name']
                        )),

Replace with:
Code: [Select]
// This is cheating but TinyPortal Modifies this as well.
                // Build up the linktree
$context['linktree'] = array_merge(
$context['linktree'],
array(array(
'url' => $scripturl . '?' . (!empty($context['linktree'][0]['name']) && $context['linktree'][0]['name'] == 'Forum' ? 'action=forum;' : '') . 'f=' . $board_info['cat']['id'],
                                'name' => $board_info['cat']['name']
                        )),

That should fix the problem.

I forgot that $context['TPortal'] isn't loaded yet when Load.php is called. Doing that fixs the problem.
I will update the mod package soon if you want to install the mod again instead of manual fix.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline hein

  • Newbie
  • *
  • Posts: 5
Re: View Single Category
« Reply #26 on: May 10, 2007, 03:28:36 AM »
hi there..
yes i use tinyportal...
but.. the fix doesnt work...
tried a couple of times.. to recheck.. but still not working..

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,506
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: View Single Category
« Reply #27 on: May 10, 2007, 06:07:29 PM »
Can I have a link to your forum?
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline hein

  • Newbie
  • *
  • Posts: 5
Re: View Single Category
« Reply #28 on: May 10, 2007, 10:55:37 PM »
Can I have a link to your forum?
yep, here it is : hxxp:hein.grinhost.net [nonactive]
to test what i say go to a topic, then try te get back to the category through the linktree.
the forum has almost not content because i am preparing the inferface first..
greetings

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,506
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: View Single Category
« Reply #29 on: May 11, 2007, 04:53:32 PM »
Reverse the changes and uninstall the mod.
Then download the new one.
That is the only change I made to fix this (and it is working with that change on my test installs) so it might not be installed right.
btw. look at your site in Firefox 2.0. To me some things are appearing weird.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline hein

  • Newbie
  • *
  • Posts: 5
Re: View Single Category
« Reply #30 on: May 11, 2007, 06:25:34 PM »
ok, will do that
thanks for the help
and about my site, i know about the weird things.. its just i am heavily modificating the theme
and errors come often..
i keep testing on firefox and ie.. for checking everything
thanks again

Offline Smoky "Rider" Blue

  • SMF Hero
  • ******
  • Posts: 1,683
  • Gender: Female
  • It's all in your head! :p
    • smoky.blue.01 on Facebook
Re: View Single Category
« Reply #31 on: March 22, 2008, 12:54:01 AM »
I just grabed the one for the beta and will play with it, thanks Sleepy.. ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Offline Metal_13

  • Jr. Member
  • **
  • Posts: 126
    • Pinoytambay.com
Re: View Single Category
« Reply #32 on: May 05, 2008, 08:27:08 AM »
im using SMF 2.... why am i getting this error?
the files isnt currupt and its for smf 2 so whats wrong?  i  really need this mod.. how can i fix this....

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,506
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: View Single Category
« Reply #33 on: May 05, 2008, 09:44:14 PM »
Which version of SMF are you using?
I have not updated the packages to work with 2.0 Beta 3.1 yet. They should work though by emulating the version of "2.0 Beta 3".
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline Manu.G

  • Full Member
  • ***
  • Posts: 448
  • Gender: Female
  • Angel by Day, Devil by Night
    • http://facebook.com/manuela.guth on Facebook
    • Fan Community
Re: View Single Category
« Reply #34 on: May 12, 2008, 06:19:29 AM »
Hi,

I really love your mod and we were using it till the day we installed the Simple Portal
http://custom.simplemachines.org/mods/index.php?mod=1104 with the Portal your mod wasn't working as it should. That's why we uninstalled it. Today I wanted to install it again, cause the author of the Portal mod posted a code to make your mod working with the Portal.
The only file which is causing trouble is the Load.php.
Now I want to ask you, can you please take a look at our Load.php and help to fix the error, so I can install the mod again in our forum?
Version SMF 2.0.8
SimplePortal 2.3.5

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,506
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: View Single Category
« Reply #35 on: May 12, 2008, 10:02:41 PM »
I made the change manually to the Load.php that this mod needs.

While your installing it will still say an error occurred for the Load.php
If the Load.php is the only file that files and you have replaced your Load.php with the attached one. Then you can click apply.

Note, you may want to keep a backup of your Load.php as if you want to uninstall the mod you still won't remove all its functionality.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline miguelito

  • Semi-Newbie
  • *
  • Posts: 20
    • foro cometas.info
Re: View Single Category
« Reply #36 on: May 28, 2008, 03:32:29 AM »
great mod, I think it must be in the core of smf.

using 2.0 beta public 3.1

download and install: no problem (if you change compatibility to "2.0 beta public" )

there is only a 'minibug'.

if you use multiple categories parameter ( hope i´m using it correctly )
example:
http://foro.cometas.info/index.php/c,18,21.html [nofollow]
it shows you both categories: Great!.
but if you use the collapse category button, it back to 'all categories' listing.

is it possible to keep the parameter of the cat_id´s that you wanna see in this case?

thanks.
http://foro.cometas.info [nofollow] - SMF beta 3 public

Offline Chopper

  • Jr. Member
  • **
  • Posts: 255
  • Gender: Male
Re: View Single Category
« Reply #37 on: May 28, 2008, 06:13:05 AM »
How do you activate this mod? I have installed it but notice no difference. Can anyone help please?

Thanks

Offline miguelito

  • Semi-Newbie
  • *
  • Posts: 20
    • foro cometas.info
Re: View Single Category
« Reply #38 on: May 28, 2008, 06:28:30 AM »
in your forum index:
WITHOUT the mod: if you click in the name of a category: toogles visibility of that category ( srink/expand the boards of this cat )
WITH the mod: the click reload index with only that category.

also, you can make a direct link to an index with the categories you wanna see, por example: ( real link to my forum: http://foro.cometas.info/index.php/c,3,18.html [nofollow] ) will show only 2 categories


hope it helps.
http://foro.cometas.info [nofollow] - SMF beta 3 public

Offline Chopper

  • Jr. Member
  • **
  • Posts: 255
  • Gender: Male
Re: View Single Category
« Reply #39 on: May 28, 2008, 08:48:54 AM »
Nope, sorry this makes no sense to me im afraid. Im new to all this you see.