SimplePortal

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

Previous topic - Next topic

fext

Hi Guys,

I just modified my SPortal php file specifically for the userinfo block - I made the user posts clickable - I used the clickable posts mod as a guide.

Not sure if anyone is interested but some might like to use it.

Find:
<img src="' . $settings['images_url'] . '/dot.gif" alt="', $txt['sp-dot'], '" /> ', $txt[21], ': ',$memberContext[$member_id]['posts'],'<br />'

Replace with:
<img src="' . $settings['images_url'] . '/dot.gif" alt="', $txt['sp-dot'], '" /> ', $txt[21], ': <a href="', $scripturl, '?action=profile;u=', $message['member']['id'], ';sa=showPosts">',$memberContext[$member_id]['posts'],'</a><br />'

Hopefully it should work but please do make a backup of the original file so if it goes wrong you can revert it.

lawlwhat

Oh god ><

I wanted to get rid of the 'time to stay logged in' box on the userinfo block, so I tried to uninstall SimplePortal so I could reinstall it with an edited SPortal.php file. But it didn't uninstall properly or something, because well...

QuoteWarning: require_once(/home/www/hotsaucekj.com/Sources/SPortal1-1.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/hotsaucekj.com/index.php on line 63

Fatal error: require_once() [function.require]: Failed opening required '/home/www/hotsaucekj.com/Sources/SPortal1-1.php' (include_path='.:/usr/local/php5/share/pear') in /home/www/hotsaucekj.com/index.php on line 63

Please tell me I can fix this D:

Smoky "Rider" Blue

you will need to manually edit the files that the mod affected, then re install..

the info you are looking to remove can be found in the index.template.php file in the theme directory you are using ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

lawlwhat

Quote from: SmokyBlue on January 09, 2009, 05:40:35 PM
you will need to manually edit the files that the mod affected, then re install..

the info you are looking to remove can be found in the index.template.php file in the theme directory you are using ;)

Well that was obvious and easily fixed.

Thanks  :D

Smoky "Rider" Blue

**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

The_Wii_Nes_Boy

This Mod is great nice work, fantastic for a quick overview of whats happening on your site.

Keep up the good work :D

drroot

#1766
How to show the images uploaded or linked in the posted article for the portal page?

Now it simply display the source code

[img]http://.../....jpg[/img]


I've also tried to upload the image to the forum, but no image could be shown.



KahneFan

I'm using Google's AdSense with Global Headers and Footers mod and on the index page of the portal, it's shoving the Google Ads below my top blocks. It's not a real big deal to me, except I may miss CPC revenue, but for others that might have header style graphics, it might mess a forum up.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

videoman57

why does your site say that I am banned as a guest...I never used your software or did anything to it?

KahneFan

#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

videoman57

I downloaded this simplePortal and it does not work...I get all sorts of errors...?
I guess I will stick with tinyportal...at least it works well.
Thanks

Eliana Tamerin

Quote from: videoman57 on January 11, 2009, 09:10:56 PM
I downloaded this simplePortal and it does not work...I get all sorts of errors...?
I guess I will stick with tinyportal...at least it works well.
Thanks

What doesn't work and what are your errors?
Do NOT PM me for support.

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

videoman57

I installed the new smf 2.0.4b

and received these following errors...and I have no other mods installed yet.

Installing this package will perform the following actions:
      Type    Action    Description
*    1.    Execute Modification    ./index.php    Test successful
      1.    Replace    ./index.php    Test successful
      2.    Replace    ./index.php    Test successful
      3.    Replace    ./index.php    Test successful
      4.    Replace    ./index.php    Test successful
*    2.    Execute Modification    ./Sources/Subs-BoardIndex.php    Test failed
      1.    Replace    ./Sources/Subs-BoardIndex.php    Test failed
*    3.    Execute Modification    ./Sources/Display.php    Test successful
      1.    Replace    ./Sources/Display.php    Test successful
      2.    Replace    ./Sources/Display.php    Test successful
*    4.    Execute Modification    ./Sources/Help.php    Test successful
      1.    Replace    ./Sources/Help.php    Test successful
*    5.    Execute Modification    ./Sources/Load.php    Test successful
      1.    Replace    ./Sources/Load.php    Test successful
*    6.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Replace    ./Sources/ManagePermissions.php    Test successful
      2.    Replace    ./Sources/ManagePermissions.php    Test successful
      3.    Replace    ./Sources/ManagePermissions.php    Test successful
*    7.    Execute Modification    ./Sources/ManageServer.php    Test successful
      1.    Replace    ./Sources/ManageServer.php    Test successful
*    8.    Execute Modification    ./Sources/QueryString.php    Test successful
      1.    Replace    ./Sources/QueryString.php    Test successful
*    9.    Execute Modification    ./Sources/Recent.php    Test failed
      1.    Replace    ./Sources/Recent.php    Test failed
      2.    Replace    ./Sources/Recent.php    Test failed
      3.    Replace    ./Sources/Recent.php    Test failed
*    10.    Execute Modification    ./Sources/Subs.php    Test successful
      1.    Replace    ./Sources/Subs.php    Test successful
      2.    Replace    ./Sources/Subs.php    Test successful
      3.    Replace    ./Sources/Subs.php    Test successful
      4.    Replace    ./Sources/Subs.php    Test successful
*    11.    Execute Modification    ./Sources/Admin.php    Test successful
      1.    Replace    ./Sources/Admin.php    Test successful
      2.    Replace    ./Sources/Admin.php    Test successful
      3.    Replace    ./Sources/Admin.php    Test successful
      4.    Replace    ./Sources/Admin.php    Test successful
*    12.    Execute Modification    ./Sources/Subs-Boards.php    Test failed
      1.    Replace    ./Sources/Subs-Boards.php    Test failed
*    13.    Execute Modification    ./Sources/Poll.php    Test successful
      1.    Replace    ./Sources/Poll.php    Test successful
*    14.    Execute Modification    ./SSI.php    Test successful
      1.    Replace    ./SSI.php    Test successful
      2.    Replace    ./SSI.php    Test successful
*    15.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Replace    ./Themes/default/Display.template.php    Test successful
*    16.    Execute Modification    ./Themes/default/css/dropmenu.css    Test failed
      1.    Replace    ./Themes/default/css/dropmenu.css    Test failed
*    17.    Execute Modification    ./Themes/default/css/index.css    Test failed
      1.    Replace    ./Themes/default/css/index.css    Test failed
*    18.    Execute Modification    ./Themes/default/languages/Who.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Who.english.php    Test failed
   19.    Execute Modification    ./Themes/default/languages/Who.english-utf8.php    Skipping file
   20.    Execute Code    install2.php    
   21.    Extract File    ./Sources/SPortal2.php    
   22.    Extract File    ./Sources/SPortalAdmin2.php    
   23.    Extract File    ./Sources/Subs-SPortal2.php    
   24.    Extract File    ./Themes/default/SPortal2.template.php    
   25.    Extract File    ./Themes/default/SPortalAdmin2.template.php    
   26.    Extract File    ./Themes/default/SPortalBlocks2.template.php    
   27.    Extract File    ./Themes/default/languages/SPortal.english.php    
   28.    Extract File    ./Themes/default/languages/SPortal.english-utf8.php    
   29.    Extract File    ./Themes/default/languages/SPortalAdmin.english.php    
   30.    Extract File    ./Themes/default/languages/SPortalAdmin.english-utf8.php    
   31.    Extract File    ./Themes/default/languages/SPortalHelp.english.php    
   32.    Extract File    ./Themes/default/languages/SPortalHelp.english-utf8.php    
   33.    Extract File    ./Themes/default/images/arrow.gif    
   34.    Extract File    ./Themes/default/images/dot.gif    
   35.    Extract File    ./Themes/default/images/selected1.gif

Smoky "Rider" Blue

if you want to install this, and its coming up test failed, you will need to manually insert the code..  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

videoman57

what is involved to do this manually.?   I do not know that procedure

Smoky "Rider" Blue

go back to where you downloaded the mod and it will tell you what files the mod edits..  :)

the little tab that asks what version of smf you have
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

bullbreedluverz

#1776
On SMF 1.1.7 with SP2.1.1 on default theme Im getting flooded over and over with the same error, literally 2 pages of them anytime anyone goes on the portal

8: Undefined variable: scripturl
File: /home/bullbree/public_html/smf/Themes/default/SPortal1-1.template.php (portal_below sub template - eval?)
Line: 58


Ive compared my SPortal1-1.template.php with a clean copy and mine has a space between every line of coding, so i FTP'd the copy i unzipped thinking the spacing might be causing the problem but cleared the error log and went on portal and back to error log and it done it again


Solved...... removed it and give up on it

Smoky "Rider" Blue

that could have been fixed, but guess it is solved now  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

[SiNaN]

Such errors are mostly caused by custom PHP blocks.
Former SMF Core Developer | My Mods | SimplePortal

illmakeyouscream

Alright, so we have to like download this right?

Anyways, if so how I don't get this part.
It pops up with codes and I don't understand.

Someone said we should try simple portal but if so how do we get our stats and that to look like this because that's part of portal I know that because smf for free has that well not exactly like what i'm going to show but similar....

Please explain thank you :)

the picture of the stats and users online right here: the pic
sorry if i keep repeating but this just isn't making any sense.

Advertisement: