| Author |
Message |
spasticdonkey Client

Joined: Dec 02, 2006 Posts: 120 Location: Texas, USA
|
Posted:
Tue Apr 03, 2007 2:43 pm |
|
I have found the need for a phpbb mod that will allow you to view posts the last
1 | 2 | 3 | 4 | 5
days
Found a phpbb mod that looks compatible with BBtoNuke (even included the egosearch which for some reason was missing from my fisubice index_body.~tpl ), got it setup, but my RavenNuke 2.1 isnt liking the search string, and wondered if there was an alteration I could do to make it work. Here is the URL presented when searching for the last 5 days:
| Code: | | http://www.mysite.com/search.php?search_author=*&sort_by=0&sort_dir=DESC&search_time=5 |
Any help would be greatly appreciated. At times our boards are so active the view posts since last visit isnt cutting it, because if you let your session end for one reason or another, it becomes really hard to find the recent posts  |
|
|
|
 |
jakec Moderator

Joined: Feb 06, 2006 Posts: 1840 Location: United Kingdom
|
Posted:
Wed Apr 11, 2007 3:56 am |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 4821
|
Posted:
Thu Apr 12, 2007 9:18 pm |
|
The file search.php is not in the root nuke directory so that will never work - probably would for the phpBB forum but not for nuke. |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Fri Apr 13, 2007 7:37 am |
|
I have found that the RSS feed lets you keep track of recent posts pretty well. |
|
|
|
 |
spasticdonkey Client

Joined: Dec 02, 2006 Posts: 120 Location: Texas, USA
|
Posted:
Mon Apr 16, 2007 1:03 pm |
|
| Guardian2003 wrote: | | The file search.php is not in the root nuke directory so that will never work - probably would for the phpBB forum but not for nuke. |
I'm sorry, I forgot to mention im using shortlinks with latest RN
| Gremmie wrote: | | I have found that the RSS feed lets you keep track of recent posts pretty well. |
yes those are GREAT, but only for public forums... We have many private ones.
Don't suppose anyone might know a working forums search string to find posts the "last 5 days"??? I'll make another donation to the site if you can answer this one
Many thanks in advance |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Mon Apr 16, 2007 2:07 pm |
|
At the bottom of every sub-forum is the text: "Display topics from previous:" and a drop-down box. It defaults to "All Topics" but it also has choices like 1 Day, 7 Days, 2 Weeks, etc. |
|
|
|
 |
spasticdonkey Client

Joined: Dec 02, 2006 Posts: 120 Location: Texas, USA
|
Posted:
Mon Apr 16, 2007 8:31 pm |
|
thats also a good suggestion, but I have 62 sub-forums... more than half of them private so rss no help on those. still would be a lengthy search that way. Unless you are suggesting I can figure out the search string by looking at those. |
|
|
|
 |
spasticdonkey Client

Joined: Dec 02, 2006 Posts: 120 Location: Texas, USA
|
Posted:
Tue Apr 17, 2007 1:54 am |
|
| Quote: | | The file search.php is not in the root nuke directory so that will never work - probably would for the phpBB forum but not for nuke. |
you are right and that was a huge oversight on my part, probably why this topic didnt get replies for awhile
Well I'm not going to tell you how long i played with this ...
Reread this forum a few times... I love shortlinks but it made the experimentation process a little challenging...However, I think I may be close. The only element it doesnt seem to like is the *
| Code: | | http://www.mysite.com/modules.php?name=Forums&file=search&search_author=*&search_time=5 |
if i substitute an actual username it does the search quite nicely. But for that users' posts only.... any way to search all users there??
Hopefully this is like horseshoes and me getting close counts for something  |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7457 Location: Arizona
|
Posted:
Tue Apr 17, 2007 6:35 am |
|
Have you tried googling for such a hack or have you checked here for one?
I don't think "search" is what you are really wanting. This just sounds to me like it has to be a hack of some kind. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7457 Location: Arizona
|
Posted:
Tue Apr 17, 2007 6:37 am |
|
Had you tried it with ShortLinks turned off? Does your original hack work with it off? (Sorry, just re-read the thread and see that you had already found a hack.) |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Tue Apr 17, 2007 6:56 am |
|
I would probably take one of the many recent forum posts blocks and modify it to display only posts from the private forums (in other words, invert it from what they normally do). And then make the block visible to admins or a special NSN group only. |
|
|
|
 |
spasticdonkey Client

Joined: Dec 02, 2006 Posts: 120 Location: Texas, USA
|
Posted:
Tue Apr 17, 2007 10:00 am |
|
| Gremmie wrote: | | I would probably take one of the many recent forum posts blocks and modify it to display only posts from the private forums (in other words, invert it from what they normally do). And then make the block visible to admins or a special NSN group only. |
That is a possibility, however I went as little bananas with the NSN groups. Have 30+ groups, many with unique permissions. That would be alot of custom block work. Some users are in multiple groups so if i did a block for each group they would see alot of similar blocks.
| Quote: | | Had you tried it with ShortLinks turned off? Does your original hack work with it off? (Sorry, just re-read the thread and see that you had already found a hack.) |
Yes, I tried on a site running the previous RN distro, and it does the same... "No topics or posts met your search criteria" - but substitute a username for the * and it works.
| Quote: | | Have you tried googling for such a hack or have you checked here for one?
|
I did a fair amount of searching, but was unaware of that site so I'll take a look. I've tried to stay away from modding my boards too much, and this hack i was trying, while old, had only a 2x very simple core edits. I will look at that site, but I still havent given up on getting this to work.
I guess it's possible that the search_author=* is a command that was present in older versions of phpbb, that has been removed for security reasons? Is it really not possible to search all users there? Even if the link is crude and really long  |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7457 Location: Arizona
|
Posted:
Wed Apr 18, 2007 6:31 am |
|
| Quote: |
I guess it's possible that the search_author=* is a command that was present in older versions of phpbb, that has been removed for security reasons? Is it really not possible to search all users there?
|
Unfortunately, when it comes to the inner workings of phpBB, I'm not your guy. I would have to dig through the code to figure it out, and I just do not have that kind of time right now. |
|
|
|
 |
spasticdonkey Client

Joined: Dec 02, 2006 Posts: 120 Location: Texas, USA
|
Posted:
Mon Apr 23, 2007 10:23 am |
|
Well just an update on something I learned, think I will have to chalk this one up to experience. The random search requires at least 3 characters in it
| Code: | | http://www.mysite.com/modules.php?name=Forums&file=search&search_author=*bill*&search_time=5 |
would return all users with "bill" somewhere in their name. however
| Code: | | http://www.mysite.com/modules.php?name=Forums&file=search&search_author=*&search_time=5 |
has less than 3 characters in it so it will never work
As I logged on to my site this morning to find 100 active topics, it once again underscored the need for a mod like this... I didnt have time to go thru that many topics, and now many threads are lost, burried amongst many subforums and other posts. If anyone has seen a mod that will accomplish something similar it would be great if you could pass on the info. Have done a fair amount of searching with no luck to date.... |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Mon Apr 23, 2007 10:55 am |
|
We've given you a couple of good ideas, but unfortunately your requirements seem to have trumped them (you have 100's of sub-forums and 100's of NSN groups). You've sort of made it hard on yourself to manage all the info you have created. Is there a way to scale that back? Do you really need that many groups and forums?
I would probably take the forumsbackend.php script or one of the many "latest posts blocks" and modify it to harvest from all forums (not just public ones). And then make it viewable to myself (or a NSN group) only. |
|
|
|
 |
|
|
|
|