collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 322
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: Custom Portal Mod  (Read 106856 times)

0 Members and 4 Guests are viewing this topic.

Offline froome19

  • Semi Newbie
  • *
  • Posts: 9
Re: Custom Portal Mod
« Reply #100 on: November 01, 2012, 04:08:51 PM »
 A couple of tips..

You can also merely revert the layout of the blocks by enabling "Display blocks on forum" then by moving a block on the forum, and then going back to the portal.. the blocks will magically appear..

Also you can move the blocks with everything working fine.. if you delete either the layout function in the Subs-Portalphp. under "Load headers if necessary" or the subsequent code using the layout function  , the one hitch with this being that the blocks dont keep in place and revert to their original layout afterwards

Offline froome19

  • Semi Newbie
  • *
  • Posts: 9
Re: Custom Portal Mod
« Reply #101 on: November 01, 2012, 04:25:12 PM »
Also I do not believe it is a problem with the database as the same thing occurs when a guest tries to move the panels and that does not involve the database but rather cookies..


« Last Edit: November 01, 2012, 05:57:02 PM by froome19 »

Offline N-Joy

  • Semi Newbie
  • *
  • Posts: 19
Re: Custom Portal Mod
« Reply #102 on: November 13, 2012, 03:05:11 PM »
Did anyone manage to fix this in meantime?

Offline froome19

  • Semi Newbie
  • *
  • Posts: 9
Re: Custom Portal Mod
« Reply #103 on: November 14, 2012, 10:16:22 AM »
Do not believe so..
Does anyone have the old version of the mod available?

Offline FireDitto

  • Jr. Member
  • **
  • Posts: 91
  • Gender: Female
    • Second Pass Weyr
  • SMF Version: 2.0.11
  • SP Version: 2.3.5
  • Elkarte Version: None
Re: Custom Portal Mod
« Reply #104 on: November 15, 2012, 01:52:10 AM »
SMF 2.0.2
SP 2.3.5

I'm getting a heap of errors;

Quote
*    1.    Execute Modification    ./Sources/Subs-Portal.php    Test failed
      1.    Replace    ./Sources/Subs-Portal.php    Test failed
      2.    Replace    ./Sources/Subs-Portal.php    Test successful
*    2.    Execute Modification    ./Themes/default/Portal.template.php    Test failed
      1.    Replace    ./Themes/default/Portal.template.php    Test successful
      2.    Replace    ./Themes/default/Portal.template.php    Test successful
      3.    Replace    ./Themes/default/Portal.template.php    Test successful
      4.    Replace    ./Themes/default/Portal.template.php    Test failed
      5.    Replace    ./Themes/default/Portal.template.php    Test successful
      6.    Replace    ./Themes/default/Portal.template.php    Test successful
      7.    Replace    ./Themes/default/Portal.template.php    Test failed
      8.    Replace    ./Themes/default/Portal.template.php    Test failed
      9.    Replace    ./Themes/default/Portal.template.php    Test successful
      10.    Replace    ./Themes/default/Portal.template.php    Test failed
      11.    Replace    ./Themes/default/Portal.template.php    Test failed
*    3.    Execute Modification    ./Themes/default/css/portal.css    Test successful
   4.    Extract File    ./Themes/default/scripts/jquery.js    
   5.    Extract File    ./Themes/default/scripts/interface.js    
   6.    Extract File    ./Themes/default/scripts/customportal.js


I would love to install this, though. I think my members would find it fantastic.

Offline velorooms

  • Jr. Member
  • **
  • Posts: 83
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #105 on: November 15, 2012, 10:13:35 AM »
SMF 2.0.2
SP 2.3.5

I'm getting a heap of errors;



I would love to install this, though. I think my members would find it fantastic.

Ok.. first up. When you get a bunch of errors like that the only option is to use the package parser, find out what changes it makes and manually code the package.

However

AS IT STANDS THIS MOD DOES NOT WORK WITH SP 2.3.4 AND SMF 2.0.2

Despite the best efforts of Froome and Myself we have not been able to get it working.

What does work:
It is possible to move the blocks around
It does save the block structure information to the database

What doesnt work:
it doesnt seem able to pull the block layout from the database and as a result either
a) You lose all the blocks when you go back to the portal page
b) by adjusting the code you can move the blocks and not have them dissapear but at the same time it doesnt remember your layout.

at the moment this mod needs developing/fixing. Neither Froome or myself have managed to fix it, and the original author seems to have given up on it, although Sinan still seems to be around the forum. Will drop him/her a pm and see if we can get anywhere.
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5

Offline froome19

  • Semi Newbie
  • *
  • Posts: 9
Re: Custom Portal Mod
« Reply #106 on: November 15, 2012, 11:46:34 AM »
Indeed it seems like it may in fact be something got to do with the layout of how the blocks are moved, but I do not know enough about Php in order to identify and then fix the problem.

Indeed FireDitto, certainly for 2.3.5 the mod will not function as it was last updated for it to be compatible with 2.3.4 therefore you may just have to wait and see whether Sinan decides to upgrade it when he has the time to be compatible with 2.3.5

From what I have seen it is interesting that members have their blocks erased, whilst guests merely have their blocks reverted back to their original positions. This is obviously I assume as the guests cookie used to work the block is obviously not working at all, but the members are pulling something from the database just that something is evidently faulty. Also moving any blocks will recall other blocks. For example by minimizing one set of blocks you can keep those blocks when you move around the panels and then when you move those blocks the original blocks you moved suddenly become visible. Yet it is obviously a long way from anything as nothing is pulling the block positions subsequent to you moving them.

Also Sinan I believe could easily fix this mod, but unfortunately he seems at the moment  not to be available to really work on this mod..

Offline froome19

  • Semi Newbie
  • *
  • Posts: 9
Re: Custom Portal Mod
« Reply #107 on: November 15, 2012, 03:09:03 PM »
The underlying fact is that there seems to be some error in how the cookie/database is saving the information and therefore the information is not being accessed properly and is creating the current error.

Offline froome19

  • Semi Newbie
  • *
  • Posts: 9
Re: Custom Portal Mod
« Reply #108 on: November 18, 2012, 06:07:24 PM »
Experimenting with cookies and what is most interesting is that it seems to save the structure including the moves to the cookies... but for example if you removed one block from the list on the cookie it will appear as it is not being messed up by the mod ruining everything when it pulls the data..

What is interesting is that it still saves the info to the cookies and database if you delete the layout function but the whole problem does not occur, merely they do not get removed..

Offline demlak

  • Semi Newbie
  • *
  • Posts: 37
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #109 on: December 25, 2012, 01:34:10 PM »
the idea of this mod is great!
please fix it to work with newest versions of smf and SP =)

Offline velorooms

  • Jr. Member
  • **
  • Posts: 83
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #110 on: December 28, 2012, 04:27:58 PM »
i think this mod is dead. pm'd sinan ages ago and heard nothing. :(
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5

Offline demlak

  • Semi Newbie
  • *
  • Posts: 37
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #111 on: January 06, 2013, 03:44:04 AM »
what a pity  D:

Offline froome19

  • Semi Newbie
  • *
  • Posts: 9
Re: Custom Portal Mod
« Reply #112 on: April 29, 2013, 05:52:42 PM »
bump

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #113 on: April 29, 2013, 07:43:11 PM »
bump

Why the bump?

Can you explain the problem you are having please.
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline demlak

  • Semi Newbie
  • *
  • Posts: 37
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #114 on: April 29, 2013, 07:59:26 PM »
as you can read in this thread since severel month.. it´s not working with recent versions of smf and sp..

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #115 on: April 29, 2013, 08:07:52 PM »
Quote
Can you explain the problem you are having please.

What do you mean by not working?
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline demlak

  • Semi Newbie
  • *
  • Posts: 37
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #116 on: April 29, 2013, 08:11:59 PM »
im sorry.. but.. should i repost the last page of this thread? i dont understand your question.. because problems are discussed in this thread..
for example: http://simpleportal.net/index.php?topic=3990.msg60850#msg60850

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #117 on: April 29, 2013, 08:14:48 PM »
If it is just a case of moving blocks where you want them to show then that can be done with 2.3.5
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline demlak

  • Semi Newbie
  • *
  • Posts: 37
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #118 on: April 29, 2013, 08:16:23 PM »
for each user individually?

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #119 on: April 29, 2013, 08:19:18 PM »
Ah sadly no.

Thought ya meant from the admin side of things.

 :-[
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast