php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#37820 - 09/07/00 02:34 PM SlashUBB
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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.

http://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?

Top
#37821 - 09/13/00 08:54 AM Re: SlashUBB
freak.scene Offline
Member

Registered: 08/15/00
Posts: 677
Loc: Charlotte, NC
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

Top
#37822 - 09/14/00 02:36 AM Re: SlashUBB
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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?

Top
#37823 - 09/14/00 09:30 AM Re: SlashUBB
freak.scene Offline
Member

Registered: 08/15/00
Posts: 677
Loc: Charlotte, NC
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

Top
#37824 - 09/14/00 10:21 AM Re: SlashUBB
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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?

Top
#37825 - 09/14/00 11:02 AM Re: SlashUBB
freak.scene Offline
Member

Registered: 08/15/00
Posts: 677
Loc: Charlotte, NC
Thanks Allen, I'll give that a shot when I get home

Jeremiah
_________________________
jeremiah

Top
#37826 - 09/17/00 05:17 PM Re: SlashUBB
freak.scene Offline
Member

Registered: 08/15/00
Posts: 677
Loc: Charlotte, NC
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

Top
#37827 - 09/18/00 12:42 AM Re: SlashUBB
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Glad it worked out for you...

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

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#37828 - 09/21/00 03:17 PM Re: SlashUBB
Chillie Offline
Member

Registered: 08/19/00
Posts: 80
Loc: Canada
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
_________________________
check out my site X-Treme Web Development

Top
#37829 - 10/04/00 01:37 PM Re: SlashUBB
Thradar Offline
Member

Registered: 10/03/00
Posts: 355
Loc: Olympia, WA
The link in the database setion for the code is busted. Help!!

Top
#37830 - 10/12/00 04:17 PM Re: SlashUBB
zruya Offline
Junior Member

Registered: 10/12/00
Posts: 4
Loc: Hadera, IL, Israel
http://www.cohort.to/files/slashubb.txt is down, any other link ???

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

Top
#37831 - 10/12/00 06:32 PM Re: SlashUBB
Nido Offline
Junior Member

Registered: 07/29/00
Posts: 21
Loc: London

Top
#37832 - 10/12/00 07:59 PM Re: SlashUBB
Dark Templar Offline
Member

Registered: 09/30/00
Posts: 982
Loc: California | Retired UBB Hacke...
That's version 1.0, the latest (and the one I want) is version 1.3.

------------------
--Dark Templar
_________________________
-DT

Top
#37833 - 10/13/00 06:48 AM Re: SlashUBB
Usurper Offline
Junior Member

Registered: 09/04/00
Posts: 17
Loc: Melbourne, Vic, Aus
Hey, Umm... Problems
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...

Top
#37834 - 10/13/00 07:01 AM Re: SlashUBB
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Allen, did you ever notice smilies won't work in this..? Any fixes?



------------------
<IMG SRC=\"http://www.cyber-cards.com/g/cplogo.gif\" border=0>
UBB Layout Designer/Affiliate
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#37835 - 10/13/00 07:49 AM Re: SlashUBB
freak.scene Offline
Member

Registered: 08/15/00
Posts: 677
Loc: Charlotte, NC
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

Top
#37836 - 10/13/00 05:15 PM Re: SlashUBB
Flare Offline
Junior Member

Registered: 01/13/00
Posts: 24
Loc: Kansas
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.

Top
#37837 - 10/13/00 05:34 PM Re: SlashUBB
Nido Offline
Junior Member

Registered: 07/29/00
Posts: 21
Loc: London
Gives me this:
Quote:
quote:

Top
#37838 - 10/13/00 05:35 PM Re: SlashUBB
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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?

Top
#37839 - 10/13/00 06:26 PM Re: SlashUBB
Nido Offline
Junior Member

Registered: 07/29/00
Posts: 21
Loc: London
How Strange, I tried it 3/4 times before, now it works.

Oh well, I'm not complaining .

Top
#37840 - 11/11/00 03:53 PM Re: SlashUBB
Pecker Offline
Member

Registered: 09/04/00
Posts: 50
Loc: England
Is it somehow possible to use this with Newspro?

Top
#37841 - 11/17/00 04:56 PM Re: SlashUBB
AgentX Offline
Member

Registered: 11/17/00
Posts: 83
Loc: Vancouver, BC, Canada
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

Top
#37842 - 11/20/00 01:14 PM Re: SlashUBB
Dark_Wizard Offline
Member

Registered: 06/11/00
Posts: 57
Quote:
quote:


you have to rename active.cgi in the line above to slashubb.cgi or whatever you named this script to....
_________________________
I do not offer support by EMail or ICQ, please post your question at UBBDev....

Top
#37843 - 11/22/00 01:57 AM Re: SlashUBB
Exstatica Offline
Member

Registered: 01/12/00
Posts: 120
Loc: Southern California
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

Top
#37844 - 12/08/00 02:51 PM Re: SlashUBB
spiffy Offline
Member

Registered: 03/28/00
Posts: 91
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?

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

Thanks...

Top
#37845 - 12/18/00 03:43 PM Re: SlashUBB
Hokey Offline
Junior Member

Registered: 09/27/00
Posts: 3
Loc: USA
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 {<? virtual('../path/to/shtml/slashubb.shtml') ?>}
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.

Top
#37846 - 12/18/00 07:58 PM Re: SlashUBB
Exstatica Offline
Member

Registered: 01/12/00
Posts: 120
Loc: Southern California
thank you very much

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

Top
#37847 - 01/17/01 08:08 PM Re: SlashUBB
telnetmanta Offline
Junior Member

Registered: 01/11/01
Posts: 16
Loc: SC, USA
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....

Top
#37848 - 01/20/01 04:00 AM Re: SlashUBB
TyRaN Offline
Member

Registered: 07/27/00
Posts: 286
Loc: Canada
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...
------------------
TyRaN = tyranausaure

<IMG SRC="http://tyran.ovh.org/tyran.gif" border=0>

<FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by TyRaN on January 20, 2001 at 04:02 AM</font>
_________________________
Sorry for my english... i speak french.

email:tyranausaure@hotmail.com

Top
#37849 - 04/18/01 01:55 AM Re: SlashUBB
CARTOON Offline
Member

Registered: 01/07/01
Posts: 141
Loc: Santee
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!!

Top
#37850 - 04/18/01 03:42 AM Re: SlashUBB
H.A.L.L. Offline
Member

Registered: 06/09/00
Posts: 218
Loc: ThA dEpThS oF HeLL!
BAHAHAHAHA

Top
#37851 - 04/18/01 12:40 PM Re: SlashUBB
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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?

Top
#37852 - 04/18/01 08:30 PM Re: SlashUBB
CARTOON Offline
Member

Registered: 01/07/01
Posts: 141
Loc: Santee
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??

Top
#37853 - 07/27/01 02:37 PM Re: SlashUBB
Warped Mind Offline
Junior Member

Registered: 07/27/01
Posts: 1
and heres my problem.. the link is busted to this frown as well as every link to the same site mad

Top
#37854 - 08/01/01 07:44 PM Re: SlashUBB
booker Offline
Junior Member

Registered: 11/26/00
Posts: 27

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks