Welcome to Geeklog Sunday, July 22 2018 @ 06:30 pm EDT

Geeklog Forums

Geeklog Bounties: What do you want to see implemented?


Status: offline

bjudson

Forum User
Junior
Registered: 01/01/04
Posts: 34
All configuration options should be stored in the database as well.

I understand there is "some" performance issues with this but there are ways to minimize the impact of doing this.

I usually add the Canadian Provinces to the list of static locations for registrations. This is something I have to do everytime I update geeklog. I am sure some people don't want the US States at all. Others might like to have different countries.

Also it would be nice if the administrator could turn on or off trackbacks, and toggle topic icon locations from the control panel (or from the theme). Everything but paths in every config file should be at least updateable from the control panel, except of course authentication for the database server.

Also upgrading tends to be a pain because things like lib-custom.php are included in the gzipped distribution. This might be better to be included as lib-custom.php-orig and have people manually rename it the first time they install. Or have PHP check to see if lib-custom.php exists, and if not copy lib-custom.php-orig to lib-custom.php. Also for those of us without shell access, we have to pick and choose directories to FTP because ftp will overwrite everything else. Maybe take those directories that are just geeklog (docs, fckeditor, help, javascript, language, admin**) and put them under a customizeable directory off the root (say "gl" for default). This entire directory could be dumped and copied. ** The admin plug-in directories should go under the actual plug in. (Why put part of it in the admin directory when we could just check for something in the "admin" directory of the plugin??? Just more places to move stuff and forget to do things me thinks. Same goes for the stuff we don't change in the "geeklog/path" config directory. lump all the sql, and pear, language, system files into a gl directory and leave the dynamic stuff backups, logs, plugins, config.php to a "site" directory.

This part is way out of scope for this thread, but I thought I would throw it out there for Geeklog V2.0 or something to keep in mind.

With these changes we could host multiple geeklog sites (as I do) from one geeklog install. Additional instances of geeklog would use the same base geeklog install. Each instance would only require a "backend" directory, a images directory, a config directory (for logs, and config.php, and lib-custom.php only), a layout directory, even plug-ins ideally could ideally be pulled off of the "base" install but that would be up to the plug-in developer to make it work.

Obviously this system would require that all sites run the same version of geeklog and be upgraded at the same time, it wouldn't fit for a site that runs with an adjacent development site (though the plug-ins could be development) layout could be completely different, config options completely different, URL completely different.

Right now your thinking.. wow this is way too complicated, but most of it could be done with a config.php that checked the URL and redirected to a secondary config-sitespecific.php so www.benjudson.com (and benjudson.com) could be redirected (perhaps a regular expression) would both use config-benjudson-com.php. Which has different paths than www.othersite.com.

path-to-geeklog/config.php
path-to-geeklog/config-benjudson-com.php
path-to-geeklog/config-othersite-com.php
path-to-geeklog/public_html/lib-common.php
path-to-geeklog/public_html/images-benjudson/
path-to-geeklog/public_html/images-othersite/
path-to-geeklog/public_html/docs/
path-to-geeklog/public_html/othersite/docs/

(You get the idea I hope)


OR somethinglike http://www.benjudson.com/gl.php?file=/docs/changes.html (which is alot messier, though more flexible, while messing up logs, and stats and stuff yeah I know).

I would be open to any implementation that would allow for a single installation of geeklog with multiple instances (or sites) running off one installation.



Status: offline

1000ideen

Forum User
Full Member
Registered: 04/08/03
Posts: 1292
Quote by: bjudson

.. wow this is way too complicated

indeed because the solution is already here:
http://www.geeklog.net/forum/viewtopic.php?forum=1&showtopic=62511

~~~~
May I suggest two more things: This forum needs a section where feature requests are being "bread" and discussed and no feature request should be accepted which has not been discussed thoroughly. This has nothing to do with bjudson it is more that some feature requests are being ill explained and rather taylored for only 1 person from one point of view. A discussion is usually more fruitful.

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1292
I have been using URL Rewrite for a while now on IIS 6.0 and PHP 5+ with no problems.
One of the Geeklog Core Developers.

Status: offline

jmatt

Forum User
Junior
Registered: 06/01/03
Posts: 30
Location:Tatertown, KY, USA
Open ID support. Geeklog as a client (identifying visitors to my site via their OpenId URL) is a higher priority for me than Geeklog as a server (allowing my Geeklog to identify me as an OpenID user to other sites).


I have also been thinking about hosting multiple Geeklog instances from a single installation, as bjudson suggests. I haven't gotten a chance to test my theory, but I think it could be done fairly easily with existing code.

If I'm correct, each instance just needs a unique config.php file, which would point to either a unique database or a unique table prefix within a common database. So you just need to invoke a different config.php file for each instance.

That could easily be done (I think) by changing the line in lib-common.php that specifies the config.php path to generate the config file name from the URL. So you could have multiple URLs which all point to a common Geeklog directory, via symlinks or aliases or whatever. The lib-common.php in that single directory would read different config files depending on the URL. Am I missing something? Is it harder than that?

Status: offline

1000ideen

Forum User
Full Member
Registered: 04/08/03
Posts: 1292
Quote by: jmatt

Am I missing something?



LOL yes, the solution. As I said above it is here:
http://www.geeklog.net/forum/viewtopic.php?forum=1&showtopic=62511

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: jmatt

Open ID support.


You may want to check out (and possibly join) the recent discussion on the geeklog-devel list then.

bye, Dirk

Status: offline

jmucchiello

Forum User
Full Member
Registered: 29/08/05
Posts: 985
Quote by: jmatt

If I'm correct, each instance just needs a unique config.php file, which would point to either a unique database or a unique table prefix within a common database. So you just need to invoke a different config.php file for each instance.

The only flaw with this is the various instances must share their plugin/config.php files. The plugin's config.php is usually loaded from its function.inc. So you'd have to have all the uploads for filemgmt go to the same directory, for example, and if they didn't share a database there is a chance for collision of filenames. (slim chance really)

Status: offline

zyx

Forum User
Junior
Registered: 10/06/06
Posts: 25
I agree with Bjudson: there needs to be away to edit all non-critical Config things in the admin control panel. Its not difficult to change the config file through FTP, it is just time consuming.

Kinda away from the realm of this thread:
I would like to see polls integrated into the forums. Just something that users can use for fun in their threads. On my site, I have a general forum, and it would be great if people could use the poll for their personal enjoyment. I know many a time, people run threads about sporting events, and it would be cool if they could just do a little poll at the beginning of their threads asking about who is going to win. I know some other forums already have this, and I would like to see that in geeklog forums

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
Quote by: tokyoahead

I am working on a tagging plugin, if thats what you mean.



Yeah, that would make me very happy! With Tagcloud?
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Status: offline

Euan

Forum User
Full Member
Registered: 22/04/02
Posts: 292
[#404] Weblink subcategories

I'm going to take the category management out of Glinks and submit it as a patch for Links. Then the Glinks plugin can be killed off.

Cheers,

Euan.
-- Heather Engineering -- No job too small

All times are EDT. The time is now 06:30 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content