• How can I show all images of my 4images website at once 5 0 5 1
Currently:  

Author Topic: How can I show all images of my 4images website at once  (Read 67071 times)

0 Members and 1 Guest are viewing this topic.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
How can I show all images of my 4images website at once
« 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

« Last Edit: October 24, 2006, 04:03:39 PM by mawenzi »
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Lysander

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #1 on: August 08, 2006, 11:47:13 AM »
Hi,
I think its not workin on new version? Do you have new codes ?

Thanks

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How can I show all images of my 4images website at once
« Reply #2 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"
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #3 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
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Lysander

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #4 on: August 21, 2006, 12:53:55 PM »
thanks V@no

Offline steveeyes

  • Full Member
  • ***
  • Posts: 177
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #5 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

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #6 on: August 23, 2006, 10:59:34 PM »
... sorry ... my mistake ... I updated step 1.1 ... :wink:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline steveeyes

  • Full Member
  • ***
  • Posts: 177
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #7 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

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #8 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=***


« Last Edit: August 23, 2006, 11:50:23 PM by mawenzi »
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline steveeyes

  • Full Member
  • ***
  • Posts: 177
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #9 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


Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #10 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 ... ?
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How can I show all images of my 4images website at once
« Reply #11 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.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline steveeyes

  • Full Member
  • ***
  • Posts: 177
    • View Profile
Re: How can I show all images of my 4images website at once
« Reply #12 on: August 24, 2006, 12:51:25 AM »
Yes sir.....did step 4 also, but didn't help. Thanks for trying

Steve

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How can I show all images of my 4images website at once
« Reply #13 on: August 24, 2006, 06:53:16 AM »
Did you modifyed search.php? maybe thats the reason? Default v1.7.2 works just fine.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Darkness2001

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • photo-galerie-online
Re: How can I show all images of my 4images website at once
« Reply #14 on: October 24, 2006, 03:44:21 PM »
Hwello and thanks...

It works fine  :lol:

Greez Darkness  :mrgreen: