Previous Thread
Next Thread
Print Thread
Rate Thread
#268944 02/08/2004 3:41 PM
Joined: Jun 2000
Posts: 190
Enthusiast
Enthusiast
Joined: Jun 2000
Posts: 190
How can I add a "news box" to my IIP 5.4.3 page? Right now there are only 4 items (textboxes) in the Configuration section where you can choose which forums you want to display.

The more detailed instructions you can provide would be appreciated.

Jeff


Artificial Intelligence is no match for natural stupidity!
Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
so you wanna add more then the four right?

Joined: Jun 2000
Posts: 190
Enthusiast
Enthusiast
Joined: Jun 2000
Posts: 190
[]scroungr said:
so you wanna add more then the four right? [/]
Correct. For now, I would like to add just one more.

Joined: Aug 2003
Posts: 28
User
User
Offline
Joined: Aug 2003
Posts: 28
Pilgrim,

I am not an expert on IIP. I am building a site now that utilizes it, but am currently concentrating on building the forum structure. I have taken a good look at the config panel.

As I understand it, the amount of news articles is not limited to 4 articles. You identify a maximum of 4 forums for the news posts to pull from. You also identify how many articles from each forum are to be pulled. So in reality you could end up with plenty of posted articles.

The thing to keep in mind is if you want to control what gets posted as news you need to control the access to the forums that the news is pulled from. You could make these "read only" forums so that you could control the posts in them.

For example in IIP config you could pick 4 forums and go 5 deep in each forum and end up with 20 posted articles.

Hope this helped...


N Grant Swaim
Administrator
autotech-elearning.com
Joined: Jun 2000
Posts: 190
Enthusiast
Enthusiast
Joined: Jun 2000
Posts: 190
It's not the number of posts I want to control as that seems to be working just fine as is. Again... the number of "news" boxes is currently limited to 4 Forums and I would like to know how to increase that number; one for the time being would be just dandy! []http://www.the-highway.com/Smileys/groovin.gif[/]

Jeff


Artificial Intelligence is no match for natural stupidity!
Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
*cough* now that I know what ya want its a piece of cake. I will write something up for you later but as a hint in the doeditconfigpal.php and editconfigpal.php in the pals directory search for the "news" lines and you will see 4 just add a fifth to each. I will post a mod for you a little later need to write it up for you but took a max of 5 minutes to do

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Maybe I should not have wrote this up if I would have known someone else was gonna do it

Download the attachment Jeff and have fun
Attachments
107432-extranews.txt (0 Bytes, 249 downloads)

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
heh chuck beat me to it I posted it in the IIP area heh

https://www.ubbdev.com/forum/showflat...;vc=#Post107433

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
you missed some minor isset's in yours chuck.. they aren't probably needed but I added them anyways

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Yeah they are not needed and I need to get glasses LOL

Sponsored Links
Joined: Jun 2000
Posts: 190
Enthusiast
Enthusiast
Joined: Jun 2000
Posts: 190
Thanks Chuck!

But I think you forgot a line! You wrote the following without any content after the "Below it add this:"

Find this:

B5:
<input name="postmax5" type="text" value="{$postmax[4]}" size="4" maxlength="4" />


Below it add this:



What is missing? []http://www.the-highway.com/Smileys/Ponder.gif[/]

Edit: Never mind Chuck, I found the error by comparing scroung's attachment in the IIP Forum, which I didn't realize existed. Thanks again for all your work.

Jeff

Last edited by Pilgrim; 02/09/2004 2:02 AM.

Artificial Intelligence is no match for natural stupidity!

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)