Previous Thread
Next Thread
Print Thread
Rate Thread
#36483 02/15/2000 2:30 PM
Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
News Forum - newsdisplay.cgi
Posted: 01.04.2000 (obed)
Documented: 02.15.2000 (Sir Nikon)

Description: This is a modified version of forumdisplay.cgi
which changes the overall layout of a certain forum.

In cpanel3.cgi, look for:

Code
code:

Below that add:

Code
code:

Look for:

Code
code:

Below that add:

Code
code:

Look for:

Code
code:

Below that add:

Code
code:

Look for:

Code
code:

Below that add:

Code
code:

Look for:

Code
code:

Change that to:

Code
code:

Look for:

Code
code:

Change that to:

Code
code:

Look for:

Code
code:

Below that add:

Code
code:

In forumdisplay.cgi, look for:

Code
code:

Below that add:

Code
code:

Now download and upload the newsdisplay.cgi file to your server. Create
a forum in the CP as you normally would. Then access the forum settings
and change the "Forum Type" letter of the forum you just created to
[i]N[/b]. That will tell forumdisplay.cgi to forward the user to the
newsdisplay.cgi. If you are wondering what the key is for "Forum Type,"
it goes as follows:

F - Standard Forum (forumdisplay.cgi)
N - News Forum (newsdisplay.cgi)

That's about it... I modified this thing just a bit to look for like the UBB.

Example: http://su.ffgamers.net/forums/forum...s+Test&number=13&DaysPrune=10&LastLogin=

Tested on: 5.40, 5.42, 5.43a

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Sponsored Links
Joined: Jan 2000
Posts: 94
Member
Member
Offline
Joined: Jan 2000
Posts: 94
Sir Nikon, I installed this in my ubb (v5.43d) and it give me it displays wierd. Can you please click on the link below and check it out?

It does not look anything like the way yours does. Any ideas how I screwed this up?

http://www.hidingplace.com/cgi-bin/cgiwrap/~mrwebb/board/newsdisplay.cgi?action =topics&number=1

------------------
When you sin, you don't fall FROM God's grace, you fall INTO it!!


When you sin, you don't fall FROM God's grace, you fall INTO it.

Bring In The Geek Consulting Services
#36485 02/18/2000 10:24 AM
Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
Delicious hack, thnx! [Linked Image]

------------------
Cougar's here, so have no fear
Webmaster of www.artbeast.de

Joined: Jan 2000
Posts: 94
Member
Member
Offline
Joined: Jan 2000
Posts: 94
Menno, how did you get this to work? Please read my earlier post. if you can help me out, I would greatly appreciate it.


When you sin, you don't fall FROM God's grace, you fall INTO it.

Bring In The Geek Consulting Services
#36487 02/18/2000 11:57 PM
Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
The version you installed is the original version that obed created, my version is a version that I just modified to look more like the UBB. If you want, I'll post a text file of the script. [Linked Image]

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Sponsored Links
Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
Dunno, I just followed the instructions, and it worked

------------------
Cougar's here, so have no fear
Webmaster of www.artbeast.de

Joined: Feb 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 2
I have the 5.43d version and don't work [Linked Image]

i find some errors in ur txt like $OrderNu mber...

can u explain more for this cool hacks?

tnx

#36490 02/19/2000 11:42 AM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Coo...i will make sure to install this thing sometime. Ya think it should work with 5.39?

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

#36491 02/19/2000 12:17 PM
Joined: Jan 2000
Posts: 825
Member / CodeFixer
Member / CodeFixer
Offline
Joined: Jan 2000
Posts: 825
will this work with 5.38c?

Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
I only tested it on 5.40, 5.41, and 5.43a. My guess is that it would still work since I don't think there are that many mods to how forums are indexed and totaled.

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Sponsored Links
Joined: Jan 2000
Posts: 825
Member / CodeFixer
Member / CodeFixer
Offline
Joined: Jan 2000
Posts: 825
cool

Joined: Jan 2000
Posts: 825
Member / CodeFixer
Member / CodeFixer
Offline
Joined: Jan 2000
Posts: 825
Do i need SSI or anything crazy?

I remember reading one news display thing and you need all of this crazy stuff.. Hoping this is not the case here.

#36495 02/22/2000 12:30 PM
Joined: Jan 2000
Posts: 94
Member
Member
Offline
Joined: Jan 2000
Posts: 94
Sir Nikon, the version I installed was the one you posted here. I do not know anything about Obed's version at all. I still get a wierd display.

Can you please help me?????


When you sin, you don't fall FROM God's grace, you fall INTO it.

Bring In The Geek Consulting Services
Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
You are using obed's version... if you want to download mine, check the URL below:


http://su.ffgamers.net/wch/newsdisplay.ycy

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Joined: Jan 2000
Posts: 94
Member
Member
Offline
Joined: Jan 2000
Posts: 94
Sir Nikon, I re-insalled the hack and used the newdisplay.txt file you suggested. Now I get a different display and it still is not correct.

[u][b]Check This Out[/b][/u]FONT c>

One thing I did notice: You refer to:

&ReadParse;
foreach $row(@in) {
($Name, $Value) = split ("=", $row);
$Name = &decodeURL($Name);
$Value = &decodeURL($Value);

But I do not have this in my code. I have it in three places with out the &ReadParse; line in the cpanel3.cgi file.

Do I paste your addition in all three places. Is this what is wrong? I do not understand. Can you please check it out for me?

------------------
When you sin, you don't fall FROM God's grace, you fall INTO it!!


When you sin, you don't fall FROM God's grace, you fall INTO it.

Bring In The Geek Consulting Services
#36498 02/22/2000 11:16 PM
Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
How odd... I dunno what it could be. You shouldn't edit any portion of newsdisplay.cgi (except maybe the Perl path). It just needs to be uploaded in ASCII to your UBB CGI Dir and CHMODed 755.

No part of the UBB should be affecting the actual layout of newsdisplay.cgi, except maybe the header and footer.

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

#36499 02/23/2000 12:34 PM
Joined: Jan 2000
Posts: 94
Member
Member
Offline
Joined: Jan 2000
Posts: 94
Well, i did not modify the newsdiplay.cgi file at all except the perl path. I did upload it in ascii and chmod it to 755.

Like I said, I saw 3 instances of what I referred to and so I added your change to all 3.

Other than that, I don't know either. I am running 5.44 right now. Does that make a differnce? Before when I was haveing problems, I was running 5.43d.

------------------
When you sin, you don't fall FROM God's grace, you fall INTO it!!


When you sin, you don't fall FROM God's grace, you fall INTO it.

Bring In The Geek Consulting Services
Joined: Mar 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 2
please help, i did and re did every single line of this hack and now i can not access the topics of my forms. im using UBB 5.44a

please help, thank you all.

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
i am using 5.44a. I followed the instructions to the letter, and it was very easy. I dont knowhow to help you. Because this problem has never been documented.


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
isaac
isaac
California
Posts: 1,157
Joined: July 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)