News:

Join the Facebook Fan Page.

Main Menu

SimplePortal

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

Previous topic - Next topic

Manu.G

@[SiNaN]

After all the manual code changing I made, I think I won't be able to uninstall the old version of the mod.  :'(
But I want to use the member color in the portal, what have I to do?  :-\
Version SMF 2.0.8
SimplePortal 2.3.5

[SiNaN]

Back-up your SPortal.php and SPortal.template.php files and change it with the ones in the new package.

This is just for you, not other users.

Let's do not get this lost. :)

Quote from: [SiNaN] on May 23, 2008, 05:01:04 AM
Ladies and gentlemen, we are here with the new version, SimplePortal 1.2.

Main focus in the update was to make the mod an ultimate install-friendly mod. Now we will see how was our performance.

For the other changes, see the changelog written in the first message of the topic:

http://www.simplemachines.org/community/index.php?topic=227599.msg1461454#msg1461454
Former SMF Core Developer | My Mods | SimplePortal

Manu.G

Quote from: [SiNaN] on May 23, 2008, 06:57:56 AM
Back-up your SPortal.php and SPortal.template.php files and change it with the ones in the new package.

This is just for you, not other users.

Let's do not get this lost. :)

Works perfect!
Thanks a lot for your fast reply and your help.  :D
Version SMF 2.0.8
SimplePortal 2.3.5

ruaduck

Quote from: [SiNaN] on May 23, 2008, 04:13:10 AM
Quote from: ruaduck on May 22, 2008, 10:32:30 AM
is there a way to add in a modsetting so that we can just say if ($modSettings['cksmenu'])    then the code instead of trying to use show_menu?

That's not because of that. I revised the codes, can you try this -I tried, working-:

$show_menu = 1; //Set 0 to not show
$menu_label = 'Site Menu'; //Define the block name

if($show_menu)
{
echo '
<!-- Menu Block -->
<div class="tborder">
<table class="bordercolor" width="100%">
<tr class="catbg">
<td style="padding: 5px;">', $menu_label, '</td>
</tr>
<tr class="windowbg">
<td>';
echo '
<ul>
<li><a href="block name">CKS</a></li>
<li><a href="' . $scripturl . '?action=forum">Forum</a></li>
<li><a href="' . $scripturl . '?action=GuildRules">Guild Rules</a></li>
<li><a href="' . $scripturl . '?action=joincks">Join CKS</a></li>
<li><a href="http://my.uo.com/cgi-bin/guilds.pl?g=88e312adc493d1b2:6">Roster</a></li>
<li><a href="' . $scripturl . '?action=arcade">Arcade</a></li>
<li><a href="' . $scripturl . '?action=gallery">Gallery</a></li>
</ul>';

echo ' </td>
</tr>
</table>
</div>
<br />';

}


Quote from: markvon on May 22, 2008, 11:07:43 AM
hi i am using smf 1.15 and when i try to install simple portal, i get the following error.

6.     Execute Modification     ./Themes/default/index.template.php     Test failed

Please try installing the version SimplePortal 1.2.

Quote from: cleanfiles on May 22, 2008, 11:27:10 PM
Wow I will be trying to add this menu block too, I too am running out of room up the top.:)

Of course. ;)


The code now works and shows up a menu.  Thank you so much!

Bancherd

Thanks!  I removed and installed new version without any problems on my localhost machine(PHP version 5+)  :D

However, on my live board(PHP 4.3.x) I have this error whenever someone arrived at the portal(front page).    I am not sure if this is caused by my custom block on the portal?   Color-coded names work properly on my localhost, but it does NOT work in one of my custom blocks on the live board.  The exact same code(SPortal.template.php) is used in both my live board and my localhost, but the portals look slightly different  :o    I had even FTP'ed all my SPortal's files from my localhost up to my live board, the problem persists.

Any suggestions? 

8: Undefined index:  2
File: /home/myboard/public_html/Sources/SPortal.php
Line: 761

_Anthony_

It is undefined.
Don't know how to fix sorry

[SiNaN]

Can you attach your SPortal.php file here?

In which block the member link color doesn't work?
Former SMF Core Developer | My Mods | SimplePortal

_Anthony_


Bancherd

QuoteCan you attach your SPortal.php file here?

In which block the member link color doesn't work?                     

The problem occured in my "Recent Posts" block.  I have disabled the display of this block for now...probably caused by my poor techniques in modifying your code.  :P    Attached please find the SPortal.php file.

Thanks for looking into this problem for me.

[SiNaN]

