Previous Thread
Next Thread
Print Thread
Rate Thread
#37820 09/07/2000 2:34 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
Found on the front page of our site, this lets you pull news/ announcements via SSI to another page. Written by flare, it has been added to the database.

https://www.ubbdev.com/db/cgi/ultimatebb.cgi?ubb=get_topic&f=8&t=000094

[ August 10, 2001: Message edited by: AllenAyres ]


- Allen wavey
- What Drives You?
Sponsored Links
#37821 09/13/2000 8:54 AM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Allen,
What did you change the settings to that allowed the full message to be included with this? I keep getting partial (the same amount no matter what) messages. Here is my test output... http://www.freakscene.net/test.shtml

Any suggestion (I'm sure it's a simple adjustment)

Thanks,
Jeremiah


jeremiah
#37822 09/14/2000 2:36 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
post here just the part of slashubb that controls the variables you set... that should prolly take care of it.

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
#37823 09/14/2000 9:30 AM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Ok, I'll piece this together in this format:
#comment
$variable
------------- these are my current settings ---
# Change active.cgi to the name you change the script to.
$online_url = "$CGIURL/slashubb.cgi";

# Forum number of the news forum (Must NOT be private or password protected)
$forum = 1;

# Set to 1 for headlines ONLY, 0 if you want headlines + summary.
$headlines_only = 0;

# The number of characters to display in the summary. (I bumped this up to test although nothing changed for me)
$SummaryChars = 800;

# Number of news topics to display
$num_threads = 3;

# 0 = Start at first post, 1 = Skip first post
$remove_first = 0;

# Set this option to 1 if you want to used a fixed length summary, taken from the ?summarchars command line SSI call or from the above setting. If set to 0, put ---Full Story--- on a blank line to end the summary, if you do not put ---Full Story---, it will display the entire posted message from the SSI call. (I tried this at 1 thus the bumped $SummaryChars variable. As you can see , even with this set to 0 it is not getting the complete messages)
$FixedSummary = 0;

# 0 = No Save, 1 = On (saves in NonCGIPath as "slashubb.htm") script instead of having the server read the news everytime the page is loaded. Will reduce server load at the expense of non-realtime news.
$save_to_file = 0;

What do your settings look like?

Thanks for you help,
Jeremiah

[This message has been edited by freakscene (edited September 14, 2000).]


jeremiah
#37824 09/14/2000 10:21 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
pretty much the same:

$online_url = "$CGIURL/slashubb.cgi";
$forum = 1;
$headlines_only = 0;
$SummaryChars = 220;
$num_threads = 3;
$remove_first = 0;
$FixedSummary = 0;
$save_to_file = 0;


Not sure what's happening with yours, you might want to get a fresh copy of the cgi file and upload it... maybe something was copied over, a comma is out of place, something.

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
Sponsored Links
#37825 09/14/2000 11:02 AM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Thanks Allen, I'll give that a shot when I get home [Linked Image]

Jeremiah


jeremiah
#37826 09/17/2000 5:17 PM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Well I finally fixed it. The strangest thing was happening, I had a link to postings.cgi?action=reply..... of this particular topic and that is where it would stop. I removed that link from my message and everything is working fine now! odd though.

Just thought I'd mention it incase anyone else ever hits this.

Jeremiah


jeremiah
#37827 09/18/2000 12:42 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
Glad it worked out for you...

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
#37828 09/21/2000 3:17 PM
Joined: Aug 2000
Posts: 57
Member
Member
Offline
Joined: Aug 2000
Posts: 57
Can someone please help me set up this hack, i just can't get it

------------------
check out my boards, http://nintendocontrol.hypermart.net/cgi-bin/Ultimate.cgi

#37829 10/04/2000 1:37 PM
Joined: Oct 2000
Posts: 229
Member
Member
Offline
Joined: Oct 2000
Posts: 229
The link in the database setion for the code is busted. Help!!

Sponsored Links
#37830 10/12/2000 4:17 PM
Joined: Oct 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Oct 2000
Posts: 4
http://www.cohort.to/files/slashubb.txt is down, any other link ???

------------------
- matan zruya
get your free e-mail at zruya.org

#37831 10/12/2000 6:32 PM
Joined: Jul 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jul 2000
Posts: 6

#37832 10/12/2000 7:59 PM
Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
That's version 1.0, the latest (and the one I want) is version 1.3.

------------------
--Dark Templar


-DT
#37833 10/13/2000 6:48 AM
Joined: Sep 2000
Posts: 12
Junior Member
Junior Member
Offline
Joined: Sep 2000
Posts: 12
Hey, Umm... Problems [Linked Image]
This "Hack" requires one "cookie-lib.pl" or something... May not be a dash, may be an underscore, But my version (5.46) doesn't have a cookie-lib.pl....
Can peoples help?
What can I change to make it work?
Cos I want it...

#37834 10/13/2000 7:01 AM
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Allen, did you ever notice smilies won't work in this..? Any fixes?



------------------

UBB Layout Designer/Affiliate


- Custom Web Development
http://www.JCSWebDev.com
#37835 10/13/2000 7:49 AM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Smilies will work - http://www.freakscene.net/index.shtml

I did no tweaking at all, just set the variables.
Make sure you have the most recent version.

jeremiah


jeremiah
#37836 10/13/2000 5:15 PM
Joined: Jan 2000
Posts: 12
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 12
http://cohort.techgrafix.com/files/slashubb.txt

Is the current link to the latest version (v1.3)



------------------
A crust of bread is better than nothing. Nothing is better than love.
Therefore, by the transitive property, a crust of bread is better than love.


A crust of bread is better than nothing. Nothing is better than love.
Therefore, by the transitive property, a crust of bread is better than love.
#37837 10/13/2000 5:34 PM
Joined: Jul 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jul 2000
Posts: 6
Gives me this:
Quote
quote:

#37838 10/13/2000 5:35 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
Thank you flare, I'll update the database...

it's there, give it another try.

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
#37839 10/13/2000 6:26 PM
Joined: Jul 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jul 2000
Posts: 6
How Strange, I tried it 3/4 times before, now it works.

Oh well, I'm not complaining [Linked Image].

#37840 11/11/2000 4:53 PM
Joined: Sep 2000
Posts: 19
Member
Member
Offline
Joined: Sep 2000
Posts: 19
Is it somehow possible to use this with Newspro?

#37841 11/17/2000 5:56 PM
Joined: Nov 2000
Posts: 51
Member
Member
Offline
Joined: Nov 2000
Posts: 51
Hi,

I'm trying to get this script to work, but I keep getting the following error:

Active Server Pages error 'ASP 0126'

Include file not found

/cgi-bin/slashubb.cgi, line 25

The include file '/cgi-bin/active.cgi' was not found.

How do I fix this? The documentation calls
for active.cgi, but I don't have this script
in my UBB?

AgentX

#37842 11/20/2000 2:14 PM
Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
Quote
quote:
you have to rename active.cgi in the line above to slashubb.cgi or whatever you named this script to.... [Linked Image]


I do not offer support by EMail or ICQ, please post your question at UBBDev....
#37843 11/22/2000 2:57 AM
Joined: Jan 2000
Posts: 96
Member
Member
Offline
Joined: Jan 2000
Posts: 96
any way to use this in a cgi file? or php, cause my startup page is a .php file and i was curious if there was a way to include this


Music is the art of thinking with sound
#37844 12/08/2000 3:51 PM
Joined: Mar 2000
Posts: 63
Member
Member
Offline
Joined: Mar 2000
Posts: 63
Excellent, got it to work nicely. as an add-on does anyone know how to get it to work with the hits counter (non ssi) hack?

https://www.ubbdev.com/db/Forum6/HTML/000006.html

Thanks...

#37845 12/18/2000 4:43 PM
Joined: Sep 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Sep 2000
Posts: 2
Exstatica,

I also use php for my scripted pages. SSIs dont get parsed in php scripts, but if you are running Apache you can use the 'virtual()' php command to sub-request an SSI.

Create a file (slashubb.shtml) that contains only the slashubb ssi script. In the php script where you want slashubb to appear, call the shtml with the virtual() command {}
Make sue that you do have .shtml as server parsed files in the Apache conf.

I am also in the process of converting the slashubb script to a pure php script and once I am done I will try to remember to post it here.

#37846 12/18/2000 8:58 PM
Joined: Jan 2000
Posts: 96
Member
Member
Offline
Joined: Jan 2000
Posts: 96
thank you very much

------------------
Music is the art of thinking with sound


Music is the art of thinking with sound
#37847 01/17/2001 9:08 PM
Joined: Jan 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 10
are there any changes that need to be made to slash-ubb to make it work? I am using 4.57d and all i get when i call the script is the "SlashUBB v1.3 Copyright 2000 by Flare"

Any ideas????

Telnetmanta....

#37848 01/20/2001 5:00 AM
Joined: Jul 2000
Posts: 237
Member
Member
Offline
Joined: Jul 2000
Posts: 237
in the instruction it said:

Put the slc.gif file in your NON-CGI directory.

where can i find this image?

forget it... i found it... [Linked Image]
------------------
TyRaN = tyranausaure



This message has been edited by TyRaN on January 20, 2001 at 04:02 AM


Sorry for my english... i speak french.

email:[email protected]
#37849 04/18/2001 1:55 AM
Joined: Jan 2001
Posts: 100
Member
Member
Offline
Joined: Jan 2001
Posts: 100
ok if my board doesn't have ssi what do I name the script??

I named it slashubb.cgi

and I changed the $CGIURL/active.cgi

to $CGIURL/slashubb.cgi


I made a new forum named "news" I didn't put it in a category though... The forum number is 22

I put that in the slashubb variables...

I tried CHMOD755 and 777.... but nothing!!!


Someone pleaseeeeeeeeeee help!!

#37850 04/18/2001 3:42 AM
Joined: Jun 2000
Posts: 179
Member
Member
Offline
Joined: Jun 2000
Posts: 179
BAHAHAHAHA

#37851 04/18/2001 12:40 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
If you can't use ssi, then you're pretty much outta luck, this was made for ssi.

Use the active topics by Dave Downin... it works well...


- Allen wavey
- What Drives You?
#37852 04/18/2001 8:30 PM
Joined: Jan 2001
Posts: 100
Member
Member
Offline
Joined: Jan 2001
Posts: 100
Ok I kinda figured it out..
My Site

But I have 2 problems I don't know how to display HTML in there?? And for some reason it puts everything together... Even if you space or double or triple space paragraphs it compacts it all into on paragraph... Any help please??

#37853 07/27/2001 2:37 PM
Joined: Jul 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 1
and heres my problem.. the link is busted to this frown as well as every link to the same site mad

#37854 08/01/2001 7:44 PM
Joined: Nov 2000
Posts: 22
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 22


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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
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 20221218)