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 - Sun Zaza

Pages: 1 ... 5 6 7 8 [9] 10 11 12 13 ... 34
121
Discussion & Troubleshooting / Image_number = image_id + 1000
« on: October 09, 2009, 05:50:52 PM »
Hi,

I need your help to solve this issue:

I added a new column to my images table: image_number.

I want that the value of this field always: image_id + 1000. That means if image_id = 1 than image_number = 1001.

I really need some support guys.

I appreciate any help,

Cruxy

122
Thanks Rembrandt for your reaction.

I am sorry for my poor explanation. I meant creating files instead of templates.

Is it possible?

123
Hello,

To add a new template to the gallery is very easy. For example soccer1.php and soccer1.html.

Now I want to add more that 100 templates and I am thinking about using some maps to stop those files. For example:

www.website.com/soccer/soccer1.php
www.website.com/soccer/soccer2.php
www.website.com/soccer/soccer3.php

.....

And:

www.website.com/templates/default/soccer/soccer1.html
www.website.com/templates/default/soccer/soccer2.html
www.website.com/templates/default/soccer/soccer3.html

....


How can I do that? I really need that.

Is there any mod to do that?


I appreciate any help or advise.
Many thanks in advance,
Cruxy

124
@Sumale.nin
Are sure about that?

@V@no & Nick
What do you think about this solution guys?

Thanks in advance,
Cruxy

125
Thanks V@no for your reply.

So you mean that it is better to find another solution instead of renaming index.php?

126
Mods & Plugins (Requests & Discussions) / Rename index.php to home.php
« on: October 07, 2009, 07:29:09 AM »
Hello,

Because I want to install another scripts who has also index.php, I need to rename the index.php of 4images to home.php or something else. How can I do that? Few years I used a mod of do that for the index.php of PHPbb. So I believe it is possible, but how.

I am sure that a lot of 4images users will appreciate your help and or tips.

Any reaction will be appreciated.
Many thanks in advance,

Cruxy

127
Thanks V@no for your reply. Actualy I cannot remember that I change something in the code. I don't think so!!!

128
Hello,

I just discover a bug. After installing this mod, you cannot add any category anymore to you galery.
(Version: 1.7.7)

I got this error message:


Code: [Select]
DB Error: Bad SQL Query: INSERT INTO 4images_categories (cat_name, cat_description, cat_parent_id, cat_order, auth_viewcat, auth_viewimage, auth_download, auth_upload, auth_directupload, auth_vote, auth_sendpostcard, auth_readcomment, auth_postcomment, cat_password, cat_hide, cat_master) VALUES ('dddd', '', 0, 20, 0, 0, 2, 2, 9, 0, 0, 0, 2, '', 0, )
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 4

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/*****/******/includes/db_mysql.php:192) in /hsphere/local/home/****/****/includes/functions.php on line 130


Anyone can solve this issue?

Cruxy

129
I beleive so, but I did not test it yet. I will try it later on and I will let you know.

130
Thanks V@no for your reply.

Yes, I get the following string:

Code: [Select]
[english]PARIS (France)[nederlands]PARIJS (Frankrijk)
Hi V@no:

I solved it with using this string in the details.php:

Code: [Select]
$image_city = multilang($image_row['image_city']);
Thanks anyway for your support.

Cheers,
Cruxy

131
Hello V@no,

I like this mod and I am using it om my gallery.

I have a small issue. I am trying to use this mod also for the additional fields, but it does not work yet.

For example:

I want to show the name of the city. If it dutch it will show PARIJS (Frankrijk) and if it English it will show PARIS (France).

In de functions I added this line:

Code: [Select]
"image_city" => multilang($image_city),
And in the ACP i used this line:

Code: [Select]
[english]PARIS (France)[nederlands]PARIJS (Frankrijk)
Am I missing something?

Any help will be appreciated
Cruxy

132
Hello,

On my homepage I want to use a FLV player to play vidoe's randomly from some categories.

I know that it is possible, but I do not know how to code it.

Any help will be very appreciated.

Many thanks in advance,

Cruxy

133
Thanks mate. It works perfect :D

134
Hello,

I want to count the quantity of the FLV, WMV, JPG.. file on my galery. For example:

FLV files: 100
WMV files: 200
JPG files: 300
PNG files: 400


Can someone help please?

Any support will be very appreciated.

Cruxy

135
Tested and worked perfect:)

Thanks V@no

Pages: 1 ... 5 6 7 8 [9] 10 11 12 13 ... 34