Re: Develoment of the D3 Forum ?

  • 2008/7/24 17:10:25
  • Ft24

Oh, alright, i understand the concept of hooking, and that seems like it would be very effective. Also the ideas that followed afterward seem great as well. I have little knowledge of PHP, i know some of the basics, and am now understanding What Smarty and Templates do, so i follow your ideas somewhat. Im not sure if the D3 modules were made specifically for Xoops either, but i think they were the first modules to introduce the concept of store important files outside of the web root folder ( The concept of a Trust Path ).

Also i agree, it would be nice if Impress CMS had its own variation of major modules specifically for ImpressCMS. That way the look and feel can be consistent, as well as the libraries and codes. This would help to bring complete unity to the entire site, and the way the site will look will be less generic. Also this means that modules wont cancel out other modules, for instance, on many different versions of xoops or imcs ive tried to use the XoopsLifetype and Yogurt social network module at once and lifetype seems to make yogurt stop working. Ive tried it on IIS, Apache both PHP 4 and 5 and different versions of MySQL.

So maybe this idea could be used for future releases of modules or of this CMS

Topic


Re: Develoment of the D3 Forum ?

  • 2008/7/24 10:42:50
  • Tom

No Problems

I'd never thought of including it through the already existing SMARTY stag. That would be awesome.

In WordPress there are a few options I believe. One is going through the wp_footer(). This would truely give the end user all the options they could ever need.

One of the major gripes I have with many modules is the lack of unification. Some modules use lightbox, others don't, some use ajax star rating and others don't.

I'd like to see this happen and move towards allowing webmasters to make their modules display as unified though out the site and not just one with a load of scripts thrown together, because the lack of consistency can often make a site look.............. well............. shabby (Not always of course).

The topic was of course originally about D3Forums, now XOOPS/ImpressCMS has and have had a few options for forums but how many of these were specifically coded from the ground up for our CMS? newbb was originally a form of phpbb I believe, newbex the same, the old IPB fourm, the SMF bridge. One of the many reasons I stuck with X over the years was newbb and how well it seemed to be integrated, I don't like bridges, hacks and reliance on third party scripts personally.

I've not looked at the D3 code, but I would assume GiJoe built this specifically for XOOPS? (I could be wrong of course)

I'd like to see us support something which is natively made for ImpressCMS, using all the features we have to use and being consistent with out code.

ImpressCMS Media Kit - Spread The Word!
Topic


Re: Develoment of the D3 Forum ?

Oh that is a nice idea ... and I think that should work as well in principle

Incidently it could be possible to test something like this using "Custom Tags"

Topic


Re: Develoment of the D3 Forum ?

  • 2008/7/24 5:14:08
  • Will

Tom, I apologize... we are indeed on the same page,and at least in the same book.

David - ideally we shouldn't have to change anything... that is the point of hooking.

Lets continue with the attachment scenario...

Instead of trying to modify GiJoe's work to suit our needs... we could simply use the resources we already have to tie into what he has created.

So, at the bottom of the reply field there would be a small area where you can attach files to the forum, and when you upload these files the "user submission hook" uploads stores and manages this, and would produce a snippet of bbcode that would reference that file. Easy right? a little modification to module_text_sanitizer is all we would really need, aside from the actual "user submission" area.

You could then take that snippet of bbcode and use it anywhere on the site to display that data... imagine the thumbnail hack for extgallery. Zhoulou refers to it as a "hook hack". That is exactly what it is... I would imagine something like this would be delivered through the notifications handler...that way it would show up in old modules as well.

So what I am essentially proposing is that we create a new area for roles, widgets, mambots, plugins, or whatever it is that we coin them... and like tom suggested it would be customizable and a user could add whatever functionality they need to modules as they need it. Then this would create a new administration page for these features, where a user would decide what roles they want to assign to what tasks and which users can use them...

The fantastic part here, and what has me so excited about this, is that we could deliver this through the already existing <{$xoops_notification_system}> loop. So there will be no need to modify any modules.

Topic


Re: Develoment of the D3 Forum ?

Anyway - the crucial thing is ... yes, this is a very good module, but I'm sure theres some way we can enhance it - without many changes to the existing code.

Topic


Re: Develoment of the D3 Forum ?

  • 2008/7/24 1:08:56
  • Tom

Quote:

Well no, it really isnt the same... we arent talking about developing modules further to include functionality.



Aren't we? I was going on what FT24 the topic starter wrote:

Quote:

Develoment of the D3 Forum ?

I was wondering if anyone has considered picking up the job considering many people still use GIJOE's Modules.



Well when I said plug-in I went by the following definitions:

Quote:

# an auxiliary program that works with a major software package to enhance its capability. Plug-ins are added to Web browsers to enable them to support new types of content (audio, video, etc.). The term is widely used for software, but could also be used to refer to a plug-in module for hardware.
www.ppcrepair.co.uk/jargonbuster_software.html

# A plugin (plug-in, addin, add-in, addon, or add-on) is a computer program that interacts with a host application (a web browser or an email ...
en.wikipedia.org/wiki/Plugin

# a computer program that interacts with another to add a specific function, or to support a specific file format or device; a plug-in
en.wiktionary.org/wiki/plugin

A plug-in is a software module that "plugs in" to a larger program to add a specific feature or service to the larger system, eg, Clauses plugs in to GhostFill.
www.bashasys.com/ghostfill/ghostfillglossary.html



I believe Joomla call them mambots.

I was talking about a folder where a developer could place a sub-folder (like the modules directory) and install it in admin (like a module again). This would allow a developer to add extra functions to the core and modules universally.

I see this the same as hook.

Quote:

For example, if you had a forum, and you wanted to allow attachments to the forum... we could simply assign that role to the module... so at the bottom, users would have the ability to attach files.... Also, lets say that you have a module that you want to have comments on... instead of having to go to every single module and enable/disable it... wouldn't it be so much better to do it all in one place.



Of course it would be better, I never really spoke to much about how it would be dealt with from the admin.

ImpressCMS Media Kit - Spread The Word!
Topic


Re: Develoment of the D3 Forum ?

  • 2008/7/23 19:45:37
  • Will

Well no, it really isnt the same... we arent talking about developing modules further to include functionality... the concept of hooking is breaking functionality down into separate roles, and assigning those roles to tasks.

For example, if you had a forum, and you wanted to allow attachments to the forum... we could simply assign that role to the module... so at the bottom, users would have the ability to attach files.... Also, lets say that you have a module that you want to have comments on... instead of having to go to every single module and enable/disable it... wouldn't it be so much better to do it all in one place....

ya feel me?

Topic


Re: Develoment of the D3 Forum ?

  • 2008/7/23 15:38:11
  • Ft24

Great ! Looks like some plans are developing here. I had many ideas for the D3 Forum. We could also incorporate some of the features in the CBB modules into the D3 Forum if someone begins developing it again. Glad to know GIJOE supports ImpressCMS.

Topic


Re: Develoment of the D3 Forum ?

  • 2008/7/23 11:11:16
  • Tom

Call it what you wish, the principle is still the same.

ImpressCMS Media Kit - Spread The Word!
Topic


Re: Develoment of the D3 Forum ?

i could do with some hooking myself

Live as if you were to die tomorrow, Learn as if you were to live forever

The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together!
Topic


Re: Develoment of the D3 Forum ?

So we just need to develop a suitable hooker method then....

Topic


Re: Develoment of the D3 Forum ?

  • 2008/7/23 6:15:56
  • Will

its called hooking.

Topic


Re: Develoment of the D3 Forum ?

  • 2008/7/23 6:11:59
  • Tom

Similar to discussion of the core.

If a module could utilise a core plug-in folder an upload feature could be made as CMS plugin and utilised within a module like D3Forums to give users uploads.

ImpressCMS Media Kit - Spread The Word!
Topic


Re: Develoment of the D3 Forum ?

It would be good if - at some point - we could do a parallel development on D3-Forum to add the odd missing features such as attatchments etc...

Perhaps in such a way that it didn't effect the main d3-forum code - so more of an addon pack to the module?

Topic


Re: Develoment of the D3 Forum ?

GIJOE already supports ImpressCMS!

Topic


Re: Develoment of the D3 Forum ?

  • 2008/7/23 1:46:32
  • Ft24

Also if things are already being done, sorry for my lack of info, i just found this all out 2 days ago

Topic


Develoment of the D3 Forum ?

  • 2008/7/23 1:39:28
  • Ft24

Well i have been using the D3 Forum for a while and found out recently the creator GIJOE has decided to stop developing it for xoops due to some issue with them changing the source code of the cms every release or something of the sort.

I was wondering if anyone has considered picking up the job considering many people still use GIJOE's Modules.

Also since all versions of ImpressCMS are compatibly with the AltSYS module, why dont the community ask him/her if she/he wants to develop it for this CMS.

This way the Module will continue to improve and if Xoops 2.3 or 3.0 is once again compatible with the AltSYS module, the Xoops community can take advantage of this wonderful module.

This is of my concern because i migrated from using CBB to D3.

Topic


Default TinyMCE for CBB??

Hy all... I have tested ImpressCMS on my localhost and I have one question.

Is it possible to make default TinyMCE editor on ImpressCMS 1.1 alpha worked for CBB??

Thanks...

Topic


Re: converting php4 modules to php5

This isn't quite what you wanted - but it is a useful resource:

http://www.webmaster-talk.com/php-forum/78717-differences-between-php4-and-php5.html

(Also I found this handy sticky from the above link as well... http://www.webmaster-talk.com/php-forum/47580-updated-php-tips-tricks-tutorials-how.html)

Topic


Re: converting php4 modules to php5

From the PHP site - http://php.net/manual/en/migration5.incompatible.php

There are a few quirks in class references, from what I've read.

Steve Twitter: @skenow Facebook: Steve Kenow

Topic



 Top