Advertisement:

Author Topic: SimplePortal  (Read 1503525 times)

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #220 on: April 21, 2008, 11:06:09 AM »
As all your mods, this is great!

But, sorry, I'll ceep using TP, only becouse of the Downloadsfunction.  :-\

You can use the Dowloads mod with this. :D

I also say that TinyPortal is very very detailed mod considered to this. Even we can not compare them. This is just simple. :)

But wait for the v2.0. ;)

Thanks for the reply.
I don't know what the board id is or where to find it.
Any ideas on why I only have blocks on the left side?

Look at the link of board. For example;


http://www.simplemachines.org/community/index.php?board=1.0

Here the board id is 1
Former SMF Core Developer | My Mods | SimplePortal

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,608
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: SimplePortal
« Reply #221 on: April 21, 2008, 11:24:01 AM »


You can use the Dowloads mod with this. :D

I also say that TinyPortal is very very detailed mod considered to this. Even we can not compare them. This is just simple. :)


I know about the download mod, but the problem is that it dosn't show pictures of the file.
My site is for the game TheSims2, and my users may upload there skins, and whit the download mod they don't see what they download, but they do whit TP.

I like your simpel portal better, so if there was any better download mod, I would use it.
But as it is now, there isn't.
If only I knew anything about t´hings like PHP and mysql I would create my own :/

Wouldn't you be able to create something simple?  :P
« Last Edit: April 21, 2008, 02:06:24 PM by MTF95 »

Offline cleanfiles

  • Semi-Newbie
  • *
  • Posts: 94
Re: SimplePortal
« Reply #222 on: April 21, 2008, 11:30:05 AM »
Thanks m8, that was so simple..Its all working perfect now.
Very happy. :D

Offline Drover

  • Jr. Member
  • **
  • Posts: 199
    • National Prepper Exchange
Re: SimplePortal
« Reply #223 on: April 21, 2008, 12:23:34 PM »
Quote from: [SiNaN
In version 1.1, you have 2 blocks that you can write php and html codes in them. In the version 2.0, you will be able to add new blocks and change the positions and properties of blocks.

That's great!  Any ETA on the 2.0 release?  And if I go ahead and install 1.1 now, how difficult would the update be?
« Last Edit: April 21, 2008, 12:29:39 PM by Drover »

Offline Drover

  • Jr. Member
  • **
  • Posts: 199
    • National Prepper Exchange
Re: SimplePortal
« Reply #224 on: April 21, 2008, 02:20:00 PM »
I installed and have a few issues...

There's no Features and Options >> Portal Settings showing up for me.

The blocks don't show any titles.

It doesn't seem to be finding any of the portal images or buttons, and isn't finding the right text.  For instance, the 'Board Stats' block looks like

Quote
Dot         :     118
Dot       :    186
Dot       :    33
Dot       :    4
Dot       :    5

And the Search button just looks like a green square instead of a button.

Edit:  I just created a brand new forum with a different theme and have the exact same issues as above.  Ideas?
« Last Edit: April 21, 2008, 05:47:55 PM by Drover »

Offline Manu.G

  • Full Member
  • ***
  • Posts: 448
  • Gender: Female
  • Angel by Day, Devil by Night
    • http://facebook.com/manuela.guth on Facebook
    • Fan Community
Re: SimplePortal
« Reply #225 on: April 21, 2008, 03:34:08 PM »
@[SiNaN]
The code works perfect, thanks again for your help!!
Now the portal looks perfect. :D
Version SMF 2.0.8
SimplePortal 2.3.5

Offline Drover

  • Jr. Member
  • **
  • Posts: 199
    • National Prepper Exchange
Re: SimplePortal
« Reply #226 on: April 21, 2008, 05:54:56 PM »
Try adding the text strings to the utf-8 language files also.

This is my problem too I think.  What does this mean and how do I do this?

Offline Bancherd

  • Jr. Member
  • **
  • Posts: 283
    • Thai Koi Keepers' Home Page
Re: SimplePortal
« Reply #227 on: April 21, 2008, 06:33:54 PM »
This is a very nice mod which totally replaced my own version of a portal.  Thanks for great job!  :D

I have one issue though, is the block showing "Top Topics" still hard-coded to show number of replies?

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,663
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: SimplePortal
« Reply #228 on: April 21, 2008, 10:47:45 PM »
As all your mods, this is great!

But, sorry, I'll ceep using TP, only becouse of the Downloadsfunction.  :-\

You can check this mods:

http://custom.simplemachines.org/mods/index.php?mod=992

http://custom.simplemachines.org/mods/index.php?mod=267

and maybe this code can work with the first url for the recent files in a block of simple portal:

Code: [Select]
global $db_prefix, $scripturl;

$request = db_query("SELECT f.ID_FILE, f.ID_MEMBER, f.date, f.ID_CAT, f.title AS ftitle, f.totaldownloads,
c.title, m.realName, m.ID_MEMBER AS mID_MEMBER
FROM {$db_prefix}down_file AS f, {$db_prefix}down_cat AS c, {$db_prefix}members AS m
WHERE f.ID_CAT = c.ID_CAT
AND f.approved = '1'
AND f.ID_MEMBER = m.ID_MEMBER
ORDER BY f.ID_FILE DESC
LIMIT 5",__FILE__,__LINE__);
while($row = mysql_fetch_assoc($request)) {
echo '<table width="100%" cellpadding="2" cellspacing="0">
<tr>
<td valign="top" class="smalltext"> <a href="',$scripturl,'?action=view;id=',$row['ID_FILE'],'">',$row['ftitle'],'</a></td>
<td valign="top" class="smalltext" align="right">',$row['totaldownloads'],'</td>
</tr>
</table>';
}

This can be the best solution but i think of maybe sinan can do a simple download module but is not necessary.

Excuse me but i have a bad english

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,608
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: SimplePortal
« Reply #229 on: April 22, 2008, 12:30:46 AM »
You can check this mods:

Does mods is not what I need, couse they don't show pictures of the file to download.

Offline larrysweb

  • Newbie
  • *
  • Posts: 1
Re: SimplePortal
« Reply #230 on: April 22, 2008, 01:36:12 AM »
When I try to apply SimplePortal, I get the following:

1.     Execute Modification     ./Themes/default/languages/ModSettings.english.php     Test successful
2.    Execute Modification    ./Themes/default/languages/ModSettings.turkish.php    Skipping file
3.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
4.    Execute Modification    ./Themes/default/languages/index.turkish.php    Skipping file
5.    Execute Modification    ./index.php    Test successful
6.    Execute Modification    ./Sources/Load.php    Test successful
7.    Execute Modification    ./Sources/ModSettings.php    Test successful
8.    Execute Modification    ./Themes/default/index.template.php    Test failed  <<<-------------
9.    Extract File    ./Sources/SPortal.php    
10.    Extract File    ./Themes/default/SPortal.template.php    
11.    Extract File    ./Themes/default/languages/SPortal.english.php    
12.    Extract File    ./Themes/default/languages/SPortal.turkish.php    
13.    Extract File    ./Themes/default/images/arrow.gif    
14.    Extract File    ./Themes/default/images/dot.gif    
15.    Execute Code    database.php

Is it safe to install or do I need to do something special? I'm using the SMF Default Theme - Core.

hxxp:www.pelicanbaycity.com/forums [nonactive]

Thank you in advance!

« Last Edit: April 22, 2008, 01:37:50 AM by larrysweb »

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #231 on: April 22, 2008, 02:32:08 AM »
MTF95, I don't think I will code a downloads module. But I can create a built-in block for random or latest downloads working with a mod. Also I can modify the mods you say if the author doesn't likely to do it. ;)

cleanfiles, just curious; what's "m8"?

Drover, like the the team does; You will be able to download it when it would be ready. :P I can not say an exact time. But I think I have month for coding it. For the update process; as it would be a very very deep change, it would be better uninstall the old one and install the new version I guess. And for the problem you are having; I guess you are using utf-8 encoding. I attached the file that you should use. Just install this package after you install the SimplePortal v1.1.

Manu0372, not at all Manu. And I suggest you making the blue theme as default for your forum.

Bancherd, did you change it from the Admin CP to show as views?

Thanks, NIBOGO. Codes look good.

larrysweb, do this:

-Copy you initial index.template.php file from default theme.
-Change it with an original index.template.php file.
-Install the mod using Package Manager
-Make the changes manually in your default and specific themes' index.template.php file. (I can do them for you if you can not.)
-Upload the files you edited.
Former SMF Core Developer | My Mods | SimplePortal

Offline Bancherd

  • Jr. Member
  • **
  • Posts: 283
    • Thai Koi Keepers' Home Page
Re: SimplePortal
« Reply #232 on: April 22, 2008, 03:28:32 AM »

Bancherd, did you change it from the Admin CP to show as views?



Yes, the heading toggled between Views and Replies as I toggled my choice in admin CP.  The topics shown also changed accordingly; however, the numbers displayed are always the number of replies...$topic['num_replies'].

Thanks for checking into this.  I have attached portion of the code below.

Code: [Select]
      echo '

      <table class="ssi_table">

         <tr>

            <th align="left">', $txt['sp-ttopicname'], '</th>

            <th align="left">', $modSettings['tttype'] ? $txt[301] : $txt[110], '</th>

         </tr>';

      foreach ($topics as $topic)

      echo '

         <tr>

            <td align="left">

               ', $topic['link'], '

            </td>

            <td align="right">', $topic['num_replies'], '</td>

         </tr>';

Offline cleanfiles

  • Semi-Newbie
  • *
  • Posts: 94
Re: SimplePortal
« Reply #233 on: April 22, 2008, 03:46:53 AM »
Quote
just curious; what's "m8"?

I'm from Australia, "m8" is short for "Mate" which is slang for like "friend" or "Pal".

Offline babylon

  • Jr. Member
  • **
  • Posts: 144
Re: SimplePortal
« Reply #234 on: April 22, 2008, 07:37:24 AM »
hello, im helping a friend who's phpbb3 i converted to smf 1.1.4.
The only mods installed are:

Display Signatures Only Once Per Page
Header Rotator    1.1.0
Pretty URLs

and now they want simpleportal.

my question is....can it be used with these mods installed ?
And whats gonna be the "index" page ?

i mean...is it gonna be mysite.com/portal.php ?
Any info you can give would be great.

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #235 on: April 22, 2008, 07:40:25 AM »
Bacherd, I'll look at that bug.

cleanfiles, okay, I understand. :)

babylon, the portal page will be yoursite.com/index.php and the forum page yoursite.com/index.php?action=forum .

You can see the demo here

http://www.simplemachines.org/community/index.php?topic=227599.msg1512194#msg1512194

Former SMF Core Developer | My Mods | SimplePortal

Offline babylon

  • Jr. Member
  • **
  • Posts: 144
Re: SimplePortal
« Reply #236 on: April 22, 2008, 07:43:35 AM »
ok i see...
But will it effect any urls that are already in google ?

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,608
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: SimplePortal
« Reply #237 on: April 22, 2008, 07:49:08 AM »
MTF95, I don't think I will code a downloads module. But I can create a built-in block for random or latest downloads working with a mod. Also I can modify the mods you say if the author doesn't likely to do it. ;)

I didn't ment you to create a downloads module, but a downloads mod, outside the portal.

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,608
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: SimplePortal
« Reply #239 on: April 22, 2008, 08:12:24 AM »
ok i see...
But will it effect any urls that are already in google ?

No, it will not. Because as you see just the boardindex url is being changed. But the board, topic and message urls are the same. See:

http://bizmuhacirler.com/test/index.php/board,1.0.html
http://bizmuhacirler.com/test/index.php/topic,4.0.html

I didn't ment you to create a downloads module, but a downloads mod, outside the portal.

Hımmm, I don't think I would. Because there are many alternatives. :)
Former SMF Core Developer | My Mods | SimplePortal