#36483
02/15/2000 2:30 PM
|
Joined: Jan 2000
Posts: 47
Junior Member
|
Junior Member
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: Below that add: Look for: Below that add: Look for: Below that add: Look for: Below that add: Look for: Change that to: Look for: Change that to: Look for: Below that add: In forumdisplay.cgi, look for: Below that add: 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.
|
|
|
#36484
02/17/2000 4:38 PM
|
Joined: Jan 2000
Posts: 94
Member
|
Member
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
Joined: Mar 2001
Posts: 69 |
Delicious hack, thnx! ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif) ------------------ Cougar's here, so have no fear Webmaster of www.artbeast.de
|
|
|
#36486
02/18/2000 4:33 PM
|
Joined: Jan 2000
Posts: 94
Member
|
Member
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
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://ubbcodehacking.com/ubb/smilies/smile.gif) ------------------ http://su.ffgamers.net Joy! A hobby that only cost me $170.
|
|
|
#36488
02/19/2000 4:42 AM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
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
|
|
|
#36489
02/19/2000 8:35 AM
|
Joined: Feb 2000
Posts: 2
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 2 |
I have the 5.43d version and don't work ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/frown.gif) 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
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
Joined: Jan 2000
Posts: 825 |
will this work with 5.38c?
|
|
|
#36492
02/19/2000 1:46 PM
|
Joined: Jan 2000
Posts: 47
Junior Member
|
Junior Member
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.
|
|
|
#36493
02/19/2000 4:28 PM
|
Joined: Jan 2000
Posts: 825
Member / CodeFixer
|
Member / CodeFixer
Joined: Jan 2000
Posts: 825 |
|
|
|
#36494
02/20/2000 1:54 PM
|
Joined: Jan 2000
Posts: 825
Member / CodeFixer
|
Member / CodeFixer
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
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
|
|
|
#36497
02/22/2000 7:29 PM
|
Joined: Jan 2000
Posts: 94
Member
|
Member
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
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
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
|
|
|
#36500
03/27/2000 5:08 PM
|
Joined: Mar 2000
Posts: 2
Junior Member
|
Junior Member
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.
|
|
|
#36501
03/27/2000 5:29 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
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.
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|