![]() |
Sure.. Ok, now just change the path and stuff to the path to whatever PHP file you put this on:
Code:
<? |
I must be dumbed then I thought :).
What/Where is "path/to/var1.php" and "path/to/news/conf_$var1"? And I was replacing </path to pluhnews.php> with this script. Was that correct? |
Oops, that was suppose to be a variable..
Alright..that "path.to/varl" is suppose to be "/path/to/$var1" This is determined by whatever the variable is... HOWEVER, you are not doing the same thing I am doing..let me re-write this for what you want to do. Give me a few minutes. :) |
Code:
BTW: You can $var1 to ANYTHING you want.. to load for example, or file, or news, or forums, or absolutly anything, as long as I starts with a letter and doesn't end with a _.. :) Make sure you change them both if you do. |
ALSO. After loading the different config file, you can load PluhHeadlines.php, and it will be different depending on your config file..
include this before or after the news.php include, or just replace it with this: Code:
include("/path/to/PluhHeadlines.php"); |
Categories...I have a weird way of working the categories when I wrote PluhNews initially.
I left it out though, mostly because it was a quick fix, but here's what I did. Basically, when you post news, you select a certain icon that would represent the category. See here: http://pluh.com/forums/newthread.php...read&forumid=1 If you look at the last four icons, they represent the categories: Gaming is the gaming category, Music is the music category, and so forth. Could you all work with something like that? I did this so I wouldn't have to make any database changes or MAJOR code rewriting. :D |
Isn't there a way to assign, say, "fourumid1" = "Category1", and so fouth?
|
Never did get that to work.
Still looking for a way to call news from multiple forums. |
I have installed this along with admins can bump without posting. However when you do bump a post without posting (in your news group) it brings the post to the top in the forum but not on the news page.
Any way to change this? |
Quote:
|
All times are GMT. The time now is 06:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|