4images Forum & Community
4images Help / Hilfe => FAQ, Tips => Topic started 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 :
"url_new_images" => $site_sess->url(ROOT_PATH."search.php?search_new_images=1"),
and add after :
"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 :
"lang_new_images" => $lang['new_images'],
and add after :
"lang_all_images" => $lang['all_images'],
2. Find in /lang/<your_lang>/main.php :
$lang['new_images'] = "New Images";
and add after :
$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 ) ...
» <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)
-
Hi,
I think its not workin on new version? Do you have new codes ?
Thanks
-
Right.
In includes/search_utils.php find: "#[\*\n\t\r^\$\(\)<>\"\|,@\?%~\+\.\[\]{}:\/=!§\\\\]+#s"
Replace with: "#[\n\t\r^\$\(\)<>\"\|,@\?%~\+\.\[\]{}:\/=!§\\\\]+#s"
-
... 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
-
thanks V@no
-
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: » <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
-
... sorry ... my mistake ... I updated step 1.1 ... :wink:
-
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
-
... 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=***
-
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
-
... I see ... search only with asterisks doesn't work on your website ... did you try step 4.0 ... ?
-
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.
-
Yes sir.....did step 4 also, but didn't help. Thanks for trying
Steve
-
Did you modifyed search.php? maybe thats the reason? Default v1.7.2 works just fine.
-
Hwello and thanks...
It works fine :lol:
Greez Darkness :mrgreen:
-
home.html
search {lang_site_stats}
replace with
<a href="{url_all_images}">{lang_site_stats}</a>
site_stats 's clik all images..