UBB.Dev
Posted By: Greg Hard [6.1x] UBBNews 2.1.0 - 08/01/2001 3:29 AM
Original Topic

This hack is compatible for 6.1. JB007 can take it from here for new features and upgrades, but this is the first step..

Download
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 08/01/2001 5:54 AM
One thing I am noticing, is that this script is pretty much standalone if you choose, all you have to do is set the variables in the script and it'll run without any ubb integration cool

We have it running in regular and headline mode on our front page and there has been no editing of ubb files since we updated to 6.1. I do need to work on the wordlets and make thm hard-coded for our application, but it runs well.

I'll help by getting the public files xhtml-compliant smile
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 08/02/2001 6:57 PM
Quote
quote:
done : https://www.ubbdev.com/hacks/6.1/public_ubbnews.txt
Posted By: ronaldwo2 Re: [6.1x] UBBNews 2.1.0 - 08/06/2001 9:48 PM
I've seen the Ubbnews script smile

IS there also a possibility to have a much smaller version of it? I was thinking of a connection to other news systems, so that users can give a reaction on the newsitem. Something like the system on Webwereld Site

I understand that we have to put a unique link under the newsitem, but that isn't the problem

Hopefully, you can understand what I mean.

P.
Posted By: ronaldwo Re: [6.1x] UBBNews 2.1.0 - 08/09/2001 9:39 AM
Well, or most of you are on Holiday, or the idea I presented is bad.... Please let me know what you think about the idea above...

P.
Posted By: Bookie Re: [6.1x] UBBNews 2.1.0 - 08/16/2001 5:37 AM
I havent installed this yet but is it possible to have multiple pages with different news for each section?
Posted By: afterlab Re: [6.1x] UBBNews 2.1.0 - 08/19/2001 9:10 AM
Mastermind. I got this error:

Unable to create a new configuration file: No such file or directory at /home/ffrecom/public_html/forums/ubbcgi/cp_ubbnews.cgi line 110.

I made a ubbnews dir in my UBBCGI (CGI DIR) and CHMODED it 777 but it still doesn't work.
Posted By: Xcert Re: [6.1x] UBBNews 2.1.0 - 08/20/2001 3:32 AM
I'm running UBB 6.05.

Will this work on mine, or is there a different one for 6.0x boards?

I'm a noob here, can you tell =)
Posted By: afterlab Re: [6.1x] UBBNews 2.1.0 - 08/20/2001 4:02 AM
This one works for 6.1. I am pretty sure there is one for 6.0x and 6.05 so check in the "classics" category.
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 08/20/2001 7:16 AM
It's the same modification, no changes were made to the files since it was made for ubb 6.05.

We have been using the same files without any modification of the ubb files since 6.04e. To get it to look like we have on our front page, place this in a file and save it as vars_ubbnews_1.cgi. Upload in ascii to a "ubbnews" directory you have added to you ubb cgi directory and set permissions to 777 (tho it'll work with less). Upload the other files that came with this modification zip to their correct directories and ssi to your .shtml or .shtm page with soemthing like this:



Here's the code for the vars_ubbnews_1.cgi file you put in your ubbnews directory:
Code
code:
news_forums => q~1~, <<<<=== forum # of announcements forum

template_choice => q~2~ <<<<=== for news like we have in the middle of our front page
Posted By: Xcert Re: [6.1x] UBBNews 2.1.0 - 08/20/2001 10:01 AM
Thanks! laugh

Hmmm.... when i click on the "Read More..." link on the UBBDev main page, I get the "No such topic number exists".

Is something wrong?

[ August 20, 2001: Message edited by: Xcert ]
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 08/20/2001 7:08 PM
yes... I need to double-check that. It apparently broke when we upgraded to beta 1.4 and are not using the xhtml templates right now... it worked until then, I promise wink
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/20/2001 11:51 PM
I'm trying to impliment this and I keep getting the following error when I try to load the page. I have two other SSIs working (a poll and who's online):

[an error occurred while processing this directive]

Any suggestions? I must have something set wrong. I'm hopeing that this happened to someone else and they can tell me what they did to fix it. smile
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 12:12 AM
Just out of curiosity (maybe I can learn something). What does this mean:

ns_id=2
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 12:45 AM
that would correspond with vars_ubbnews_2.cgi

In answer to your other question, you might need to tinker with the ssi call itself, do you have any other ssi calls to that page, and if so, what are the methods: cgi exec, virtual include, etc.
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 1:24 AM
Thanks for replying.. I have two others:

#exec cgi="/cgi-bin/ubbcgi/ubb_whos_online_ssi.cgi"

and

#exec cgi="/cgi-bin/ubbcgi/Poll_It_SSI_v2.05.cgi"

and of course

#exec cgi="/cgi-bin/ubbcgi/cp_ubbnews.cgi?ns_id=2"
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 1:48 AM
Have you set up the second news session? What happened to ns=1 ? smile
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 3:09 AM
Oh. Yeah, I did try one also. I still received the same error. I thought I had it when I changed the 2 to a 1...
Posted By: Bookie Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 3:31 AM
Ah... sorry.. had an error but found the answer earlier in this topic frown

Just finished installing, working great so far laugh

Keep up the good work!

[ August 20, 2001: Message edited by: Bookie - ]
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 2:00 PM
Oh. Wait a minute. Is this only for 6.1? I'm using 6.05...
Posted By: Bookie Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 7:54 PM
getting

[an error occurred while processing this directive]

when i try to include the news :

http://www.clan-316.com/indext.shtml

in the shtml doc i have



and when i type in the address in explorer the news comes up :
Posted By: LK Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 8:56 PM
In my SHTML it's

Try to add a slash before "ubbcgi".
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/21/2001 10:12 PM
Same here. If I type this in IE5.5:

http://63.99.108.70/cgi-bin/ubbcgi/ubbnews.cgi?ns_id=1

It works.. What could be going wrong for us?
Posted By: Bookie Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 1:20 AM
Quote
quote:
Just tried that, got the same error. frown
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 3:53 AM
If think we have 'em stumped!
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 5:52 AM
Did any of those you posted above work? Check the advanced ssi tutorial in our database for several examples of how you can ssi files... your server might require a bit different version.
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 6:12 AM
If the Who's Online SSI works, shouldn't this one? I would imagine they're probably based on the same idea to remain compatable all around with other UBB SSI things...
Posted By: Xcert Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 9:43 AM
So, This mod will work with 6.05???

[ August 22, 2001: Message edited by: Xcert ]
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 1:25 PM
Yes. It works. Thanks, Allen, for your help and encouragement. My only question now, is how to change the font color of "Read More" and the font sizes on the Threads Only news. Has anyone done this?
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 2:27 PM
Okay. I figured out how to change that dark font color. Wordlets. smile But, I still can't figure out how to change the font size for the "just topics only" news...
Posted By: Bookie Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 5:58 PM
Quote
quote:
I have no clue why its not working, on a different page i had i was using shtml for a poll... and the code was

and it worked perfectly fine : dunno why this wont work...
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 10:07 PM
Bookie. You still can't get it to work? I used a different approach - Allen's idea. This is what my one-liner looks like as opposed to the original way:



Try that.

Otherwise. Do you need to somehow refresh this thing manually? I'm noticing that the same topics are still showing up on my front page but newer topics have been written...
Posted By: Xcert Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 10:08 PM
Well ... I was installing this on my 6.05 board and I had a little trouble in the CP. I kept getting an error when I tried to go into the UBBNews section. Then I had to change the code that I was supposed to stick on the cp.cgi.

I had to change this"
Code
code:

To this:
Code
code:

I know that this is the 6.1 board, but I thought I would post it here for any other 6.05 ppl like myself that wondered in here looking for this.
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 10:11 PM
ummm.. you could ask in the 6.0x forums...
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/22/2001 10:32 PM
Okay. My forums are updating now. Not sure what was happening before. I love this mod. This may be my favorite...
Posted By: Bookie Re: [6.1x] UBBNews 2.1.0 - 08/23/2001 12:25 AM
Ah it works now... wonder why it wouldnt with the other code :

oh well, thanx for all your help Allen smile
I will be using this to run pretty much my entire site. smile
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/23/2001 6:37 AM
Still curious about changing the font sizes and stuff. I like the way the UBBDEV front page has the threads in the upper right corner. The font is small and neat. Can anyone tell me how to fix that to my liking? Currently, it's using size 2 Verdana and that's just too big...
Posted By: Sal Collaziano Re: [6.1x] UBBNews 2.1.0 - 08/23/2001 2:09 PM
Also. When adding the discussions to my front page, emoticons in the message to not show up. Is there any specific way of doing this? Or, can I have them ommitted? It looks kinda bad to have broken images on my front page. When I right clicked the icon and did a 'properties' it's showing that it's looking for the emoticon at the root...

Any advice?
Posted By: Quicksilver Re: [6.1x] UBBNews 2.1.0 - 08/26/2001 4:20 AM
Fixed problem, removed.

[ August 25, 2001: Message edited by: Quicksilver ]
Posted By: Xerath Re: [6.1x] UBBNews 2.1.0 - 09/11/2001 3:04 AM
UBBNews is giving me this error. It never happened on my previous server.

Content-type: text/html

Software error:
Undefined subroutine &main::NewsRow called at /home/skullcan/public_html/draspha/cgi-bin/ubb/ubbnews.cgi line 126.
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.


