Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
Within UBB 6.1, in the control panel, you can set a forum to be private, and choose who get's access. When a post is made, on the main forum page, within the Private Forum section created, it will show the date of the latest post, along with the time, but not the subject, nor user.

My question is, can this be modified, where the date, time, user, and subject show up on the main forum page, like with any other forum created?

Note: Just so I'm clear on my question/help, the main forum page, being the main page that list's all the forums you have. I set two of them to be private, and the way a post is shown on this page, is what I wish to modify...

Thank you to anyone that can help..... thumbsup

Sponsored Links
Joined: Feb 2001
Posts: 817
Moderator / Kingpin
Moderator / Kingpin
Joined: Feb 2001
Posts: 817
All that info is located in the public_forum_summary.pl file which is located in your Templates directory. You can easily remove the date and time for example but adding the subject line and last poster name is more difficult.

Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
Quote
quote:
Originally posted by usr bin geek:
All that info is located in the public_forum_summary.pl file which is located in your Templates directory. You can easily remove the date and time for example but adding the subject line and last poster name is more difficult.
Thank you for your response. I do wish to add the info, not remove it. Looking at the file, I have no clue where to start. Could you give me a pointer on what to look for? Thank you again.

laugh

Joined: Feb 2001
Posts: 817
Moderator / Kingpin
Moderator / Kingpin
Joined: Feb 2001
Posts: 817
Quote
quote:
Originally posted by Nostradamus:
Thank you for your response. I do wish to add the info, not remove it. Looking at the file, I have no clue where to start. Could you give me a pointer on what to look for? Thank you again.
Look for $last_author, it controls if the link is included or not.

Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
I looked for what you wrote, but found more then one entry, and don't know what to modify. I see a part where it shows, last_author, date/time, and stuff, but how would I know what line to modify for the two forums that don't show anything but the date and time of a post? I've included the file code, so that it could be seen, as to what I'm looking at...

[Code removed]

Sponsored Links
Joined: Feb 2001
Posts: 817
Moderator / Kingpin
Moderator / Kingpin
Joined: Feb 2001
Posts: 817
Please don't post large blocks of code like that, its a violation of the license agreement.

Back to the problem. You'll want the section with $last_author thats further down the page and has the date and time right below it. What else you'll need to do to it, I'm not exactly sure. Hopefully someone else will chime in with, whats required. smile

Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
Quote
quote:
Originally posted by usr bin geek:
Please don't post large blocks of code like that, its a violation of the license agreement.

Back to the problem. You'll want the section with $last_author thats further down the page and has the date and time right below it. What else you'll need to do to it, I'm not exactly sure. Hopefully someone else will chime in with, whats required. smile
Sorry, had no idea that I could not do that. As to the info, I do find that section, but what to do from there, is beyond me. I hope someone here knows, so that I can get this fixed. Thanks...

Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
I tried editing some of the code to see what if anything would work. Still can't figure this one out... Darn......

Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
Bump this, I still can't figure it out...

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Hmm...I'm not using 6.1 but the closest thing I can think of is the codes you're looking for should be located in the ubb_forum_summary.cgi file (cgi-bin). For example, in UBB version 6.2.1 the code will look similar to:

Code
[/code]In UBB version 6.4 the code will look similar to this:

[code]
In UBB version 6.1 it may be different. Now while I'm not sure if you can just delete this code bit and your subject info will appear...That you will have to experiment with.

Sponsored Links
Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
Thank you for your help, I found how to do it. In that cgi file, if you delete the bottom code ONLY, clear your cache, it will show up as I had wanted, and yet, the forum is still restricted to only those that have been given access. I don't know if only deleting this code would work on other copies of UBB, but it does work on 6.1.1

Again thanks to everyone for the help on this..

[code][/code]


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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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)