4images Forum & Community

4images Help / Hilfe => FAQ, Tips => Topic started by: mawenzi on August 07, 2006, 03:52:28 PM

Title: How can I show all images of my 4images website at once
Post by: mawenzi on August 07, 2006, 03:52:28 PM
If you would like to show all images of your 4images website from a link in your menu you will need :


1. Find in /includes/page_header.php :
Code: [Select]
"url_new_images" => $site_sess->url(ROOT_PATH."search.php?search_new_images=1"),
and add after :
Code: [Select]
"url_all_images" => $site_sess->url(ROOT_PATH."search.php?search_keywords=".str_pad("*", MIN_SEARCH_KEYWORD_LENGTH, "*")),


1.1 Find in /includes/page_header.php :
Code: [Select]
"lang_new_images" => $lang['new_images'],
and add after :
Code: [Select]
"lang_all_images" => $lang['all_images'],


2. Find in /lang/<your_lang>/main.php :
Code: [Select]
$lang['new_images'] = "New Images";
and add after :
Code: [Select]
$lang['all_images'] = "All Images";
( of course in your language ... :wink: )


3. In /templates/<your_template>/user_loginform.html and user_logininfo.html you can add the following as link to show all of your images ( of course you can use it also in other templates ) ...
Code: [Select]
&nbsp;&raquo; <a href="{url_all_images}">{lang_all_images}</a>

4. Only for 4images version 1.7.3 :
for this version you need still this change ...
http://www.4homepages.de/forum/index.php?topic=13990.msg75500#msg75500
It is fixed in version 1.7.4 !

this tip is related to : show all pics (http://www.4homepages.de/forum/index.php?topic=13984.msg75400#msg75400)

Title: Re: How can I show all images of my 4images website at once
Post by: Lysander on August 08, 2006, 11:47:13 AM
Hi,
I think its not workin on new version? Do you have new codes ?

Thanks
Title: Re: How can I show all images of my 4images website at once
Post by: V@no on August 08, 2006, 02:44:26 PM
Right.
In includes/search_utils.php find:
Code: [Select]
    "#[\*\n\t\r^\$\(\)<>\"\|,@\?%~\+\.\[\]{}:\/=!\\\\]+#s"
Replace with:
Code: [Select]
    "#[\n\t\r^\$\(\)<>\"\|,@\?%~\+\.\[\]{}:\/=!\\\\]+#s"
Title: Re: How can I show all images of my 4images website at once
Post by: mawenzi on August 18, 2006, 10:04:45 AM
... another way to show all images ... but on index with paging ... you can find here ...
-> http://www.4homepages.de/forum/index.php?topic=14195.0
Title: Re: How can I show all images of my 4images website at once
Post by: Lysander on August 21, 2006, 12:53:55 PM
thanks V@no
Title: Re: How can I show all images of my 4images website at once
Post by: steveeyes on August 23, 2006, 10:39:09 PM
hmmmmmmmmm....looks like a simple mod but can't seem to get the link (I'm using 4images 1.7.2).

1. Made the changes per mod instructions.

2. Added this link:  &nbsp;&raquo; <a href="{url_all_images}">{lang_all_images}</a> to log in templates per instructions.

3. However, alll that shows up on the templates is that little arrow:

4. I thought, maybe I need to clear out 4images cache, so I did that. Didn't help.

5. Doubled checked main.php to be sure the code was there: $lang['all_images'] = "All Images";  --   It was


Any ideas why I can't see the link or get the link to display?

Thanks in advance for any help

Steve
Title: Re: How can I show all images of my 4images website at once
Post by: mawenzi on August 23, 2006, 10:59:34 PM
... sorry ... my mistake ... I updated step 1.1 ... :wink:
Title: Re: How can I show all images of my 4images website at once
Post by: steveeyes on August 23, 2006, 11:16:23 PM
Thanks.......I see the link now, but nothing happens. I click the link, page refreshes and I see no change. Maybe I don't understand what it is suppose to do. I thought I was going to see all the images in my gallery after I clicked the link?

Hmmmmm, either I do  not understand it's function or there is  something wrong still.

Sorry, I guess I don't get it.

thanks

steve
Title: Re: How can I show all images of my 4images website at once
Post by: mawenzi on August 23, 2006, 11:26:33 PM
... the result is the same as put 3 stars / asterisks like "***" in your search field and push the button ... go / search ...
... 3 stars / asterisks -> your min search keyword length ...
... it will show all your images sorted by date as search result ...
[edit]
... test / try this ...
http://example.com/4images/search.php?search_keywords=***


Title: Re: How can I show all images of my 4images website at once
Post by: steveeyes on August 23, 2006, 11:31:51 PM
Thanks.......but it doesn't do it........I just get a page refresh. For example. I click the link, the page refreshes and all that shows is the same pictures I have on my home page.

Here is a link to my home page:

http://www.filipinaeyes.com/online-dating-gallery

You can click the link under the login if you like. Nothing happens after you click the link.

thanks

Title: Re: How can I show all images of my 4images website at once
Post by: mawenzi on August 23, 2006, 11:43:13 PM
... I see ... search only with asterisks doesn't work on your website ... did you try step 4.0 ... ?
Title: Re: How can I show all images of my 4images website at once
Post by: V@no on August 24, 2006, 12:49:16 AM
There is more to it for v1.7.3 It has a bug that removes all * signs from the keywords, so it wont work without the fix I posted above.
Title: Re: How can I show all images of my 4images website at once
Post by: steveeyes on August 24, 2006, 12:51:25 AM
Yes sir.....did step 4 also, but didn't help. Thanks for trying

Steve
Title: Re: How can I show all images of my 4images website at once
Post by: V@no on August 24, 2006, 06:53:16 AM
Did you modifyed search.php? maybe thats the reason? Default v1.7.2 works just fine.
Title: Re: How can I show all images of my 4images website at once
Post by: Darkness2001 on October 24, 2006, 03:44:21 PM
Hwello and thanks...

It works fine  :lol:

Greez Darkness  :mrgreen:
Title: Re: How can I show all images of my 4images website at once
Post by: AKIN on October 11, 2008, 04:44:49 PM
home.html

search
Quote
{lang_site_stats}

replace with
Code: [Select]
<a href="{url_all_images}">{lang_site_stats}</a>
site_stats 's clik all images..