The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | ||||||||||||||||||||||||||
UPDATED! Woohoo!
I just fixed/added stuff from version 1.0! Download the new version 1.5 if you have the old 1.0 - lots of better features. From the readme.txt: Quote:
And Headlines! http://pluh.com/forums/PluhHeadlines.php Let me know if you like it! (Thanks Dark Wizard and Bane) *NOTE: I will not be able to provide support for this hack, as I am extremely busy. Sorry...* Show Your Support
|
Comments |
#282
|
||||
|
||||
Sure.. Ok, now just change the path and stuff to the path to whatever PHP file you put this on:
Code:
<? require("/path/to/global.php"); require("/path/to/admin/config.php"); //first load global.php & the vB config file //use this if you want two variables at the top /?var1=blah&var2=blah if (isset($var1) && isset($var2)) {include ("/path/to/var1.php");} //You can also use var2 in the path, or use it to determine what conf file you want to load... //Use this if you want one variable /?var1=blah if (isset($var1)) {include ("/path/to/var1.php");} //Ok, now on the page load the conf_$var1 file (specified above) than include the news.php file include("/path/to/news/conf_$var1"); include("/path/to/PluhNews.php"); ?> |
#283
|
|||
|
|||
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? |
#284
|
||||
|
||||
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. |
#285
|
||||
|
||||
Code:
<? require("/path/to/global.php"); require("/path/to/admin/config.php"); //first load global.php & the vB config file //Use this if you want one variable /?var1=blah //conf_$var1.php is the different Configuration file for PluhNews...So, if you put this code in file.php, //and loaded file.php like this: file.php?var1=news, it //would load the configuration file called: conf_news.php //(this would have the contents of PluhConfig.pgp in it. if (isset($var1)) {include("/path/to/news/conf_$var1.php"); } else {} //than include the news.php file include("/path/to/PluhNews.php"); ?> 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. |
#286
|
||||
|
||||
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"); |
#287
|
||||
|
||||
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. |
#288
|
|||
|
|||
Isn't there a way to assign, say, "fourumid1" = "Category1", and so fouth?
|
#289
|
|||
|
|||
Never did get that to work.
Still looking for a way to call news from multiple forums. |
#290
|
|||
|
|||
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? |
#291
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|