[ September 10, 2001: Message edited by: Xerath ]

[ September 10, 2001: Message edited by: Xerath ]
Posted By: mark99 Re: [6.1x] UBBNews 2.1.0 - 10/05/2001 1:03 PM
Hi,

Yeah I just got exactly the same error from v6.1B2, note that UBBNews was the first hack I installed.:

Quote
quote:
I notice nobody has bothered to fix it or even read the last complaint of this kind. PLEASE DO.
Posted By: mark99 Re: [6.1x] UBBNews 2.1.0 - 10/05/2001 1:20 PM
Sorry - GOD I'm lame =).

Yeah I see... data needs to propagate =)
Posted By: Dark Templar Re: [6.1x] UBBNews 2.1.0 - 10/05/2001 4:27 PM
..I added some features, and bugfixed this (the previous 6.0x version), but I never got a chance to release it, due to time constraints. If JB007 or MM would be interested in adding these things into the formal release, you know how to reach me smile .
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/06/2001 10:08 AM
Anyone have problems SSI'ng it through Front Page in a frame?
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/06/2001 10:55 AM
Hey Allen,

Have you seen this before:

Unable to create a new configuration file: No such file or directory at /home/virtual/future/home/httpd/cgi-bin/cp_ubbnews.cgi line 110.


This is when trying to create a new news session. Everything was hacked accordingly. When I looked at line 110 in CP_UBBNews.cgi as given in the zip file this is what it shows:

open(FILE, ">$vars_config{CGIPath}/ubbnews/vars_ubbnews_$lastnumber.cgi") || die "Unable to create a new configuration file: $!";
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/07/2001 5:09 AM
Still stuck... aaaaaaargh
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/09/2001 5:33 PM
Is this thread dead? Still looking for some help.
Posted By: IICODECll Re: [6.1x] UBBNews 2.1.0 - 10/13/2001 5:58 PM
would it be possible to make a php version of this hack, since ssi/cgi do not load on *.php files? thanks/
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 12:17 AM
I rehacked it and still get:

Unable to create a new configuration file: No such file or directory at /home/virtual/future/home/httpd/cgi-bin/cp_ubbnews.cgi line 110.

Help?! Running on a Unix Server now and can't seem to create a news thread in the CP.
Posted By: Bookie Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 4:16 AM
Quote
quote:
Try chmoding (or re-chmoding) your files again. Should work. wink
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 4:32 PM
Of course.. tipsy

In Front Page 2000 I am trying to do an include page to bring in the news through a frame. I renamed the news file to .shtm and pull it through to the page... doesn't work frown

Any help?
Posted By: qasic Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 5:07 PM
Try .shtml .. SSI is configured differently for many different servers.

qasic
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 5:20 PM
Code
quote:</font><hr>Originally posted by IICODECll:
would it be possible to make a php version of this hack, since ssi/cgi do not load on *.php files? thanks/<hr></blockquote>


trick from cal:


<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:

Not sure if it works on all servers (we're using IIS5) amd I provide no support for that, but it works nicely here...

Please reduce your signature image to 50x150 or less... thanks for understanding.
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 6:12 PM
I modified my news file so it included:



Then saved the file as an .shtml file.
I then went into Front Page and tried to include the page in a news frame and it won't pull anything! frown
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 6:22 PM
also my forum is on a unix server whilst my site itself is on NT. So what would the SSI call look like if I am trying to pull from one server to another?
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 6:49 PM
you are trying to ssi an shtml page into another... why not just put the ssi on your news page?
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 6:51 PM
Need to find a work around Allen. Qasic mentioned to me that you cannot SSI from one server to another. We went onto Unix for our forums for stablity but our site (the rest of it) is on NT. Is there no work arounds to be able to pull this information in???
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 7:29 PM
If you can use php you can try the thing I posted for the other guy.
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 7:55 PM
How do I utlize it for PHP then?

I tried applying that into the news.htm file and it still won't pull anything in. frown

Here is the link to the test news:

http://forums.futurelooks.com/cgi-bin/ubbnews.cgi?ns_id=1

but remember the forums are on Unix and the rest of the site is on NT.

I'm trying to include that snippet of code into a news.htm page and then trying to use the news page as an include page into the news frame...

any thoughts? How do I set it to PHP? saw the ultimatebb turn to php once.
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 10/15/2001 11:52 PM
ok, one more time from the top...

the php snippet will not work unless you are using it on a page that's written to use php. but first you have got to have php installed on the server you want it to show up on... is it?
Posted By: jordo Re: [6.1x] UBBNews 2.1.0 - 10/17/2001 1:31 AM
hmmm, i see lots of open(FILE) commands in the hack files...

/me runs and hides before CC notices. wink
Posted By: qdice Re: [6.1x] UBBNews 2.1.0 - 10/19/2001 8:45 AM
Hi lots of questions here, lots of errors, etc, etc.

Is there a final version of this mod that is working for 6.05. If you got it to work could anyone you please post it ?

It may be obvious for the "experts" but for rooky here... the txt doesn't have instructions and can't really figured it out... please help !
Pat
Posted By: NSA Re: [6.1x] UBBNews 2.1.0 - 10/22/2001 11:09 AM
Very nice. Looking forward to a 6.1 final version ;-)
Posted By: Splitfyre Re: [6.1x] UBBNews 2.1.0 - 10/22/2001 8:44 PM
I have a Unix Server where I have my UBB and then the rest of my site is on a shared NT server with Front Page extensions. Is there any way in which to get UBBNews threads to show up on our news page which of course is on NT. Hellllpppp!
Posted By: Durango Re: [6.1x] UBBNews 2.1.0 - 10/22/2001 10:20 PM
http://www.edbis.com/hosted/4x4c/welcomeold.shtml

I've tried everything, rehacking the files, making sure chmods were set right.. Unix server, ubb address here: http://www.edbis.com/hosted/4x4c/forum/cgi/ultimatebb.cgi
Not sure what could be causing it frown

Here's what I got on the page:


tried with #exec cgi at first but that didn't work either.
Posted By: djcasual Re: [6.1x] UBBNews 2.1.0 - 10/23/2001 2:44 AM
Well, I liked the idea and I think this hack has potential. However, I can't get this to work for UBB 6.1 final release at all. I've spent hours and I keep getting a cgi software error.

A lot of the code isn't even compliant with the Charlese Capps 'subroutines and Filehandlers':

https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=29&t=000123

I don't mean any disrespect or to put down any of the authors, but this code looks like it was made for 6.05 and then slightly tweaked to try and make it work with 6.1.0. I also haven't seen any of the authors post any responses since 7/31/01.

Has anyone been success installing this on UBB 6.1 final release (not beta)?

Thanks

Casual
Posted By: Granata Re: [6.1x] UBBNews 2.1.0 - 10/23/2001 3:23 AM
I installed it on 6.1 Final with no complications.
Posted By: Brett Re: [6.1x] UBBNews 2.1.0 - 10/23/2001 4:04 AM
I installed it successfully, but can't get it too show up on ssi. I tried that include virtual and exec cgi and even php that allen suggested and nothing.

[an error occurred while processing this directive]

Everything works great in cp, though.
Posted By: mark99 Re: [6.1x] UBBNews 2.1.0 - 10/23/2001 12:17 PM
Hehe you don't even need to hack the files if you've upgraded from v6.0x, so long as you don't plan on making any changes.

Just make sure you re-add the mods_worldlets and it'll use your previous settings to keep calling the data from the forums.
Posted By: DGMayor Re: [6.1x] UBBNews 2.1.0 - 10/27/2001 5:49 PM
I wanted to bump this up and find out what the status of it was. This is probably the one mod that's holding me back from putting the new version live on my site wink .

Ok, I've installed it, and it seems to be working just fine.

My BIG problem though, is that it no longer seems to show HTML/UBB codes in the news. I use my news to announce happenings with my guild (board is for an online game) and include screenshots in every single news post. It now longer spits out the pictures!

-----------

Bleh ok, I just looked at the code and removed the line that strips the images. I feel stupid for not have doing that in the first place wink

[ 10-29-2001: Message edited by: DGMayor ]
Posted By: Durango Re: [6.1x] UBBNews 2.1.0 - 10/29/2001 9:53 PM
nm, was an error on my part. SSI call works now.

[ 10-30-2001: Message edited by: GTSDurango ]
Posted By: NSA Re: [6.1x] UBBNews 2.1.0 - 10/31/2001 4:09 AM
Anyone know what this error message might mean?

Quote
quote:
This is constantly happening, though all the news shows up correctly. I am at a loss here frown Any help would be appreciated!
Posted By: Granata Re: [6.1x] UBBNews 2.1.0 - 11/08/2001 12:17 AM
If you go to this web page you will see that I have two news sessions called in by SSI's. The headlines only session is on the left and the complete article is on the right.

Now, if you click on any of the headlines it takes you to the article as viewed in the web boards. I would rather have the article show up just as the current article does.

Know what I mean? If anybody can help me with this I'd appreciate it.

Thank You,
-Eric
Posted By: jlb Re: [6.1x] UBBNews 2.1.0 - 11/16/2001 6:54 AM
Hi,

The SSI is starting things off printing this little tidbit:

Quote
quote:
Any idea why or how to get rid of it? (Running on UBB 6.0.1.2.)

Thanks,
jlb
Posted By: zfrank Re: [6.1x] UBBNews 2.1.0 - 11/16/2001 9:09 PM
Can you fix the download?
The server gives 403-forbidden
Posted By: dreamer Re: [6.1x] UBBNews 2.1.0 - 11/17/2001 8:41 AM
I also get a 403 error . Please fix it quickly smile

Really is there another solution for implement ubb to a news script like corando?

Any alternative url or if anyone can send it to my e-mail pleeease ??

[ 11-18-2001: Message edited by: dreamer ]
Posted By: dreamer Re: [6.1x] UBBNews 2.1.0 - 11/19/2001 8:38 PM
Will anyone be kind enough to send the file in my e-mail address ?

Thanks
Posted By: Durango Re: [6.1x] UBBNews 2.1.0 - 11/19/2001 9:26 PM
Temp. d/l until his server is fixed:

edit: main link back up, removing.

btw, I don't know if thats the latest version, but I'm pretty sure it is.

[ 12-15-2001 03:22 PM: Message edited by: Durango ]
Posted By: dreamer Re: [6.1x] UBBNews 2.1.0 - 11/19/2001 10:48 PM
Thanks man

[ 11-19-2001: Message edited by: dreamer ]
Posted By: trin Re: [6.1x] UBBNews 2.1.0 - 11/20/2001 10:05 AM
Just wonderin'... how soon till this mod counts as 'finished'? smile

[ 11-20-2001: Message edited by: trin ]
Posted By: dreamer Re: [6.1x] UBBNews 2.1.0 - 11/26/2001 11:15 AM
I also get this error message
Unable to create a new configuration file: No such file or directory at /home/ffrecom/public_html/forums/ubbcgi/cp_ubbnews.cgi line 110.

Someone in the first pages of this topic had a similar problem. Is there any solution ? Do I have to create a directory somewhere because the text files doesnt say anything

Thanks in advance
Posted By: Durango Re: [6.1x] UBBNews 2.1.0 - 11/26/2001 11:03 PM
Yes, you need to create a directory called ubbnews in your cgi directory.
Posted By: VAXC3 Re: [6.1x] UBBNews 2.1.0 - 11/28/2001 12:40 PM
I've read through the forum but was unable to find a solution to


Undefined subroutine &main::NewsRow called at /home/sites/site91/web/cgi-bin/ubbnews.cgi line 126.

anyone can help me out?
Posted By: Zarzal Re: [6.1x] UBBNews 2.1.0 - 12/05/2001 10:30 PM
Hi,

after I finaly get it work with SSI I have a new problem. I set font color in style sheet und the news text itself will remain black. example : http://dragon-clan.ognhosting.de/index.shtml

If I take a look in the output as source I see:
[td align="left" valign="top"][font size="2" face="Verdana, Helvetica, sans-serif" color="#0099ff"]News: blubb[/font][/td]

there is only color="#0099ff" there and not "font color". Is this the mistake ? How I can correct this ?
Posted By: Warren Rake Re: [6.1x] UBBNews 2.1.0 - 12/05/2001 11:28 PM
I had the same problem as somebody else here, but I didn't hear anything about the answer:

[an error occurred while processing this directive]


This is what I get when I try to do my SSI. What does this mean?
Posted By: Zarzal Re: [6.1x] UBBNews 2.1.0 - 12/06/2001 12:03 AM
Quote
quote:
I solved this by changing the exec command to this:
[!--#include virtual="/cgi-bin/ubbnews.cgi?ns_id=1" --]

Now it works, but I have another problem. This looks on my site like this:
[Linked Image]

I se another UBB 6.05 Board and it look so:

[Linked Image]

What goes wrong ?
Posted By: Durango Re: [6.1x] UBBNews 2.1.0 - 12/06/2001 12:12 AM
Make sure the wordlets are set. Go to your CP and select Modifications Wordlets List and make sure nothing is blank.
Posted By: Zarzal Re: [6.1x] UBBNews 2.1.0 - 12/06/2001 12:34 AM
Durango, you get 100 Point's ! *THANK YOU* thats it smile *dance*

This is missing in the install.txt and I overview it.

Now, the last point: why is my news text black and not #0099ff ? Have I to set the news text color in my html document by my own ? will it not be taken from the style sheet ? example: http://dragon-clan.ognhosting.de/index.shtml

Update: I see that I must set the color in the HTML document. Now all works fine. Great hack, I love it

[ 12-06-2001 02:34 AM: Message edited by: Zarzal ]
Posted By: Warren Rake Re: [6.1x] UBBNews 2.1.0 - 12/06/2001 1:55 AM
I think VAXC3 and myself have the exact same problem, and so did somebody else earlier, but I don't recall anybody saying what the code fix was??

Content-type: text/html

Software error:
Undefined subroutine &main::NewsRow called at ubbnews.cgi line 126.
For help, please send mail to......etc.

What code do I need to change, or how to fix this problem? Thanks for the help!
Posted By: Zarzal Re: [6.1x] UBBNews 2.1.0 - 12/09/2001 2:00 AM
Hi,

again a new little style problem. I use the ssi to display the last 4 entrys of a forum on my homepage. Only the links without text.

How do I change the appearance of this outoput ? It seems, that my style seetings will be ignored and only used if I display the whole article.

To see what happend take a look at www.dragon-clan.de

To the right we have some examples. I try to set style sheets on my own but they will also be ignored. It must have something to do how the script gather the information to display it. Anyone out there who can give me usefull tips to change this ? I like to display the links so as on the left side under 'Content'

Thanks.
Posted By: CNA Re: [6.1x] UBBNews 2.1.0 - 12/13/2001 2:37 PM
Hi ubbdev, before anyone curses me, I'm stupid, and I do suffer from dyslexia so I can't read all the before hand replies. Again, I apologize for that..

Anyway, to my point,

My ubbnews works, thats settled, as can be viewed here : http://dynamic2.gamespy.com/~smackdown/sdnforums/ubbnews.cgi?ns_id=1

But with the shtml I have a problem. I have newspro/coranto and that runs under shtml, and works fine.

But with the UBBnews, I have a small problem, you see in my ftp, I upload like this (My url being http://dynamic2.gamespy.com/~smackdown) and I upload to cgi-bin/sdnforums/ultimatebb.cgi for example, but when I call from browser its http://dynamic2.gamespy.com/~smackdown/sdnforums/

So before I make mistakes, to what I can't fix, can someone please help me?

Also, when I go here : http://dynamic2.gamespy.com/~smackdown/sdnforums/ubbnews.cgi?ns_id=1 the text shows up black, I think someone had the same problem, and someone said its Mods Wordlets. Well, I checked my wordlets, they are all there, just the font in the actual topic heading is black. Is this default? Do I need to set a white text setting in a shtml page to fix this when I finally call it through ssi?

Thanks with any help

CNA.
Posted By: CNA Re: [6.1x] UBBNews 2.1.0 - 12/13/2001 2:42 PM
No worries guys, as soon as I posted that, I tried putting a shtml in the ubb cgi directory and it worked fine. Thanks anyway
Posted By: Ed Re: [6.1x] UBBNews 2.1.0 - 12/15/2001 2:58 PM
I get this error when calling the ubbnews

"Undefined subroutine &main::NewsRow called at ..../cgi-bin/thegroomers/ubb/ubbnews.cgi line 129."

Any ideas?
Ed
Posted By: Zarzal Re: [6.1x] UBBNews 2.1.0 - 12/28/2001 11:54 PM
quote:
Originally posted by Zarzal:
Only the links without text.
How do I change the appearance of this outoput ? It seems, that my style seetings will be ignored and only used if I display the whole article.



I solved yet this problem I have to modify the template file and remove the font= there so I can use my own style settings from the homepage.

Now I m in search why the ubb style template is ignored while display header only.
Posted By: Zarzal Re: [6.1x] UBBNews 2.1.0 - 01/05/2002 1:39 PM
Hello again,

last time I switch my board from 6.05 to 6.1.0.3 and rehack it completly new. This hack seems to work but I noticed difficulties.

Can it be that is a problem with the cache ? I dont use the accelerator but turned cache on. Under 6.1.0.3 my news over ssi will be displayd only I clear the cache first. Seems not to be the browser cache.

Is anyone out there who have the same problem ? Or will it work for you on 6.1.0.3 without problems ? I like to turn cache on again. Can anyone please help me ? Thank you.

I installed the following hacks in order:

Modification Wordlets from WOL pack
WOL 4.1.0 Public Beta 2.0
Avatar Pull Down Hack v1.0 Public Beta
Custom Title/Rank v1.1 Public Beta
Calendar for UBB 6.1 by jordo & LK Version 1.9
UBBNews HACK VERSION: 2.0.0b1.3
UBB Integrated Polls for Ubb6.1.x(Ver 2.0)
Sticky threads for Ubb 6.1.0 ver 1.5
Chat version 1.21
Stats Hack 1.1
Print Page for Ubb 6.1.x ver 1.0
Anchor Hack 8.1.1
Memberlist 6.4.1
Views Counter (For UBB 6.1.0.2 and above) Version: 5.0
News Fader Hack (For UBB 6.1) Version: 4.1

Homepage : http://dragon-clan.ognhosting.de/hp.shtml
UBB : http://dragon-clan.ognhosting.de/cgi-bin/ultimatebb.cgi

Update:
Now I install for testing a fresh clean UBB 6.1.0.3, put in Modification Wordlets from WOL pack and WOL 4.1.0 Public Beta 2.0. All Work fine, then UBB news. Same effect. With cache turned on my HP dosn't change. Clear cache and new news will displayed. There must be bug in the Script.

[ 01-06-2002 04:28 PM: Message edited by: Zarzal ]
Posted By: Greg Hard Re: [6.1x] UBBNews 2.1.0 - 01/07/2002 1:02 AM
It has to be rewritten. Its...slop.
Posted By: Corona Re: [6.1x] UBBNews 2.1.0 - 01/08/2002 6:09 AM
Thanks guys for the code -- works great on 6.1.0.3.

For the gent asking about the caching in 6.1.0.3 I run my board with caching off. But, i tested the Ubbnews with caching turned on. I don't get any display issues, but the topics of the day do not seem to refresh properly within the ssi included shtml page. -- probably adding a random number somewhere in the meta tags would do it. Also, i might have my tags to set up to refresh once a day or so..

Also, im probably not the best guinea pig, as i hacked up the ubbnews extensively. Changed the tables around alot, added a different date format, enabled graphics, added backgrounds, etc etc...

you can check it out though if ya want to see if your display problems are similar to mine @ http://test.altereddestiny.net

Once again, thank you for the hack. If ya want my altered code segments, just send an email.
Posted By: Zarzal Re: [6.1x] UBBNews 2.1.0 - 01/08/2002 3:20 PM
quote:
Originally posted by Corona:
you can check it out though if ya want to see if your display problems are similar to mine @



looks fine.

I notice that yo dont use WOL. I will try this evening to test the hack without WOL PB2. I will see what happen.
Posted By: Jonny Bravo Re: [6.1x] UBBNews 2.1.0 - 01/09/2002 5:14 AM
I too had to use virtual include to get it to work

can you guys check out mine http://www.gixxer.com/main.shtml

I had to massage the script a bit to modify how the output looked

does my page load slow?

also is there a way to speed up the script? Can it tie into the UBB cache?

does using the "limit characters" cause the script to run slower than just pulling in the whole topic?
Posted By: tryx Re: [6.1x] UBBNews 2.1.0 - 01/12/2002 12:56 PM
quote:
Originally posted by Corona:
[QB]Also, im probably not the best guinea pig, as i hacked up the ubbnews extensively. Changed the tables around alot, added a different date format, enabled graphics, added backgrounds, etc etc...
[/URL]
QB]



Could you explain how you managed to enable graphics. I really think that would make a real added value to the UBB news hack.
Posted By: mrpcpro Re: [6.1x] UBBNews 2.1.0 - 01/13/2002 7:21 AM
quote:
Originally posted by Ed:
I get this error when calling the ubbnews

"Undefined subroutine &main::NewsRow called at ..../cgi-bin/thegroomers/ubb/ubbnews.cgi line 129."

Any ideas?
Ed




Has anybody ever solved this problem? Is there any particular reason why nobody will respond to this gent? Just curious.

Carlos
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 01/14/2002 6:07 PM
quote:
Originally posted by Jonny Bravo:
does my page load slow?

also is there a way to speed up the script? Can it tie into the UBB cache?

does using the "limit characters" cause the script to run slower than just pulling in the whole topic?



It seems to load ok and looks good. It would require some re-work to get it to work with the cache tho. I had problems with the "limit characters" in that if the limit landed on a link or something all of the html would be screwed up due to a missing " etc...

For the errors you other guys are getting, it's a bad install, please restart from backups and pay a little closer attention to detail

Once again, cp-integration is cool, but I installed this modification back during 6.03 and haven't touched it since. I uploaded the files and manually set the variables and didn't touch one UBB file in the process, it runs fine (and has through 6.04, 6.05, 6.1.0.x and will do the same for the coming 6.2.0.x). We are using it in 3-4 places on our index page now.
Posted By: mrpcpro Re: [6.1x] UBBNews 2.1.0 - 01/14/2002 6:19 PM
I like the way the topics are setup on the home page , with no dates. What do I need to hack to get just topics with no dates?

Thanks for your help

Carlos
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 01/14/2002 7:20 PM
It's just a matter of editing the template file to how ever you want it... give it a shot and let me know if you can't figure it out
Posted By: mrpcpro Re: [6.1x] UBBNews 2.1.0 - 01/14/2002 7:48 PM
quote:
Originally posted by AllenAyres:
It's just a matter of editing the template file to how ever you want it... give it a shot and let me know if you can't figure it out



Taken Allen. I love the little guy waving.

Regards,

Carlos
Posted By: mrpcpro Re: [6.1x] UBBNews 2.1.0 - 01/14/2002 8:22 PM
Allen I feel like a loser. What is the name of the file. I know what to remove, but don't know where to remove it from.

Thanks for your advice.

Carlos
Posted By: mrpcpro Re: [6.1x] UBBNews 2.1.0 - 01/14/2002 10:54 PM
Please somebody help. Which file do I modify to remove the dates in the news.

Thanks

Carlos
Posted By: Greg Hard Re: [6.1x] UBBNews 2.1.0 - 01/14/2002 11:23 PM
public_ubbnews.pl
Posted By: mrpcpro Re: [6.1x] UBBNews 2.1.0 - 01/14/2002 11:32 PM
quote:
Originally posted by Greg Hard:
public_ubbnews.pl




Thanks. I'll give it a go.

Regards,

Carlos
Posted By: mrpcpro Re: [6.1x] UBBNews 2.1.0 - 01/15/2002 8:28 PM
I just want to report back that everything worked great.

Thanks for your help.

Carlos
Posted By: mrpcpro Re: [6.1x] UBBNews 2.1.0 - 01/15/2002 11:12 PM
Man, just when everything looks great I noticed that I need to include a line break after after topic post or everything looks to smushed up. Please tell me how to include this and I will bow down to you mighty hack Gods!!!

Thanks for helping a newbie.

Carlos
Posted By: Casper Re: [6.1x] UBBNews 2.1.0 - 01/19/2002 2:19 AM
How do you get the UBBNews to show the smilies (and images)on the front page like it does here?
Posted By: Zarzal Re: [6.1x] UBBNews 2.1.0 - 01/21/2002 6:02 PM
About the cache

quote:
Originally posted by Greg Hard:
It has to be rewritten. Its...slop.



I need to turn cache on again. My board slows down without it. Any chance to solve this problem in the near future ? I test it again on 6.1.0.3 on a fresh test UBB and the output dosn't update if cache is turned on. On UBB 6.05 all works very fine...

Regards
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 01/21/2002 6:20 PM
We've been using this modification since 6.03 with the cache turned on and haven't had any problems with it. We've got 3 instances of it running on our index.php page and there's no problem with it updating. If it isn't working for you, maybe it's the cache settings on your server itself conflicting with your ub cache settings. There isn't many possibilities for error if you have everything installed correctly.
Posted By: AllenAyres Re: [6.1x] UBBNews 2.1.0 - 01/21/2002 6:21 PM
quote:
Originally posted by Casper:
How do you get the UBBNews to show the smilies (and images)on the front page like it does here?



There's a line or 2 about graphics in your ubb_news.cgi file. Comment that out.
Posted By: Casper Re: [6.1x] UBBNews 2.1.0 - 01/21/2002 6:29 PM
quote:
Originally posted by Casper:
How do you get the UBBNews to show the smilies (and images)on the front page like it does here?



Never mind... I found it.

Instead of stripping the images is it possible to edit the path to the images for the Smilies?

i.e. src="../ubbpath/wink.gif"

instead of src="wink.gif"

The easy thing would just be to copy the smilies to the root.....
But with some people paying for storage I would think that duplicating images would be wasteful.

Also it would be nice if this were an option in the control panel wether or not to strip the images.

[ 01-21-2002 10:37 AM: Message edited by: Casper ]
Posted By: Zarzal Re: [6.1x] UBBNews 2.1.0 - 01/21/2002 10:09 PM
quote:
Originally posted by AllenAyres:
We've been using this modification since 6.03 with the cache turned on and haven't had any problems with it. ... There isn't many possibilities for error if you have everything installed correctly.



I update from 6.05 to 6.1.0.3. To do this I hacked the whole UBB completly new. Under 6.05 this hack works excelent. I notice the cache problem first time with 6.1.0.3

So I set up a test UBB without any hacks, installed fresh with no update. I put in UBB news and Wordlet Modifikation, set up a test homepage and try it to see what happend.

I create some test news. The first one will display on my test homepage, all next will be hidden. If I clear the cache they will be displayed. This can be reproduced all the time.

I rent serverspace and nothing is changed on it while we switch from 6.05 to 6.1.0.3

Do you have any tips for me to investigate this issue ? I like to fix this fast and use my cache again.

Update
I must clear only Forum Summary Page Cache without touching the other 3 caches to update the output of the script. Maybe this help to find the problem.

[ 01-22-2002 05:17 PM: Message edited by: Zarzal ]
Posted By: KisucoSSJ5 Re: [6.1x] UBBNews 2.1.0 - 01/23/2003 10:57 PM
where can i get this hack for 6.1.0.3
© UBB.Developers