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 2 3 4 5 [6] 7 8 9 10 ... 34
76
Programming / category name and then the images in a list
« on: January 16, 2010, 09:52:21 PM »
Hello,

On my gallery I have 2 categrories:
category 1 (id=1)
category 2 (id=2)

In each category I have 5 images.

Now I want to have a list with all images on my gallery like this:

category 1
1 image_name
2 image_name
3 image_name
4 image_name
5 image_name
category 2
6 image_name
7 image_name
8 image_name
9 image_name
10 image_name


That means the name of category and then the images of this category and then the other category and then the images of the last category.

The basic code is:

$video_list .= "<tr><td valign=\"top\" class=\"sortable\">".$i++."- <a href=\"".$site_sess->url(ROOT_PATH."details.php?image_id=".$image_row['image_id'])."\">".$image_row['image_name']."</a></td>  
   
</td></tr>
   "
;                   
}      

  
$video_list .= "</table>\n";
  
$site_template->register_vars("video_list"$video_list); 
unset(
$video_list);


Thanks in advance,
Cruxy

77
Feedback & Suggestions / Re: 4images tableless
« on: January 16, 2010, 08:20:31 PM »
Very nice Andy :evil:

78
Programming / Getting information in 2 columns instead of 1(List)
« on: January 16, 2010, 07:10:23 PM »
Hello guys,

I have a simple question (Not for me anyway :oops:):

On my gallery I made a list of all my images (Without thumb). Something like:
1- image1
2- image2
3- image3
...
...
...


Till now I have no problem.

Now I want to have this in 2 columns instead of 1.

I am uisng this code:

Code: [Select]
$video_list .= "<tr><td valign=\"top\" class=\"sortable\">".$i++."- <a href=\"".$site_sess->url(ROOT_PATH."details.php?image_id=".$image_row['image_id'])."\">".$image_row['image_name']."</a></td> 
   
</td></tr>
   ";                   
}     
}
  $video_list .= "</table>\n";
 
$site_template->register_vars("video_list", $video_list);
unset($video_list);

Many thanks in advance,
Cruxy

79
Feedback & Suggestions / 4images tableless
« on: January 16, 2010, 06:51:06 PM »
Hello guys,

4images should come with a tabeless version. I am trying to change the HTML code of my galery and I have to say that I am enjoing myseld doing that. It is easier and faster. :wink:

Good luck 4images guys. I love your work.
Cruxy

80
Thanks Andy. It is done :D

81
You are wright, but I want it only for ACP.

I found another mod:

http://www.4homepages.de/forum/index.php?topic=16639.0, but it is very old. The last reaction was -+3 years ago.

Do you have any idea how to fix that. May be I forgot something.

Thanks in advance,

82
Hello guys,

I am trying to integrate TinyMCE into my gallery ACP version 1.7.7, but without progress.

I believe I did everything good. But when I click on add image, I do not see the TinyMCE.

In the admin_functions, I added:

Code: [Select]
<script type="text/javascript" src="{SCRIPT_URL}tiny_mce/tiny_mce_gzip.js"></script>
<script type="text/javascript">
tinyMCE_GZ.init({
plugins : 'inlinepopups,style,layer,table,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras',
themes : 'advanced',
languages : 'en',
disk_cache : true,
debug : false
});
</script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "inlinepopups,style,layer,table,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,|,visualchars,nonbreaking",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
});
</script>


Before:

Code: [Select]
<script type="text/javascript" language="javascript" src="<?php echo ROOT_PATH?>admin/browserSniffer.js"></script>
    <script type="text/javascript" language="javascript" src="<?php echo ROOT_PATH?>admin/calendar.js"></script>


Any help will be appreciated,
Cruxy

83
Thanks V@no. I will test it later.
Cheers man.

84
Mods & Plugins (Releases & Support) / Re: [Mod] User registry restriction
« on: January 09, 2010, 10:43:47 PM »
No problem Andy. I understand.
Bye bro.

85
Mods & Plugins (Releases & Support) / Re: [Mod] User registry restriction
« on: January 09, 2010, 10:02:20 PM »
Thanks Andy about your code improvement.

Have you think about my request of:


Quote
Let's add another option to the first option:

Option 1:
User limit is 1000
Massage: An registration is currently not possible, because....

Option 2:
A private gallery
Massage: To register you have to be a member of the football club "Barcelona". Please contact us for more information.


Do you have any idea how we can do that?

86
Hey php guys, I don't believe that my request is a mission impossible. Maybe you can give us a hint, tip or something to help me or someone else to code this.

Do not forget: Nothing is impossible. Just give it a try.

I appreciate your reactions,
Cruxy

87
Has anyone any idea, tip or hint to code that?

It will very usefull if you have for example a lightbox for fotos and another one only for videos.

Please use your fantasie and give us some reaction to this request.

Thanks in advance,
Cruxy

88
Thanks Andy. I like your work. Many 4images users will thank you.

See you bro,
Cruxy

89
Mods & Plugins (Releases & Support) / Re: [Mod] User registry restriction
« on: January 09, 2010, 04:49:31 PM »
Very good job Andy. I just installed it and it is working perfect. Many thanks from me.
It is very useful :wink:

I have an idea for this mod to make it more professional. I am sure you or someone else can code it:


Let's add another option to the first option:

Option 1:
User limit is 1000
Massage: An registration is currently not possible, because....

Option 2:
A private gallery
Massage: To register you have to be a member of the football club "Barcelona". Please contact us for more information.

I appreciate your time and support,
Cruxy


90
If v@no code something, then it must work :wink:
Respect for your knowledge.

Pages: 1 2 3 4 5 [6] 7 8 9 10 ... 34