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 - Xyu BAM

Pages: 1 2 3 4 5 [6] 7 8
76
Discussion & Troubleshooting / Re: Image Deletion Problem
« on: September 04, 2005, 04:49:39 AM »
probably file permissions issue

77
Installation, Update & Configuration / Re: How do I disable Validate images.
« on: September 03, 2005, 03:57:51 PM »
"direct upload" under categories permissions.

78
a link to your gallery and phpinfo might help.
as of the error messages, if these are the only two that shows, that means your have a space or a new line after ?> in some file. perhaps in the file you've edited lately...(see faq)


79
With this type of if statement, never forget to put it like this instead :

Code: [Select]

if ($cat_cache[$cat_id]['num_images'] > 0) {


You missed the opening bracket sign. ;)

The other step is to close the if statement, with a closing bracket sign after the command has been commented out.
wrong, its not nececerly.
if you dont use {} brackets, only one line that followed after the condition statement will be used in the condition and the rest of the code will be treated as not related to the condition at all.
http://php.net/manual/en/language.control-structures.php#control-structures.if

80
What can I do that I can add texts in more languages to the picture when I upload it?

GER - PIC NAME
-----TEXT BOX------

ENG - PIC NAME
-----TEXT BOX------


Thanks
I guess just add more languages to the string (text)...


@martrix:
if I'm not misstaken, you also need add multilang to the code that handles keywords...dont know where exactly though, sorry.
Let me know if you find it, I need it too :)

81
Then, you must register each of these three $lang strings from includes/page_header.php file.
You are wrong.
Аs long as these variables being used in db_field_definitions.php they automaticaly be registerd as template tags. No needed any additional changes to the code.

And it seems ascanio missed Step 2, actualy the explanation part, which supposed to state
Quote
Step 2.
Open lang/<yourlanguage>/main.php

Add before ?> :

Code: [Select]
$lang['user_msn'] = "MSN:";
$lang['user_yim'] = "Yahoo:";
$lang['user_description'] = "Yahoo:";

82
TheOracle, I've noticed that you work hard to provide some extra options for ACP, but please tell me, how often do u change them? ones a year? twice?
IMO such settings in ACP are comletely useless and just provide more load on the server, because now 4images has to read more data from the database, and handle it.
That is the reason why so many "one-time-setting" options are set in constants.php and not in ACP...just my 2 cents

83
Mods & Plugins (Requests & Discussions) / Re: Image Links Mod Request
« on: August 30, 2005, 09:26:57 AM »
hmmm...didnt know that it wont work in media templates...
have u tryed replace {image} in details.html with:
Code: [Select]
{if image_link}<a href="{image_link}" target="_blank">{endif image_link}{image}{if image_link}</a>{endif image_link}

84
Mods & Plugins (Requests & Discussions) / Re: Image Links Mod Request
« on: August 30, 2005, 07:45:28 AM »
are you sure you've updated needed media templates? (jpg.html, gif.html, png.html, etc)

85
sorry, its not finished yet...
Is it finished yet?
I mean, it would be awsome to see published atleast what you've done already on your site...its looks and sounds very good!

Thanks.

86
Discussion & Troubleshooting / Re: How to Add Extra Pages
« on: August 29, 2005, 03:00:15 PM »
FAQ

87
Mods & Plugins (Requests & Discussions) / Re: Image Links Mod Request
« on: August 29, 2005, 05:39:27 AM »
I think its simple.
1) add a new field into 4images_images table ( VARCHAR(255) ) name it as image_link or whatever
2) in includes/db_field_definitions.php add:
Code: [Select]
$additional_image_fields['image_link'] = array("Image link", "text", 0);3) in media templates use {image_link} and condition: {if image_link} and {endif image_link}
i.e. jpg.html:
Code: [Select]
{if image_link}<a href="{image_link}" target="_blank">{endif image_link}<img src="{media_src}" border="1" alt="{image_name}"{width_height} />{if image_link}</a>{endif image_link}

88
huh? word Xyu (X.y.u) is not allowed? WTF????

89
Discussion & Troubleshooting / Re: Problem with Dreamboard
« on: August 29, 2005, 05:26:52 AM »
132 posts of yours and you still dont know this forum rules?
Dreamboard is not part of 4images itself, but a mod...starting a new topic with questions about a mod is just stu...
never mind...

90
probably only below
Code: [Select]
if ($action == "updatecat") { (second item)

Pages: 1 2 3 4 5 [6] 7 8