EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Re: Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 02:09:24 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:55:53 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 01:47:42 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:34:07 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 12:20:17 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Recent Topics ezBlock

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Where is the facebook button color? by EzPortal
February 28, 2023, 06:45:09 pm

Display on Mobile - SMF 2.1.3 and EZ 5.5.2 by BugginIn
December 29, 2022, 04:07:13 pm

Blocks Help by Riggs1973
November 20, 2022, 12:59:30 pm

Surface ol lite theme release Free! by Steffen K.
November 18, 2022, 03:57:24 am

Undefined index: href by EzPortal
October 04, 2022, 08:49:59 pm

SMF-ezportal_column_5.cache): failed to open stream: No such file or directory by EzPortal
June 04, 2022, 11:40:13 am

Arcade block error: failed to open stream: No such file or directory by Shades
May 20, 2022, 02:47:13 pm

Author Topic: Help  (Read 8346 times)

0 Members and 1 Guest are viewing this topic.

Offline Eddy Matthews

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 1
  • Gender: Male
Help
« on: April 06, 2009, 02:34:55 pm »
Is it possible to use EzPortal on a host that uses the mod_security directive?

My host won't turn this off, so EzPortal is unusable for me :(

Regards
Eddy

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1299
  • Karma: 67
Re: Help
« Reply #1 on: April 06, 2009, 06:11:37 pm »
It should be possible if you find something that does not work in the portal with mod_security let us know and we will fix it.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline Eddy Matthews

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 1
  • Gender: Male
Re: Help
« Reply #2 on: April 07, 2009, 01:38:02 am »
It should be possible if you find something that does not work in the portal with mod_security let us know and we will fix it.

I've setup a test forum to play around with EzPortal while I get used to it. Because this is a test setup, SMF doesn't have any mods installed, just an absolutely bare system. At first EzPortal wouldn't work at all and just gave errors all the time, such as:

Forbidden
You don't have permission to access /smftest/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

So I edited Subs-EzPortalMain.php by doing the following:

Find
;id=

Replace with
&id=

That got most of it to work, with two exceptions.....

#1. I cannot change anything in the "Settings" page - As soon as I click on "Save Settings" I get the same error as above, and none of the changes are saved.

#2. It generates errors in my SMF logs everytime I make a change in the "EzBlock Manager" or the "Page Manager"

Apply Filter: Only show the error messages of this URL http://www.paddleducks.co.uk/smftest/index.php?action=ezportal;sa=editblock;block=4
Apply Filter: Only show the errors with the same message
8: Undefined index: ezp_txt_noicon
File: /home/******/public_html/smftest/Themes/default/Admin.template.php (ezportal_edit_block sub template - eval?)
Line: 852
   
Apply Filter: Only show the error messages of this URL http://www.paddleducks.co.uk/smftest/index.php?action=ezportal;sa=editblock;block=4
Apply Filter: Only show the errors with the same message
8: Undefined index: ezp_txt_icon
File: /home/******/public_html/smftest/Themes/default/Admin.template.php (ezportal_edit_block sub template - eval?)
Line: 849
   
Apply Filter: Only show the error messages of this URL http://www.paddleducks.co.uk/smftest/index.php?action=ezportal;sa=editblock;block=4
Apply Filter: Only show the errors with the same message
8: Undefined index: ezp_txt_noicon
File: /home/******/public_html/smftest/Themes/default/Admin.template.php (ezportal_edit_block sub template - eval?)
Line: 852
   
Apply Filter: Only show the error messages of this URL http://www.paddleducks.co.uk/smftest/index.php?action=ezportal;sa=editblock;block=4
Apply Filter: Only show the errors with the same message
8: Undefined index: ezp_txt_icon
File: /home/******/public_html/smftest/Themes/default/Admin.template.php (ezportal_edit_block sub template - eval?)
Line: 849

Regards
Eddy

Offline Eddy Matthews

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 1
  • Gender: Male
Re: Help
« Reply #3 on: April 07, 2009, 03:20:13 am »
Issue #1. in the message above has now ben sorted by adding an .htaccess file to turn off mod_security.

Issue #2. is still a problem, but apart from that everything seems to be working....

Regards
Eddy

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1299
  • Karma: 67
Re: Help
« Reply #4 on: April 07, 2009, 07:45:12 pm »
1. Will make some changes for next update so it works correctly with mod_security enabled.

2. Missing some text strings in Ezportal.english-utf8.php
Forgot to add
Code: [Select]
$txt['ezp_txt_icon'] = 'Icon';
$txt['ezp_txt_noicon'] = 'None';
Which will be fixed for next update
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline Eddy Matthews

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 1
  • Gender: Male
Re: Help
« Reply #5 on: April 08, 2009, 01:42:03 am »
1. Will make some changes for next update so it works correctly with mod_security enabled.

2. Missing some text strings in Ezportal.english-utf8.php
Forgot to add
Code: [Select]
$txt['ezp_txt_icon'] = 'Icon';
$txt['ezp_txt_noicon'] = 'None';
Which will be fixed for next update

Thanks, that would be appreciated - I'm sure it will also make the portal much more usable for everyone...

Regards
Eddy

Offline Eddy Matthews

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 1
  • Gender: Male
Re: Help
« Reply #6 on: April 08, 2009, 01:46:09 am »
I use some javascript to display a random image on my homepage - The images are all stored in a directory and the script simply selects one to display, but I cannot get it to work with EzPortal....

The code is added as an EzBlock to display on the Centre homepage...

Can anyone tell me what I'm doing wrong?

Code: [Select]
<script language="JavaScript" type="text/javascript">
<!--
    // JavaScript to interpolate random images into a page.
    var ic = 52;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold filenames


xoxo[0] = "Alexander Mackenzie";
xoxo[1] = "American Queen";
xoxo[2] = "Belle of Cincinnati";
xoxo[3] = "Donald B";
xoxo[4] = "Geo M Verity";
xoxo[5] = "Golden Girl";
xoxo[6] = "Lady Lois";
xoxo[7] = "Sprague";
xoxo[8] = "SS Moose";
xoxo[9] = "Chattanooga Star";
xoxo[10] = "Waverley";
xoxo[11] = "Medway Queen";
xoxo[12] = "Natchez";
xoxo[13] = "PS Cumberoona";
xoxo[14] = "PS Pevensey";
xoxo[15] = "PT Reliant";
xoxo[16] = "Rufus B II";
xoxo[17] = "Finlandia Princess";
xoxo[18] = "Elias Lonnrot";
xoxo[19] = "Finlandia Queen";
xoxo[20] = "Ilmarinen";
xoxo[21] = "Josif Stalin";
xoxo[22] = "Turgenev";
xoxo[23] = "Hjejlen";
xoxo[24] = "Skibladner";
xoxo[25] = "Lahtis";
xoxo[26] = "Borussia";
xoxo[27] = "Alameda";
xoxo[28] = "De Shelde";
xoxo[29] = "Elisabeth";
xoxo[30] = "President";
xoxo[31] = "Indalen";
xoxo[32] = "Constitution";
xoxo[33] = "Dostojevski";
xoxo[34] = "Goethe";
xoxo[35] = "Murray Princess";
xoxo[36] = "Helvetie";
xoxo[37] = "Italia";
xoxo[38] = "Kingswear Castle";
xoxo[39] = "Maid of the Loch";
xoxo[40] = "Montreux";
xoxo[41] = "PS Ruby";
xoxo[42] = "Caledonia";
xoxo[43] = "Jeanie Deans";
xoxo[44] = "Mercury";
xoxo[45] = "Southend Belle";
xoxo[46] = "Royal Eagle";
xoxo[47] = "Clacton Belle";
xoxo[48] = "La Marguerite";
xoxo[49] = "Victory";
xoxo[50] = "Cardiff Queen";
xoxo[51] = "John Benn";

function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
// Write out an IMG tag, using a randomly-chosen image name.
var choice = pickRandom(ic);
// -->
</script>


<SCRIPT LANGUAGE="JavaScript">
document.write("<b><font size=4>");
document.writeln(xoxo[choice]);
document.write("</b></font>");
document.writeln('<IMG SRC="http://www.paddleducks.co.uk/rotate/'+xoxo[choice]+'.jpg" WIDTH="100%" >');
</SCRIPT>


Regards
Eddy

 

+-SMF Gallery

Quick Menu


Powered by EzPortal