News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SimplePortal

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

Previous topic - Next topic

sheryltoo

#1960
I added a top html block and added a few more lines to Blue's codes with only one line break in between some of the sentences so you could see what I mean.
Here's a screen shot of how the page looks when I only add one
Quote<br>
in between some sentences.



And here are the codes for the page?
Should it fit on that block?

<table align="center" background="http://img.photobucket.com/albums/v200/sheryltoo/backgrounds/blstrps02.jpg"  cellpadding="20" cellspacing="0" width="100%"
border="2" bordercolor="#476c8e">
<tr>
<td>
<TABLE borderColor=#476c8e cellSpacing=0 cellPadding=10 width="100%"
background="http://img.photobucket.com/albums/v200/sheryltoo/SMF/brtns01.jpg" border=1>
<tr>
<td>
<TABLE borderColor=#476c8e cellSpacing=0 cellPadding=10 width="100%" background="http://img.photobucket.com/albums/v200/sheryltoo/SMF/smf12.jpg" border=1>

<tr>

<td align="center">
<br>
<P align=center><FONT face="Comic sans ms" color=#476c8e size=5>PSP Addicts
<br><br>
Pull up a chair and come share your
<br> <br>PSP talents with us.
<br>
This is just a test to see how close the lines are.
<br>
I added one break in between these last two sentences.
<br>
<br>
Here is a sentence with two line breaks above it.
</FONT></P>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>

Sheryl

Smoky "Rider" Blue

Sheryl, the few things i caught was you have 3 images in that code, so your db is going to ask for 3, when you could combine those, and make one image out of it, saving the db work. even if you arent hosting them, it still makes calls to the database..

on the size, you said a top box, but what is the size? if you look, the center isnt right, see the top of the PSP Addicts? and also, if you are coding your theme, you can have it use its own color, like this one:

color=#476c8e and use the border color for the boarder..  would save you a bit of effort there as well.. might want to think on taking out the tables and using divs.. just a thought..  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Smoky "Rider" Blue

Quote from: Cudamine on March 09, 2009, 12:25:32 PM
QuoteType                                Action                Description
1.    Execute Modification    install1-1.xml    Modification parse error
2.    Execute Modification    -                      Modification parse error
3.    Execute Modification    english.xml       Modification parse error
4.    Execute Modification    -                      Modification parse error

I get this while trying to install on the package manager.

Anyone knows what to do?

what smf version and you might have to do a manual install.. meaning read the .xml file and find your edits to it..  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

sheryltoo

I was using 3 different images for 3 different backgrounds so I could make a triple background but maybe that's not a good idea for the portal or a database?

As for the centering, are you going by my codes or the screen shot since the screenshot isn't the entire page. I just cut out a portion of it so show how the lines overlap from one line to the next with only one line break.
And I'm not really sure what the size is.
I have a left block that's set to 120 but I don't see any place to set the top block so I guess it's the defaul, what ever that is.

I will have to read up on divs. I've never used them to create triple backgrounds.
Sheryl


Smoky "Rider" Blue

yeps i would try to create one background image veruses 3 Sheryl.. makes things smooth..

now on the centering, you have the code you are using to be centered within the code.. but it looks like it isnt doing a very good jhob to me.. perhaps if you would like to search on how to center, you cna, but i mainly use: margin: auto auto.. what size is your monitor too, all this comes into play believe it or not on how codes show up..   O:)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

sheryltoo

I guess I'm a little rusty using html, lol.
I've got a lot of reading to do before I attempt to fix that page.
Sheryl

jhd_20

Quote from: Blue Dream on March 08, 2009, 08:58:33 AM


jhd_20:

Please do not bump your posts.

Do you get the same error with other mods you are installing or is this specific to SP? Make sure the files are writable for Package Manager to edit them. From the error, I see the path you entered does not seem to be valid.

Sorry for bumping my own post.. But as per your question.. Nope I did not get same error like that on any other modifications since I've tried three or two and they are all installed successfully... And about the chmod how could I cmod it when it's on zip...? But anyway I might go and try the manual installation anyway..

Just one more question if I got to follow the manual installation is it only the install1-1.php that I will upload on the root directory or should I upload the install1-1.xml, install2.xml stuff like that?

jhd_20

jhd_20

Thread up...!!

Sorry guys..

jhd_20

TroyG

Dumb question

Which version do I use for 1.1.8

.HuNTeR.


Smoky "Rider" Blue

you could just call it thru ssi .hunter.  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

SA™

Quote from: .HuNTeR. on March 15, 2009, 02:29:48 AM
adding a block for Download System will be great

i have a block for the download system but its for smf 2


Global $smcFunc;
echo '<table  cellspacing="10px" cellpadding="10px" border="0">
<tr>
<td>';
$request = $smcFunc['db_query']('', "SELECT f.ID_FILE, f.id_member, f.date, f.ID_CAT, f.title AS ftitle, f.totaldownloads,
c.title, m.real_name, 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 RAND()
LIMIT 1");

$row = $smcFunc['db_fetch_assoc']($request);

echo '
<ul style="padding: 0; list-style-type: none;">
<li><a href="',$scripturl,'?action=downloads;sa=view;id=',$row['ID_FILE'],'">',$row['ftitle'],'</a></li>
<li style="font-size: x-small"><hr />Uploaded:</li>
<li style="font-size: x-small"><i>('.timeformat($row['date']).')</i></li>
<li style="font-size: x-small"><i>Submitted by: <a href="',$scripturl,'?action=profile;u=',$row['id_member'],'">',$row['real_name'],'</a></i></li>
<li style="font-size: x-small">Downloads: <b>', $row['totaldownloads'] ,'</b></li>
<li style="font-size: x-small">Category: <b><a href="' . $scripturl . '?action=downloads;cat=' . $row['ID_CAT'] . '">' . parse_bbc($row['title']) . '</a></b></li>';
echo '</ul>';echo '</td>
<td></td>
</tr>
</table>';
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

.HuNTeR.

i personally use this code
but i think this portal should have this ability ;)

Global $db_prefix, $scripturl;
$request = db_query("SELECT ID_FILE, title
FROM ${db_prefix}down_file
WHERE approved = '1'
ORDER BY date DESC
LIMIT 5", __FILE__, __LINE__);
while($row = mysql_fetch_assoc($request))
echo '
<a href="',$scripturl,'?action=downloads;sa=view;id=',$row['ID_FILE'],'">',$row['title'],'</a><br/><br/>';


.HuNTeR.

OK i want to report some bugs

first the arcade block in opera 9.52 shown with scroll bars and not moving

most of aligns set to left and not checking is the language right to left or not (i have a list of them and can share with)

there is a address bar thing in topic's (navigation bar?! i don't know what it called?)
something like this:
My Community > General Category > General Discussion >
the second part "general category" linked to index.php?#X but when simple portal enabled it should be index.php?action=forum#X

suggestion:
end of articles a "...more" button to topic will be good

fext

Quote from: .HuNTeR. on March 16, 2009, 09:04:58 AM

suggestion:
end of articles a "...more" button to topic will be good

Take a look at this post on their site bro:
http://simpleportal.net/index.php?topic=250.0

Aramaki

found an error

when browsing topic board link in top breadcrumbs menu (Customizing SMF on this forum for example)  doesn't include action=forum so it goes to the portal

Fix: Sources/Load.php line 662

replace
'url' => $scripturl . '#' . $board_info['cat']['id'],
with
'url' => $scripturl . '?action=forum#' . $board_info['cat']['id'],

karbaciun

hi

tinyportal or simple portal are beter? why?

PalmBeachPreps

Quote from: karbaciun on March 24, 2009, 12:41:50 PM
hi

tinyportal or simple portal are beter? why?
Anyone?  I'm interested in such opinions as well.  i have tp installed, but I'm not too fond of it.

AlenNS

Simple Portal is better for me and my needs.
I'm really satisfied with new options to insert some blocks in specific parts of forum.

Asude

Well, yeah, it depends on your needs.

TinyPortal is modular like a mini-CMS. However SimplePortal is only a portal page, currently.

They are both quite same in customizing blocks, but SimplePortal has more built-in blocks with more options.

However, with TinyPortal you can arrange your Front Page in many different ways with various panels and sides, but SimplePortal only has 4 sides that a usual portal may need. They both have options to select the pages to show certain blocks.

SimplePortal only supports forum-posts-based articles. But TinyPortal has an advanced article system.

So SimplePortal can serve quite the same page with an easier management interface. But if you are looking for a more modular extension TinyPortal might be a better choice for you.

Have a look at both of their sites www.simpleportal.net [nofollow] and www.tinyportal.net [nofollow] where you can download and test them.

Advertisement: