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
Input for further refinement is always appreciated
Gizmo
Wizard
Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
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
Gizmo
Wizard
Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
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 ...
Gizmo
Wizard
Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
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?
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25432
Loc: Texas
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 )
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25432
Loc: Texas
it's a yes when 6.6 is final If you already had it installed on a previous version, your newsfeeds will still work, it's just not integrated into the cp
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.