Advertisement:

Author Topic: SimplePortal  (Read 1507970 times)

Offline Sakacoco

  • Semi-Newbie
  • *
  • Posts: 15
Re: SimplePortal
« Reply #100 on: March 22, 2008, 07:09:02 AM »
Yeah ! It works ! Thx !

But now, another question how can i put a module in the other side ?

Thanks for your usefull help !

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #101 on: March 22, 2008, 09:00:36 AM »
I mean, if a visitor cannot access an action or feature, than do not let them click a link to go there, instead tell them to login to view

Hımmm, okay. I think I've understand.

Yeah ! It works ! Thx !

But now, another question how can i put a module in the other side ?

Thanks for your usefull help !

What do you want to add for example?
Former SMF Core Developer | My Mods | SimplePortal

Offline Sakacoco

  • Semi-Newbie
  • *
  • Posts: 15
Re: SimplePortal
« Reply #102 on: March 22, 2008, 10:21:49 AM »
For exemple i would like to switch the search module and stats in the other side, is it possible ?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #103 on: March 22, 2008, 10:32:59 AM »
Yes of course. Just you should edit the SPortal.template.php file.

This is the start of the block:

Code: [Select]
if($modSettings['showboardstats'])
{
echo '
<!-- Board Stats Block -->
<div class="tborder">
..................

And this is the end:

Code: [Select]
...................
<td><img src="' . $settings['images_url'] . '/dot.gif" alt="Dot" /></td>
<td>', $txt['sp-statboard'], '</td>
<td>:</td>
<td>', $totals['boards'], '</td>
</tr>
</table>
</td>
</tr>
</table>
</div>

<br />';
}

Take the block, and paste it where do you like be displayed. :)
Former SMF Core Developer | My Mods | SimplePortal

Offline Sakacoco

  • Semi-Newbie
  • *
  • Posts: 15
Re: SimplePortal
« Reply #104 on: March 22, 2008, 01:48:15 PM »
Marvelous ! It's super ! Thx a lot !

Offline †д∩αỷ ĎάПα

  • Semi-Newbie
  • *
  • Posts: 40
  • Gender: Male
Re: SimplePortal
« Reply #105 on: March 22, 2008, 07:30:15 PM »
I can't install it, I see a message saying "modification Error". What do I have to modify to install it?

Please tell me the steps.

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #106 on: March 23, 2008, 05:25:44 AM »
Marvelous ! It's super ! Thx a lot !

Not at all. :)

I can't install it, I see a message saying "modification Error". What do I have to modify to install it?

Please tell me the steps.

Here is how to install manually: http://www.simplemachines.org/community/index.php?topic=227599.msg1476528#msg1476528
Former SMF Core Developer | My Mods | SimplePortal

Offline Joomlamz

  • SMF Hero
  • ******
  • Posts: 2,631
  • Gender: Male
  • Suporte SmfPT
    • apllicmz on Facebook
    • apllicmz on GitHub
    • https://www.linkedin.com/in/aplic on LinkedIn
    • @aplichosting on Twitter
    • Webdesign
Re: SimplePortal
« Reply #107 on: March 23, 2008, 08:46:11 AM »
Thank you
i translate for potuguese

download  attach


« Last Edit: March 23, 2008, 09:40:05 AM by joomlamz »



Offline Mr Blah Man

  • Semi-Newbie
  • *
  • Posts: 41
Re: SimplePortal
« Reply #108 on: March 25, 2008, 04:01:04 AM »
Very Nice, but I'd like to ask... My Link tree is:

The Shadowed Legion Forums  »  Forum  »  Main Category  »  Rules & Announcements
 ^ Links to Portal ^                 ^Links^ 
                                           to Forum

How do I get rid of the The Shadowed Legion Forums Part?
« Last Edit: March 25, 2008, 04:19:47 PM by Mr Blah Man »

Offline denzil69

  • Semi-Newbie
  • *
  • Posts: 81
Re: SimplePortal
« Reply #109 on: March 25, 2008, 06:49:25 AM »
i used the manual install parser, getting more error messages than an install via the admin panel.

Quote
Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 50: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xFD 0x20 0x65 0x74 in /home/sleepy1/public_html/PackageParser/index.php on line 472

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: <search position="before"><![CDATA[$txt['who_enabled'] = 'Kimler Online\'� et in /home/sleepy1/public_html/PackageParser/index.php on line 472

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in /home/sleepy1/public_html/PackageParser/index.php on line 472

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/sleepy1/public_html/PackageParser/index.php:472 Stack trace: #0 /home/sleepy1/public_html/PackageParser/index.php(472): SimpleXMLElement->__construct('<?xml version="...') #1 /home/sleepy1/public_html/PackageParser/index.php(441): parseModificationXML('/home/sleepy1/b...', Object(SimpleXMLElement), 'all') #2 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'all') #3 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpu1qPl6', 'install', 'all') #4 {main} thrown in /home/sleepy1/public_html/PackageParser/index.php on line 472

im running 1.1.4
using default set up.

any ideas please?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #110 on: March 25, 2008, 09:18:49 AM »
Very Nice, but I'd like to ask... My Link tree is:

The Shadowed Legion Forums  »  Forum  »  Main Category  »  Rules & Announcements
 ^ Links to Portal ^                      ^Links^ 
                                                    to Forum

How do I get rid of the The Shadowed Legion Forums Part?

I'll give the codes.

i used the manual install parser, getting more error messages than an install via the admin panel.
im running 1.1.4
using default set up.

any ideas please?

Do not use the original package with the mod parser. It includes non-utf8 Turkish characters. Use the package linked below with the mod parser:

http://www.simplemachines.org/community/index.php?action=dlattach;topic=227599.0;attach=52053
Former SMF Core Developer | My Mods | SimplePortal

Offline Mr Blah Man

  • Semi-Newbie
  • *
  • Posts: 41
Re: SimplePortal
« Reply #111 on: March 26, 2008, 02:48:51 AM »
Very Nice, but I'd like to ask... My Link tree is:

The Shadowed Legion Forums  »  Forum  »  Main Category  »  Rules & Announcements
 ^ Links to Portal ^                      ^Links^ 
                                                    to Forum

How do I get rid of the The Shadowed Legion Forums Part?

I'll give the codes.

What are they, or where should I look? :O

Offline TosTos

  • Sr. Member
  • ****
  • Posts: 842
  • Gender: Male
    • Smfyoo
Re: SimplePortal
« Reply #112 on: March 26, 2008, 05:43:35 AM »
It is very nice mod. Are you going to update it to work with smf2.0?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #113 on: March 26, 2008, 09:47:58 AM »
What are they, or where should I look? :O

I don't have the file with me now. It's in the Load.php. But I'll write them, when I'll have time.

It is very nice mod. Are you going to update it to work with smf2.0?


I even didn't install the 2.0 Beta 3. Now having lack of time. Keep it secret; that's in my plan. :P
Former SMF Core Developer | My Mods | SimplePortal

Offline cumcatano

  • Newbie
  • *
  • Posts: 5
Re: SimplePortal
« Reply #114 on: March 26, 2008, 11:53:52 AM »
Hi!

Nice portal man!

I need to place a new block on the right side to show Google AdSense block.

Can you help me, please?


Thks!

Offline spoontosser

  • Semi-Newbie
  • *
  • Posts: 38
Re: SimplePortal
« Reply #115 on: March 26, 2008, 03:58:40 PM »
Great Mod and I got it installed and working fine on my SMF forum at http://steelheadnotebook.net/forum/index.php, however I am getting the following  errors on the forum error log.

Quote
Apply Filter: Only show the errors with the same message
8: Undefined index: showtoppoll
File: /home/bdm721/public_html/forum/Themes/default/SPortal.template.php (main sub template - eval?)
Line: 428

Quote
Apply Filter: Only show the errors with the same message
8: Undefined index: showboardnews
File: /home/bdm721/public_html/forum/Themes/default/SPortal.template.php (main sub template - eval?)
Line: 291

Here is the code on those lines:
Code: [Select]
Line 291    if($modSettings['showboardnews'])
Code: [Select]
Line 428    if($modSettings['showtoppoll'])
Any ideas what could be causing these errors?

I am using version 1.1.4 and have the following mods installed:

Quote
Mod Name     Version     
1.    Users Online Today Mod    1.4.0    [ Uninstall ]
2.    AutoSig    1.2    [ Uninstall ]
3.    Board Viewers Mod    1.1    [ Uninstall ]
4.    MessagePreviewOnHover    1.4    [ Uninstall ]
5.    SMF 1.1.1 Update Package    1.1.1    [ Uninstall ]
6.    URL Popup    1.0    [ Uninstall ]
7.    View Single Post    1.1    [ Uninstall ]
8.    MySpace Field    2.4    [ Uninstall ]
9.    Automatically Remove Inbox Label Mod    1.0    [ Uninstall ]
10.    Profile User Action    1.0    [ Uninstall ]
11.    Who Voted What?    1.1.1    [ Uninstall ]
12.    Line Numbers Mod    1.01    [ Uninstall ]
13.    SMF 1.1.2 Update Package    1.1.2    [ Uninstall ]
14.    Wrap Text Around Image    1.0    [ Uninstall ]
15.    FontandSizeDropdown1.1    1.1    [ Uninstall ]
16.    Streaming 3    4.2.2b    [ Uninstall ]
17.    SMF Gallery Lite    1.8    [ Uninstall ]
18.    Ad Managment    2.3    [ Uninstall ]
19.    Signature Dropdown Choices    1.0    [ Uninstall ]
20.    RSS Feed Icon    1.1    [ Uninstall ]
21.    SMF 1.0.11 / 1.1.3 Update    1.1    [ Uninstall ]
22.    Buy Me A Beer    1.1    [ Uninstall ]
23.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ Uninstall ]
24.    Auto Embed Video Clips    1.2    [ Uninstall ]
25.    Spiders Don't Increase Topic Views    1.1    [ Uninstall ]
26.    Sorted Package Manager Listing    0.1    [ Uninstall ]
27.    Electric Guitar Avatars    1.0    [ Uninstall ]
28.    Show all edits in messages    1.0    [ Uninstall ]
29.    Favicon    1.0    [ Uninstall ]
30.    FlashChat Integration    1.0    [ Uninstall ]
31.    Internal Links Use Same Window    1.1    [ Uninstall ]
32.    Ellow yellow christmas edition smiley set    1.1    [ Uninstall ]
33.    Advanced Recent-Posts    1.1    [ Uninstall ]
34.    Admin member list registration date    1.0    [ Uninstall ]
35.    delete inactive users    1.0.3    [ Uninstall ]
36.    Add Sitepreviews    1.31    [ Uninstall ]
37.    Top 10 Posters Today And This Week Stats    1.1
« Last Edit: March 26, 2008, 04:02:37 PM by spoontosser »

Offline denzil69

  • Semi-Newbie
  • *
  • Posts: 81
Re: SimplePortal
« Reply #116 on: March 26, 2008, 06:27:13 PM »
okays... we have it installed, running, but generating many errors in the log.

(this may be due to not setting parameters in the various boxes on the settings page?)
are there instructions that i have missed as to what to put in them?

EDIT: some errors,if i sort them one at a time it will be much clearer.

8: Undefined index: aspecificannounce
File: .....\Themes\default\SPortal.template.php (eval?)
Line: 277

"announcement is unchecked"
(line 277:) if($modSettings['aspecificannounce'])
« Last Edit: March 26, 2008, 06:48:36 PM by denzil69 »

Offline TosTos

  • Sr. Member
  • ****
  • Posts: 842
  • Gender: Male
    • Smfyoo
Re: SimplePortal
« Reply #117 on: March 26, 2008, 07:20:34 PM »
What are they, or where should I look? :O

I don't have the file with me now. It's in the Load.php. But I'll write them, when I'll have time.

It is very nice mod. Are you going to update it to work with smf2.0?


I even didn't install the 2.0 Beta 3. Now having lack of time. Keep it secret; that's in my plan. :P
Very Good. I think it might be a strong competitor for tp.

Offline spoontosser

  • Semi-Newbie
  • *
  • Posts: 38
Re: SimplePortal
« Reply #118 on: March 26, 2008, 10:20:43 PM »
After making my earlier post I went back and checked the Show Board News Block and the Show Top Poll Block, saved the settings and viewed the new settings in the portal. I then went back and unchecked them and now the error massages no longer seem to show up. Not sure why, but since they are no longer showing I guess I don't have anything to worry about.

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #119 on: March 27, 2008, 07:21:18 AM »
To the users, who got undefined index erros in the error log; it is because the database query included is not ran. The solution is, just set all the settings in the Portal Settings and then Save them. Then, the database query will be ran by the SMF automatically. After that, you can turn off the setting you want.

TosTos, for now, it can't. This is so so simple for TP. And I'm not good enough to race with Mr. Bloc. :)
Former SMF Core Developer | My Mods | SimplePortal