Previous Thread
Next Thread
Print Thread
Rate Thread
#211412 08/19/2001 10:49 PM
Joined: Jul 2001
Posts: 11
Newbie
Newbie
Offline
Joined: Jul 2001
Posts: 11
I have noticed this being brought up before and was wondering if anyone had created a hack . I sues to use DCboard and we had a hack so the news would automatically post into a specifed board from adrop down menu when you posted the news item. It then created a (talkback) link under the news post. Is there something similar for WWWthreads tat can be integrated into news so folk can comment on a news item.

I donmt want to use WWWthreads for the new posting by the way smile

Sponsored Links
ross #211413 08/20/2001 12:40 AM
Joined: Sep 2000
Posts: 129
Member
Member
Offline
Joined: Sep 2000
Posts: 129
Yes more over it uses ssi to call up the data, and it can be tweaked to be called by the script.

The script is an addon, so that you can specify which board do you want to use it as a news board, etc.

There are some addons to be used for displaying top posters as well as top threads.




...... x ......
Using UBBt 6.4.2 + Digg Ajax Mod, Trust Ajax Mod, Captcha Regristation & Login mod, Checkusername Ajax mode.
often #211414 08/20/2001 12:16 PM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
Might help to supply a link to the hack . . .


+++ Quis custodiet ipsos custodies? +++
Jeremy Harmon #211415 08/20/2001 8:07 PM
Joined: Sep 2000
Posts: 129
Member
Member
Offline
Joined: Sep 2000
Posts: 129
Hello,

Well it's on the bundle package under directory addons.



...... x ......
Using UBBt 6.4.2 + Digg Ajax Mod, Trust Ajax Mod, Captcha Regristation & Login mod, Checkusername Ajax mode.
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
Oh, you're referring to the the files in the "addons" directory of the distribution (download) copy of W3T itself, which contains the scripts:

w3tnews.php
w3tposters.php
w3ttopthreads.php

That wasn't entirely clear.


+++ Quis custodiet ipsos custodies? +++
Sponsored Links
ross #211417 08/27/2001 11:42 AM
Joined: Nov 2000
Posts: 28
Journeyman
Journeyman
Offline
Joined: Nov 2000
Posts: 28
I was going to build in the NewsPro workflow on our site, but decided to try a w3tnews workaround. With only minor changes and some renaming, we've got a test page working that will allow us to post the top ten news items from any twelve of our dozens of forums. I simply renamed a copy with the proper paths set for each of the forums on our site....and Bud altered the SQL call to allow multiple SSIs.

My next step will be to alter the subscription page to allow members to choose which of the news blocks they want displayed on their version of the frontpage....with the help of a cookie. This is part of the "Integration" ideas I had for the next version of w3t. If this works, we'll make sure Scream gets the info so he can choose whether to integrate it into the distro....we hate to have to try and remember all the little hacks on each distro, so we usually choose to limit our hacks as much as possible.

Here's a link to my test page for this idea.... www.texasoffroad.net/html/index_w3tnews.php ....there's no nested tables yet, so there's no borders and backgrounds, but you get the idea....a few inline .css to keep the fonts under control and it's a very cool idea....

Any comments or suggestions would be appreciated....especially for how to add another row of check boxes to the subscription page (probably have to add a new page, huh?) and where/how to alter the call to break out the selected choices and display them on the frontpage rather than send it by email via cron.

Joined: Jan 2001
Posts: 62
Journeyman
Journeyman
Offline
Joined: Jan 2001
Posts: 62
Hi Roofdog,

I really like what you've done with the integration of the top posts in your site.

I also like what you did with the drop down menu bar.

I'm trying to do something similar and I'm not super technical.

is it possible to get a sample of your php code for this?

thanks,

KC

Braxton #211419 09/14/2001 2:38 PM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
Also, does anybody know how to chop the news includes at the first, second or third instance of a period (.) or similar punctuation mark (?!) in PHP? Complete sentences look so much better.

The way w3tnews.php works is to (1) have the body of the news message set to NONE; (2) set body of the news message to FULL; or (3) specify an arbitrary number of characters to be displayed. This last option is problematic, because it can truncate hyperlinks/URLs and totally mess up the news includes.

I saw a solution for this on the PERL board, but I'm not enough of a code monkey to figure out a solution in PHP.

(I think this is how the news script should work by default.)


+++ Quis custodiet ipsos custodies? +++

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)