PDA

View Full Version : Free SMF Hosting Script for SMF 1.1.4


BMR777
08-09-2008, 04:17 PM
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. (http://www.smfxxl.com) 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
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 (http://www.simplemachines.org/download/index.php?thanks;filename=smf_1-1-4_install.zip)

for the rest the helpme is simple so far

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
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 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 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
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
Hmm.. I didn't know that SMF has multiforums too.. =x

Kirschnik
09-11-2008, 06:05 AM
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
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
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
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:



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
/************************************************** ********************************
* 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

$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
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
I don't think that 70$ is quite cheap, thats why i try to get this to work..

powerchaos
09-11-2008, 09:24 AM
the problem is that you offer FREE hosting and thats why you are looking for a FREE script , i got 6 differend scripts but the best script is still the 1 from brm777

all the other are cracked (yes ^^ ) or are just oversolded (i got it free , dont worry ) scripts (70$ for a freehosting script ... its like that you pay for a hosting whit ads ... )

to be honnest , i dont like the script (in the beginning i do , but now not anymore :S )

just try to mess around a little inside the script or by even deleting some stuff
otherwhise just reupload the files that are giving trouble and whit good luck it works ^^

Greets From The Crasher

Kirschnik
09-11-2008, 07:52 PM
the problem is that you offer FREE hosting and thats why you are looking for a FREE script , i got 6 differend scripts but the best script is still the 1 from brm777

all the other are cracked (yes ^^ ) or are just oversolded (i got it free , dont worry ) scripts (70$ for a freehosting script ... its like that you pay for a hosting whit ads ... )

to be honnest , i dont like the script (in the beginning i do , but now not anymore :S )

just try to mess around a little inside the script or by even deleting some stuff
otherwhise just reupload the files that are giving trouble and whit good luck it works ^^

Greets From The Crasher


If i get it fixed and running under 1.1.6 I'll tell you ;)

Kirschnik
09-13-2008, 07:12 AM
By filling in the database settings (not using variables) i could establish the connection...

Now, can you remember the login to the admin panel? (Login Id, Password and Security)...

powerchaos
09-13-2008, 04:03 PM
pfew , the login detais :S

wasnt it admin/admin/admin ??

just look around in the file or the database :S

i think i founded that password into the database , but not sure of it ( then it is in the config.php file in the smfxx dir :S )

Greets From The Crasher

Kirschnik
09-14-2008, 10:17 AM
wasnt it admin/admin/admin ??


Yes, it was ;)

Got it working without any errors ;) If anyone is interested in developing the script together with me, write me a pm or mail or ICQ...

I'll start to improve it and keep you in the loop ...

EDIT: @Crasher: Maybe this Script could improve your hosting ;)

powerchaos
09-14-2008, 12:28 PM
i dont think it does , i tryed it out and i dint like it ...

its to buggy for the stuff it need to do , and it works to bad for the stuff it need to work :S

it gives a sub domain ( good part) like this username.domainname.com/smf/smfxxl/username (the bad part :S)

so , thats why i dont like it , a long sub domain name that is even longer then the normal domain name :S

Greets From The Crasher

Kirschnik
09-14-2008, 01:40 PM
Thats why I'll try to improve and develop it... ;)

coffeenole
09-15-2008, 05:26 PM
Kirschnik, I also got the script to work a few days ago; although it's OK, it's not everything that I'd like for it to be. While I was able to add a couple of things on the headers.php files, I'd like the features available to the users who sign up for forums.

I'd like to help, but I'm not a coder/developer...I'd certainly help out with some "coffee beans" for the bean counter, though. Best of luck with this...I even purchased the SMF Multi-Forum script which is a piece of garbage that didn't work...with no support. I've gotten FAR more support and help here than I got from SMFMF.

BMR777
09-15-2008, 05:43 PM
I even purchased the SMF Multi-Forum script which is a piece of garbage that didn't work...with no support. I've gotten FAR more support and help here than I got from SMFMF.

Maybe I'll make a SMF Multiforums for SMF 2.0.0 if there is enough interest. I'll have to probably get approval from them though because of their restrictive license agreement. :(

I'm trying to decide between making another script for either SMF 2, PHPBB 3 or Novaboard. I have to look at the code and licenses for each though. :)

BMR777

powerchaos
09-15-2008, 06:02 PM
hmm , not a bad idea , then maybe i can try it out then some day

but for now , i aim standing on non active for this forum , becouse to buzzy whit other stuff (mmorp game :S )

but i would be happy if you can bring out the release of the populair smf script ^^ that works on the same way as mybb :P

Greets From The Crasher

OceanLove
09-16-2008, 02:24 AM
Make more forum scripts, then we can host more type of forums =D

Ajof
09-16-2008, 10:32 AM
Make more forum scripts, then we can host more type of forums =D


Your better off knowing your one trade better than any one else than trying to master five trades and being second best at all of them.

BMR777
09-16-2008, 04:32 PM
Make more forum scripts, then we can host more type of forums =D


Your better off knowing your one trade better than any one else than trying to master five trades and being second best at all of them.


True. Yet, my trade is multiforum and multiuser script development. :) The nice thing is though that I can recycle a lot of the same code for other multiforums scripts that I make as most forum software works in a similar manner. :)

The more multiforums scripts I make, the better I get at making them. :)

BMR777

coffeenole
09-19-2008, 04:37 PM
Can you write a code that will add headers/footers to existing 1.1.4 forums created with SMF XXL? I'd be in hog heaven if I could get headers and footers on a multi-forum format :)

BMR777
09-19-2008, 04:40 PM
I'd have to take a look at how SMF handles the headers and footers. It's been forever since I've use SMF so I'm real rusty. I do remember with SMFXXL though the only way to get the headers / footers onto themes other than the default was to edit the theme / template.

Maybe if I have time this weekend I'll take a look. I don't know though if it's even possible with SMF.

BMR777

OceanLove
09-19-2008, 09:32 PM
I've visited avast! antivirus support forums and it is using SMF and I am totally pissed by SMF 1.1.6's functions.. zz

Kirschnik
09-20-2008, 09:06 AM
I've visited avast! antivirus support forums and it is using SMF and I am totally pissed by SMF 1.1.6's functions.. zz


Maybe you can tell us why exactly?

OceanLove
09-20-2008, 09:57 AM
Comparing between MyBB and SMF, SMF is lacking a lot!!

Kirschnik
09-21-2008, 07:52 PM
Comparing between MyBB and SMF, SMF is lacking a lot!!


What an interesting and helpful answer xD

CrownVictoriaCop
01-09-2009, 09:32 AM
Does anyone know where I can download this script now, because the original zip file is empty!

BMR777
01-09-2009, 09:34 AM
Does anyone know where I can download this script now, because the original zip file is empty!


I re-uploaded the file, should be good to go. :)

robert420
08-13-2009, 10:43 AM
I was able to get it updated to SMF 1.1.10 I'm still doing some more test on it before releasing it.

Demo here http://smfhost.hosting-shack.com/xl/robbie/index.php

coolking
08-27-2009, 07:33 AM
how do i install it??
if i open install.php
i get this:
Install SMFXXL v1.1.4
SMFXXL MultiForum Installer

Please check or the SMF Attachments directory is CHMOD to 0777.

The SMFXXL Standard Package installed successfully.

Please click here to install the SMFXXL SECURITY package.

BMR777
08-27-2009, 05:33 PM
You have to install by first installing a SMF forum and then use the package manager in SMF to install both the standard multiforums script and the security package. :)

lele710
09-07-2009, 03:05 PM
Anyone has admin script?

Argon
09-25-2010, 04:36 AM
It is impossible to download file SMFXXL_1.1.4.zip (Size: 340.46 KB / Downloads: 112).
Does anyone have this file, save this file?
Please do send this file to my e-mail: lera.felomena.nagval@gmail.com

Tequila
08-15-2011, 07:54 AM
Locking thread as it has nothing to do with our script. :ohnoes: