Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Optimum

Pages: [1] 2
1
Yeah, you're probably right.. but even if I try loggin in first, then visiting the site, same problem.
I don't have any members on site, so there's no need for anyone to login. I only have admin account, nothing else..

Oh well, guess I won't be able to use my hidden menus.

Thx,
Mat

3
Hi,

I noticed a strange problem.
I'm logged in as admin, but am also shown as a guest in the cp.

Admin    06.05.2006 00:43    Control Panel   193.77.x.x
Guest    06.05.2006 00:40    index.php    193.77.x.x (same as above)

This happened after I moved the gallery to a new server. So now I have my site on 2 servers. All static sites and domain are on server 1, gallery is on server 2.
I have no problem with being shows as a double user, but, I can no longer access my hidden menus and links, that I've setup in the gallery with "if user logged" tags. So it appears that my status as guest has priority against my status as admin.
Anyknow know how I can fix this?
I have no idea what could be wrong. I mean, the cp is on server 2 as well. I log in through there, so I don't know why don't I have admin access on the site itself..

Pls help!

TIA,
Mat

4
Bug Fixes & Patches / Re: [1.7.2] Security hole in register.php
« on: April 26, 2006, 08:20:48 AM »
Same here, can't find either piece (the old and the new) of the code in global or register.
Guess it doesn't need fixing then..

Thx,
Mat

5
Templates & Styles (Requests & Discussions) / Re: Category layout help
« on: March 30, 2006, 10:19:31 AM »
Well, I did it..

I added this code:
Code: [Select]
  $b = 1;
  $c = 2;
  $d = 3;
      if ($num_subs == $b) {
        $sub_cat_list .= "<br><br><br>";
}
if ($num_subs == $c) {
        $sub_cat_list .= "<br><br>";
}
if ($num_subs == $d) {
        $sub_cat_list .= "<br>";
}

into functions.php

DON'T flame me, I know it could be done a lot nicer and more "hi-tec", but this is the first piece of php that I EVER wrote.
And so far so good. Categories are vertically aligned so I'm happy... for now. Will see when I'll have more categories in, what will happen then. But I think it should work.

So thanks to.. myself I guess :D

If anyone has a nicer solution, I'm still looking ;) Don't want to crash the server or something with my code :D

TIA,
Mat

6
ok, I've fixed the color problem, so ignore that :)

But still no luck with vertical aligment..

Pls hlp..
TIA!!
Mat

7
Hi,

I've managed to do a lot to my template of 4images, but I'm having 2 problems that I've been unable to solve so far.
Because it's kinda hard to explain, I made a picture:



As you can see, I'm having vertical aligment problem. I'd like to have main categories aligned, no matter how many subcategories there are on certan categories. Can this be done? I've manage to aligne subcategories under their main categories, but can't fix the vertical aligment.

Another thing is the color of subcategories. Can this be changed? Since it's a link, I'm afraid it uses the link class.
Can I change the subcategories colors?

TIA!!
Mat

8
Templates & Styles (Requests & Discussions) / Category layout help
« on: March 29, 2006, 10:24:23 AM »
Hi,

I've managed to do a lot to my template of 4images, but I'm having 2 problems that I've been unable to solve so far.
Because it's kinda hard to explain, I made a picture:





As you can see, I'm having vertical aligment problem. I'd like to have main categories aligned, no matter how many subcategories there are on certan categories. Can this be done? I've manage to aligne subcategories under their main categories, but can't fix the vertical aligment.

Another thing is the color of subcategories. Can this be changed? Since it's a link, I'm afraid it uses the link class.
Can I change the subcategories colors?

TIA!!
Mat

9
V@no, can I use
Code: [Select]
JavaScript:window.close(); instead of your script for closing the window in the "big" template?
I'd like to keep the right-click option.
I've tested it and it works fine, would just like your ok on this, since it's your mod and you know best if this will change anything..

TIA,
Mat

10
Thank you V@no!

Works great. I'd wish I had an option in ACP to turn this on and off, but just that it works!
Now I can use your "Check all images" MOD on ALL images that are uploaded to the gallery, either by ftp or with Add Images through ACP.

Thanks again!
Mat

11
Hi,

since I was unable to find any good answer to my problem, I'll ask here.

Is it possible to add a new option in Add Images in ACP that would ask if the images should be written to the DB or just added (transfered) to the server? Something like: "Add images to DB?" YES/NO

If YES is selected, nothing would change. Everything would work as it is now.
If NO is selected, the images would only be added to the server folder, but wouldn't be written to the db.



..OR..



If the above can't be done, is it possible to make a new menu option "Upload images" (or something like that) in the ACP, which would include a upload box and category selector (so the upload would be done to the correct folder on server). That's all. You'd select the image from your local drive, select the category and press the button. Image would be transfered to the correct folder on server and you'd be able to work with it from there.


With either of above options, images would be on server, but it would be possible to modify them with different mods that currently can't work with images that are added to the db.
This is mainly useful for people who don't know anything about ftp and when you only have 1 or 2 image to add. It's usually faster to do it with ACP then ftp. 


Hope something could be done.

TIA!!
Mat

12
Mods & Plugins (Releases & Support) / Re: [MOD] Language select
« on: March 24, 2006, 03:16:48 PM »
With the  "?l=slovenian" or "?l=english" right?

I told you, I'm a total newbie when it comes to php, but I learn fast :)

Pls confirm that it's the right way.


As usual, THANKS A LOT!!

Regards,
Mat


EDIT: Sorry, you replied while I typed. Yeah, it works great! Thanks. I'm a newbie at php and I didn't know the "?l=language" adition to the url, sorry..  :oops:

Thanks!!

13
Mods & Plugins (Releases & Support) / Re: [MOD] Language select
« on: March 24, 2006, 03:05:36 PM »
Hi V@no..

thx for helping me again..

ok, I did that.. Hmm.. now what?
How can I "call" English language from English site and Slovenian language from Slovenian site?

TIA!
Mat

14
Great, thanks for that.
I'll use the first option. Totally forgot about that to be honest  :oops:

Thx!!
Mat

15
Hi,

any chance of limiting the voting system to one category only?
I'd like to include it in only one of my categories, but not the rest.

Possible?

TIA,
Mat

Pages: [1] 2