Author Topic: link for categorie search?  (Read 3932 times)

0 Members and 1 Guest are viewing this topic.

Offline dosensteck

  • Full Member
  • ***
  • Posts: 160
    • View Profile
link for categorie search?
« on: December 13, 2005, 04:40:57 PM »
i need the link for search categories with all users...

in the search i use '*' for 'username' and a category - the result is all images in cat & sub categories with mode=search
i need that for my main cats

in the session_vars (mysql) is this
Code: [Select]
a:2:{s:8:"user_ids";s:581:"-1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 56, 34, 35, 36, 38, 37, 39, 57, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 50, 52, 53, 54, 55, 58, 60, 59, 61, 62, 63, 64, 66, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 83, 80, 81, 82, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 122, 125, 124, 126, 127, 128, 129, 130, 131, 132, 135, 133, 134, 137, 136, 138";s:10:"search_cat";i:8;}
 :?:

search_user=* dont work
search_cat=x dont work
user_ids=* dont work

:/

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: link for categorie search?
« Reply #1 on: December 13, 2005, 11:44:07 PM »
if you dont specify any users, it will search images from all users
* V@no didn't quiet understood the question...
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 dosensteck

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: link for categorie search?
« Reply #2 on: December 14, 2005, 11:20:48 AM »
i use this mod -> http://www.4homepages.de/forum/index.php?topic=10163.0
but the next and prev image is not working (with subcats)


when i search in a categorie and i use for username '*' all images in categorie + subcat images are show + the next and prev image is work correct.
i have static buttons in the header for the maincats, and i will link to the search like '/search.php?search_user=x' but for categories and all users

i hope you understand me, my english is bad  :oops:

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: link for categorie search?
« Reply #3 on: December 14, 2005, 03:02:27 PM »
Ok, first, I dont understand what prev/next images have anything to do here? (in fact if they dont work, then you did something wrong when modified code, probably in details.php)
Second, are you trying to search in a specific category INCLUDING it's subcategories? or just search in all categories? If later, then it should work without problem by default, unless you modifyed search.php file and now it doesnt.
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 dosensteck

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: link for categorie search?
« Reply #4 on: December 14, 2005, 03:22:55 PM »
i installed the mod that shows images from subcategories in maincat. when i click in maincat on a thumb i jump in details page  to the maincat and the next and prev image link ignore all subcatimages (i ask the question about the next and prev image in the thread from the mod - no answer. )

but, when i use search with '*' for username and a categorie, all sub images are show and the next and prev image works with subcatimages (in mode=search)

i will link the search with username '*' and an id from a categorie in static links

i see in the sessionvars search_user=*&search_cat=x, but this does not work

btw. THX for your patience, i cannot describe it so good in english :(