News:

Join the Facebook Fan Page.

Main Menu

SimplePortal

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

Previous topic - Next topic

karbaciun

Quote from: 4b11l on September 27, 2009, 10:02:38 PM
Hello,

For the latest version, where can I find the code for the advanced display option for the shoutbox to embed into boards?
I have a shoutbox on certain boards, but I want to be able to move the shoutbox to the top rather than on the bottom.

after add new shut box, click on the block and go to add block and then choose in bottom shutbox, then in the setting set position :)

karbaciun

Quote from: karbaciun on September 24, 2009, 09:09:24 AM
hi

this mod is in the version 2.3 very good.

but for me in the IE browser have a litte problem and it displayed in below image
in all theme ,but in fire fox have not problem
please help me.
tnx a lot

nobody can not help me?

jmil

As I already stated - Excellent Mod and the Update went Flawless But I have a simple question:

I put a Shout Box in its own Board - Works Nice - But the "Who's Viewing This Thread" does not update to who is in the Chat. It would be nice when you know someone enters the room! Refreshing the screen isn't for the Non-Techno Dummies.

And I should search this - But Sound?


Eliana Tamerin

Well, updating the Who's Viewing This Thread would have to be separate, SP doesn't touch that.

You could ask for that as a mod request.
Do NOT PM me for support.

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

jmil

Quote from: Eliana Tamerin on September 29, 2009, 09:10:05 PM
Well, updating the Who's Viewing This Thread would have to be separate, SP doesn't touch that.

You could ask for that as a mod request.

TY Eliana - I will do that!

;D

mirahalo

Quote from: sshahnawaz on September 28, 2009, 03:04:43 AM
What is the difference b/w three mods of Simple Portal, i.e. Frontpage, Integration, Standalone?

Also tell me what can I do if I want my boards to be listed on index page while I am using the front page mod of Simple Portal.

Any input will be highly appreciated. Thank you....  :)


check the little help icon in  General Settings
   Portal Mode

index.php?action=admin;area=portalconfig;sa=generalsettings;

index.php?action=helpadmin;help=sp_portal_mode

this will get you an idea of the difference between modes.


if you still want your boards to be listed, then you should use integration mode.

greetings!

sshahnawaz

How to Make Money Online - Urdu Description https://www.youtube.com/watch?v=0Deggh2ZxNE

4b11l

Quote from: karbaciun on September 28, 2009, 05:40:35 PM
Quote from: 4b11l on September 27, 2009, 10:02:38 PM
Hello,

For the latest version, where can I find the code for the advanced display option for the shoutbox to embed into boards?
I have a shoutbox on certain boards, but I want to be able to move the shoutbox to the top rather than on the bottom.

after add new shut box, click on the block and go to add block and then choose in bottom shutbox, then in the setting set position :)

Where is this at? I do not see a setting to set the shoutbox to the top of the board.

camaronero

if someone enters a URL in the shoutbox I got the following error:
Fatal error: Maximum execution time of 30 seconds exceeded in / home / fact / public_html / forum / Sources / Subs.php on line 2004

any idea how to fix or block the url in shoutbox

qtime

I try to search this very big topic, but cannot find an answer.
On my forum I use the sp_attachmentRecent
it works great, but it displayed the real attachment, not the thumb, so when I show 15 "thumbs" it is eating bandwidth.
How to show the real thumbs?

