[ABD] Search User [img] and [attachment] Posts v.0.0.2

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.1

Post by 4_seven »

if other members agree maybe, but it seems to go into a private-work direction now.
I removed also "Return to advanced search" and "Search found x matches" on top of the page and added back time stamp under photo
this is a good idea and i update "your" package soon with that ;)

-------------------------------

by the way: if u want to remove the unneeded • ( • ) Image u have to

find (2 times)

Code: Select all

{SEARCH_MATCHES}<!-- IF PAGINATION --> &bull; <a
replace with (2 times)

Code: Select all

<!-- IF not (S_SHOW_IMG_S or S_SHOW_ATT_S) -->{SEARCH_MATCHES}<!-- IF PAGINATION --> &bull; <!-- ENDIF --><!-- ENDIF --><!-- IF PAGINATION --><a
dkdkdkdk
Registered User
Posts: 81
Joined: Tue Jun 30, 2009 7:22 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.1

Post by dkdkdkdk »

4_seven wrote:if other members agree maybe, but it seems to go into a private-work direction now.
Yeah, it´s pitty that nobody said at least "I tried this MOD, looks good" or "Thanks, will try". Maybe later ;) Last 3 pages looks that way like Iam bothering you with my requests and nothing more :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.1

Post by 4_seven »

Main-Mod v.0.0.2 [DEV] News

- display of non-inlined attachments realized (see main demo)

http://4seven.kilu.de/phpbb3/memberlist ... rofile&u=2
- click on "Total attachment posts: 19 | Search user's attachments"
- in the first result are two non-inlined attachments
- user: utest / pw: testtest
Last edited by 4_seven on Sun Aug 22, 2010 4:17 pm, edited 2 times in total.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.1

Post by 4_seven »

dkdkdkdk-Version 0.0.2 released
http://4seven.kilu.de/forum/phpbb3/view ... f=22#p1770

to update check all edits again

- fixing error on egosearch in search.php
- optical cosmetic named here:
http://www.phpbb.com/community/viewtopi ... #p12847517
http://www.phpbb.com/community/viewtopi ... #p12847553
dkdkdkdk
Registered User
Posts: 81
Joined: Tue Jun 30, 2009 7:22 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.1

Post by dkdkdkdk »

I installed again both v.0.0.1 and "dkdkdkdk" v.0.0.2 . Everything´s working fine, only in edit

includes/search/fulltext_native.php

Code: Select all

		if ($this->obtain_ids($search_key, $total_results, $id_ary, $start, $per_page, $sort_dir) == SEARCH_RESULT_IN_CACHE)
		{
			return $total_results;
		}

		$id_ary = array();

		// Create some display specific sql strings
		if ($author_name)
		{

Code: Select all

		// Search User [img] and [attachment] Posts / 4seven / 2010
		//if ($this->obtain_ids($search_key, $total_results, $id_ary, $start, $per_page, $sort_dir) == SEARCH_RESULT_IN_CACHE)
		//{
		//	return $total_results;
		//}	
		// Search User [img] and [attachment] Posts / 4seven / 2010

		$id_ary = array();

		// Create some display specific sql strings
		if ($author_name)
is missing the last bracket after "if ($author_name"
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.1

Post by 4_seven »

yes, the bracket is not needed in find. thx for reporting this boob.

fixed
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.2

Post by 4_seven »

Main Mod v.0.0.2 released..

..see first post for further details
New in v.0.0.2

- show also non-inlined attachments
- show also a view in memberlist *

* Screen
http://www.loaditup.de/files/527492.jpg

* Demo
http://4seven.kilu.de/phpbb3/memberlist.php
Update Instruction

- Check all Edits again..
dkdkdkdk
Registered User
Posts: 81
Joined: Tue Jun 30, 2009 7:22 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.2

Post by dkdkdkdk »

Is there a way to divide the search_results body into 2 columns? ...so when now there are 15 posts, after that there will be 30 of them?
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.2

Post by 4_seven »

how much results are on one page, u can adjust in acp.
inikad
Registered User
Posts: 110
Joined: Mon Dec 15, 2008 1:44 pm

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.2

Post by inikad »

A great mod, as usual with yours. ;)

Is it possible to add a link in profil's member, under location in view topic body?

For example, Total image posts: ("number of image posts" + active link to watch them, like in members list)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.2

Post by 4_seven »

this will require a redesign of the mod,
which home is normally memberlist.php and not viewtopic.php.

if i have many time in the future, i see what i can do.
Current Mods | Mod Base | php(BB) programming | No help via PM
inikad
Registered User
Posts: 110
Joined: Mon Dec 15, 2008 1:44 pm

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.2

Post by inikad »

Oki. :)

I thought that we was able to take the same link as in memberlist and to paste it in viewtopic body without big changes in code.
dkdkdkdk
Registered User
Posts: 81
Joined: Tue Jun 30, 2009 7:22 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.2

Post by dkdkdkdk »

inikad wrote:...Is it possible to add a link in profil's member, under location in view topic body?

For example, Total image posts: ("number of image posts" + active link to watch them, like in members list)
+1 with inikad. "Total image posts:" or an icon instead + 1 active link for both atts and imgs would be great and it will solve the request which we talked through PM´s ;)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.2

Post by 4_seven »

next on 2 do list..
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
Dangerell
Registered User
Posts: 89
Joined: Mon Oct 13, 2008 7:05 am
Location: Romania
Name: Cristi
Contact:

Re: [DEV] Search User [img] and [attachment] Posts v.0.0.2

Post by Dangerell »

Hi 4seven,

First of all this is a great mod, i like your others mods too. Last x attachments, First forum attachments.. i want to ask you .. if you have time.. maybe you can make a mod that give the option in advance search to search by topic icons.

If you did this "search user img and attachments" mod i bet it won't be to difficult for you to do a search mod for topic icons. Many people will find it very handy. Like i said, only if you want and have time.

Thank you.
Wish you the best.
Locked

Return to “[3.0.x] Abandoned MODs”

cron