|
#43845
01/10/2002 6:20 PM
|
Joined: Apr 2001
Posts: 117
Member
|
Member
Joined: Apr 2001
Posts: 117 |
I guess this isnt exactly a hack per se...but i need one, because my forumindex are just too big i think, and my forum engines just wont work. I've tried limiting the words, gone from 210 to 150 threads......but i need a hack for it. anyone managed to find an external search engine maybe? Help!
|
|
|
#43846
01/10/2002 6:50 PM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Try rebuilding your Search index and see if that helps at all.
|
|
|
#43847
01/10/2002 6:53 PM
|
Joined: Apr 2001
Posts: 117
Member
|
Member
Joined: Apr 2001
Posts: 117 |
Nah, im afraid that wont help at all......
|
|
|
#43848
01/11/2002 2:56 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Well I wouldn't have a clue then, sorry.
|
|
|
#43849
01/11/2002 8:41 AM
|
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
|
deutscher moderator / v5 specialist
Joined: Dec 2000
Posts: 730 |
i think you mean this: [code][/code] this mod is only for the search in one forum. it read only 250 lines per cycle. i have no demo online. on my local system (unhacked 5.47a) i have no problems with this mod. [edit]code modified... ( if (!$searchDone) {) [ 01-11-2002 08:03 AM: Message edited by: joking-down ][edit]code modified... ( while ()) [ 01-11-2002 04:33 PM: Message edited by: joking-down ]
|
|
|
#43850
01/11/2002 10:09 AM
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
Hi joking-down wat does this hack do? i have search disabled coz it is the most cpu hoggingscript I have come across lately. Does this make it less cpu intensive ?
|
|
|
#43851
01/11/2002 10:36 AM
|
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
|
deutscher moderator / v5 specialist
Joined: Dec 2000
Posts: 730 |
this mod read in one cycle only 250 lines and process them. 1. cycle: line 0 - 249 2. cycle: line 250 - 499 3. cycle: line 500 - 749 ... i think the load is not so high because you have not all entries of the forum. you can also search in forums with an indexfile > 3 MB. i have only a Win32 System local. I have no load-limit like Unix
|
|
|
#43852
01/11/2002 1:23 PM
|
Joined: Apr 2001
Posts: 117
Member
|
Member
Joined: Apr 2001
Posts: 117 |
Hi joking-down, I will cerainly have a go..........
|
|
|
#43853
01/11/2002 1:29 PM
|
Joined: Apr 2001
Posts: 117
Member
|
Member
Joined: Apr 2001
Posts: 117 |
Although i take it the smiley in your code is a mistake, I will leave the ")" out........
|
|
|
#43854
01/11/2002 5:36 PM
|
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
|
deutscher moderator / v5 specialist
Joined: Dec 2000
Posts: 730 |
the correct code of this line is: [code][/code]
|
|
|
#43855
01/11/2002 6:01 PM
|
Joined: Apr 2001
Posts: 117
Member
|
Member
Joined: Apr 2001
Posts: 117 |
Yes it works...but theres a problem. It nevers stops counting, it wont finish at 200....goes on, and on. Any chance that could be done? http://tropicalfish.site5.com/cgi-bin/search.cgi?action=intro Well done though joking down, at least its not a blanl page
|
|
|
#43856
01/12/2002 8:20 AM
|
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
|
deutscher moderator / v5 specialist
Joined: Dec 2000
Posts: 730 |
replace the following code:
|
|
|
#43857
01/12/2002 1:43 PM
|
Joined: Apr 2001
Posts: 117
Member
|
Member
Joined: Apr 2001
Posts: 117 |
Wow! Your the man joking-down, it works! I think this is definitely worth putting in the database on its own right
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|