Welcome, Guest. Please Login or Register.
June 16, 2024, 03:31:28 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] SearchNew Mod v.09 « previous next »
Pages: 1 ... 3 4 [5] 6 7 ... 9 Reply Ignore Print
Author Topic: [Done 1.5.2] SearchNew Mod v.09  (Read 24575 times)
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #60 on: July 31, 2002, 07:14:35 PM »
Reply with quote

I have done some testing on my forum with searchnew and found no problems, thanks Forge for 1 of my most used mods.  :)
Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #61 on: August 15, 2002, 04:25:37 AM »
Reply with quote

I have reinstalled this mod after going from 1.4.0 to 1.4.1. and it works ok.
Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:[Done 1.4.0] SearchNew Mod v.07
« Reply #62 on: August 20, 2002, 11:54:13 AM »
Reply with quote

Is it possible to make the mod strip off all the tags from the start of the posts?
Logged
Forge
Noobie
*
Posts: 23


WWW
Re:[Done 1.4.0] SearchNew Mod v.07
« Reply #63 on: August 22, 2002, 02:14:43 PM »
Reply with quote

Which tags are you talking about?  The name, icon and date?

Quote from: Hypocrite on August 20, 2002, 11:54:13 AMIs it possible to make the mod strip off all the tags from the start of the posts?
Logged
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:[Done 1.4.0] SearchNew Mod v.07
« Reply #64 on: August 22, 2002, 04:09:04 PM »
Reply with quote

Quote from: Forge on August 22, 2002, 02:14:43 PMWhich tags are you talking about?  The name, icon and date?

Quote from: Hypocrite on August 20, 2002, 11:54:13 AMIs it possible to make the mod strip off all the tags from the start of the posts?

I mean when a user uses tags like [ b][/ b] to format their message. It would be more useful if the start of the topic in the search new messages wouldn't show them and take space of the start.
Logged
Forge
Noobie
*
Posts: 23


WWW
Re:[Done 1.4.0] SearchNew Mod v.07
« Reply #65 on: September 03, 2002, 07:55:34 PM »
Reply with quote

Yeah, you can do it by editing SearchNew.php.  Look for the line that says:

$shortbody=eregi_replace("([<][a-zA-Z].*[>])+"," ",$shortbody);
That line removes all the HTML codes "<*/>" from the text using regular expressions.  Yours might have a "*" instead of a ".*" since I just added that recently to fix some unusual HTML <br> codes recently introduced in 1.4.1.

In any case, you would just add your own line underneath this one to further remove the brackets.

FYI, the reason I didn't do this is because it gets screwy because of quote codes.  For example if the first line is John quoting Mark, the output makes it look like John is saying what mark said.  In any case, you'll understand when you try it yourself.


***Edit***
Actually you'll want this line to say:
$shortbody=eregi_replace("([<][ ]*[a-zA-z]+[ ]*[/][ ]*[>])+"," ",$shortbody)This is included in the latest version.
« Last Edit: October 02, 2002, 06:01:02 PM by Forge » Logged
@Sava-
Noobie
*
Posts: 24


I'm NOT a llama!

Re:[Done 1.4.0] SearchNew Mod v.07
« Reply #66 on: September 10, 2002, 03:41:51 PM »
Reply with quote

 heh so what's the error when I have my index.php, and all files in /Sources , english.lng CHMOD to 666, and still get

 fopen ( index.php /w ) in line 350      ...


 what errors is it ?

and also :

 String not found, there's probably an error in your mod.
Done.

Modification would have completed if this weren't a test, so if there were no errors, the mod could be applied, hit the back button in your browser.
[ Apply Mod ]
[ Back ]
 
Logged
Forge
Noobie
*
Posts: 23


WWW
Re:[Done 1.4.0] SearchNew Mod v.07
« Reply #67 on: October 02, 2002, 01:45:21 PM »
Reply with quote

You've probably already done this, but in any case.  Most likely this is because you've installed another mod that has already changed stuff.  The install works on a base install of YABB.

In any case, my mod is very simple....you could put in the edits manually in about 5 minutes.  Just look at the test apply mod page and make those changes manually.
Logged
Forge
Noobie
*
Posts: 23


WWW
Re:[Done 1.4.0] SearchNew Mod v.08
« Reply #68 on: October 02, 2002, 04:21:41 PM »
Reply with quote

New Version Available

I've updated the Search New function.  It now accounts for the strange HTML that YABBSE produces (for some strange reason BR tags are <BR /> in 1.4.1 instead of <BR>).

I also added a new admin cleanup feature which you can run manually:

yourboardlocation/index.php?action=searchnew_cleanup

You will probably want to run this command a couple times a year depending on how much traffic your board gets. Basically this command will "prune" the log_topics table.  Normally this table will becomebecome filled with one record for each member for each topic they read.  Over time that can become a lot of rows in this table and really slow down your searches (I just ran it on my board and went from 50,000 rows to 4000 rows).  As far as the users are concerned, this command will mark all topics over 30 days old as read.   It doesn't affect any records within the last 30 days.

As usual if you have any questions or problems, please post them here.
Logged
Daniel D.
Mod Team
YaBB God
*****
Posts: 2935


Re:[Done 1.4.0] SearchNew Mod v.08
« Reply #69 on: October 02, 2002, 04:25:54 PM »
Reply with quote

Quote from: Forge on October 02, 2002, 04:21:41 PM[...]As far as the users are concerned, this command will mark all topics over 30 days old as read.   It doesn't affect any records within the last 30 days.[...]
Jep, the best feature of this mod ;). Very good, thx.
Logged

EzPC
Noobie
*
Posts: 24


Hi from the UK!

WWW
Re:[Done 1.4.1] SearchNew Mod v.08
« Reply #70 on: October 02, 2002, 06:12:17 PM »
Reply with quote

An excellent mod.  Just what I was looking for - an excellent tool for moderators, too.

Thanks so much  :)

Logged

Daniel D.
Mod Team
YaBB God
*****
Posts: 2935


Re:[Done 1.4.1] SearchNew Mod v.08
« Reply #71 on: October 12, 2002, 02:01:07 PM »
Reply with quote

Can you make a zip file with BoardMod version ?!? Link don't work !
Logged

Daniel D.
Mod Team
YaBB God
*****
Posts: 2935


Re:[Done 1.4.1] SearchNew Mod v.08
« Reply #72 on: October 24, 2002, 07:33:41 AM »
Reply with quote

Can someone give me the 0.8 version ?
Logged

SASH
Noobie
*
Posts: 26


Guess what, ...

HELP Forge...
« Reply #73 on: November 02, 2002, 09:11:59 PM »
Reply with quote

OK, I used my PacMan to install v 0.8 since I'm using 1.4.1.

Installation was very smooth (this is the first Mod I install, and the only one so far!). True I encountered some minor problems upon running the Mod, but this had nothing to do with the Mod. It was related to how I set up my board.

Anyway, it's perfect since then (two weeks ago).

As for YaBBC tags, I checked the SearchNew.php file and found the code line to strip off tags exactly as you pointed out. Nevertheless, YaBBC tags are still display in message caption!

Yesterday, I logged in to my forum to discover that the SearchNew icon has disappeared from the menu! Refreshed, cleaned my browser cache; no use. Tried today from work; same thing... Tried using code to utilise the search and it worked fine! It is only the icon that disappeared, not the function!...

What could be wrong Forge?

Would you please take a look?

My board is at: http://emedsol.com/ee/forums/29/index.php

You may use test:test to gain access.

Thank you.
Logged

Saed Hamdan
"Man may be destroyed, but not defeated" -Hemmingway
CONFIQ
Noobie
*
Posts: 15


WhAt? :S

ICQ - 82327428igor_konforti@hotmail.com
Re:[Done 1.4.1] SearchNew Mod v.08
« Reply #74 on: December 13, 2002, 11:22:12 PM »
Reply with quote

This mod i've looking for hours :)

Good job Forge :P
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 9 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] SearchNew Mod v.09 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.224 seconds with 20 queries.