SimplePortal

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

Previous topic - Next topic

The Saviour

Quote from: Eliana Tamerin on November 23, 2008, 02:04:29 PM
I believe a Link Block is planned for future SP releases. However, you can probably get more dedicated support if you post your request in SimplePortal.net's Blocks board.

To me...that's just one more registration I'd rather not have to deal with.  It seems if you want to get dedicated support around here...you need to register at 15 - 25 different websites.  Not what I have in mind.

If a mod is posted here...it should be supported here, as well.

No offense...just using common sense.


Jade Elizabeth

Attach the template and tell me what to remove and I'll do it :)

Quote from: The Saviour on November 23, 2008, 02:09:20 PM
Quote from: Eliana Tamerin on November 23, 2008, 02:04:29 PM
I believe a Link Block is planned for future SP releases. However, you can probably get more dedicated support if you post your request in SimplePortal.net's Blocks board.

To me...that's just one more registration I'd rather not have to deal with.  It seems if you want to get dedicated support around here...you need to register at 15 - 25 different websites.  Not what I have in mind.

If a mod is posted here...it should be supported here, as well.

No offense...just using common sense.



It is, but the topic gets very busy, we dont want your help to get lost!
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

The Saviour

Thanks, Jade...

Before I decide to remove any of the menu links from navigation...I want to see if I can get this block created, first...okay?

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

The Saviour

Thanks...

On another note...

There seems to be a problem with this mod when it comes to W3C XHTML validation.

Please see the following:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.saviourpc.com%2Fforums%2Findex.php

Looks like I'm going to have to register at that site and post the issues I'm having with this mod.

Eliana Tamerin

I understand your qualms, but it's difficult to keep track of support issues in this topic. Without having a dedicated board, it just get mixed up in a jumble. I'm happy that we do try to keep up with support here, but you really would probably get a better support experience at SP.net.
Do NOT PM me for support.

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

The Saviour

Thanks...

I've registered there...and have posted with the issues I'm facing.

The Saviour

They posted over at SimplePortal that the XHTML validation was fixed...however, as soon as you move a block...any block...it breaks the validation process, again.

Here's the link:  http://simpleportal.net/index.php?topic=947.msg6216#msg6216

I uninstalled and re-installed the portal mod and the problem was initially fixed...until you moved the blocks around.  Then validation fails, again.

[SiNaN]

Quote from: The Saviour on November 24, 2008, 09:12:09 AM
I uninstalled and re-installed the portal mod and the problem was initially fixed...until you moved the blocks around.  Then validation fails, again.

I'm not sure what you mean by "moving the blocks" around but, all XHTML errors found were fixed; but with 2.1. Which is not out yet.
Former SMF Core Developer | My Mods | SimplePortal

The Saviour

Once you posted over at SimplePortal that the XHTML was fixed...regarding the post I made...

I removed my previous installation of SimplePortal and then downloaded the mod again...uploaded...applied mod...and installed.

I then went to the portal homepage and checked validation...it passed.

I went into SimplePortal Admin and moved the blocks around in the left block list.

Went to validate at W3C...and it failed.

[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

The Saviour

Quote from: Blue Dream on November 24, 2008, 09:36:42 AM
Did you add new blocks, or just moved them?

Both...

Added a new HTML block...then moved the other blocks up/down in the left block list.

[SiNaN]

Can you paste here the contents of you HTML block?
Former SMF Core Developer | My Mods | SimplePortal

nosoyelmejor

Hello everybody,

I'm looking for something that shows me the new topics open at the forum, independently of the messages in it, then if someone writes a
message in a topic, the topic is not going to the top of the messages, I only want the last topics open.

Do you know any Mod. working properly for that? Right now, everyone that I have tried put the old subjects at the top if someone answer it.


$request = db_query("

SELECT

m.posterTime, ms.subject, m.ID_TOPIC, m.ID_MEMBER, m.ID_MSG, b.ID_BOARD, b.name AS bName,

IFNULL(mem.realName, m.posterName) AS posterName, " . ($user_info['is_guest'] ? '1 AS isRead, 0 AS new_from' : '

IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, 0)) >= m.ID_MSG_MODIFIED AS isRead,

IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, -1)) + 1 AS new_from') . ", LEFT(m.body, 384) AS body, m.smileysEnabled, m.icon

FROM ({$db_prefix}messages AS m, {$db_prefix}topics AS t, {$db_prefix}boards AS b, {$db_prefix}messages AS ms)

LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)" . (!$user_info['is_guest'] ? "

LEFT JOIN {$db_prefix}log_topics AS lt ON (lt.ID_TOPIC = t.ID_TOPIC AND lt.ID_MEMBER = $ID_MEMBER)

LEFT JOIN {$db_prefix}log_mark_read AS lmr ON (lmr.ID_BOARD = b.ID_BOARD AND lmr.ID_MEMBER = $ID_MEMBER)" : '') . "

WHERE t.ID_LAST_MSG >= " . ($modSettings['maxMsgID'] - 35 * min($num_recent, 5)) . "

AND t.ID_LAST_MSG = m.ID_MSG

AND b.ID_BOARD = t.ID_BOARD" . (empty($exclude_boards) ? '' : "

AND b.ID_BOARD NOT IN (" . implode(', ', $exclude_boards) . ")") . "

AND $user_info[query_see_board]

AND ms.ID_MSG = t.ID_FIRST_MSG

ORDER BY t.ID_LAST_MSG DESC

LIMIT $num_recent", __FILE__, __LINE__);


That's my problem! Any sagestion?

Thanks.

[SiNaN]

This query will do it:

$request = db_query("
SELECT
m.posterTime, m.subject, m.ID_TOPIC, m.ID_MEMBER, m.ID_MSG, b.ID_BOARD, b.name AS bName,
IFNULL(mem.realName, m.posterName) AS posterName, " . ($user_info['is_guest'] ? '1 AS isRead, 0 AS new_from' : '
IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, 0)) >= m.ID_MSG_MODIFIED AS isRead,
IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, -1)) + 1 AS new_from') . ", LEFT(m.body, 384) AS body, m.smileysEnabled, m.icon
FROM ({$db_prefix}messages AS m, {$db_prefix}topics AS t, {$db_prefix}boards AS b)
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)" . (!$user_info['is_guest'] ? "
LEFT JOIN {$db_prefix}log_topics AS lt ON (lt.ID_TOPIC = t.ID_TOPIC AND lt.ID_MEMBER = $ID_MEMBER)
LEFT JOIN {$db_prefix}log_mark_read AS lmr ON (lmr.ID_BOARD = b.ID_BOARD AND lmr.ID_MEMBER = $ID_MEMBER)" : '') . "
WHERE t.ID_FIRST_MSG >= " . ($modSettings['maxMsgID'] - 35 * min($num_recent, 5)) . "
AND t.ID_FIRST_MSG = m.ID_MSG
AND b.ID_BOARD = t.ID_BOARD" . (empty($exclude_boards) ? '' : "
AND b.ID_BOARD NOT IN (" . implode(', ', $exclude_boards) . ")") . "
AND $user_info[query_see_board]
ORDER BY t.ID_FIRST_MSG
LIMIT $num_recent", __FILE__, __LINE__);
Former SMF Core Developer | My Mods | SimplePortal

nosoyelmejor


[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

AlenNS


Lady Night Owl

The portal seems to work fine for me, no error messages.

But the copyright info at the bottom is smushed together with the SMF copyright info.
Running SMF 2.0.1

[SiNaN]

Quote from: Lady Night Owl on November 26, 2008, 10:26:02 AM
The portal seems to work fine for me, no error messages.

But the copyright info at the bottom is smushed together with the SMF copyright info.

Do a hard refresh to your browser. (Press Ctrl+F5)

That's because stylesheet is cached.
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: