Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
#37794 12/28/2000 4:30 AM
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
alo!

was wondering if this hack (or something similar) could be added without all the SSI? meaning, could i alter it to simply list, say, the 5 most recent threads on my ultimate.cgi? (below the table? or, eventually, if this is all possible, i'd move the code into my news fader thingie, up top)

havent really checked thru the code. figured id ask if it was possible, first [Linked Image]

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

my site
my boards
second place winner in ubbdev's november spotlight

Sponsored Links
#37795 12/31/2000 4:50 AM
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
guess not, huh? but i REALLY really want it! c'mon, help a brotha out. lookit my damn car!!



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

my site
my boards
second place winner in ubbdev's november spotlight

#37796 01/04/2001 1:45 PM
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
Lmao!!!!

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

#37797 01/05/2001 3:56 AM
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
i cannot get this mod to work to save my life!!

i just keep getting ISE's.

i have it chmod 755 uploaded in acsii and my path to peral is correct......

plz can i get some help? lookit his car!

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

#37798 01/05/2001 8:19 AM
Joined: Dec 2000
Posts: 1
fu Offline
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 1
anyone got active topics to create the static page in 5.45c ? Any documentation ou there

Sponsored Links
#37799 01/05/2001 5:58 PM
Joined: Jul 2000
Posts: 1,349
Ell Offline
Member
Member
Offline
Joined: Jul 2000
Posts: 1,349
CopyCat - sounds like an a quotation mark issue. I haven't looked at the code, but try adding an equivilent line:

$UserName =~ /"/"/ig;

in somewhere. Something that performs a pattern search on the username, and replaces " with "

...If I'm just talking rubbish, feel free to flame.

------------------
If you can read this, you're posting too close!

#37800 01/06/2001 1:21 AM
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
borg: where do u put that code?

i have the same problem with the whos online code. it dont like the charachters - ] [ it loads a blank white page if someone has those in there name...

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

#37801 01/10/2001 11:24 PM
Joined: Jan 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 2
I managed to work around this problem by simply setting the font color to my background before I included the cgi file. That leaves an open tag, shouldn't be a problem, but you can close it if you want with a print statement inside the cgi file.

There is still some IIS setting we have wrong that makes it print that header info, but I have no idea what it might be and don't have access to the IIS control panel [Linked Image]

Quote
quote:

#37802 01/11/2001 10:15 AM
Joined: Jan 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 2
Quote
quote:

No, I'm pretty sure it's the pipes. I have a couple of users with pipes as well and active.cgi chokes on them. I think it screws up the order in this line or one like it in active.cgi:

$ordered = "$threads[10]|$threads[4]|$threads[2]|$threads[8]|$forum|$threads[7]|$threads[14]|$month-$day-$year|$hour:$min|$forum";

#37803 01/11/2001 11:13 AM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
[Linked Image] - Dave has a nice addition to this hack.
Quote
quote:
http://www.arlo.net/ubb/hacks/

------------------
Jeremiah
FreakScene - The Dinosaur Jr Audio/Visual Archive
My UBB
In
( ((((((((((((((STEREO))))))))))))) ) )
Where Available


jeremiah
Sponsored Links
#37804 01/24/2001 11:10 AM
Joined: Jan 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 1
I made slight modifications that seemed to work. Most of the delimiter splits made use of the "|" pipe to seperate the fields instead of "||".

What I did:
Look for:
(@threads) = split(/|/,$_);

change to:
(@threads) = split(/|^|/,$_);

Look for:
$ordered = "$threads[10]|$threads[4]|$threads[2]|$threads[8]|$forum|$threads[7]|$threads[14]|$month-$day-$year|$hour:$min|$forum";

change to:
$ordered = "$threads[5]||$threads[2]||$threads[1]||$threads[4]||$forum||$threads[7]||$month-$day-$year||$hour:$min||$forum";

Look for:
(@threadheader) = split(/|/,$contents[0]);

Change to:
(@threadheader) = split(/||/,$contents[0]);

Finally,

Replace all $threaddata[2] with $threaddata[1]
Replace all $threaddata[4] with $threaddata[2]
Replace all $threaddata[8] with $threaddata[4]


Remember to back up!
Alvin.
[email protected]

Quote
quote:
This message has been edited by Alvin Koh on January 24, 2001 at 10:15 AM

#37805 01/28/2001 12:39 AM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
that didnt work with me alvin..

hey this script opens a bunch of files..

This message has been edited by CopyCat on January 28, 2001 at 05:22 AM

#37806 01/31/2001 1:16 AM
Joined: Jul 2000
Posts: 237
Member
Member
Offline
Joined: Jul 2000
Posts: 237
hi... on my ubb i have active.cgi on my homepage like here... but the first topic on the top is blank...

only Last Updated on --20-100 at : with the bullet in front of it.

the other 4 topics (i set it to display 5) is ok... if i set it to 6 the first still blank with the stupid date: Last Updated on --20-100 at : and the 5 others are ok.

any idea?

thanks

------------------
Sorry for my english... i speak french.

TyRaN = tyranausaure



Sorry for my english... i speak french.

email:[email protected]
#37807 01/31/2001 1:17 AM
Joined: Dec 2000
Posts: 9
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 9
Ack...can someone please help me?

I have three sctive.cgis each one filtered differently for my front page...

Well someone with a space in their login posted....

Now it won't update at all?
I posted some tests and still no update?
Chmoded everything 755...tried 777 even...

It worked before - have no clue what changed...

Indexed and updated threads...
No errors associated with it...

Any ideas?
Is it because of his login?

My website is
http://www.thepharmforum.com/newfrontx1.shtml

Thanks!

#37808 01/31/2001 1:44 AM
Joined: Dec 2000
Posts: 9
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 9
Update from above post:

Deleted the active.htm file
to see if it would update

Got an error...may be that the



is not executing properly?

#37809 02/12/2001 9:51 PM
Joined: Oct 2000
Posts: 21
Member
Member
Offline
Joined: Oct 2000
Posts: 21
Quote
quote:
Quote
quote:
I got the same 500 ISE on mine as well. I call up the active.cgi via the browser alone. Ive tried all the settings in the active.cgi file. Path to perl is set right and I dont need ssi for this yet. And nothing but ISE errors. What is the remedy for this problem. Thanks.

#37810 06/06/2002 11:52 AM
Joined: Jun 2002
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 2
Bringing back an old topic here...

Does anyone have a hack for the Active Topics that supports multi-page threads? The only version I've seen (and the one talked about here) will always go to the first page, regardless of how many pages the thread actually has.

Any help with this one would be greatly appreciated, fellas.

Thanks in advance,
TomKWS

#37811 06/13/2002 3:57 PM
Joined: Jun 2002
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 2
*bump*

D00dz, any help would be seriously appreciated.

Page 2 of 2 1 2

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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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)