So what kinds of mods have you guys made for Olympus?

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Post Reply
catoro
Registered User
Posts: 5
Joined: Thu Jan 04, 2007 7:44 pm

Re: So what kinds of mods have you guys made for Olympus?

Post by catoro »

Handyman wrote:
dhn wrote: Not wanting to sound like a Coldfusion advocate, but after having to work with it for two projects, it was actually quite fun (as long as one ignores the stupid syntax, seriously wtf: I don't want to use tag based syntax in core code). It has very good and informative debugging messages, database handling is a breeze (ever tried to get Oracle to work with PHP?), and in my experience it was not as slow as people claim it it to be.

The main advantage is that Coldfusion makes a lot of stuff very easy for you, which of course is also the main disadvantage for serious developers. It doesn't give you a lot of options to play with.

well... you have me there. I've never tried to work with Oracle :)
I've only worked with MySQL and it's pretty easy :)
Probably because php and MySQL are both open source so they make sure they work together.


You should investigate cfscript if you are like allot of people and do not like the tag syntax. It gives more of an oo type feel to it. The only real exception is you still need to use <cfquery> for querying a database...although you could create a simple function that you can globally include to query via cfscript.

small example from one of my ses scripts:

Code: Select all

// depending on the web server, get the info from different cgi vars.

currentPath = '';

if (Len(cgi.request_uri)) {
 currentPath = cgi.request_uri;
}
else if (Len(cgi.path_info)) {
 currentPath = cgi.path_info;
}
if ((Len(currentPath)) AND ((Len(cgi.script_name) GT Len(currentPath)) OR (NOT find(".",currentPath)))) {
 currentPath = cgi.script_name;  
} 

/* only do stuff if currentPath has len, otherwise it breaks the RemoveChars() function */
if (Len(currentPath)) {

	/* replace any ?,&,= characters that are in the url for some reason */
	cleanpathinfo=REReplace(currentPath, "\&|\=", "/" ,"ALL");

	/* get everything after the first occurence of ".XXX/",
	   where XXX is .cfm, or whatever you use for your templates 
	   In other words, get the query string */	
	cleanpathinfo=RemoveChars(cleanpathinfo,1,Find("/",cleanpathinfo,Find(".",cleanpathinfo,1)));
or a simple switch/case...

Code: Select all

<cfscript>
switch (URL.cmd) {
// Index
case "Home": {
	GetPageContext().include('_content/index.cfm');
	break;
}
// Collection
case "collection.index": {
	GetPageContext().include('_content/collection/collection.cfm');
	break;
}
case "collection.ejournals": {
	GetPageContext().include('_content/collection/ejournals.cfm');
	pagename='Electronic Journals List';
	break;
}
default: {
	GetPageContext().include('_content/index.cfm');
	break;
}
}
</cfscript>

or control white space...

Code: Select all

<cfscript>
pageContent = variables.fullpage;
getPageContext().getOut().clearBuffer();
pageContent = reReplace(pageContent, chr(9),"", "all" );
pageContent = reReplace(pageContent, "    ","", "all" );
pageContent = reReplace(pageContent, chr(13)&chr(10)&chr(13)&chr(10),chr(13)&chr(10), "all" );
pageContent = reReplace(pageContent, chr(10)&chr(13),"", "all" );
pageContent = reReplace(pageContent, "[[:space:]]+", " ","ALL");
writeOutput(pageContent);
getPageContext().getOut().flush();
</cfscript>

Spectral Dragon
Registered User
Posts: 208
Joined: Mon Feb 16, 2004 1:45 pm
Location: Milan, MI
Contact:

Re: So what kinds of mods have you guys made for Olympus?

Post by Spectral Dragon »

I would also like to see the list of mods being ported to 3 or currently being worked on/currently done.

I've been trying to see, for example, if the knowledge base mod was being worked on for 3.

User avatar
Handyman
Registered User
Posts: 522
Joined: Thu Feb 03, 2005 5:09 am
Location: Where no man has gone before!
Contact:

Re: So what kinds of mods have you guys made for Olympus?

Post by Handyman »

Spectral Dragon wrote: I would also like to see the list of mods being ported to 3 or currently being worked on/currently done.

I've been trying to see, for example, if the knowledge base mod was being worked on for 3.

The knowledge base mod is being worked on, but Richard (the person making it) has never used php before, so I think he needs help.
I don't have time to build it, so I'm just giving him instruction on how to do it... it's taking a while, but he will eventually get it done and he is learning quickly.
My phpBB3 Mods || My Mod Queue
Search Engine Friendly (SEO) URLs || Profile link on Avatar and/or Username || AJAX Chat
Display Posts Anywhere || CashMod || AJAX Quick Edit || AJAX Quick Reply

Image

User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: So what kinds of mods have you guys made for Olympus?

Post by Highway of Life »

There seems to be a good amount of demand for the KB MOD, so I have a feeling Richards MOD will be a community project. ;)
Image

Trinity_Sound_System
Registered User
Posts: 3
Joined: Thu Nov 23, 2006 4:43 pm

Re: So what kinds of mods have you guys made for Olympus?

Post by Trinity_Sound_System »

I'm hoping someone is working on caledar mod.

Limit-Studios
Registered User
Posts: 11
Joined: Sun Jun 06, 2004 3:56 pm

Re: So what kinds of mods have you guys made for Olympus?

Post by Limit-Studios »

I'm working on a Bug Tracker MOD for phpBB3, its making good progress and just getting to grips with the permission system.

User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: So what kinds of mods have you guys made for Olympus?

Post by Highway of Life »

Yes, Andrew is working on a good calendar MOD.

The one that was made for phpBB2 really sucked, so it won't take much to beat that one. ;)
Image

Trinity_Sound_System
Registered User
Posts: 3
Joined: Thu Nov 23, 2006 4:43 pm

Re: So what kinds of mods have you guys made for Olympus?

Post by Trinity_Sound_System »

Highway of Life wrote: Yes, Andrew is working on a good calendar MOD.

The one that was made for phpBB2 really sucked, so it won't take much to beat that one. ;)



I've had no problems with it. I am really hoping that he will include the option of having the current week displayed at the top of index page of forums. While it was a bit too large and took up too much space, I was able to shrink it down quite a bit so it fits in nicely on my forums. Really hoping I can keep that feature on my index page of my forums, as I don't think people on my site ever go to the whole month view as the coming week is enough and right there at top of index.

tffnguy
Registered User
Posts: 75
Joined: Thu Mar 02, 2006 5:13 am

Re: So what kinds of mods have you guys made for Olympus?

Post by tffnguy »

A digest MOD would still be good! Anyone? I've got quiet a few members on digest and am sure they won't be happy campers when there isn't one in 3.
Plano, Texas

User avatar
DoubleJ
Registered User
Posts: 105
Joined: Thu Jan 13, 2005 4:19 pm
Location: The Netherlands
Contact:

Re: So what kinds of mods have you guys made for Olympus?

Post by DoubleJ »

Trinity_Sound_System wrote: I'm hoping someone is working on caledar mod.


I will work on one, but I mainly design it as a plugin for our clansite, so it may have another feature set then a normal calender, but I want to finish my blogmod first before I continue on that mod.
DoubleJ - Blah

Post Reply