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 |
#272
|
|||
|
|||
Quote:
If a delete both AND statements, the code works fine. Any way around this? |
#273
|
||||
|
||||
I have a question...
Whenever I need to close my board, my main page (which displays headlines) becomes a broken mess, with the "forum closed" message appearing somewhere in the middle. Is there a way to make it display something like "Headlines are temporarily unavailable" whenever the board is closed? |
#274
|
||||
|
||||
Sorry, can't help there, anyone else? :\
God, this script ROCKS! It is SOOO Easy to modify!!! http://g-designs.electron-designs.com/ I made that site for someone I host, that main page, and all the member's pages are news loaded off the boards. That is all inside a huge template. I also made the script say "Last Comment By: N/A" when there were no comments...AND I made it so if there is no news, it says so... I am so proud!!!! Now I just need to figure out where I will put the headlines... If anyone wants my code, just ask. |
#275
|
|||
|
|||
I agree, the script is great - but someone must make a category addon .
|
#276
|
||||
|
||||
Yes, a Category addon would be awesome.
|
#277
|
|||
|
|||
So, anyone want to try and help with this category add-on?
|
#278
|
||||
|
||||
Jeez... Now I am getting an error... It's from the smily parse thing...:
Database error in vBulletin 2.2.1: Invalid SQL: SELECT smilietext,smiliepath FROM smilie mysql error: mysql error number: 0 Date: Saturday 29th of December 2001 10:04:57 AM Script: http://forums.electron-designs.com/ Referer: The weird thing: It works 100% on MY computer, but once on my server, it gives me this error...What could it be? -Sean |
#279
|
|||
|
|||
Doesn't anyone use this anymore?
If categories aren't possible, is there anyway to make the script draw headlines frommultiple forum? |
#280
|
||||
|
||||
Yeah. I did.
What I did: I used isset($variable) in an if statement. Then, whatever that variable was, it loaded: conf_$variable. Hence, loading a different configuration file for a different name... I only had about 4-5 forums to do that with.. |
#281
|
|||
|
|||
Can you post the code here? I'm to new to PHP to figure it out .
|
#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"); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|