|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
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
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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  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 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: Aug 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 8 |
I've seen the Ubbnews script 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.
|
|
|
|
Joined: Apr 2001
Posts: 3
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 3 |
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.
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
I havent installed this yet but is it possible to have multiple pages with different news for each section?
|
|
|
|
Joined: May 2001
Posts: 315
Member
|
Member
Joined: May 2001
Posts: 315 |
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.
|
|
|
|
Joined: Aug 2001
Posts: 9
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 9 |
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 =)
|
|
|
|
Joined: May 2001
Posts: 315
Member
|
Member
Joined: May 2001
Posts: 315 |
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.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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: news_forums => q~1~, <<<<=== forum # of announcements forum template_choice => q~2~ <<<<=== for news like we have in the middle of our front page
|
|
|
|
Joined: Aug 2001
Posts: 9
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 9 |
Thanks! 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 ]
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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 
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
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. 
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
Just out of curiosity (maybe I can learn something). What does this mean:
ns_id=2
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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.
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
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"
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Have you set up the second news session? What happened to ns=1 ? 
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
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...
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
Ah... sorry.. had an error but found the answer earlier in this topic Just finished installing, working great so far Keep up the good work! [ August 20, 2001: Message edited by: Bookie - ]
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
Oh. Wait a minute. Is this only for 6.1? I'm using 6.05...
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
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 :
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
In my SHTML it's
Try to add a slash before "ubbcgi".
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
Just tried that, got the same error. 
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
If think we have 'em stumped!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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.
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
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...
|
|
|
|
Joined: Aug 2001
Posts: 9
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 9 |
So, This mod will work with 6.05???
[ August 22, 2001: Message edited by: Xcert ]
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
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?
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
Okay. I figured out how to change that dark font color. Wordlets.  But, I still can't figure out how to change the font size for the "just topics only" news...
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
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...
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
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...
|
|
|
|
Joined: Aug 2001
Posts: 9
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 9 |
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" To this: 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.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ummm.. you could ask in the 6.0x forums...
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
Okay. My forums are updating now. Not sure what was happening before. I love this mod. This may be my favorite...
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
Ah it works now... wonder why it wouldnt with the other code : oh well, thanx for all your help Allen I will be using this to run pretty much my entire site. 
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
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...
|
|
|
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
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?
|
|
|
|
Joined: Aug 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 1 |
Fixed problem, removed.
[ August 25, 2001: Message edited by: Quicksilver ]
|
|
|
|
Joined: Sep 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 1 |
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 ]
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|