Singapore

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

Patricia wrote:Hello MegaBob3

Thanks for your work!!
I tried your test, and do not manage to see my galleries (first page does come, but not when I click on a gallery)
the returned url -> moduleinterface.php?module=singapore&return_id=1&gallery=./2003
gives me a page not found.
However, if in the url (or in singapore.ini index_file_url), I replace "moduleinterface.php?module=singapore&return_id=1&"
by "index.php?page=photo-gallery&" (photo-gallery beeing the page I included the module in), then all works perfectly

Do I have to change that myself in the singapore.ini, or was it supposed to work as is? If it has to be hardcoded in singapore.ini, then (like it works with the plugin) we can add gallery only to one content page.

One great feature to implement then would be to be able to choose in the module parameters which subgallery to display (example, my cats gallery only, into my cats page :) ). And, is there a way that the parameters overwrite singapore.ini for the index_file_url? like this it would be possible to include different subgalleries into different pages. It would then need parameters like:
{cms_module module="singapore" page="cats" gallery="2003/kitties"}, then the returned url would be:
index.php?page=cats&gallery=./2003/kitties

Furthermore, I get charset problems, with all tries in singapore.ini (ISO-8859-1 or UTF-8 ) but I must say I had the same problem with included (with the plugin) gallery... otherwise, singapore (plugin or module) work fine.

I also noticed in singapore documentation, that mod_rewrite won't work with external.php... not so much an issue, but I wonder if you would have a trick for that...

It's nice from you that you want to give your time to improve implementation of Singapore into CMSMS. I must say Singapore is the only one I found to allow photos to be remote (can be worth for people with low webspace, and having a photobucket account for example, or people with more than 1 website, with shared pics between them)

Cheers to megabob3 :)
I am seeing it :)
http://www.awakening.it/uploads/singapore.zip

I must resolved the first problem of PAGE NOT FOUND.

Now go to work on admin panel, and parameter function that you said :)

Bye and thx for your ideas ;)
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

Added sub_gallery parameter :D


{cms_module module="singapore" sub_gallery="sub22222"}
or sub sub
{cms_module module="singapore" sub_gallery="sub11111/123"}


for see
http://www.awakening.it/test/index.php?page=galleria

download always the same
http://www.awakening.it/uploads/singapore.zip

Bye :)
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

lol i founded a bug, conflict between singapore and PHPLayers menu :(
i have to work :D

when browse inside the gallery, the menu don't expand :(



:roll: :roll: :roll: :roll: :roll: :roll:
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

Resolved :D

Was a problem binded (to bind verb :P, repeat sorry for my english) to singapore templates.

I modified the template for a better integration.

Pratically, there was two "", "" and "".

Bye :)
jah
Forum Members
Forum Members
Posts: 147
Joined: Thu Dec 30, 2004 9:09 am
Location: Norway

Singapore

Post by jah »

It looks great on your site. I really appreciate the work you are doing here.

When I tried to install the Singapore module from your lnk above, Singapore button appeared under modules in CMS. However, when I tried to enter the Singapore startpage I got the following error:

"You need the 'singapore Admin' permission to perform that function."

Do you know why? :?
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

jah wrote:It looks great on your site. I really appreciate the work you are doing here.

When I tried to install the Singapore module from your lnk above, Singapore button appeared under modules in CMS. However, when I tried to enter the Singapore startpage I got the following error:

"You need the 'singapore Admin' permission to perform that function."

Do you know why? :?
:D

Hey you must active the permission :P
Inside admin panel-->listgroups-->permission

Check 'singapore Admin' ;)
jah
Forum Members
Forum Members
Posts: 147
Joined: Thu Dec 30, 2004 9:09 am
Location: Norway

Singapore

Post by jah »

Right, I always forget that.

After fixing that I got another error message that I resolved by setting the user and password of my mySQL DB in secret.ini.php.

Now the login page seems like it should.

Next I need to log in as admin but I dont know what the username and password is. Is there a default one?

I tried the CMS user/password but it does not work.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

Yep sooooooorrrrry :P

The problem that i am working on it :D

The access is equal for a normal installation of Singapore :)

User: admin
pass: password


Bye
Anonymous

Singapore

Post by Anonymous »

Grazie mille!

This works very well for me now!
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

Anonymous wrote:Grazie mille!

This works very well for me now!
Grazie Mille??? :D

Di nulla!!!! :D


I am italian like you, i guess :roll:

Bye :)
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

Patricia wrote:Working great. I had no time to fully test it, but what I see is nice...

Only having an issue with a javascript and some head tags that I have into my singapore template (not the default one), but I guess I can find out.



Furthermore, as the gallery "quits" the page which called the module, and goes to moduleinterface, when we browse in, it looses:
1 - the title of the page
2 - the content I put before and/or after the call to the module.
In your template, cancel all ", , " TAGS.
In the same time, you can put TAG to yuor CSS also in body at the moment, on Firefox, and latest browser, this isn't a problem.
But i must found a solution also on this ;)


Patricia wrote:
What I did last days was a kind of "beginners-hack". I know it's not nice, but I made different singapore.ini and called them with the params... my problem was that I had to multiply also the (external.php), thumb.php, ncludes/singapore.class.php, includes/config-class.php, all of this because I didn't know how to pass variables with the include_once or require_once :?

What would be nice, would be to have the variable from singapore.ini beeing entered in a module table, with all the variables (by subgallery) able to override those in the default singapore.ini. Like this, it would just be easy to set another path to the gallery, another singapore default_template, default_language, another gallery_sort_order, or any other var...

if nothing defined, the vaiables would be taken in default singapore.ini, and if defined in the db, the var would be taken there...

this is just my "simple-user" comments, now I don't know how much work it requires :) and I don't know if I would be able to do it actually....

All what you did so far is real great, I thank you very much Roberto!

Cheers
On this i must work ;), indeed before i must understand what you write :D, i must translate :P

Bye :)
Anonymous

Singapore

Post by Anonymous »

I removed the html, head and body tags. This is not the problem,
but the javascript used doesn't work. At the moment I'm at job, and do not have my test files here.

Sorry if you don't understand, english is also not my language :)

okay, ... if singapore.ini variables can be overwritten by different params attached to 1 page, then we can change the variables (I said about to put them in the database, but actually, this can be done with params).

examples: my cat pages

{cms_module module="singapore" sub_gallery="kitties" default_template="CatSimpleBlue" gallery_sort_order="x"}

these variables, if set, would then (for that page) overwrite default singapore.ini variables.

Anyway, the first modif I made (previous post) was the most important, because I want my kitties gallery to stay in index.php?page=cats and this works.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

Cheer :D
Anonymous wrote:......

okay, ... if singapore.ini variables can be overwritten by different params attached to 1 page, then we can change the variables (I said about to put them in the database, but actually, this can be done with params).

.......
I would permit to modify "singapore.ini" by admin panel, and it's much easy (easest???) is enough modify directly "singapore.ini".


and i like too much the idea of:

{cms_module module="singapore" sub_gallery="kitties" default_template="CatSimpleBlue" gallery_sort_order="x"}

Very nice, i can do that ;)

See you after :)
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

http://www.awakening.it/uploads/singapore.zip

ADDED this parameters

sub_gallery="sub11111/123"
default_template="default3"
gallery_sort_order="x"
image_sort_order="f"


Now i am having less time, Bye :).
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Singapore

Post by megabob3 »

Sorry :P

:mad: my home connection it's ugly :mad:

Try now
http://www.awakening.it/uploads/singapore.zip

Bye :)
Post Reply

Return to “Modules/Add-Ons”