PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
spasticdonkey
Client


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

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

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
jakec
Moderator


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

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

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


Joined: Aug 28, 2003
Posts: 4821

PostPosted: Thu Apr 12, 2007 9:18 pm Reply with quote Back to top

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 Visit poster's website
Gremmie
Former Moderator in Good Standing


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

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

I have found that the RSS feed lets you keep track of recent posts pretty well.
View user's profile Send private message
spasticdonkey
Client


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

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

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
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

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

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.
View user's profile Send private message
spasticdonkey
Client


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

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

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.
View user's profile Send private message
spasticdonkey
Client


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

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

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
View user's profile Send private message
montego
Site Admin


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

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

Have you tried googling for such a hack or have you checked here for one?
Only registered users can see links on this board!
Get registered or login to the forums!


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


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

PostPosted: Tue Apr 17, 2007 6:37 am Reply with quote Back to top

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.)
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing


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

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

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.
View user's profile Send private message
spasticdonkey
Client


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

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

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?
Only registered users can see links on this board!
Get registered or login to the forums!

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
View user's profile Send private message
montego
Site Admin


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

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

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.
View user's profile Send private message Visit poster's website
spasticdonkey
Client


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

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

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....
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

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

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.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum