Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
#145567 07/31/2001 8:29 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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

Sponsored Links
#145568 07/31/2001 10:54 PM
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 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


- Allen wavey
- What Drives You?
#145569 08/02/2001 11:57 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
#145570 08/06/2001 2:48 PM
Joined: Aug 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 8
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.

#145571 08/09/2001 2:39 AM
Joined: Apr 2001
Posts: 3
Junior Member
Junior Member
Offline
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.

Sponsored Links
#145572 08/15/2001 10:37 PM
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
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?

#145573 08/19/2001 2:10 AM
Joined: May 2001
Posts: 315
Member
Member
Offline
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.

#145574 08/19/2001 8:32 PM
Joined: Aug 2001
Posts: 9
Junior Member
Junior Member
Offline
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 =)

#145575 08/19/2001 9:02 PM
Joined: May 2001
Posts: 315
Member
Member
Offline
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.

#145576 08/20/2001 12:16 AM
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:
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


- Allen wavey
- What Drives You?
Sponsored Links
#145577 08/20/2001 3:01 AM
Joined: Aug 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 9
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 ]

#145578 08/20/2001 12:08 PM
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 wink


- Allen wavey
- What Drives You?
#145579 08/20/2001 4:51 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
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. smile

#145580 08/20/2001 5:12 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
Joined: Mar 2000
Posts: 143
Just out of curiosity (maybe I can learn something). What does this mean:

ns_id=2

#145581 08/20/2001 5:45 PM
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.


- Allen wavey
- What Drives You?
#145582 08/20/2001 6:24 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
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"

#145583 08/20/2001 6:48 PM
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 ? smile


- Allen wavey
- What Drives You?
#145584 08/20/2001 8:09 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
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...

#145585 08/20/2001 8:31 PM
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
Joined: Jan 2001
Posts: 1,309
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 - ]

#145586 08/21/2001 7:00 AM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
Joined: Mar 2000
Posts: 143
Oh. Wait a minute. Is this only for 6.1? I'm using 6.05...

#145587 08/21/2001 12:54 PM
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
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 :

#145588 08/21/2001 1:56 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
In my SHTML it's

Try to add a slash before "ubbcgi".

#145589 08/21/2001 3:12 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
Joined: Mar 2000
Posts: 143
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?

#145590 08/21/2001 6:20 PM
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
Joined: Jan 2001
Posts: 1,309
Quote
quote:
Just tried that, got the same error. frown

#145591 08/21/2001 8:53 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
Joined: Mar 2000
Posts: 143
If think we have 'em stumped!

#145592 08/21/2001 10:52 PM
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.


- Allen wavey
- What Drives You?
#145593 08/21/2001 11:12 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
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...

#145594 08/22/2001 2:43 AM
Joined: Aug 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 9
So, This mod will work with 6.05???

[ August 22, 2001: Message edited by: Xcert ]

#145595 08/22/2001 6:25 AM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
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?

#145596 08/22/2001 7:27 AM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
Joined: Mar 2000
Posts: 143
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...

#145597 08/22/2001 10:58 AM
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
Joined: Jan 2001
Posts: 1,309
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...

#145598 08/22/2001 3:07 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
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...

#145599 08/22/2001 3:08 PM
Joined: Aug 2001
Posts: 9
Junior Member
Junior Member
Offline
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"
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.

#145600 08/22/2001 3:11 PM
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...


- Allen wavey
- What Drives You?
#145601 08/22/2001 3:32 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
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...

#145602 08/22/2001 5:25 PM
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
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 smile
I will be using this to run pretty much my entire site. smile

#145603 08/22/2001 11:37 PM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
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...

#145604 08/23/2001 7:09 AM
Joined: Mar 2000
Posts: 143
Member
Member
Offline
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?

#145605 08/25/2001 9:20 PM
Joined: Aug 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 1
Fixed problem, removed.

[ August 25, 2001: Message edited by: Quicksilver ]

#145606 09/10/2001 8:04 PM
Joined: Sep 2001
Posts: 1
Junior Member
Junior Member
Offline
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 ]

Page 1 of 3 1 2 3

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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,574
Posts293,926
Members13,850
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 20240506)