Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jan 2003
Posts: 4
I am looking for a way for users to be able to search for all posts someone has Started, not just threads they have posted in. It would be even better if I could exclude certain forums from the search.

I run a poetry forum and users are really wanting a way to search for all poems posted by a certain user. As it is they can view all the recent posts made but that includes all replies and posts in general chit chat not just their posted poetry.

Any ideas?

I am using UBB.classic 6.4.0.

Berlie
http://www.poetrypages.com

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Quick & dirty.

Open up public_user_posts.pl

Find:

$r += 0;

Insert under:

next if $r && $in{topicsonly};

Then to get to the page, use the normal post history URL, appending ";topicsonly=1"


UBB.classic: Love it or hate it, it was mine.
Joined: Jan 2003
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jan 2003
Posts: 4
Thanks for the reply.
Maybe I am being blind but I cannot find the file "public_user_posts.pl" anywhere. ??

Berlie
http://www.poetrypages.com

Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
It is in your Templates directory.

Joined: Jan 2003
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jan 2003
Posts: 4
Thanks! This is what I needed. I now have a link show up in the persons profile that works like recent posts but only shows the topics started by them.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)