Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods
Author Message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Tue Apr 03, 2007 2:43 pm Reply with quote

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 Sad
 
View user's profile Send private message Visit poster's website
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Wed Apr 11, 2007 3:56 am Reply with quote

<bump>
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu Apr 12, 2007 9:18 pm Reply with 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.
 
View user's profile Send private message Send e-mail
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Apr 13, 2007 7:37 am Reply with quote

I have found that the RSS feed lets you keep track of recent posts pretty well.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
spasticdonkey







PostPosted: Mon Apr 16, 2007 1:03 pm Reply with quote

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 Smile

Many thanks in advance
 
Gremmie







PostPosted: Mon Apr 16, 2007 2:07 pm Reply with quote

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







PostPosted: Mon Apr 16, 2007 8:31 pm Reply with quote

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







PostPosted: Tue Apr 17, 2007 1:54 am Reply with quote

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 Embarassed

Well I'm not going to tell you how long i played with this Embarassed ...
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 Smile
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Apr 17, 2007 6:35 am Reply with quote

Have you tried googling for such a hack or have you checked here for one?

http://www.phpbbhacks.com

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.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
montego







PostPosted: Tue Apr 17, 2007 6:37 am Reply with 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.)
 
Gremmie







PostPosted: Tue Apr 17, 2007 6:56 am Reply with quote

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







PostPosted: Tue Apr 17, 2007 10:00 am Reply with quote

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?
http://www.phpbbhacks.com

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 Smile Question
 
montego







PostPosted: Wed Apr 18, 2007 6:31 am Reply with quote

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. Sad 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







PostPosted: Mon Apr 23, 2007 10:23 am Reply with quote

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 Sad

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







PostPosted: Mon Apr 23, 2007 10:55 am Reply with quote

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.
 
kenno
Worker
Worker



Joined: Jul 26, 2009
Posts: 117
Location: Scunthorpe, UK

PostPosted: Wed Jan 05, 2011 4:01 pm Reply with quote

@ spasticdonkey

I know this is a very old post, but did you ever accomplish this at all and get it working within ravennuke, I am looking for something like this as I run a forum which is very large and it is very hard to keep track of all posts made

Thanks Kenno
 
View user's profile Send private message
spasticdonkey







PostPosted: Wed Jan 05, 2011 4:16 pm Reply with quote

ah brings back memories, lol. no I never found a solution to achieve exactly what i was looking for. It was really only an issue since alot of my forums were private.. If that's not the case for you I would look at using feeds and using a feed reader, feed widget, or the 100's of other things you can do with feeds..
 
PHrEEkie
Subject Matter Expert



Joined: Feb 23, 2004
Posts: 358

PostPosted: Wed Jan 05, 2011 8:12 pm Reply with quote

On the RN Forums here, there is a link on the top right hand side, when just the main forum is loaded, that shows you all posts since LAST VISIT... are you saying you want such a link for the last 5 days worth of posts? That just sounds incredibly easy.. if the database is super huge, I'd cache the results once or twice a day to stop MySQL from getting hammered.

- Keith

_________________
PHP - Breaking your legacy scripts one build at a time. 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©