Jump to content

AutoForum 1.0


spyrorocks
 Share

Recommended Posts

So here it is!

Thanks for sharing, It works fine on my system. :lmao:

[u]My Projects[/u]:General:WinShell (Version 1.6)YouTube Video Downloader Core (Version 2.0)Periodic Table Of Chemical Elements (Version 1.0)Web-Based:Directory Listing Script Written In AutoIt3 (Version 1.9 RC1)UDFs:UnicodeURL UDFHTML Entity UDF[u]My Website:[/u]http://dhilip89.hopto.org/[u]Closed Sources:[/u]YouTube Video Downloader (Version 1.3)[quote]If 1 + 1 = 10, then 1 + 1 ≠ 2[/quote]

Link to comment
Share on other sites

  • Replies 112
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

My test AutoForum with new "Windows Live" style:

http://60.48.213.163/index.aux

[u]My Projects[/u]:General:WinShell (Version 1.6)YouTube Video Downloader Core (Version 2.0)Periodic Table Of Chemical Elements (Version 1.0)Web-Based:Directory Listing Script Written In AutoIt3 (Version 1.9 RC1)UDFs:UnicodeURL UDFHTML Entity UDF[u]My Website:[/u]http://dhilip89.hopto.org/[u]Closed Sources:[/u]YouTube Video Downloader (Version 1.3)[quote]If 1 + 1 = 10, then 1 + 1 ≠ 2[/quote]

Link to comment
Share on other sites

Hey, it looks really cool! :lmao:

You can download it here(Windows Live Style): http://60.48.213.163/bbbasic_update_1.zip

[u]My Projects[/u]:General:WinShell (Version 1.6)YouTube Video Downloader Core (Version 2.0)Periodic Table Of Chemical Elements (Version 1.0)Web-Based:Directory Listing Script Written In AutoIt3 (Version 1.9 RC1)UDFs:UnicodeURL UDFHTML Entity UDF[u]My Website:[/u]http://dhilip89.hopto.org/[u]Closed Sources:[/u]YouTube Video Downloader (Version 1.3)[quote]If 1 + 1 = 10, then 1 + 1 ≠ 2[/quote]

Link to comment
Share on other sites

Added:

Users can use embeded Windows Media Player in forum.

Syntax:

[wmv]{Media URL}[/wmv]

Add these codes into parse.au3

; Emdedded Media Player Object
    ; By Dhilip
    $data = StringRegExpReplace($data, '(?i)\[wmv\]([a-z]+)://(.+?)\[/wmv\]', '<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" class="OBJECT" id="MediaPlayer" width="500" height="400" ><param name="ShowStatusBar" value="-1"><param name="Filename" value="\1://\2" /><embed type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" flename="wmv" src="\1://\2" width="500" height="400"></embed></object>')

Embedded WMP Object Demo: http://60.48.213.163/index.aux?viewtopic=H...0testing%20here

Edited by Dhilip

[u]My Projects[/u]:General:WinShell (Version 1.6)YouTube Video Downloader Core (Version 2.0)Periodic Table Of Chemical Elements (Version 1.0)Web-Based:Directory Listing Script Written In AutoIt3 (Version 1.9 RC1)UDFs:UnicodeURL UDFHTML Entity UDF[u]My Website:[/u]http://dhilip89.hopto.org/[u]Closed Sources:[/u]YouTube Video Downloader (Version 1.3)[quote]If 1 + 1 = 10, then 1 + 1 ≠ 2[/quote]

Link to comment
Share on other sites

OK you guys, from now on if you want anyone to "mod" their forums, please make a mod in the same format as a PHPBB forum mod. if you are unfameiler with that format, go to www.phpbb.com and look around for documentation.

I may make a automatic mod installer for people.

Link to comment
Share on other sites

OK you guys, from now on if you want anyone to "mod" their forums, please make a mod in the same format as a PHPBB forum mod. if you are unfameiler with that format, go to www.phpbb.com and look around for documentation.

I may make a automatic mod installer for people.

LO< maybe someone could fix my old phpBB "Mod Maker" :lmao:. It mostly works except that little textbox to add actions can't learn to stay in one tab... :ph34r: ill fix it tonight and post here

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

This is a very cool program from GNU: diff.zip.

post-13449-1160495158_thumb.png

Screenshot of diff implemented in VIM.

This is the win32-ported version of diff, that comes with VIM for Windows.

(Actually, I make AutoIt3 programs with my customized version of VIM. It's the best text editor ever. :lmao:

That program finds the difference between two files.

I recommended this command:

diff -i -w originalfile.au3 changedfile.au3

-i will do the case-insensitive match, and

-w will ignore the whitespaces.

With this program you can automaically make a MOD syntax much easier, but I don't know how to implement it.

Link to comment
Share on other sites

there are defintely features I want to add to this, I'll see what I can do.

Oh and as for my MOD maker, i dont wanna fix it when there's this. So if anyone wants a mod maker, use that.

Oh, and the ZIP file in the first post is the latest version, right? just making sure..

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

The AutoForum's database system is file-based.

The layout of the forum is like this.

Forum Name~~~~~~Forum Description

Another Forum~~~~~~Forum Description

But when the forum program found the incorrect format of forum name, it will bark.

(For me, the word "bark" means to display the error, and terminate the program, pretty strange! Isn't it?)

Like dhilip's idea, putting the database in C:

The program will see the folder "WINDOWS," which doesn't follow the rule of the forum names.

So the program will bark and let the user to override those directory with a nothing (removing it!)

So, when you send the override GET parameter, the program will try to remove all the directory

which doesn't in this format: Forum Name~~~~~~Forum Description away.

I wonder why spyrorocks don't make the forum ignore those folder names, and just skip to the next forum.

It's easier, and it's safer! Isn't it?

And about the new database system, it will use the .ini file for each forum.

All the posts, and topics will be put in each forum's .ini file.

But I think it will be pretty slow.

I think the good idea is to make a file layout like this.

  • forum1
  • forumname.txt
  • forumdescription.txt
  • topic1
  • topicname.txt
  • post1.txt (first line stores username, and the following line stores the whole post.)
[*]forum2
  • forumname.txt
  • forumdescription.txt
  • topic1
    • topicname.txt
    • post1.txt
    • post2.txt
    • post3.txt
  • topic2
    • topicname.txt
    • post1.txt
    • post2.txt
  • topic3
    • topicname.txt
    • post1.txt
[*]forum3
  • forumname.txt
  • forumdescription.txt
!

To match the forum, just do the _fileListToArray and filter like this:

  • forum*
  • topic*
  • post*.txt
Link to comment
Share on other sites

Or swap to SQLite, which is easier and faster.

Link to comment
Share on other sites

SQLite really only needs 2 things done:

1) Copy SQLite3.dll (You could do a FileInstall )

2) Regserv32 SQLite3.dll (From cmd line )

You could do it all via autoit.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...