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 |
#377
|
||||
|
||||
Hamma, so if I have say 2 different news things on one page, both headlines and news, I would rename all the $connection in one headline file to $connection1, and in one news file $connection2 and in the other news file $connection3?
So that in one headline it called $connection (the default), the 2nd headlines it called $connection1, in one of the news in called $connection2 and in the 2nd news it called $connection3. Is that correct? |
#378
|
|||
|
|||
Yes, thats pretty much it.. each script needs its own connection name. So each headline/news script would have a seperate one.. make sure you rename every instance of $connection (im pretty sure it shows in only the script, and not the config file)
This worked like a charm for me And you were getting pretty much the same errors. Example: Ive incuded 1 news, and 2 headlines on my index.php News $connection in the mainnews.php was renamed to $connectionnews Headlines $connection in the t2headlines.php script was renamed to $connectiont2 $connectoin in my daocheadlines.php was renamed to $connectiondaoc Let me know how it works out.. |
#379
|
||||
|
||||
Seems to work. Got rid of the error and everything. Great work. After how many times and people have been to this thread, it's surprizing it was something soo simple... Although I had a feeling that it would be something simple.
Many thanks. Also for anybody using a lot of different connections you may want to double check your config.php file in your admin directory and make sure that you DON'T have persistant connection on, because if you have a lot of different news scripts each taking a spot on your mysql connections to the database, it could limit the access to your site. Thanks Hamma, we finally traced down that pesky bug. I doubt everybody else that replied in those earlier pages knows that we fixed it. Maybe you should post something on one of the main forum pages and let everybody know that the PluhNews script is working again. Good job. |
#380
|
|||
|
|||
In my index.php file:
PHP Code:
I still get the following error: Quote:
|
#381
|
||||
|
||||
Check your other files sccr410 and make sure they aren't "requiring" the same files that you are requiring in the index.php file. I know I had that problem before too, and I think that was the cause, is that there were multiple files requiring the same files.
Let me know. |
#382
|
|||
|
|||
In global2.php there was a require to admin/config.php and in the require statements on my index.php the suggestion was to require the same file. I commented out the require on the index page, that didn't work. Commented out the one on the global2.php file, that made things even worse.
I have it working fine, but mine doesn't know how to read bbcode. I was hoping all this would fix that. http://www.sandiegopegasus.com |
#383
|
|||
|
|||
hmm, You removed my path from the global2.php and added your own correct? (I think there were a few instances)
|
#384
|
|||
|
|||
Yep, sure did.
|
#385
|
|||
|
|||
k hmm if i remember correctly that is related to cookies, did you change the cooking setting in the CP to .yourdomain.com ?
|
#386
|
|||
|
|||
also you dont want to include the file in the top line with the other files, you would want to include it somewhere else on the page
<? include('/home/sandieg/public_html/forum/PluhNews.php'); ?> |
#387
|
|||
|
|||
Ahh, I made the require statements the first thing on my index page and it worked
Now, the only problem is that the path to the smilies is wrong and I get the red x box |
#388
|
|||
|
|||
Nevermind, now the smilies work too It's all working 100% now! WOOHAW!
Now I shouldn't get any "Why doesn't this work?" questions from all the team managers trying to use it |
#389
|
|||
|
|||
lol congrats, always ends up bein somthin easy Im gonna end up being an expert on this script lol
|
#390
|
|||
|
|||
What about a teaser line and "Click here" for the full story where you get a separate page with the full article (that doesn't look like the forums)? And the ability to included attachments within the article...
|
#391
|
|||
|
|||
Steve, we alreasdy have that in the character limit on page 11 or 13 I think. The problem is, only the latest article from any given forum can be shown on the websites template. See www.sianews.com/columnists.php for example. On each columnists page, I have their latest article, but PluhHeadlines can only link to the forum .
I was thinking of linking to www.sianews.com/forums/authorid.php?threadid in the Headlines file, but I don't know how to pullt hat threadid back out of the URL to make it display. Does that even make sense . |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|