function sp_attachmentRecent($parameters)
{
global $db_prefix, $modSettings, $scripturl, $txt, $settings;

$boards = boardsAllowedTo('view_attachments');

if (empty($boards))
return;
elseif ($boards[0] == 0)
$boards = '';
else
$boards = ' AND m.ID_BOARD IN (' . implode(',', $boards) . ')';

$limit = empty($parameters[0]) ? 5 : (int) $parameters[0];

$request = db_query("
SELECT
att.ID_ATTACH, att.ID_MSG, att.filename, IFNULL(att.size, 0) AS filesize, att.downloads, mem.ID_MEMBER,
IFNULL(mem.realName, m.posterName) AS posterName, m.ID_TOPIC, m.subject, t.ID_BOARD, m.posterTime,
att.width, att.height" . (empty($modSettings['attachmentShowImages']) || empty($modSettings['attachmentThumbnails']) ? "" : ", IFNULL(thumb.ID_ATTACH, 0) AS id_thumb, thumb.width AS thumb_width, thumb.height AS thumb_height") . "
FROM {$db_prefix}attachments AS att
INNER JOIN {$db_prefix}messages AS m ON (m.ID_MSG = att.ID_MSG)
INNER JOIN {$db_prefix}topics AS t ON (t.ID_TOPIC = m.ID_TOPIC)
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)" . (empty($modSettings['attachmentShowImages']) || empty($modSettings['attachmentThumbnails']) ? "" : "
LEFT JOIN {$db_prefix}attachments AS thumb ON (thumb.ID_ATTACH = att.ID_THUMB)") . "
WHERE att.attachmentType = 0
$boards
ORDER BY att.ID_ATTACH DESC
LIMIT $limit", __FILE__, __LINE__);
$items = array();
while ($row = mysql_fetch_assoc($request))
{
$filename = preg_replace('~&#(\\d{1,7}|x[0-9a-fA-F]{1,6});~', '&#\\1;', htmlspecialchars($row['filename']));

$items[$row['ID_ATTACH']] = array(
'member' => array(
'id' => $row['ID_MEMBER'],
'name' => $row['posterName'],
'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['posterName'] . '</a>',
),
'file' => array(
'filename' => $filename,
'filesize' => round($row['filesize'] /1024, 2) . $txt['smf211'],
'downloads' => $row['downloads'],
'href' => $scripturl . '?action=dlattach;topic=' . $row['ID_TOPIC'] . '.0;attach=' . $row['ID_ATTACH'],
'link' => '<img src="' . $settings['images_url'] . '/icons/clip.gif" alt="" /> <a href="' . $scripturl . '?action=dlattach;topic=' . $row['ID_TOPIC'] . '.0;attach=' . $row['ID_ATTACH'] . '">' . $filename . '</a>',
'is_image' => !empty($row['width']) && !empty($row['height']) && !empty($modSettings['attachmentShowImages']),
),
'topic' => array(
'id' => $row['ID_TOPIC'],
'subject' => $row['subject'],
'href' => $scripturl . '?topic=' . $row['ID_TOPIC'] . '.msg' . $row['ID_MSG'] . '#msg' . $row['ID_MSG'],
'link' => '<a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.msg' . $row['ID_MSG'] . '#msg' . $row['ID_MSG'] . '">' . $row['subject'] . '</a>',
'time' => timeformat($row['posterTime']),
),
);
}
mysql_free_result($request);

foreach ($items as $item)
echo '
', $item['file']['link'], '<br />
<span class="smalltext">
', $txt['sp-downloadsCount'], ': ', $item['file']['downloads'], '
</span><br /><br />';
}

Eliana Tamerin

New announcement concerning the SMF RC2 release to Charters:

http://simpleportal.net/index.php?topic=3536.0

Please read before upgrading your site!
Do NOT PM me for support.

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

MrDby

1.   Execute Modification   ./index.php   Test failed

any suggestions?

MrDby

should i just upload the files on the root of the site instead of mysite.com/forum [nofollow]?

sombra

hello and thanks for this wondurfull portal been uning it for a long time

now i have a little problem can read here

http://www.simplemachines.org/community/index.php?topic=338291.0

and it was told to me that the portal coud be the problem any ideads if this is the problem and is there any fix for it

and thanks

DaBrute


4b11l

Quote from: 4b11l on October 02, 2009, 06:03:55 PM
Quote from: karbaciun on September 28, 2009, 05:40:35 PM
Quote from: 4b11l on September 27, 2009, 10:02:38 PM
Hello,

For the latest version, where can I find the code for the advanced display option for the shoutbox to embed into boards?
I have a shoutbox on certain boards, but I want to be able to move the shoutbox to the top rather than on the bottom.

after add new shut box, click on the block and go to add block and then choose in bottom shutbox, then in the setting set position :)

Where is this at? I do not see a setting to set the shoutbox to the top of the board.

Bump.

Can someone atleast tell me where the code is and I can try to move it myself since volunteer support on this board seems scarce.

homer09001

Does anyone know how to use the Special Actions with this?

Im trying to get it to load a block when the url is: ../index.php?script=1

for the life of my i can't understand the documentation regarding this process?

homer09001

Forget my previous post i got it cracked. :)

next problem how can i get the main portal sidebars to be visible on my Custom HTML Page?

ɔɔɔɔɔɔuɥoɾ

Quote from: homer09001 on October 05, 2009, 05:16:49 PM
Forget my previous post i got it cracked. :)

next problem how can i get the main portal sidebars to be visible on my Custom HTML Page?

on advanced options you can choose where it is displayed, Boards, Actions or Pages, expand pages and you can display blocks there


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Mdk001

Is there any way to make a specific block display only for lower-ranked users, such as users with 0 posts having a warning block telling them to introduce themselves
I created a membergroup for users with no posts but if I set a block to show for said group it actaully shows for any other membergroup above them (basically anyone)

Advertisement: