News:

Wondering if this will always be free?  See why free is better.

Main Menu

SimplePortal

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

Previous topic - Next topic

[SiNaN]

asudhakar:

You can try ssi_recentPoll function.

papabill:

That's probably something related to your server. Some hosts disable some functions that are used on package installation. Try installing manually.

NIBOGO:

We decided to add that feature in the first update.

reece_thompson:

I can't see any problems but your site is extremely slow for me.

dgandy:

I don't know anything about that mod. I'll now download it and reply you.

MarioH:

So you say that you cannot turn the mod security off?
Former SMF Core Developer | My Mods | SimplePortal

MarioH

Quote from: [SiNaN] on August 02, 2008, 10:43:57 AM

MarioH:

So you say that you cannot turn the mod security off?

no me hes posible desactivarla, devido a que mi servidor no lo permite
   
I hes not possible turn it off, due to my host does not allow it  :'(

AimBox Comunidad online, Jugos, Anime, Warez.
[Aportes]: Ordenar SubForos || Smiles Tipo IPB || Agreement.txt ||

ccbtimewiz

Quote from: MarioH on August 02, 2008, 10:50:46 AM
Quote from: [SiNaN] on August 02, 2008, 10:43:57 AM

MarioH:

So you say that you cannot turn the mod security off?

no me hes posible desactivarla, devido a que mi servidor no lo permite
   
I hes not possible turn it off, due to my host does not allow it  :'(

Si no puede a su vez que fuera, entonces usted no puede utilizar correctamente este mod.

[SiNaN]

Maybe we would understand you two too?
Former SMF Core Developer | My Mods | SimplePortal

ccbtimewiz

Quote from: [SiNaN] on August 02, 2008, 12:00:18 PM
Maybe we would understand you two too?

Sorry mate. ^^;

I basically said that he needs to disable mod_security if he wants the mod to function correctly.

MarioH

Quote from: ccbtimewiz on August 02, 2008, 12:01:25 PM
Quote from: [SiNaN] on August 02, 2008, 12:00:18 PM
Maybe we would understand you two too?

Sorry mate. ^^;

I basically said that he needs to disable mod_security if he wants the mod to function correctly.

But i' install pretty URL and I corrected the problem.

less in line editing blocks, that pretty does not change the administration panel.

so I thought that would be something concerning the length and the url

=)

Pero instale Pretty url, y se me corrigieron la mayoria de los problemas, lamentablemente pretty no cambia las url del panel de administracion, asi que me falta solo la linea para editar bloques. por lo que pense que podria ser referente a la url que genera.


PD: Sorry for my english

AimBox Comunidad online, Jugos, Anime, Warez.
[Aportes]: Ordenar SubForos || Smiles Tipo IPB || Agreement.txt ||


runebergen

#967
How come SSI functions dont work for PHP blocks?
Thought it would...

Thanks for a fantastic mod by the way  :)


Fatal error: Call to undefined function ssi_randomMember() in xxxx/forum/Sources/SPortal.php(1571) : eval()'d code on line 3

EDIT:
Figured it out , you need to add require_once('SSI.php'); first in the PHP block

:D


But, would it not be somewhat better if the SP added SSI once? So one dont need to add a require SSI for each block?

GawdSpeed

#968
I installed the portal, except that some of the codes appeared at the top of the forum. How do I fix this. There were no problems with the installation and I can't even access the admin section for the portal.

The code that appears on top is this:
// SP General $txt['sp-forum'] = 'Forum'; $txt['sp-adminTitle'] = 'SPortal Admin'; $txt['sp-adminCatTitle'] = 'SimplePortal'; $txt['sp-articlesCategory'] = 'Article Category'; $txt['sp-articlesNoCategory'] = 'Do not Publish'; $txt['sp-make_article'] = 'Make Article'; $txt['error_sp_no_message_id'] = 'Invalid message ID.'; $txt['error_sp_article_exists'] = 'Article already exists.'; $txt['error_sp_cannot_add_article'] = 'You don\'t have permission to add article.'; $txt['error_sp_label_empty'] = 'Label is left empty.'; $txt['error_sp_name_empty'] = 'Name is left empty.'; $txt['error_sp_no_category'] = 'There is no article category created.'; // SP Permissions $txt['permissiongroup_sp'] = 'SimplePortal'; $txt['permissionname_sp_moderate'] = 'Moderate portal'; $txt['permissionhelp_sp_moderate'] = 'This permission allows users to access the SimplePortal Admin panel.'; $txt['permissionname_sp_add_article'] = 'Can add article'; $txt['permissionhelp_sp_add_article'] = 'This permission allows users to add articles.'; $txt['permissionname_sp_auto_article_approval'] = 'Auto article approval'; $txt['permissionhelp_sp_auto_article_approval'] = 'This permission allows users to add articles without approval.'; // SP Blocks $txt['sp-userpost'] = 'Posts'; $txt['sp-userkarma'] = 'Karma'; $txt['sp-usertmessage'] = 'Total Messages'; $txt['sp-usernmessage'] = 'New Messages'; $txt['sp-userprofile'] = 'Profile'; $txt['sp-userlogout'] = 'Logout'; $txt['sp-onlineguest'] = 'Online Guests'; $txt['sp-onlineuser'] = 'Online Users'; $txt['sp-onlinehuser'] = 'Hidden Users'; $txt['sp-onlinetuser'] = 'Total Users'; $txt['sp-onlineouser'] = 'Online Users'; $txt['sp-statmember'] = 'Total Members'; $txt['sp-statpost'] = 'Total Posts'; $txt['sp-stattopic'] = 'Total Topics'; $txt['sp-statcategory'] = 'Total Categories'; $txt['sp-statboard'] = 'Total Boards'; $txt['sp-qsearchsearch'] = 'Search'; $txt['sp-tposterpost'] = ' posts'; $txt['sp-tboardname'] = 'Board'; $txt['sp-tboardpost'] = 'Posts'; $txt['sp-ttopicname'] = 'Topic'; $txt['sp-ttopicpost'] = 'Posts'; $txt['sp-grpictureviews'] = 'Views:'; $txt['sp-grpicturesender'] = 'By:'; $txt['sp-grpictureguest'] = 'Guest'; $txt['sp-arcadeplay'] = 'The Top Players'; $txt['sp-arcadewin'] = 'Number Of Wins :'; $txt['sp-arcadelate'] = 'Latest High Score by '; $txt['sp-arcadewit'] = 'with '; $txt['sp-arcadeon'] = 'on ';

Nathaniel

@GawdSpeed,
This is a common error with the language strings, you need to open up your '/themes/default/languages/modifications.english.php' file and then move the closing php tag ?> to the end of the file. If you post the file then I should be able to do it for you. ;)

About the other errors. I assume that you can't see the admin settings area? That will be fixed when you fix the above problem.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

krzy06gsxr600

Alright, I have tried multiple times now. Still new to the whole forums and such. I am getting a the following error code.

Table 'cobalaf6_CCon.smf_sp_blocks' doesn't exist
File: /home/cobalaf6/public_html/smf/Sources/Subs-SPortal.php
Line: 36


The first time I tried it by manually editing the information myself I was able to get the SPortal in the admin panel. I was able to edit the size and determine if it was on or off. If I were to turn it on I would get this error. Since then I have tried it multiple times over and over again and have not had any luck. I replaced all the files with originals, etc.

I have been attempting to get this added for the last 3 hours. Just looking for some guidance. THanks in advance.

Nathaniel

#971
@krzy06gsxr600,
It would appear that it had problems with the database when you installed it. Try putting the 'database.php' file from the mod package (I have attached the one for Sportal 2.02 to this post) into your root smf directory and then running the file by loading it in your web browser. It should create those tables that don't exist. You should then delete that file.

You could also just run the queries from that file in phpmyadmin for SMF's database.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

krzy06gsxr600

#972
Excellent, I will try that now, I had assumed that that was the problem, but was unsure of where to place the database.php file. I will keep you posted. Thanks for the quick response.

EDIT:

That LHVWB, Thanks alot that was my problem. I just needed to add the database file to the root and run it. THanks for your help!

caniol52

When using the Package Parser it works fine with SP 2.0, but it doesn't seem to work with 2.0.1 and 2.0.2 versions - several errors are generated related to the "index.php" file by the parser when reading these two versions.  Is it just me?

[SiNaN]

I didn't see that but maybe. We've fixed quite a lot of bugs and added a new surprise feature. I hope to we will have an update in 2 days which will clear all the bugs for now. Keep bugging.

By the way, can the users, whom I said "I'll give you the codes tomorrow.", remind me what I was going to do for them? Just pm me, as I was too busy these days and completely forgot about them.
Former SMF Core Developer | My Mods | SimplePortal

avf

Quote from: avf on July 31, 2008, 11:43:26 AM
Quote from: [SiNaN] on July 27, 2008, 02:48:38 PM
reece_thompson:

Do you want it to be in a definite width?

avf:

Thanks for using my mod. I'll code a block for you. ;)

Hi Sinan,
Awesome Support from you. Were you able to get around to members  can see their own posts on your portal by adding some PHP Code.


Hi Sinan,
My members are really appreciating your mod. Thanks .

Is it possible for you write the php code that i can use so that members  can see their own posts on your portal
Thanks again
avf


Hi Sinan,
Awesome Support from you. Were you able to get around to members  can see their own posts on your portal by adding some PHP Code.

Sudhakar Arjunan

Quote from: [SiNaN] on August 02, 2008, 10:43:57 AM
asudhakar:

You can try ssi_recentPoll function.


Thank you and helping me in this regards, we have a board says polling station.

Say board number is 68 and links is Links website

How could we use this ssi_recentpoll fn. or could we give some board no to the ssi function.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Tollboy

@LHVWB
thi is in reference to post http://www.simplemachines.org/community/index.php?topic=227599.msg1640869#msg1640869

I too am using this theme and am trying to get simple portal to work with it. I assume the changes you made to the index.template.php were so the forum button would be displayed while the home button would be for the simple portal. This is what I was hopping unfortunetly the code you posted did not work correctly. Another button was visible but it was overlapped by the other buttons. Also the simple portal admin link is not showing up in the admin area when the wow_DK theme is active. I would appreciate any help you can give as I am by no means a programmer. Thanks ahead of time.

mymktp1

I've been able to use the mod 2.02 without any problems until now... I tried making one of my topics an article and I'm now getting this error... I can't make any topics articles anymore

Duplicate entry '127' for key 1
File: /hsphere/local/home/kitping/timsradio.net/smf/Sources/Subs-SPortal.php
Line: 181

mymktp1

Quote from: kandalf on July 24, 2008, 09:34:33 AM
Quote from: [SiNaN] on July 23, 2008, 09:08:53 AM

kandalf:

You're right, I've missed that. Run this query from PhpMyAdmin and you will have no problems:

ALTER TABLE smf_sp_articles CHANGE ID_MESSAGE ID_MESSAGE INT( 10 ) UNSIGNED DEFAULT 0 NOT NULL

Tomorrow will release an update.


I have also tried running the query above since it seemed that Kandalf had a similar problem.... it seems that I get stuck at running at article at number 127 .... and again I'm using version 2.02 ...

Advertisement: