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

PRaDiUS

#2380
No HTML. Have not tried articles yet. These are the 5 most recent topics posted on the forum being shown @ the portal. When I was running 2.2 is only showed a summary of the topics, but after updating to 2.2.2 it is showing the entire topic posted. I have not tried it with articles. I haven't even created a category yet, but I plan to. It is a nice feature.

Quote from: [SiNaN] on June 30, 2009, 02:54:04 AM
Do you use any [html] tags in your post? Does this happen with articles or board news block?

UPDATE: I think I have solved the problem. It is now showing a summary of topics on the portal and so far my videos do not seem to be overlapping the side blocks anymore. Thanks anyway for taking interest in helping me resolve the issue. If anything else comes up, I will come to you. Thanks again.

          [ RGXbox.com ]

digit

In an effort to track down why I was getting the segment fault error (blank page), I disabled several blocks - sorry I didn't have the time to go through them systematically - yet anyway.... I disabled the user info, board stats, arcade stats, and compact recent blocks, and as of right now the segment fault errors SEEM to have ended.  Just FYI.

Which blocks in your opinion are the most cpu intensive?

Thanks for hanging in there, I know I was ranting a bit much - at any rate, any frustrations users may have installing simpleportal - is well worth it!  8)



Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

[SiNaN]

I see you have 1,5+ million posts on your forum. So recent posts/topics queries might be giving a hard time for your server. We use ssi functions to query recent posts/topics for those blocks. However, I can try optimizing them for your forum. You have these errors only on portal page, right?
Former SMF Core Developer | My Mods | SimplePortal

digit

Quote from: [SiNaN] on July 01, 2009, 06:23:49 AM
You have these errors only on portal page, right?

yes.  One of the changes I made was I changed the recent from the compact form to standard... (unfortunately with a few other changes - so I wasn't systematic about it) but since those changes, the errors SEEM to have gone away...  but this is a slow period - so I may not know until a later!
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

[SiNaN]

Both block types use the same SSI function. So it may not help much. In the mean time, I'll look into separating the recent query into two for you to see if it helps.
Former SMF Core Developer | My Mods | SimplePortal

digit

Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

pkrpkr

Does anybody know how to create a button in a SimplePortal custom HTML block?

I want someone who clicks the button to be sent to a specific URL.

HTML below works half, i.e. the button doesn't change color when hovering over it with a mouse (using 2 different rollover images).

   <a href="http://www.vintage-camera-online.com/smf/index.php?action=forum" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Nothanks','','/images/1184259649button_0.gif1191570045button_0.gif'>,1)"><img src="/images/1184259649button_0.gif" alt="No thanks - let me in" border="0"></a>

This is a button in the Welcome block, and redirects the visitor to the forum when the button is clicked.

Any help appreciated. Thanks.

qubbah

how can i make/set go diectly to the forum like tp?

kaniagbon05

i got this error.. i use SQLITE...
WTF..

SQL logic error or missing database
near "EXISTS": syntax error
File: C:\xampp\htdocs\Forum\Packages\temp\install2.php
Line: 262

Eliana Tamerin

@qubbah: In the SimplePortal General Settings, change Portal Mode from Frontpage to Integration. You may have to adjust each block's display properties to show up on the Forum after that, though.
Do NOT PM me for support.

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

Chaos Dragon

#2390
Just wondering how do I change the Welcome?


Never mind I see how it is done after I noticed images weren't there that didn't upload during install......Should of checked that right away since it seems to be the norm here...Installs say a ok for the go ahead and next thing I know codes and images or files in general aren't there that needed to be. Any who Sorry about that.
I would like to say though, excellent work. Of all the items I have installed this gave me really no hassle and no manual installing except a few images no biggie. I'd rather just upload a few images then hunt through files and codes to get them working.
Good Luck with everything and keep up the good work.
"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

Paolo Bitta

Quote from: Paolo Bitta on June 25, 2009, 09:27:15 AM
I experience this error(s) since I installed the mod:
8: Use of undefined constant N - assumed 'N'
File: /membri2/gsalcazar/Themes/default/languages/SPortalAdmin.english.php (portal_above sub template - eval?)
Line: 9

8: Use of undefined constant N - assumed 'N'
File: /membri2/gsalcazar/Themes/default/Errors.template.php (portal_above sub template - eval?)
Line: 9

8: Use of undefined constant N - assumed 'N'
File: /membri2/gsalcazar/Themes/default/Login.template.php (portal_above sub template - eval?)
Line: 9

8: Use of undefined constant N - assumed 'N'
File: /membri2/gsalcazar/Themes/default/MessageIndex.template.php (portal_above sub template - eval?)
Line: 9


well, the error is over a lot of files... I reported these just to clarify.

any hints on how to resolve it?

any hints?
This error is filling my log every time somebody loads any page.......

qubbah

Quote from: Eliana Tamerin on July 01, 2009, 11:06:22 PM
@qubbah: In the SimplePortal General Settings, change Portal Mode from Frontpage to Integration. You may have to adjust each block's display properties to show up on the Forum after that, though.

ok very nice..
tq..

then how about to change panel witdh?

[SiNaN]

Quote from: digit on July 01, 2009, 08:42:03 AM
Thanks a BUNCH!
:P

I'll look into this later today.

Quote from: pkrpkr on July 01, 2009, 11:32:15 AM
Does anybody know how to create a button in a SimplePortal custom HTML block?

I want someone who clicks the button to be sent to a specific URL.

HTML below works half, i.e. the button doesn't change color when hovering over it with a mouse (using 2 different rollover images).

   <a href="http://www.vintage-camera-online.com/smf/index.php?action=forum" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Nothanks','','/images/1184259649button_0.gif1191570045button_0.gif'>,1)"><img src="/images/1184259649button_0.gif" alt="No thanks - let me in" border="0"></a>

This is a button in the Welcome block, and redirects the visitor to the forum when the button is clicked.

Any help appreciated. Thanks.

Try this in an HTML block:

<a href="http://www.vintage-camera-online.com/smf/index.php?action=forum"><img src="http://www.vintage-camera-online.com/images/1184259649button_0.gif" alt="" id="my_button" onmouseover="changeimage('in');" onmouseout="changeimage('out');" /></a>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function changeimage(mode)
{
document.getElementById("my_button").src = (mode == "in" ? "http://www.vintage-camera-online.com/images/1191570045button_0.gif" : "http://www.vintage-camera-online.com/images/1184259649button_0.gif");
}
// ]]></script>


Quote from: kaniagbon05 on July 01, 2009, 07:15:16 PM
i got this error.. i use SQLITE...
WTF..

SQL logic error or missing database
near "EXISTS": syntax error
File: C:\xampp\htdocs\Forum\Packages\temp\install2.php
Line: 262

Try the attached package, SimplePortal_2.2.2.zip.

Quote from: Chaos Dragon on July 02, 2009, 02:03:32 AM
Just wondering how do I change the Welcome?


Never mind I see how it is done after I noticed images weren't there that didn't upload during install......Should of checked that right away since it seems to be the norm here...Installs say a ok for the go ahead and next thing I know codes and images or files in general aren't there that needed to be. Any who Sorry about that.
I would like to say though, excellent work. Of all the items I have installed this gave me really no hassle and no manual installing except a few images no biggie. I'd rather just upload a few images then hunt through files and codes to get them working.
Good Luck with everything and keep up the good work.

Which images exactly? If you can provide some more details we can help you solving the issue.

Quote from: Paolo Bitta on July 02, 2009, 03:11:01 AM
any hints?
This error is filling my log every time somebody loads any page.......

I'm not sure if this is related to SimplePortal at all. Follow the instructions given in the quote below which will give you more details on the error:

Quote from: [SiNaN] on June 06, 2009, 11:02:09 AM
The error message isn't very useful.

Try running this query in PHPMyAdmin (replace 'smf_' with your forums db prefix):
REPLACE INTO smf_settings VALUES ('disableTemplateEval', 1);

That should allow us to see where the error is actually occuring, post the error message that SMF gives you then.

You can then run this query to turn eval back on:
DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';

Quote from: qubbah on July 02, 2009, 08:45:53 AM
ok very nice..
tq..

then how about to change panel witdh?

Admin > SimplePortal > Configuration > Block Settings
Former SMF Core Developer | My Mods | SimplePortal

Chaos Dragon

Quote from: Chaos Dragon on July 02, 2009, 02:03:32 AM
Just wondering how do I change the Welcome?


Never mind I see how it is done after I noticed images weren't there that didn't upload during install......Should of checked that right away since it seems to be the norm here...Installs say a ok for the go ahead and next thing I know codes and images or files in general aren't there that needed to be. Any who Sorry about that.
I would like to say though, excellent work. Of all the items I have installed this gave me really no hassle and no manual installing except a few images no biggie. I'd rather just upload a few images then hunt through files and codes to get them working.
Good Luck with everything and keep up the good work.

Which images exactly? If you can provide some more details we can help you solving the issue.

It was all the images you would find for the admin panel that didn't upload. It is fine now I manually uploaded the missing images.
Like I said in the last post it is the norm for me to have to do something manually. At least with this one it was only a few images and not having to go code hunting. This is the first one that i installed that I did not have to manually edit the code to get it working. I wish they all did that.
"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

Paolo Bitta

#2395
Quote from: [SiNaN] on July 02, 2009, 09:35:35 AM

I'm not sure if this is related to SimplePortal at all. Follow the instructions given in the quote below which will give you more details on the error:

..[cut]..


I forgot to tell you that i'm running a SMF 1.1.9 version.
I can't find that variable in smf_setting table...  ???


EDIT:
I resolved it myself...
It is surely a problem of/from simpleportal, because with no manual changes this error has appeared after SP installation. The problem is that a define is missing somewhere.
The fix was obtained by introducing the instruction:
define("N","N");
in index.php (probably there's a very better place to put this code, but I'm afraid to mess up something).

bye
Paolo Bitta

psynx

hello,

i have simple portal mod and this latest 1.5.6 media gallery

my guess can not see the images from my gallery to the gallery block on my portal. i have allowed my guess to access gallery page but still they can not see the images from my gallery to the gallery block on my portal.

when im login i can view the images in my gallery block on my portal.

patalete

#2397
--- EDIT ---

Issue now posted in Simple Portal Forums.

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

nwobhm

#2398
EDIT--- posted this "problem" to simpleportal :)

totaltutankoll

Can someone please explain some of the functionality of articles in SP ::)

Where on earth is the article listing supposed to turn up on the forum? IS there a setting outside to SP CP somewhere I may have missed ???

I have a category, I have some articles attached to it but where the heck will I find them :D
Started out with a SMF-forum a couple of years ago went on to Dynamic web (read dynamic crap) and am now back in the land of Simple Machines.

Non, je ne regrette rien!

Advertisement: