collapse

* User Info

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

* Who's Online

  • Dot Guests: 46
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • BCNPalomino: lol, that search doe :O
    July 18, 2014, 09:26:27 AM
  • RohailPro23: hi all
    July 18, 2014, 08:09:00 AM
  • samborabora: sorry, thought this was search, lol
    June 29, 2014, 04:45:12 AM
  • samborabora: sp_embed_image
    June 29, 2014, 04:45:01 AM
  • stanyy: Was it merely correcting the mistake made in 2.0.7 or is 2.0.8 actually faster than 2.0.6?
    June 20, 2014, 07:51:21 AM
  • AngelinaBelle: Smf 2.0.8 has been released. -- uses less memory than 2.0.7 [link]
    June 19, 2014, 03:46:47 PM
  • iSamp: [link]
    June 14, 2014, 06:42:38 AM
  • iSamp: SiNaN Plz Help
    June 14, 2014, 06:42:12 AM
  • iSamp: I need Help Plz Help Me I posted a Thing In English Support Plz read it
    June 14, 2014, 06:21:15 AM
  • Cyberkid: hey!
    June 12, 2014, 02:29:42 AM
  • AngelinaBelle: Hello!
    June 03, 2014, 01:06:04 PM
  • kal: also, hello. :)
    June 03, 2014, 08:36:43 AM
  • kal: I haven't been here in a couple months I don't think.
    June 03, 2014, 08:36:35 AM
  • AngelinaBelle: Welcome back, David
    June 02, 2014, 06:18:46 AM
  • David: I've missed this place!
    June 02, 2014, 01:04:01 AM

* Team Blog

* Recent Posts

Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Author Topic: Simple Portal compatability with View Single Category Mod  (Read 2372 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

  • Translator
  • *
  • Posts: 362
  • 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

  • Translator
  • *
  • Posts: 362
  • 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.