Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Webmasters Area (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=14)
-   -   Free SMF Hosting Script for SMF 1.1.4 (http://www.mysidiaadoptables.com/forum/showthread.php?t=115)

BMR777 08-09-2008 04:17 PM

Free SMF Hosting Script for SMF 1.1.4
 
Hello All,

I found this on my hard drive and I thought it may be of use to someone here. This is the SMFXXL Multiforums Script for SMF 1.1.4. I used this before on SMF 1.1.4 with only minor issues, but it may work on SMF 1.1.5 and it may not. The script below is not my work, but the license allows for free distribution so I figure I'll put it here if anyone wants.

The developer's site has closed and has also taken the readme along with it. If I remember correctly though you just use SMF's Package Manage to import the .zip file and then follow the prompts.

I will NOT provide support for this script. If you have questions about how to use please help each other in THIS THREAD ONLY. :)

BMR777

powerchaos 08-09-2008 04:27 PM

RE: Free SMF Hosting Script for SMF 1.1.4
 
i will write a readme when it works for me ^^

Thank you for that script , i searched the hole net for it and i dint found it :)

Greets From The Crasher

*edit*

the file isnt compitable whit 1.1.5 so you need to use 1.1.4 (you can download it here

for the rest the helpme is simple so far
Code:

just use it as a plugin and it will works
i will update it more and more when i get closer and closer of the complete live demo

Greets From The Crasher

powerchaos 08-09-2008 06:31 PM

RE: Free SMF Hosting Script for SMF 1.1.4
 
i would like to say that i got it to works and it looks great

exept that there is 1 small problem that you guys need to know
it works whit sub dir and mod rewrite (you see where i aim goin ?? )

so here i goin explain the tutorial of how to create it and how to install it

  • how to install ??
just install smf 1.4 and then install the package as a plugin
  • step 2
cmod the installed files (cpanel) to 644 or whatever your host need ( they stand on 666)
  • how to create a forum ??
well , just go to http://www.yourdomain.com/smf/newforum.php and follow the steps it says
  • how to acces the admin arena ??
well , just go to http://www.yourdomain.com/smf/admin and use admin as the secret name ^^ (all admin)
  • how does a forum looks when you create 1 ??
well , it will look like this http://test.powerchaos.info/smf/smfxxl/test or like this working link (its the same ) http://powerchaos.info/smf/smfxxl/test/
  • how will the email look ??
the email will look like ... the admin email
Code:

Dear Admin ,

A new forum is ready to use on next url: http://test.powerchaos.info/smf/smfxxl/test
Admin name : test
Password  : **********
Forum Email: test@powerchaos.info
Question: Send me your newsletters: No
Question: Send me BannerFree info: No

and the user email
Code:

Dear test ,

Your forum is ready to use on next url: http://test.powerchaos.info/smf/smfxxl/test
Admin name : test
Password  : test
Forum Email: test@powerchaos.info
Send me your newsletters: No
Send me BannerFree info: No

Kind regards,

The Admin Team

got some more Questions then feel free to ask them , as soon i get my sub dir version working then you can try it out :)

now the funny part is that you can even use http://powerchaos.info/smf/smfxxl/test/ instead of test.powerchaos.info/.....

now the thing i like to add if some1 can help me whit it
its just a other template that i need or a small edit so it doesnt show the thing as a sub domain but as a normal dir
my script works but not 100% like it need to be ( its not my script but you get what i mean ^^ )
if you try it out then you see what i mean (its posted here to )

Greets From The Crasher

Kirschnik 09-11-2008 04:41 AM

RE: Free SMF Hosting Script for SMF 1.1.4
 
Hi crasher,

I'm trying to get the SMFXXL - Script running on my Webspace getting some Problems...

I'd be quite thankful if you can help with some errors.

1st: When trying to open http://mydomain.tld/smf/admin i get the following: Parse error: syntax error, unexpected '<' in /home/www/web84/html/smf/admin/index.php on line 8

But on line 8 theres only a <html> tag.

Maybe i should say, that i installed the SMFXXL as a package and then upgraded to 1.1.5 and 1.1.6 without any problems. The errors occured also in 1.1.4

You can also write me in ICQ: 171387253 or Mail: c.kirchner@gmx.de

As you see, I was able to solve the 2nd Problem described in the PM...

Thanks in advance
Kirschnik

OceanLove 09-11-2008 05:55 AM

RE: Free SMF Hosting Script for SMF 1.1.4
 
Hmm.. I didn't know that SMF has multiforums too.. =x

Kirschnik 09-11-2008 06:05 AM

RE: Free SMF Hosting Script for SMF 1.1.4
 
Quote:

Originally Posted by OceanLove
Hmm.. I didn't know that SMF has multiforums too.. =x

But as you can see it doesn't work without problems and it's an outdated version...

Just forgot to post the code of index.php :
PHP Code:

<?php
       
if(!file_exists('../config.php'))
       {
       echo 
"SMFXXL config file is missing, please correct this problem.";
       die();
      }
include(
"../config.php");
<
html>
<
head>
<
title></title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<
SCRIPT LANGUAGE="JavaScript">
<!--
function  
ValidateForm()
{
 var  
text document.login.txtuid.value;
 
text text.replace(/\s/g"");
    if(
document.login.txtuid.value=="" || text.length==0)
        {
                
alert("Please Enter login Id");
                
document.login.txtuid.focus();

                return (
false);
        }

        
text=document.login.txtpwd.value;
        
text text.replace(/\s/g"");

   if(
document.login.txtpwd.value=="" || text.length==0)
        {
                
alert("Please Enter Password....");
                
document.login.txtpwd.focus();
                
document.login.txtpwd.value="";

                return (
false);
        }
        
text=document.login.txtsecure.value;
        
text text.replace(/\s/g"");

   if(
document.login.txtsecure.value=="" || text.length==0)
        {
                
alert("Please Enter Security Code....");
                
document.login.txtsecure.focus();
                
document.login.txtsecure.value="";

                return (
false);
        }

   }
//-->
</SCRIPT>

<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" style="background-color: #FFFFFF">
<tr><td>
<a href="http://www.simplemachines.org/" target="_blank"><img src="images/smflogo.gif" style="float: right;" alt="Simple Machines" border="0" /></a>
<a href="http://www.smfxxl.com/" target="_blank"><img src="images/smfsmall.gif" border="0" style="float: left;" alt="SMF XXL Multiforum System" /></a>
</td></tr></table>
<div align="center" style="background-color: #FFFFFF">
  <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
    <tr>
      <td colspan="3"><div align="center">
          <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
            <tr>
              <td align="left" valign="top" height="100"></td>
            </tr>
          </table>
        </div></td>
    </tr>
    <tr>
      <td width="10%" align="left" valign="top"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td>&nbsp;</td>
          </tr ><r>
            <td>&nbsp;</td>
          </tr ><tr>
            <td>&nbsp;</td>
          </tr>
        </table></td>
      <td width="70%" align="left" valign="top"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td><div align="center">
                <table align="center" width="20%" border="1" cellpadding="0" cellspacing="0">
                <tr><td>
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">

                        <tr>
                          <td colspan="3" class="content" align="center"><?php include('includes/msg.php');?></td>
                        </tr>
                         <tr>
                            <td colspan="3" height="10"></td>
                        </tr>
                        <form name="login" action="<?php echo $adminurl.'includes/login.php';?>"  method="post" OnSubmit="return ValidateForm()">
                <td colspan="3" align="center"></td>
                <tr>
                          <td><div align="right" class="txtcont">   </div></td>
                          <td></td>
                          <td align="center">Login Id    <input type="text" name="txtuid" size="20" value=""></td>
                        </tr>
                        <tr>
                          <td><div align="right" class="txtcont">   </div></td>
                          <td></td>
                          <td align="center">Password   <input type="password" name="txtpwd" size="20" value=""></td>
                        </tr>
                        <tr>
                          <td><div align="right" class="txtcont">   </div></td>
                          <td></td>
                          <td align="center">Security     <input type="password" name="txtsecure" size="20" value=""></td>
                        </tr>
                        <tr align="left" valign="top">
                          <td height="15" colspan="3">&nbsp;</td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                          <td>&nbsp;</td>
                          <td align="center"><input type="submit" value="Login" name="Submit"></td>
                        </tr>
                        </form>
                      </table>
                </td></tr>
                </table>
              </div></td>
          </tr>
        </table></td>
      <td width="10%" valign="top"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table></td>
    </tr>
    <tr align="left" valign="top">
      <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td></td>
          </tr>
        </table></td>
    </tr>SMF XXL Multiforum v<?php echo $smfxxlversion?>

  </table>
</div>
</body>
</html>


powerchaos 09-11-2008 06:50 AM

RE: Free SMF Hosting Script for SMF 1.1.4
 
i dont know anymore how i dit it , but i think i was doin some index editing and i just deletd everything that gave a error (like the <html> tag , just delete it .. )

if i can ask , can you use the [ php] [/ php] (whitout space) code the its easyer to read ^^

probaly you will get some more errors but was it after activation , or before activation of the mod ??

Greets From The Crasher

Kirschnik 09-11-2008 07:43 AM

RE: Free SMF Hosting Script for SMF 1.1.4
 
Quote:

Originally Posted by powerchaos
i dont know anymore how i dit it , but i think i was doin some index editing and i just deletd everything that gave a error (like the <html> tag , just delete it .. )

if i can ask , can you use the [ php] [/ php] (whitout space) code the its easyer to read ^^

probaly you will get some more errors but was it after activation , or before activation of the mod ??

Greets From The Crasher

After activation of the mod, as i tried to log in into the adminpanel of the mod under: http://mydomain.tld/smf/admin

If i close the php-tag before <html> i get the following:

Code:


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'web84'@'localhost' (using password: NO) in /home/www/web84/html/smf/config.php on line 38

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'web84'@'localhost' (using password: NO) in /home/www/web84/html/smf/config.php on line 39

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/www/web84/html/smf/config.php on line 39

Warning: mysql_query() [function.mysql-query]: Access denied for user 'web84'@'localhost' (using password: NO) in /home/www/web84/html/smf/config.php on line 41

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/www/web84/html/smf/config.php on line 41
error:Access denied for user 'web84'@'localhost' (using password: NO)

My Settings.php and Config.php:

PHP Code:

<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com)                    *
* =============================================================================== *
* Software Version:           SMF 1.1                                             *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006 by:          Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance 0;        # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle 'Maintenance Mode';        # Title for the Maintenance Mode message.
$mmessage 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!';        # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname 'My Community';        # The name of your forum.
$language 'english';        # The default language file set for the forum.
$boardurl 'http://kirschnik.i3h.de/smf';        # URL to your forum's folder. (without the trailing /!)
$webmaster_email 'c.kirchner@gmx.de';        # Email address to send emails from. (like noreply@yourdomain.com.)
$cookiename 'SMFCookie666';        # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server 'localhost';
$db_name 'usr_web84_6';
$db_user 'web84';
$db_passwd 'XXX';
$db_prefix 'smf_';
$db_persist 0;
$db_error_send 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir '/home/www/web84/html/smf';        # The absolute path to the forum's folder. (not just '.'!)
$sourcedir '/home/www/web84/html/smf/Sources';        # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error 0;


//This function is removed for optimize speed (search for agreement.txt or /Sources )

$db_character_set 'utf8';
?>

DB-Pass is X-ed

PHP Code:

<?php

$smfxxlversion 
"1.1.4";
$GLOBALS['current_smf_version'] ="1.1.4";

//To avoid problems, do not edit this part !

#if (file_exists('../../Settings.php')){
#include '../../Settings.php';}
#if (file_exists('../Settings.php')){
#include '../Settings.php';}
if (file_exists('Settings.php')){
include 
'Settings.php';}

$smfxxl_prefix $db_prefix;
$validate="your@mail.com";
$db_server $db_server;
$db_user $db_user;
$db_name $db_name;
$db_passwd $db_passwd;
$forumshome $boarddir
$forum_root $boarddir;
$usersource_dir $boarddir.'/usersources'
$forum_url $boardurl
$adminurl =  $boardurl.'/admin/';     
$tbl_admin="smf_xxl_admin";
$tabl_users="smf_xxl_users";
$tbl_publi="smf_xxl_publi";
$title_home "SMFXXL.COM Admin Panel";


//LICENSE REMOVED
        
$checkstatus="ADMIN";

        

            
//ZOEK DE HOSTNAAM AAN/UIT en DE TITEL
            
$db_connect mysql_connect($db_server,$db_user,$db_passwd) ;
            
$db_select mysql_select_db($db_name);
            
$sql="select * from smf_xxl_admin";
            
$rs=mysql_query($sql) or die("error:".mysql_error());
            while(
$row=mysql_fetch_assoc($rs))        {
            
$hostname=$row['showhost'];
            
$newtitle=$row['newtitle'];
            
$newsecure=$row['Asecure'];
            
$tomail=$row['AemailAddress'];
            
$userforums_url=$boardurl.'/'.$row['smfxxlpath'];
            
$userforums_root=$boarddir.'/'.$row['smfxxlpath'];
            
$smfxxldir=$row['smfxxlpath'];
            
$smfdir=$row['smfpath'];



}

?>

Thx in advance

OceanLove 09-11-2008 08:02 AM

RE: Free SMF Hosting Script for SMF 1.1.4
 
Since it is outdated, why don't you try finding one that isn't? I'm sure you can get a relatively cheap one even if you can't find a free one..

Kirschnik 09-11-2008 08:04 AM

RE: Free SMF Hosting Script for SMF 1.1.4
 
I don't think that 70$ is quite cheap, thats why i try to get this to work..


All times are GMT -5. The time now is 05:29 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.