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: 441
  • 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]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: Custom Portal Mod  (Read 108480 times)

0 Members and 1 Guest are viewing this topic.

Offline infostrides

  • Semi Newbie
  • *
  • Posts: 27
    • TheInfoStrides.com
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: Custom Portal Mod
« Reply #80 on: September 21, 2011, 12:34:29 AM »
This is really nice and cool mod. I will give it a try!

Offline c23_Mike

  • Beta Tester
  • *
  • Posts: 168
  • Gender: Male
    • c23 Computer, Gaming & more
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Custom Portal Mod
« Reply #81 on: November 26, 2011, 05:15:39 PM »
Hi there!

@Sinan: Can you make this wonderful mod ready for SP 2.3.4?

Offline c23_Mike

  • Beta Tester
  • *
  • Posts: 168
  • Gender: Male
    • c23 Computer, Gaming & more
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Custom Portal Mod
« Reply #82 on: December 01, 2011, 04:08:45 PM »
Hi there!

*bump* I really would like to use this any longer, since it is genius and I think it would be easy to adopt.

Offline iulyz

  • Newbie
  • Posts: 4
Re: Custom Portal Mod
« Reply #83 on: December 19, 2011, 01:45:30 PM »
You have attached fixed version
« Last Edit: December 19, 2011, 02:11:36 PM by iulyz »

Offline Slack

  • Newbie
  • Posts: 2
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: Custom Portal Mod
« Reply #84 on: December 19, 2011, 06:38:48 PM »
Cool mod and the above version works with 2.3.4 -- be aware however if you have set, in Block Settings, "Hide Blocks in forum Areas" and have the Admin section checked, the blocks will disappear when you go to admin and will not come back when you return to the forum.   :0

Offline c23_Mike

  • Beta Tester
  • *
  • Posts: 168
  • Gender: Male
    • c23 Computer, Gaming & more
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Custom Portal Mod
« Reply #85 on: December 20, 2011, 03:54:10 PM »
Hi there!

Tnx a lot!! Now its a dream! Perfect version!

Offline hcfwesker

  • Semi Newbie
  • *
  • Posts: 43
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #86 on: March 01, 2012, 04:02:30 PM »
Hello, I, om s,f 2.0.2 and using the latest portal release.

I added this custom portal mod onto simple portal.  Problem is, i clicked some stuff around, and for some reason i'm only seeing the recent posts , nothing else on the portal.  I've tried uninstalling reinstalling everything.  Where in the db can i remove my settings for this so its back to default?

Thank you

PS, is it necessary to have the captcha on?  its annoying with the line through the letters.

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Custom Portal Mod
« Reply #87 on: March 02, 2012, 06:49:05 AM »
Made a database backup before trying new stuff? If you have a backup then import it back  into the server database for smf using phpmyadmin in cpanel.

Or
...usually cpanel on the server will restore a backup from yesterday, for example.

If you didnt backup or dont have access to the database and then changed many settings, there is no way back except manually going through settings again.

Last resort is deleting all the simple portal database fields using phpmyadmin and starting over  with simple portal= drastic action.

Im guessing this is a problem with permissions settings. There is still a bug in SP 2.3.4 I think ... it resets all group permissions to 'disallow' if you use preview - blocks and pages. That would make a lot of stuff disappear perhaps.
I dont know what you did so hard to say whats best for you. Try checking the custom permissions for the blocks again - see if they are set to 'allow' for your groups (and admin), or if the general permission setting is for 'everyone'.
Avoid using preview for blocks and pages until new release.

If I have trouble I cant fix, I start by restoring a database backup.
Still no luck, I reinstalling smf with a large upgrade package and then use the reset_settings.php files (smf site) if Im using custom themes etc.
Try installing simple portal before any other mods.

If still not right then you have to keep trying to change the settings manually or uninstall simple portal and try risking deleting the database tables for SP and starting over from the begining installing the portal - all data lost for pages and blocks... not the best way.


Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline hcfwesker

  • Semi Newbie
  • *
  • Posts: 43
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #88 on: March 02, 2012, 04:03:37 PM »
Yeah, when I uninstalled, I selected the "Renove all data associated with this MOD" , and tried it again.

Also, one thing I found out is, when you move a block to the middle, it's almost impossible to get it back on the left/right side blocks.  and if you accidentally grab a block and scroll off screen and un-click, the block is gone forever lol.

Had to remove this MOD just so i could see my stuff.

The first post says this makes changes to the db per user, I'd like to know which table this makes those changes in per user.

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Custom Portal Mod
« Reply #89 on: March 03, 2012, 09:43:11 AM »
I havent used it so dont know anything about the mod really.  Dont know if it alters the user fields (I guess it does) or uses its own new ones.

Sinan can tell you.

I hope at least your site is back to normal...    :)

Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline hcfwesker

  • Semi Newbie
  • *
  • Posts: 43
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #90 on: March 03, 2012, 12:05:21 PM »
yeah, it is, and only affected me, but uninstalling the MOD put it back to normal.  but i'd still love this feature, members loved it while they got to test it.

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Custom Portal Mod
« Reply #91 on: April 01, 2012, 06:27:33 AM »
Let us know if this is a closed/solved topic... you can also mark it solved.
Andy

OOPS... didnt see the top - thought this was a support topic  :-[
« Last Edit: April 01, 2012, 06:30:45 AM by igirisjin »
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline N-Joy

  • Semi Newbie
  • *
  • Posts: 19
Re: Custom Portal Mod
« Reply #92 on: October 02, 2012, 04:24:49 PM »
Any news on this one? Any update for the latest version / fix for the disappearing blocks?

Offline velorooms

  • Jr. Member
  • **
  • Posts: 83
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #93 on: October 02, 2012, 06:21:27 PM »
Not working with 2.3.4 for me. Failing on install, coming up with four parse errors. Did a manual parse to see the lines and the problem lines are as follows

edit: solved, think it was me being retarded
« Last Edit: October 08, 2012, 11:54:16 AM by velorooms »
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5

Offline N-Joy

  • Semi Newbie
  • *
  • Posts: 19
Re: Custom Portal Mod
« Reply #94 on: October 03, 2012, 12:55:42 PM »
Don't try, it doesn't seem to work on 2.3.4. All blocks are gone when I activate customportal. :(

Offline velorooms

  • Jr. Member
  • **
  • Posts: 83
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #95 on: October 08, 2012, 11:53:18 AM »
Phew got this working on 2.3.4 eventually, dont know why it was playing up.

Hello, I, om s,f 2.0.2 and using the latest portal release.

I added this custom portal mod onto simple portal.  Problem is, i clicked some stuff around, and for some reason i'm only seeing the recent posts , nothing else on the portal.  I've tried uninstalling reinstalling everything.  Where in the db can i remove my settings for this so its back to default?

Thank you

PS, is it necessary to have the captcha on?  its annoying with the line through the letters.

Ive found the database line. This took serious hunting, searched through all the code and struggled.. eventually found it.

the table you are looking for is the themes table (this will be preceded in phpmyadmin by your forum prefix)

the variable will be shown as sp_block_layout

removing that line for the member number will revert their block arrangement to default.

tested this by zapping all my blocks and then removing that line. Worked fine.

Please however dont go into PhpMyAdmin unless you really know what you are doing.

ok. scrub this.. as soon as you visit the forum and go back to portal, the blocks have vanished again...

edit 2: just cleared that line again, then went back, went to portal, went to forum, admin, and back to portal, and everyting is still there.

3: nope, as soon as you make a change on the portal, visit the forum or any other page, go back to portal, your blocks are gone. its fine at setting the line in the database that has your block layout, but it doesnt seem able to retrieve from the database your existing block layout. Been playing with this for a couple of hours, all I can say is it does not work on 2.3.4 with smf 2.0.2
[/color]
« Last Edit: October 08, 2012, 12:12:46 PM by velorooms »
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5

Offline velorooms

  • Jr. Member
  • **
  • Posts: 83
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #96 on: October 08, 2012, 12:22:53 PM »
oh, cookie for guests doesnt work at all, guests cant move the blocks around whatsoever
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5

Offline N-Joy

  • Semi Newbie
  • *
  • Posts: 19
Re: Custom Portal Mod
« Reply #97 on: October 16, 2012, 06:49:35 PM »
Does anyone have an idea what the cause of the problem could be? It would really help if I had a clue where to look for a possible fix.  :nervous-happy:

Offline velorooms

  • Jr. Member
  • **
  • Posts: 83
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #98 on: October 17, 2012, 03:16:56 PM »
the problem appears to be, it doesnt seem to be able to fetch the current layout from the database.

+ When you move the layout arount it saves the details to the database fine. There are two issues.

+ It saves a new database line everytime you make any changes creating multiple lines which isnt idea

+ It doesnt seem to be able to get the layout information from the database hence why they all appear to vanish.

This thread really needs moving out of working blocks and into development.
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5

Offline velorooms

  • Jr. Member
  • **
  • Posts: 83
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Custom Portal Mod
« Reply #99 on: October 17, 2012, 03:56:14 PM »
|To further expand on the above

+ It IS saving the information to the database for the theme in use

+ it IS then extracting the data for the theme in use

(i have multiple themes and its only losing the blocks in the themes i move blocks around in)

+ it ISNT then able to take the database information and arrange the blocks somewhere

I have the feeling it is a really tiny tiny little bug.

the database line in question is

member no
theme no
sp_block_layout

and then data 48,136,62,143,141,35,52|150,135,152,142,140||137,107,145

now trying to work out what those numbers mean.. im guessing column 1, column 2 column 3..  think the double | between two and three is an issue..

my header blocks are 15,116,43
left blocks 48,136,62,143,141,35,52 so thats the first section
top blocks 150,135,152,142,140 so thats the middle section
right blocks 137,107,145 etc so thats the right section.

so header blocks  cant be moved, neither can bottom blocks. you can only move left top and right blocks.
i have tried manually editing the database to trim the || down to a single | but that made no odds.. in fact ive tried doing all sorts with that line.. so its going wrong where it tries to apply the DB info

« Last Edit: October 17, 2012, 04:13:57 PM by velorooms »
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5