News:

Wondering if this will always be free?  See why free is better.

Main Menu

SimplePortal

Started by SimplePortal Team, March 10, 2008, 11:16:07 PM

Previous topic - Next topic

[SiNaN]

You really don't need to re-install mods every time you get an error. I doubt it is something related to SimplePortal. May I see the forum itself.
Former SMF Core Developer | My Mods | SimplePortal

Sabre™

This Mod has come a very long way, and is looking pretty good.
Congrats on your progress and very hard work :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


[SiNaN]

Thanks for the nice comments Sabre™. I have to confess that earlier versions was a bit hopeless. However, with version 2.2, SimplePortal became a completely different mod. We're looking forward to turn it into a mini-CMS, but still keep the thing that brought us success: Ultimate Simplicity. ;)
Former SMF Core Developer | My Mods | SimplePortal

DarkSynopsis

Quote from: Blue Dream on May 16, 2009, 04:17:34 AM
Quote from: DarkSynopsis on May 15, 2009, 01:03:47 PM
Is it possible to move the Topic name closer to the Message Icon since I feel its just a bit to far apart on my site.

If so what file am I looking to edit and what line? Thanks :)

I'm using SMF 1.1.8 & SimplePortal 2.2.1

./Themes/default/portal.css

Code (Find) Select
td.sp_recent_icon
{
vertical-align: middle;
width: 5%;
}
td.sp_recent_subject
{
width: 60%;
}


Change the widths there. You can make it:

td.sp_recent_icon
{
vertical-align: middle;
width: 3%;
}
td.sp_recent_subject
{
width: 62%;
}

Thanks but does not seem to have changed.

[SiNaN]

Try making a hard refresh to your browser. (Ctrl+F5)
Former SMF Core Developer | My Mods | SimplePortal

DarkSynopsis

Quote from: Blue Dream on May 16, 2009, 06:11:44 AM
Try making a hard refresh to your browser. (Ctrl+F5)

First thing I tried, just tried it again and still the same.

[SiNaN]

Which block are you trying to do this for then?
Former SMF Core Developer | My Mods | SimplePortal

DarkSynopsis


Neverhurry

Quote from: Blue Dream on May 16, 2009, 05:09:01 AM
You really don't need to re-install mods every time you get an error. I doubt it is something related to SimplePortal. May I see the forum itself.

Yes, it is very nice of you indeed. The admin name and password are in the PM to you. please check.
I am using SMF 2.0.1, curve themes.

alex_sercan

Thank you lots. I will try this soon. ;)
Never say goodbye.

[SiNaN]

Quote from: DarkSynopsis on May 16, 2009, 07:55:18 AM
Quote from: Blue Dream on May 16, 2009, 07:30:18 AM
Which block are you trying to do this for then?

Board News

The code I gave will affect Recent Topics/Posts block. It would have been better if you mentioned for which block you wanted this. Anyway,

Sources/SPortal1-1.php

Code (Find) Select
<td class="sp_middle">', $news['icon'], '</td>

Code (Replace) Select
<td class="sp_middle" style="padding: 0 0 0 5px;">', $news['icon'], '</td>

Quote from: neverhurry on May 16, 2009, 02:02:38 PM
Quote from: Blue Dream on May 16, 2009, 05:09:01 AM
You really don't need to re-install mods every time you get an error. I doubt it is something related to SimplePortal. May I see the forum itself.

Yes, it is very nice of you indeed. The admin name and password are in the PM to you. please check.


Replied your pm.
Former SMF Core Developer | My Mods | SimplePortal

dry3210

Quote from: ディン1031 on May 13, 2009, 11:19:48 AM
Okay a possible Fix (it's untested) ;).
Change in sp_pngfix.js (it's normal in you default theme dir)

if (is_ie5up && !is_ie7up && document.body.filters)


Replace with


// Some very basic browser detection
var ua = navigator.userAgent.toLowerCase();
var is_opera = ua.indexOf("opera") != -1;
var is_ie = ua.indexOf("msie") != -1  && !is_opera;
var is_ie4 = is_ie && ua.indexOf("msie 4") != -1;
var is_ie5 = is_ie && ua.indexOf("msie 5") != -1;
var is_ie50 = is_ie && ua.indexOf("msie 5.0") != -1;
var is_ie55 = is_ie && ua.indexOf("msie 5.5") != -1;
var is_ie5up = is_ie && !is_ie4;
var is_ie6 = is_ie && ua.indexOf("msie 6") != -1;
var is_ie6up = is_ie5up && !is_ie55 && !is_ie5;
var is_ie6down = is_ie6 || is_ie5 || is_ie4;
var is_ie7 = is_ie && ua.indexOf("msie 7") != -1;
var is_ie7up = is_ie6up && !is_ie6;
var is_ie7down = is_ie7 || is_ie6 || is_ie5 || is_ie4;

if (is_ie5up && !is_ie7up && document.body.filters)

Use is on you're own risk! And think if you insert it it could be possible that you can not upgrade to newer versions!

Bye
DIN1031


I think that may have worked.  Thank you very much.

TheListener

Out of Tiny Portal ezportal and simple portal this is definately the best one.

The support from the sp team is second to none.

AND they have a sense of humour too.

Have a look at the portal on www.visionaryhosting.info/phforum


dzinerfusion

HI i checked my error log and found some errors. Can you help me fix them???



8: Undefined variable: modSettings
File: /-----------------/htdocs/forum/Themes/default/SPortal2.template.php (body_above sub template - eval?)
Line: 341

Line:339

Line:330

TheListener

I would suggest you visit www.simpleportal.net for a quicker response.

Tiribulus

I just did the 1.1.8 to 1.1.9 upgrade automatically from the SMF interface and thought I should share this for Simple Portal users. It erred on the index.php file. I went ahead and let the rest do it's thing except I had to do the following manually.

It looks like SP inserts some of it's code in this section of the main index.php file which is one of the targets of this upgrade:
elseif (empty($modSettings['allow_guestAccess']) && !(!empty($_REQUEST['action']) && $_REQUEST['action'] == 'dlattach' && !empty($_REQUEST['type']) && $_REQUEST['type'] == 'avatar') && !(empty($_REQUEST['action']) && empty($board) && empty($topic) && $modSettings['sp_portal_mode'] == 1) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'smstats', 'help', '.xml', 'verificationcode'))))

The way I got it working was by using KDIFF to figure out that the presence of '.xml', toward the end there was the difference.

I changed that section to:
elseif (empty($modSettings['allow_guestAccess']) && !(!empty($_REQUEST['action']) && $_REQUEST['action'] == 'dlattach' && !empty($_REQUEST['type']) && $_REQUEST['type'] == 'avatar') && !(empty($_REQUEST['action']) && empty($board) && empty($topic) && $modSettings['sp_portal_mode'] == 1) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'smstats', 'help', 'verificationcode'))))

And everything appears to be good. No errors and everything looks to be working.

Of course I defer to the honchos for their much more reliable input, but thought this might be helpful.

TheListener

Can I still do the update despite the index php failure?

Tiribulus

I can only tell you how it went for me. I ran the auto install link from the adminCP ignoring the error and did that edit above myself as the SP code is surrounded by the SMF code. Of course I checked all this out before proceeding once I got the error.


jellie

Thankyou, I followed your advice and it worked perfectly for me :D

jellie

Hmm, maybe I spoke too soon.

The only problem I have is in the package manager when I click Download Packages I get

Parse error: syntax error, unexpected T_ELSE in /home/***/***.com/forum/Sources/PackageGet.php on line 395

Is that going to be related to this or should I post this in the upgrade support?

Advertisement: