Add more Boards to the News Panel in the Front of IIP
Allows
adding as many boards news panels as you wish to IIP
Working Under: UBB.Threads v6.4.1
Mod Status: Beta
Any pre-requisites:
IIP 5.4.4 and of course threads 6.4.1
Author(s): scroungr
Date: 02/08/04
Credits:
David Lozier for original IIP, Joshpet for updating IIP
Files Altered:
editconfigpal.php and doeditconfigpal.php
New Files:
none
Database Altered:
No
Info/Instructions:
Just follow the inclosed directions, you can add more then the one I included by just adding another panel.
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. Couchtomatoe - www.couch-tomatoe.cc My abilities are for hire for installs, upgrades, custom themes and custom modifications.
I just now found time to try and add this "hack" that you and Chuck provided. And, I have a problem, hehe. First of all, I have (2) editconfigpal.php files. One is here: /forum/editconfigpal.php and the other is in: /forum/pals/editconfigpal.php
Secondly, neither of those files has the following nor anything below this that appears in your instructions:
# # Find #
B4: <select name="newsboard4">
$newsboard4select </select> <br />
Am I looking at the wrong file and there is actually a 3rd, editconfigpal.php file somewhere? The "doeditconfigpal.php" file seems okay and I found that one in the /forum/pals directory and only there.
Jeff
Artificial Intelligence is no match for natural stupidity!
and the line should be about line 2500 or so it;s at 2577 for mine. Make sure you have version 5.4.4. If not basically look at the two files in the pals directory try to compare what I did.
I don't know where that other editconfigpal.php file came from, but it has a bunch more "custom boxes" entries than the one in the pals directory. I deleted it and no harm no foul.
I finally found all the entries for the hack and it works fine. My copy of the editconfigpal.php file is double-spaced and I couldn't use the "find" feature for multiple lines as the hack instructions were single-spaced. It also helps when you have enough sleep behind you to realize these little and otherwise obvious things. []http://www.the-highway.com/Smileys/duh2.gif[/]
Hmm double spaced? wonder what version that is? and hmm about the one that was in your threads root it shure it wasn't just editconfig.php? and you said it had more options? hmm hope you didn't just delete it before looking at it? maybe you downloaded it here from a script and it was accidently placed in the threads rot?
Yeh, the entire script is double-spaced. With the hack added I have 7373 lines.
As far as the version of the file, at the top it says:
Integrated Index Page (IIP) Version 5.4 (January 11, 2003)
And, it is possible that I accidentally uploaded the other ediconfigpal.php file to my forum root directory, but not likely since that file has the additional "custom boxes" strings in it. That one has 8233 lines with the hack added. So, there are about 60 additional lines in that file. []http://www.the-highway.com/Smileys/shrug.gif[/]
The others go from the above "custombox7" to "custombox12". And then there are other sections that are related to these items, one of which looks like this:
now see that one looks like 5.4.4 while the first one you posted sounds like just 5.4 which tyhen came 5.4.1 and then 5.4.4 and soon 5.4.5. So you may have an older IIP install.
[]scroungr said: now see that one looks like 5.4.4 while the first one you posted sounds like just 5.4 which tyhen came 5.4.1 and then 5.4.4 and soon 5.4.5. So you may have an older IIP install. [/] Okay.... so what's involved in upgrading to the 5.4.4 version? Is it simply a matter of setting the right path in the beginning of the "editconfigpal.php" file and then uploading it to the pals directory? Are there any other updated files? Do I have to change any settings anywhere?
Sorry for all the questions, but this is all new to me.
Jeff
Artificial Intelligence is no match for natural stupidity!
Thanks.... I finally found what version of IPP I have and it is 5.4.3. Unless there is a MAJOR improvement in 5.4.4, I'm not that excited about doing an upgrade. (if you know what I mean, Vern?) []http://www.the-highway.com/Smileys/Ponder.gif[/]
Artificial Intelligence is no match for natural stupidity!
basically 5.4.4 was an improvement since it included have the mods we would add to it like the custompalboxes and such but it's your call I would wait for 5.4.5
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.