UBB.Dev
Posted By: AllenAyres [6.5] UBBNews (perl) - 04/20/2003 9:33 AM
Modification Name: [6.5] UBBNews (perl)

Author(s): Allen Ayres

Description: Allows you to use SSI to post news via a forum.

Demo: https://ubbdev.com

Requirements: UBB 6.5 and mod wordlets

Download Link: https://www.ubbdev.com/ubb/upload/00000494/ubbnews65.mhp

Credits: JB007 for the original version and Mastermind, LK, Burak, and many others for updates

Notes: This is a medium/minor update with several bugfixes and lots of small tweaks to the code. Not as good as a full CI ubbnews, but works until that one comes along smile

Input for further refinement is always appreciated smile
Posted By: Ed Re: [6.5] UBBNews (perl) - 04/20/2003 1:30 PM
Is this available in a text or zip file?
Posted By: AllenAyres Re: [6.5] UBBNews (perl) - 04/20/2003 4:04 PM
you can always export a text file from a multihack file. smile
Posted By: Ed Re: [6.5] UBBNews (perl) - 04/23/2003 12:22 AM
I am not able to open the multihack file. Where do I get the application?

Thanks
Posted By: AllenAyres Re: [6.5] UBBNews (perl) - 04/23/2003 8:24 AM
There's a link at the top of this (6.4/6.5 mods) forum smile
Posted By: Ed Re: [6.5] UBBNews (perl) - 04/23/2003 3:36 PM
Thank You
Posted By: Gizmo Re: [6.5] UBBNews (perl) - 07/13/2003 12:57 PM
Hey allen, anyway to get a textbox with forums listed like in the CI list?

Allen, you may want to add that people need to add a folder named "ubbnews" to their cgi directory... Otherwise theil get:

Quote
quote:
An error has occurred:

Unable to create a new configuration file: No such file or directory at /var/subdomain/tavern/html/cgi-bin/cp_ubbnews.cgi line 107.
Backtrace: cp.cgi:540 -> sub main::set_add_newssession
Backtrace: cp_ubbnews.cgi:107 -> sub UBBCGI::Carp::die
Backtrace: Carp.pm:82 -> sub UBBCGI::Carp::fatalsToBrowser
Backtrace: Carp.pm:146 -> sub main::StandardHTML2
Backtrace: cp_lib.cgi:131 -> sub main::Tracer
Posted By: AllenAyres Re: [6.5] UBBNews (perl) - 07/14/2003 2:53 AM
thanks gizzy smile

Not sure about your first question, got a link to what you mean?
Posted By: Gizmo Re: [6.5] UBBNews (perl) - 07/14/2003 8:58 AM
Where you select forums you want to use, it'd be better to have a textbox showing the forums you have then having to go and find the forum number for each forum smirk...
Posted By: Ian Spence Re: [6.5] UBBNews (perl) - 07/17/2003 3:40 AM
I feel real stupid, but now that I have the hack installed, how do I put it on my main page? shocked
Posted By: Gizmo Re: [6.5] UBBNews (perl) - 07/17/2003 9:04 AM
SSI call, PHP include, etc...

I believe the file you'd call is in the cgi directory (i don't use it that much)

Code
<!--#exec cgi="http://www.undergroundnews.com/cgi-bin/ubbcgi/ubbnews.cgi?ns_id=1" -->
Code
<?php print implode("n", file("http://www.undergroundnews.com/cgi-bin/ubbcgi/ubbnews.cgi?ns_id=1"));?>
Posted By: Mr. B Re: [6.5] UBBNews (perl) - 08/24/2003 3:54 PM
...
Posted By: Gizmo Re: [6.5] UBBNews (perl) - 08/25/2003 12:48 AM
Whats the question B? "..." doesn't seem to carry too much lol...
Posted By: Mr. B Re: [6.5] UBBNews (perl) - 08/25/2003 1:04 PM
Gizzy,

I had a question about news fader, but I realized that I'd posted it here by mestake. Sorry for that smile
Posted By: Gizmo Re: [6.5] UBBNews (perl) - 08/26/2003 3:51 AM
Hey allen, quick little thing... When I go to http://www.undergroundnews.com/cgi-bin/ubbcgi/ubbnews.cgi?ns_id=1 to view the news id, it shows the wording as my background color on black (not my text color) any idea why? Better yet, anyway to get it to not output colors at all so i could use css?
Posted By: AllenAyres Re: [6.5] UBBNews (perl) - 08/26/2003 5:05 AM
You can use css, just adjust it on your template file. It shows the colors you see because normally the text color is set by the rest of your page (within the ubb it's in the small bit of css charles has added in public_common.pl )
Posted By: Ian Spence Re: [6.5] UBBNews (perl) - 08/26/2003 5:29 AM
frown figures, now that I'm on 6.6, Gizzy posts the right link

Any chance on this being ported to 6.6, Allen?
Posted By: AllenAyres Re: [6.5] UBBNews (perl) - 08/26/2003 5:36 AM
no, we stopped developing for 6.6 about a month ago.

tipsy
Posted By: Ian Spence Re: [6.5] UBBNews (perl) - 08/26/2003 5:52 AM
Quote
quote:
Originally posted by AllenAyres:
no, we stopped developing for 6.6 about a month ago.

tipsy
so that's a yes smile ?
Posted By: AllenAyres Re: [6.5] UBBNews (perl) - 08/26/2003 6:02 AM
it's a yes when 6.6 is final smile If you already had it installed on a previous version, your newsfeeds will still work, it's just not integrated into the cp
Posted By: Ruben Rocha Re: [6.5] UBBNews (perl) - 12/20/2003 8:33 PM
Now that 6.7 is on the horizon is there any chance of updating the intergration in the control panel?
Posted By: Ian Spence Re: [6.5] UBBNews (perl) - 12/21/2003 12:06 AM
I'll take a crack at it this weekend when I'm not getting ready for the holidays
Posted By: Ruben Rocha Re: [6.5] UBBNews (perl) - 12/31/2003 10:39 PM
I had to modify the hack somewhat to work on 6.7. I added additional variables required.
It works if I manually add the news session files.Add one in the ubbnews folder and then edit the var file.
Intergrating it to the control panel would be really tough for me though.
Maybe infopop will add topic text to Content Islands someday.
Posted By: Ruben Rocha Re: [6.5] UBBNews (perl) - 05/01/2004 2:16 PM
Did anyone ever port this to the control panel for 6.7 ?
Posted By: Ian Spence Re: [6.5] UBBNews (perl) - 05/01/2004 7:02 PM
It has not been updated for 6.7, nor do I know of anyone who's planning on it.
Posted By: AllenAyres Re: [6.5] UBBNews (perl) - 05/01/2004 7:43 PM
We use it here tipsy

The cp part just hasn't been updated for 6.7+ smile
Posted By: AllenAyres Re: [6.5] UBBNews (perl) - 05/02/2004 7:52 AM
arghh... just looked at the cp section - that would require a good bit-o-work eek Would be cool tho smile
© UBB.Developers