Quote from: Bancherd on May 24, 2008, 03:45:51 AM
QuoteCan you attach your SPortal.php file here?

In which block the member link color doesn't work?                     

The problem occured in my "Recent Posts" block.  I have disabled the display of this block for now...probably caused by my poor techniques in modifying your code.  :P    Attached please find the SPortal.php file.

Thanks for looking into this problem for me.

As you disabled that block, do you still get the undefined error?
Former SMF Core Developer | My Mods | SimplePortal

Sudhakar Arjunan

HI SiNaN,

While trying to uninstall my sp v1

Got the following error

Uninstall Actions "SimplePortal":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
2.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
3.    Execute Modification    ./index.php    Test failed
4.    Execute Modification    ./Sources/Load.php    Test successful
5.    Execute Modification    ./Sources/ModSettings.php    Test failed
6.    Execute Modification    ./Themes/default/index.template.php    Test failed
7.    Delete File    ./Sources/SPortal.php    
8.    Delete File    ./Themes/default/SPortal.template.php    
9.    Delete File    ./Themes/default/languages/SPortal.english.php    
10.    Delete File    ./Themes/default/images/arrow.gif    
11.    Delete File    ./Themes/default/images/dot.gif    
12.    Execute Code    database.php

Check out and let me know to proceed or not.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

[SiNaN]

Do not proceed. Attach your files that give error during uninstall here, I'll change the codes manually.
Former SMF Core Developer | My Mods | SimplePortal

Bancherd

Quote from: [SiNaN] on May 24, 2008, 03:51:41 AM
Quote from: Bancherd on May 24, 2008, 03:45:51 AM
QuoteCan you attach your SPortal.php file here?

In which block the member link color doesn't work?                     

The problem occured in my "Recent Posts" block.  I have disabled the display of this block for now...probably caused by my poor techniques in modifying your code.  :P    Attached please find the SPortal.php file.

Thanks for looking into this problem for me.

As you disabled that block, do you still get the undefined error?

Duh....I found my mistake.  It was coding mistake in my part.  My apologies.

You mod works perfectly and I am VERY happy with it.

Thank you very much for your excellent support.

Sudhakar Arjunan

Yes SiNaN, i have not uninstalled waiting for your reply.

Here i have attached the three files and my one theme index file also.

Previously while installing v1, you helped me converting the modsettings.php file with other mods also, so kindly code for simple portal uninstallation, even care about the other mods also.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

[SiNaN]

#474
Quote from: Bancherd on May 24, 2008, 04:50:14 AM
Duh....I found my mistake.  It was coding mistake in my part.  My apologies.

You mod works perfectly and I am VERY happy with it.

Thank you very much for your excellent support.

Glad you solved it. I'm always here for support. ;)

Quote from: asudhakar on May 24, 2008, 04:52:10 AM
Yes SiNaN, i have not uninstalled waiting for your reply.

Here i have attached the three files and my one theme index file also.

Previously while installing v1, you helped me converting the modsettings.php file with other mods also, so kindly code for simple portal uninstallation, even care about the other mods also.

Will edit this post after 25 minutes and will attach the files.

//Edit:

Just uninstall the v1.1 and continue if it will give error in these files.

Then change the files with the ones I attached here. Lastly install the version 1.2.
Former SMF Core Developer | My Mods | SimplePortal

Sudhakar Arjunan

Hi SiNaN,

I did, uninsalled with error.

Then backuped up my exisiting files and uploaded the files you have sent.
Now the site is working fine.

Could i start the V2 Installation now.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

[SiNaN]

Quote from: asudhakar on May 24, 2008, 07:00:28 AM
Hi SiNaN,

I did, uninsalled with error.

Then backuped up my exisiting files and uploaded the files you have sent.
Now the site is working fine.

Could i start the V2 Installation now.

Yes, of course.

I will not be here after 3 minutes, be fast. :P
Former SMF Core Developer | My Mods | SimplePortal

Sudhakar Arjunan

Execute Modification     ./Themes/default/index.template.php     Test failed

Still i will install it
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

[SiNaN]

Quote from: asudhakar on May 24, 2008, 07:06:24 AM
Execute Modification     ./Themes/default/index.template.php     Test failed

Still i will install it

Do not worry, just continue. ;)
Former SMF Core Developer | My Mods | SimplePortal

Sudhakar Arjunan

did now check out Modsettings is working ,

But arcade is again a error.

Now check out http://forum.itacumens.com and let me know i will uncheck the arcade block
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Advertisement: