collapse

* User Info

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

* Who's Online

  • Dot Guests: 43
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • CHRIS-7: Hi - SMF V2.0.10 is Relased ! ;D
    April 25, 2015, 12:57:14 am
  • Advaita: hi
    April 23, 2015, 06:49:20 pm
  • player.samp: If you need help, create a topic in the support board: [link] :)
    April 21, 2015, 04:41:00 pm
  • sezing: i need help
    April 14, 2015, 03:41:27 pm
  • sezing: as
    April 14, 2015, 03:41:22 pm
  • CaLy: yup thanks ninja, i will check right now! thanks
    March 23, 2015, 07:12:16 pm
  • ♦ Ninja ZX-10RR ♦: Lol 420connect, everybody needs help anyway ;) People achieve more as a team! @CaLy, old version I think. Check your topic.
    March 23, 2015, 06:56:02 pm
  • CaLy: why i dont have SPortal2.php ?
    March 23, 2015, 12:25:51 pm
  • 420connect: .. too many ideas - not enough knowledge!
    March 23, 2015, 11:46:00 am
  • 420connect: I feel like I am the only person who needs help with SP :P
    March 23, 2015, 11:45:42 am
  • cachencho29: hola gente e creado una web llamada liberatuandroid.com si hay algun interesado en hacer sus aporte
    March 23, 2015, 07:59:38 am
  • {OCS}MasterSeal: Just once more, I'd like to say Thank you to all involved for SP. Cheers.
    March 16, 2015, 11:45:52 am
  • Chen Zhen: newbies that post links are restricted until moderated due to spam control
    March 02, 2015, 08:44:47 pm
  • brianwilcox: I would make a support thread for it... but I can't.
    February 28, 2015, 07:34:25 pm
  • brianwilcox: Why can I not post on the forums? ;/
    February 28, 2015, 07:34:10 pm
  • CaLy: thanks and have a nice weekend all!
    February 21, 2015, 07:11:36 am
  • CaLy: ah u are right eliana, i will do that with custom block :)
    February 21, 2015, 07:11:28 am
  • Eliana Tamerin: You mean a custom block with HTML code? It's built into SP.
    February 20, 2015, 03:20:12 am
  • CaLy: what package are u using to display adsense banner at right of user info (in the middle) ? Thanks in advance!
    February 18, 2015, 07:34:47 am
  • Teetee: [link]
    February 10, 2015, 12:23:39 pm

* Recent Posts

Re: SP ShoutBox Android App? by ♦ Ninja ZX-10RR ♦
[Yesterday at 09:44:43 pm]


Re: Shoutbox refresh and page reload discrepancy by velorooms
[Yesterday at 08:50:53 pm]


Re: SP ShoutBox Android App? by velorooms
[Yesterday at 08:36:37 pm]


Re: SP ShoutBox Android App? by velorooms
[Yesterday at 08:32:30 pm]


Re: SimplePortal 2.3.6 Released! by velorooms
[Yesterday at 02:39:16 pm]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

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

0 Members and 1 Guest are viewing this topic.

Offline FireDitto

  • Jr. Member
  • **
  • Posts: 88
  • 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, 08: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, 11:08:48 am »
What goes wrong?
Here to help who I can.

Offline FireDitto

  • Jr. Member
  • **
  • Posts: 88
  • 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, 10: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, 11: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: 88
  • 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, 10:32:35 pm »
That'd be beyond awesome if you do! :)

Offline phantomm

  • Support
  • *
  • Posts: 395
  • 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, 02: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: 395
  • 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, 02: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.