Current time: 05-23-2012, 03:00 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
10-20-2011, 09:42 AM (This post was last modified: 11-08-2011 02:01 AM by Andrej.)
Post: #1
TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
Plug-in Information
I am proud to present the first public beta release of the THT - XF Plugin, created by Liam D, owner of RocketSlice.com.

This plug-in works with the latest THT release (1.2.3) and the latest beta release of XenForo (1.1 Beta 4). The plug-in wasn't tested in the 1.0.x branch of XenForo.

This is Beta Software
Please remember that this is beta software. Please backup your TheHostingTool folder before uploading the plug-in files. Although we have not found any bugs while testing the plug-in, it is not safe from bugs.

Please report any bugs and errors you find in this thread.

Installation Instructions
Installing the plug-in is easy.
1. Download the THT_XF_Plugin-1.0.0-Beta1.zip included in this thread.
2. Save the file to your computer.
3. Unzip the file that you downloaded, and upload the includes folder using FTP. If asked, overwrite existing files.
4. Ta-dam!

If you made any modifications to p2h.php and addforum.tpl, they will be changed. Keep a backup of those files just in case.
Contents of the .zip:
THT_XF_Plugin-1.0.0-Beta1.zip
--Includes
----tpl
------addforum.tpl
----types
------p2h.php


Attached File(s)
.zip  THT_XF_Plugin-1.0.0-Beta1.zip (Size: 7.02 KB / Downloads: 45)
Find all posts by this user
Quote this message in a reply
10-25-2011, 08:12 PM
Post: #2
RE: TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
Very cool! As a heads up, v1.2.4 will include quite a few changes to p2h.php and addforum.tpl if I'm not mistaken.

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
Quote this message in a reply
10-28-2011, 01:57 AM
Post: #3
RE: TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
This is actually my 2nd plugin. I made one for FluxBB before, but unfortunately I lost it. Oh well. I'm looking forward to making more THT plugins as time passes by.
Find all posts by this user
Quote this message in a reply
10-28-2011, 07:29 PM
Post: #4
RE: TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
(10-28-2011 01:57 AM)Liam D. Wrote:  This is actually my 2nd plugin. I made one for FluxBB before, but unfortunately I lost it. Oh well. I'm looking forward to making more THT plugins as time passes by.

You are "Andrej"? If so you can use the forgot your password feature to recover the account.

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
Quote this message in a reply
10-29-2011, 07:26 AM
Post: #5
RE: TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
(10-28-2011 07:29 PM)Kevin Wrote:  
(10-28-2011 01:57 AM)Liam D. Wrote:  This is actually my 2nd plugin. I made one for FluxBB before, but unfortunately I lost it. Oh well. I'm looking forward to making more THT plugins as time passes by.

You are "Andrej"? If so you can use the forgot your password feature to recover the account.

No, I am not Liam D. I got permission to share this plug-in with the community, as at that point Liam was busy to do it himself.
Find all posts by this user
Quote this message in a reply
10-29-2011, 07:58 AM
Post: #6
RE: TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
Nope, I was too busy at the time to post the plugin here, as I was resolving a server issue on my site. Anyway. Enjoy the plugin Smile
Find all posts by this user
Quote this message in a reply
10-30-2011, 01:38 PM
Post: #7
RE: TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
Ah. I see.

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
Quote this message in a reply
10-30-2011, 11:17 PM
Post: #8
RE: TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
BTW. Andrej forgot to put: If you made any modifications to p2h.php and addforum.tpl, they will be changed. Keep a backup of those files just in case.
Find all posts by this user
Quote this message in a reply
01-03-2012, 07:29 PM (This post was last modified: 01-03-2012 07:29 PM by jerry.)
Post: #9
RE: TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
PHP Code:
case "xenforo":
                
$result mysql_query("SELECT * FROM `{$prefix}user` WHERE username = '{$fuser}'"$this->con);
                if(
mysql_num_rows($result) == "0") {
                    return 
3;
                }
                else {
                    
$member mysql_fetch_array($result);
                    
                    
                        if(
$member['message_count'] >= $signup) {
                            return 
1;
                        }
                        else {
                            return 
0;
                        }
                    
                }
            break; 

Um, not to be a party buster, but that doesn't check passwords!

I'll fix it asap and include the code in my next post.
Find all posts by this user
Quote this message in a reply
01-03-2012, 09:57 PM
Post: #10
RE: TheHostingTool and XenForo Post2Host Plugin | 1.0.0 Beta
Yeah, Jerry, talked to you on Skype. Nice to see you working on it. xenForo's DB uses BLOBS >.< That's why I was having a hard time.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)