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]

Quote from: MTF95 on April 21, 2008, 10:54:40 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. ;)

Quote from: cleanfiles on April 21, 2008, 10:58:10 AM
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

Marcus Forsberg

#221
Quote from: [SiNaN] on April 21, 2008, 11:06:09 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

cleanfiles

Thanks m8, that was so simple..Its all working perfect now.
Very happy. :D

Drover

#223
Quote from: [SiNaNIn 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?

Drover

#224
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

QuoteDot         :     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?

Manu.G

@[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

Drover

Quote from: [SiNaN] on March 17, 2008, 06:58:15 AM
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?

Bancherd

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?

Nibogo

#228
Quote from: MTF95 on April 21, 2008, 10:54:40 AM
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:

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

Marcus Forsberg

Quote from: NIBOGO on April 21, 2008, 10:47:45 PM
You can check this mods:

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

larrysweb

#230
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!


[SiNaN]

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

Bancherd

Quote from: [SiNaN] on April 22, 2008, 02:32:08 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.


      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>';

cleanfiles

Quotejust curious; what's "m8"?

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

babylon

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.

[SiNaN]

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

babylon

ok i see...
But will it effect any urls that are already in google ?

Marcus Forsberg

Quote from: [SiNaN] 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. ;)

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

Marcus Forsberg


[SiNaN]

Quote from: babylon on April 22, 2008, 07:43:35 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

Quote from: MTF95 on April 22, 2008, 07:49:08 AM
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

Advertisement: