News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SimplePortal

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

Previous topic - Next topic

PAPABEAR


Praatwurst

Quote from: Blue Dream on April 29, 2009, 05:14:00 AM
Quote from: Praatwurst on April 28, 2009, 03:06:15 PM
How do I enable the function to let users react on a Block? :)

What do you mean by react?
Response, reply, react, answer, comments.

Kinda lika a blog where people can response on the written blogs ;)

[SiNaN]

Quote from: impennetrate on April 29, 2009, 05:28:49 AM
Any php script doesn't work...

global $sourcedir;
include("$sourcedir/DonationBlock.php");


Does this work:

global $sourcedir;
require_once($sourcedir . '/DonationBlock.php');


If doesn't would you copy the exact error here? If it says you have syntax errors in the code, you can disable the PHP validation by enabling the Admin > SimplePortal > General Settings > Disable PHP Validation option.

Quote from: Praatwurst on April 29, 2009, 08:24:20 AM
Quote from: Blue Dream on April 29, 2009, 05:14:00 AM
Quote from: Praatwurst on April 28, 2009, 03:06:15 PM
How do I enable the function to let users react on a Block? :)

What do you mean by react?
Response, reply, react, answer, comments.

Kinda lika a blog where people can response on the written blogs ;)

You can of course. You can see an example at www.simpleportal.net, the shoutbox block. It just has some PHP codes within. However, it really depends on what you want exactly.
Former SMF Core Developer | My Mods | SimplePortal

Praatwurst

Quote from: Blue Dream on April 30, 2009, 05:35:55 AM

Quote from: Praatwurst on April 29, 2009, 08:24:20 AM
Quote from: Blue Dream on April 29, 2009, 05:14:00 AM
Quote from: Praatwurst on April 28, 2009, 03:06:15 PM
How do I enable the function to let users react on a Block? :)

What do you mean by react?
Response, reply, react, answer, comments.

Kinda lika a blog where people can response on the written blogs ;)

You can of course. You can see an example at www.simpleportal.net, the shoutbox block. It just has some PHP codes within. However, it really depends on what you want exactly.
It's the 'Read More | Write Comment' I mean,
How do I enable it?

[SiNaN]

They appear by default for articles and board news block.
Former SMF Core Developer | My Mods | SimplePortal

Praatwurst

Quote from: Blue Dream on April 30, 2009, 12:50:43 PM
They appear by default for articles and board news block.
Can't find it anywhere, could you tell me step by step please? :)

[SiNaN]

Admin > SimplePortal > Blocks > Add Block > Board News

Configure the settings as you wish and click on "Add Block".
Former SMF Core Developer | My Mods | SimplePortal

kkattfish

i'm using the camo theme, and my users and i don't have the link to forum from this portal.  am i missing something?  it does work with the default theme.

Chair

Nope that php script doesn't work either. Even if I disable php validation...

Also, custom html doesn't work because it automatically links within my site. So if i add this url: http://www.google.com/

i'll get this: http://www.mysite.com/http://www.google.com/

I think these two problems may be linked <.<

mrtrc266

Quote from: impennetrate on May 02, 2009, 09:35:52 AM

Also, custom html doesn't work because it automatically links within my site. So if i add this url: http://www.google.com/

i'll get this: http://www.mysite.com/http://www.google.com/

I think these two problems may be linked <.<

For the custom HTML you have to use HTML

EXAMPLE: if you want http://www.google.com/ to be displayed as a link it would look like this
<a href="http://www.google.com/">http://www.google.com/</a>

Or if you want it to look like this Google then it would look like this
<a href="Google'>http://www.google.com/">Google</a>


Chair

I know that. I'm saying that if I enter
<a href="http://www.google.com/">http://www.google.com/</a>,

I will not get www.google.com

Instead, I get http://www.mysite.com/www.google.com

Tiribulus

Quote from: impennetrate on May 02, 2009, 12:18:35 PM
I know that. I'm saying that if I enter
<a href="http://www.google.com/">http://www.google.com/</a>,

I will not get www.google.com

Instead, I get http://www.mysite.com/www.google.com

If you put exactly what you have, that is <a href="http://www.google.com/">http://www.google.com/</a> it should return exactly http://www.google.com as a live link.

This <a href="http://www.google.com/">google</a> would get you google as a live link to google. Your're not going to get www.google.com with any of the options you have here. That would be <a href="http://www.google.com/">www.google.com/</a>. If you do know all this and entering <a href="http://www.google.com/">google</a> does NOT  for instance get you google as a live link them something is indeed wrong.

Galaxy Computers

I am using a block and my images are to big how can I shrink the images to a smaller size?
Wade Morris
Amarillo, Texas

Morris Technologies Computer Support Forum

Electro-X-

How do i add the forum button on the top menu on any other themes? The forum button only appear on the default " core" theme. Lets say how do i add the forum button to a babylon theme? or is it the same for any other theme?
My New site - consolexp.com

Tiribulus

Quote from: Electro-X- on May 02, 2009, 07:43:04 PM
How do i add the forum button on the top menu on any other themes? The forum button only appear on the default " core" theme. Lets say how do i add the forum button to a babylon theme? or is it the same for any other theme?

TRY THIS

Galaxy Computers

I have setup a block and I have a image in the block and the image is way to big. How can I make the image smaller than the orignal size?
Wade Morris
Amarillo, Texas

Morris Technologies Computer Support Forum

Tiribulus

I'm not the most l33t codemeister here by any hilarious stretch , but this is might work if you play around with it:

<a href="URL"><img src="PATH TO IMAGE" border="XXX" width="XXX" height="XXX"/>

This would return an image that is also a clickable link. At least it does for me in global headers and footers.

Galaxy Computers

Quote from: Tiribulus on May 02, 2009, 09:00:10 PM
I'm not the most l33t codemeister here by any hilarious stretch , but this is might work if you play around with it:

<a href="URL"><img src="PATH TO IMAGE" border="XXX" width="XXX" height="XXX"/>

This would return an image that is also a clickable link. At least it does for me in global headers and footers.

I have done that it didn't work at all.
Wade Morris
Amarillo, Texas

Morris Technologies Computer Support Forum

Tiribulus

Quote from: mtechama on May 02, 2009, 09:37:30 PM
Quote from: Tiribulus on May 02, 2009, 09:00:10 PM
I'm not the most l33t codemeister here by any hilarious stretch , but this is might work if you play around with it:

<a href="URL"><img src="PATH TO IMAGE" border="XXX" width="XXX" height="XXX"/>

This would return an image that is also a clickable link. At least it does for me in global headers and footers.

I have done that it didn't work at all.

I don't know then chief. If you click on the link to my site and see the spam poison image, that's how I did that. Before posting my response to you above I played with the height and width and it worked for me. Of course that's not in a block, but it is html nonetheless and you'd think it should work. Somebody else I'm sure knows more than I do.

Galaxy Computers

Is there anyone else can help me on this?
Wade Morris
Amarillo, Texas

Morris Technologies Computer Support Forum

Advertisement: