collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 39
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • P flex: Xup guys
    Today at 08:29:06 AM
  • P flex: Xup
    Today at 08:28:38 AM
  • Mstcool: :p *
    September 13, 2014, 07:55:49 PM
  • Mstcool: so when is a new version coming out? :o
    September 13, 2014, 07:55:45 PM
  • USFA: sorry thought was search no glasses
    September 06, 2014, 08:48:23 PM
  • USFA: rename forum
    September 06, 2014, 08:47:40 PM
  • Mstcool: Oh, ok, Sinan
    August 25, 2014, 10:19:15 PM
  • ArsenArsen: When i make them
    August 19, 2014, 12:20:20 AM
  • ArsenArsen: I had some mod ideas, i will put them.
    August 19, 2014, 12:19:45 AM
  • [SiNaN]: We could, but it's there as a reminder of some kind, that we should fill it in, somehow.
    August 18, 2014, 09:57:14 PM
  • Mstcool: Y don't u guys remove the customization section since it has no files?
    August 17, 2014, 10:27:28 PM
  • ArsenArsen: Ok, Great!
    August 15, 2014, 03:13:18 PM
  • [SiNaN]: We have the translators' names listed in the downloads area.
    August 15, 2014, 03:05:39 PM
  • ArsenArsen: Never Mind, i wont, noone did.
    August 15, 2014, 02:22:32 PM
  • ArsenArsen: Can i put mz name on translation
    August 15, 2014, 02:21:06 PM
  • [SiNaN]: You can only change your forum profile options once you have 5 posts. I have made an exception for Translator group though, so you should be able to do it now.
    August 13, 2014, 03:32:17 PM
  • ArsenArsen: Cant find where to change avatar
    August 13, 2014, 03:12:38 PM
  • ArsenArsen: Ok
    August 11, 2014, 05:17:55 AM
  • Underdog: there is a documentation link on your top-right
    August 10, 2014, 08:48:45 PM
  • ArsenArsen: What to use for docs? This is NoT SP support question.
    August 10, 2014, 02:55:55 PM

* Team Blog

* Recent Posts

Shoutbox Editing by BurkeKnight
[Today at 04:38:22 PM]


Re: Search does not include pages by BurkeKnight
[Today at 11:22:58 AM]


Re: The Never-Ending Always-Changing Off-Topic Thread by David
[Today at 06:32:51 AM]


Re: I'm new here by oNLy1
[Yesterday at 09:16:40 PM]


Re: The Never-Ending Always-Changing Off-Topic Thread by oNLy1
[Yesterday at 09:13:09 PM]

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: Simple Portal compatability with View Single Category Mod  (Read 2436 times)

0 Members and 1 Guest are viewing this topic.

Offline FireDitto

  • Jr. Member
  • **
  • Posts: 87
  • Gender: Female
    • Second Pass Weyr
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Simple Portal compatability with View Single Category Mod
« on: February 15, 2013, 07:08:54 AM »
Hi,

I really want to be able to use the Single Category Mod but I'm unable to due to it clashing with the Simple Portal mod. It clashes with all the SMF Portals that I had a look at.

I was wondering if there was a way to make it compatible with the SP mod, or if I could get help with the edits required to make them work hand in hand.

I really appreciate any assistance.

Thank you!

Offline xKroniK13x

  • Semi Newbie
  • *
  • Posts: 21
  • Gender: Male
  • Coding is Fun
    • The Quad Connection
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Simple Portal compatability with View Single Category Mod
« Reply #1 on: February 15, 2013, 10:08:48 AM »
What goes wrong?
Here to help who I can.

Offline FireDitto

  • Jr. Member
  • **
  • Posts: 87
  • Gender: Female
    • Second Pass Weyr
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Simple Portal compatability with View Single Category Mod
« Reply #2 on: February 15, 2013, 09:21:50 PM »
They clash, and the codes to change have been heavily modified by SP. I tried to do it the other way around, and it's basically "modify all the SP files" or "modify all the Single Category" files >>

Single Cat has clashes on;
Subs-BoardIndex.php, Sourses/BoardIndex.php, BoardIndex.template.php (that's because I removed the Info centre) themes/default/scripts/script.js and Sources/QueryString.php

I killed my test site trying to do the edits myself so I can't tell you what the requirements are around the other way lol.

Offline xKroniK13x

  • Semi Newbie
  • *
  • Posts: 21
  • Gender: Male
  • Coding is Fun
    • The Quad Connection
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Simple Portal compatability with View Single Category Mod
« Reply #3 on: February 16, 2013, 10:28:14 AM »
I plan on installing a test site this weekend to make some mods, I'll see if I can figure it out for you.
Here to help who I can.

Offline FireDitto

  • Jr. Member
  • **
  • Posts: 87
  • Gender: Female
    • Second Pass Weyr
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Simple Portal compatability with View Single Category Mod
« Reply #4 on: February 19, 2013, 09:32:35 PM »
That'd be beyond awesome if you do! :)

Offline phantomm

  • Support
  • *
  • Posts: 383
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Simple Portal compatability with View Single Category Mod
« Reply #5 on: February 26, 2013, 01:58:58 PM »
Few questions:
1. I'm not so good when it comes to understanding licenses... Can I post package here if mod is licensed under BSD?
2. When you opening single category should you see Info Center?

Offline phantomm

  • Support
  • *
  • Posts: 383
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Simple Portal compatability with View Single Category Mod
« Reply #6 on: March 02, 2013, 01:46:37 PM »
ok, so here is package for SP 2.3.5, it war released with BSD license, so I think it can be added here with some modifications.

Few tips:

How to hide Info Center in single category view?
Open BoardIndex.template.php and:
Code: (Find) [Select]
template_info_center();
Code: (Add before) [Select]
if(empty($_GET['c']))
How to hide button "Mark all messages as read" in single category view?
Open BoardIndex.template.php and:
Code: (Find) [Select]
if ($settings['show_mark_read'] && !empty($context['categories']))
Code: (Replace with) [Select]
if ($settings['show_mark_read'] && !empty($context['categories']) && empty($_GET['c']))

Package is only for SimplePortal 2.3.5 and SMF 2.0.4.
Compatibility with SMF 1.1.* was removed from this package.