News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SimplePortal

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

Previous topic - Next topic

PalmBeachPreps

Quote from: [SiNaN] on July 30, 2009, 06:02:33 PM
Error is saying that Articles2.php file doesn't exist in Sources directory. However, SimplePortal doesn't have/use such a file. I believe it is related to SMF Articles mod.
Great Call!  SMF articles was the culprit.  Thanks!

arockets

Hello again :)

I just started to use articles, and have added a image.  Could someone help me with moving that image to the top of the Article?  Right now its to the right inside the box.  Maybe an option for the image position in 2.3?  :)

plusev

How do I get rid of the Pages [1] on the portal page? Thx

royalsanga744

Hi everyone....
i would like to have my own custom menu on standalone page not that of my forum. can anyone help me......

thanks

Dirk1973

Error Message: That object does not support this property or method

It seems that it has something to do with:

window.addEventListener("load", sp_image_resize, false);

Any Idea?

It's only in the IE - Firefox works perfekt.

Pinball Nation

Hello everyone,This a great mod an everything works for me.But there is one stange thing that happened after installing the mod.For some reason or the other i have ?> displayed at the top left corner of all my pages.The portal page the forum page you name it an its there.Im sure this happened after installing the mod.Im using smf version 1.1.10 an installed the newest version of simple portal.Everything works as it should but would like to get rid of the ?>.Can someone help me out?Thanks

primetime

Looking at my error log, I get see the following...

Undefined variable: count
Apply Filter: Only show the errors from this file
File: /home/reefersr/public_html/dev/Themes/default/SPortal2.template.php (body_above sub template - eval?)
Line: 330

Any ideas?

royalsanga744

Quote from: royalsanga744 on August 03, 2009, 04:17:44 AM
Hi everyone....
i would like to have my own custom menu on standalone page not that of my forum. can anyone help me......

thanks


can u help.....

TheListener

Quote from: royalsanga744 on August 06, 2009, 01:36:15 PM
Quote from: royalsanga744 on August 03, 2009, 04:17:44 AM
Hi everyone....
i would like to have my own custom menu on standalone page not that of my forum. can anyone help me......

thanks


can u help.....

Have you tried asking on their website at www.simpleportal.net

Eliana Tamerin

@royalsanga744: You can do that with a custom block. Choose a BBC block (or php/html if you're comfortable coding those) and lay it out like you want it, using [url] tags or [iurl] (for links in the same window) for links.

Then just select it to display on the Portal page, and save it. You should be good to go.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

ultide

My site is http://ultide.com [nofollow]

i hv smf 1.1.9 .

problem is that my frontpage and standalone pages point to http://www.ultide.com/index.php [nofollow]

but i want them to point http://ultide.com [nofollow]

how can i do this.

help me....thanks....
[nofollow]

ultide

Quote from: ultide on August 06, 2009, 05:18:20 PM
My site is http://ultide.com [nofollow]

i hv smf 1.1.9 .

problem is that my frontpage and standalone pages point to http://www.ultide.com/index.php [nofollow]

but i want them to point http://ultide.com [nofollow]

how can i do this.

help me....thanks....


nyone there to help...
[nofollow]

flamechica

Quote from: ultide on August 06, 2009, 05:18:20 PM
My site is http://ultide.com

i hv smf 1.1.9 .

problem is that my frontpage and standalone pages point to http://www.ultide.com/index.php

but i want them to point http://ultide.com

how can i do this.

help me....thanks....

To change the standalone page go into the admin control panel, look down the left hand side and click on "Configuration" under the "Simple Portal" category. Then click on the "general settings" tab, put in the link to your standalone page where it says "Standalone URL"

[SiNaN]

SimplePortal 2.3 RC1 Released!

Quote from: [SiNaN] on August 08, 2009, 04:02:12 PM
The SimplePortal Team has been hard at work for the last several months developing the next version of SimplePortal, 2.3! We've heard your feedback, and included many requested features in our upcoming version.

Since we would like to have testing and feedback for our new version, in order to provide you the most stable product possible, we have decided to make our release candidate public. This means you can download the upcoming version now, test and report the bugs.

However, please note that: There will be no install/upgrade/uninstall support provided for/from RC1 version. Although this is a stable version, we strongly advise against using this package on your live forums. This package is only for testing purposes.

Your feedback is welcome here and in the related topics in Team Blogs board. Please post any bugs to the Bugs board.

You can download the package from Beta Packages category in Downloads area.

Thanks,
-The SimplePortal Team
Former SMF Core Developer | My Mods | SimplePortal

psynx

hello,

i need some help.

i have this code below in my 'ssi.php' this mod is called the 'SSI Register Function'

// Show a form for guests to register.
function ssi_register($output_method = 'echo')
{
global $scripturl, $db_prefix, $txt, $settings, $modSettings, $context;

loadLanguage('Login');

// Generate a visual verification code to make sure the user is no bot.
$context['visual_verification'] = empty($modSettings['disable_visual_verification']) || $modSettings['disable_visual_verification'] != 1;
if ($context['visual_verification'])
{
$context['use_graphic_library'] = in_array('gd', get_loaded_extensions());
$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand());

// Only generate a new code if one hasn't been set yet
if (!isset($_SESSION['visual_verification_code']))
{
// Skip I, J, L, O and Q.
$character_range = array_merge(range('A', 'H'), array('K', 'M', 'N', 'P'), range('R', 'Z'));

// Generate a new code.
$_SESSION['visual_verification_code'] = '';
for ($i = 0; $i < 5; $i++)
$_SESSION['visual_verification_code'] .= $character_range[array_rand($character_range)];
}
}

    // If we have GD, try the nice code.
    elseif (empty($_REQUEST['format']))
    {
        require_once($sourcedir . '/Subs-Graphics.php');

        if (in_array('gd', get_loaded_extensions()) && !showCodeImage($_SESSION['visual_verification_code'])) {
            header('HTTP/1.1 400 Bad Request');
die();
}
        // Otherwise just show a pre-defined letter.
        elseif (isset($_REQUEST['letter']))
        {
            $_REQUEST['letter'] = (int) $_REQUEST['letter'];
            if ($_REQUEST['letter'] > 0 && $_REQUEST['letter'] <= strlen($_SESSION['visual_verification_code']) && !showLetterImage(strtolower($_SESSION['visual_verification_code']{$_REQUEST['letter'] - 1}))) {
                header('HTTP/1.1 400 Bad Request');
die();
}
        }
        // You must be up to no good.
        else {
            header('HTTP/1.1 400 Bad Request');
die();
}
    }
    elseif ($_REQUEST['format'] === '.wav')
    {
        require_once($sourcedir . '/Subs-Sound.php');

        if (!createWaveFile($_SESSION['visual_verification_code'])) {
            header('HTTP/1.1 400 Bad Request');
die();
}
    }

if($output_method = 'echo' && $context['user']['is_guest']) {
echo '
    <div>
        <form action="'. $scripturl. '?action=register2" method="post" style="margin: 0px 1px 1px 0; text-align:left;" name="creator" id="creator">
                <table class="ssi_table">
                    <tr>
                        <td>', $txt[98], ':</td>
                        <td><input type="text" name="user" size="10"  maxlength="30" /></td>
</tr>
<tr>
                        <td>', $txt[81], ':</td>
                        <td><input type="password" name="passwrd1" size="10" /></td>
</tr>
<tr>
                        <td>', $txt[82], ': </td>
<td><input type="password" name="passwrd2" size="10" /></td>
</tr>
<tr>
<td>', $txt[69], ':</td>
                        <td><input name="email" type="text" size="10" /><input name="regagree" type="hidden" value="checked" /></td>
                    </tr>';
    if ($context['visual_verification'])
    {
        echo '
                    <tr>
                        <td>
                            ', $txt['visual_verification_label'], ':
                        </td>
                            <td><input type="text" name="visual_verification_code" size="10" /></td>
</tr>
<tr>';
        if ($context['use_graphic_library'])
            echo '
                            <td colspan="2"><img src="', $context['verificiation_image_href'], '" alt="', $txt['visual_verification_description'], '" id="verificiation_image" /></td>';
        else
            echo '
                            <td colspan="2"><img src="', $context['verificiation_image_href'], ';letter=1" alt="', $txt['visual_verification_description'], '" id="verificiation_image_1" />
                            <img src="', $context['verificiation_image_href'], ';letter=2" alt="', $txt['visual_verification_description'], '" id="verificiation_image_2" />
                            <img src="', $context['verificiation_image_href'], ';letter=3" alt="', $txt['visual_verification_description'], '" id="verificiation_image_3" />
                            <img src="', $context['verificiation_image_href'], ';letter=4" alt="', $txt['visual_verification_description'], '" id="verificiation_image_4" />
                            <img src="', $context['verificiation_image_href'], ';letter=5" alt="', $txt['visual_verification_description'], '" id="verificiation_image_5" /></td>';
        echo '
</tr>
<tr>
                            <td class="smalltext" colspan="2">
<a href="', $context['verificiation_image_href'], ';sound" onclick="return reqWin(this.href, 400, 120);">', $txt['visual_verification_sound'], '</a>
</td>
</tr>';
    }
echo'
                    <tr>
                        <td colspan="2" align="center"><input type="submit" value="', $txt[97], '" /></td>
                    </tr>
                </table>
        </form>
    </div>';
}
else
return false;
}


this function should appear where you want it to appear by calling ssi_register()

so i tried using the custom php since i have been using simple portal and wanted this function to appear in my portal but problem is, it won't show.

perhaps i entered the wrong code?

this is the code i used



<?php
require("my forum path directory/SSI.php");
ssi_register();

?>

Eliana Tamerin

The php block automatically enters the <?php and ?> tags for you. Remove those and the block should work.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

vanquizhers

Hi.... I can somebody help me?

I use SMF 1.1.10, SP 2.2.2, SMF Media Gallery 2.0b4, and Outline theme by DzinerStudio,

How to show the forum and the gallery button button?
Can somebody give me the link how to mod it, or give me the tutorial? Thank You..  :)

Eliana Tamerin

Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

vanquizhers

Oh...Thank You sis, how about the gallery button?
Thank you..  :D

psynx

Quote from: Eliana Tamerin on August 13, 2009, 10:48:35 AM
The php block automatically enters the <?php and ?> tags for you. Remove those and the block should work.

i tried but it is still not showing.

Advertisement: