collapse

* User Info

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

* Who's Online

  • Dot Guests: 45
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • [SiNaN]: Feel free to customize it to your liking, however, this is the best we can currently offer.
    Today at 08:19:04 AM
  • xeon365: ie where username profile link.. its just getting the membergroup color directly and adding it as inline style.. would be better if it instead just added the membergroup as a css class that can be styled by the theme
    Yesterday at 11:00:10 PM
  • xeon365: omg why isn't membergroup got proper css class.. not dumping inline css style
    Yesterday at 10:58:03 PM
  • BurkeKnight: [SiNaN] old friend. Great Job. I can't wait to see what you add next. :)
    October 13, 2014, 04:13:53 PM
  • [SiNaN]: Thank you everyone, for the kind words and support. For those who are interested, check out our Donators Program: [link]
    October 13, 2014, 11:57:44 AM
  • {OCS}MasterSeal: Glad to be here, glad to use your amazing portal THank you!
    October 13, 2014, 11:33:35 AM
  • Mike Vail: I'd like to donate to you for all your wonderful work. Do you guys have a place on your site to do that? THANKS FOR EVERYTHING!
    October 13, 2014, 11:12:16 AM
  • Mstcool: Yay, an update! :D
    October 12, 2014, 01:39:17 AM
  • stanyy: You're right. I have no idea how I got to the "Archived" index. It looks too similar.
    October 03, 2014, 11:38:32 AM
  • [SiNaN]: SimplePortal 2.3.5 package is listed in Stable SimplePortal Packages category in Downloads area.
    October 03, 2014, 06:08:01 AM
  • stanyy: SP 2.3.5 is not available in the downloads section?? The big download link on the homepage points newcomers to the downloads section who then download 2.3.4. Not good.
    October 03, 2014, 03:54:21 AM
  • Mulwa: if simpleportal team could make some of the blocks like articles to display photos just like how ebay does, it would be very great for shopping
    September 27, 2014, 08:24:14 AM
  • Mulwa: everybody is busy, no help for us this time
    September 26, 2014, 05:00:07 PM
  • [SiNaN]: That shows how simple but powerful SimplePortal is!
    September 26, 2014, 06:56:41 AM
  • oNLy1: thought the 'Blocks In Blocks' was going to be complicated - easy peasy - and was exactly what my site needed - ty
    September 20, 2014, 01:13:44 PM
  • P flex: Xup guys
    September 18, 2014, 08:29:06 AM
  • P flex: Xup
    September 18, 2014, 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

* Recent Posts

Re: Blocks and Pages have completely disappeared. by meemo
[Yesterday at 08:51:08 AM]


Re: shoutbox chat direction (newbie question) by teamhft
[October 27, 2014, 06:15:53 PM]


Re: Board News; style topic based on the board id it was from by Bullet
[October 27, 2014, 06:13:55 PM]


shoutbox chat direction (newbie question) by teamhft
[October 27, 2014, 06:01:32 PM]


Re: Staff list - Sort by rank by Bullet
[October 27, 2014, 05:52:20 PM]

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

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